- Nov 29, 2010
-
-
Michael J. Spencer authored
llvm-svn: 120329
-
Charles Davis authored
from LLVM forever: grep -lR "llvm/System" * | grep -v .svn | xargs sed -ie 's#llvm/System#llvm/Support#g' llvm-svn: 120314
-
Michael J. Spencer authored
llvm-svn: 120301
-
Michael J. Spencer authored
llvm-svn: 120298
-
- Nov 28, 2010
-
-
Jay Foad authored
static methods that return a new APInt. llvm-svn: 120261
-
- Nov 27, 2010
-
-
Benjamin Kramer authored
llvm-svn: 120223
-
Daniel Dunbar authored
llvm-svn: 120200
-
- Nov 26, 2010
-
-
Michael J. Spencer authored
llvm-svn: 120166
-
Jakob Stoklund Olesen authored
The path also holds a reference to the root node, and that allows important iterator accessors like start() and stop() to have no conditional code. (When the compiler is clever enough to remove it.) llvm-svn: 120165
-
- Nov 23, 2010
-
-
Chris Lattner authored
file descriptor into a MemoryBuffer (and closes the FD). llvm-svn: 120065
-
Chris Lattner authored
documented and only used by some clang stuff I just removed. llvm-svn: 120002
-
- Nov 19, 2010
-
-
Rafael Espindola authored
llvm-svn: 119842
-
Jakob Stoklund Olesen authored
This is a sorted interval map data structure for small keys and values with automatic coalescing and bidirectional iteration over coalesced intervals. Except for coalescing intervals, it provides similar functionality to std::map. It is however much more compact for small keys and values, and hopefully faster too. The container object itself can hold the first few intervals without any allocations, then it switches to a cache conscious B+-tree representation. A recycling allocator can be shared between many containers, even between containers holding different types. The IntervalMap is initially intended to be used with SlotIndex intervals for: - Backing store for LiveIntervalUnion that is smaller and faster than std::set. - Backing store for LiveInterval with less overhead than std::vector for typical intervals and O(N log N) merging of large intervals. 99% of virtual registers need 4 entries or less and would benefit from the small object optimization. - Backing store for LiveDebugVariable which doesn't exist yet, but will track debug variables during register allocation. This is a work in progress. Missing items are: - Performance metrics. - erase(). - insert() shrinkage. - clear(). - More performance metrics. - Simplification and detemplatization. llvm-svn: 119787
-
Jakob Stoklund Olesen authored
This reverts r119772. llvm-svn: 119773
-
Jakob Stoklund Olesen authored
This is a sorted interval map data structure for small keys and values with automatic coalescing and bidirectional iteration over coalesced intervals. Except for coalescing intervals, it provides similar functionality to std::map. It is however much more compact for small keys and values, and hopefully faster too. The container object itself can hold the first few intervals without any allocations, then it switches to a cache conscious B+-tree representation. A recycling allocator can be shared between many containers, even between containers holding different types. The IntervalMap is initially intended to be used with SlotIndex intervals for: - Backing store for LiveIntervalUnion that is smaller and faster than std::set. - Backing store for LiveInterval with less overhead than std::vector for typical intervals and O(N log N) merging of large intervals. 99% of virtual registers need 4 entries or less and would benefit from the small object optimization. - Backing store for LiveDebugVariable which doesn't exist yet, but will track debug variables during register allocation. This is a work in progress. Missing items are: - Performance metrics. - erase(). - insert() shrinkage. - clear(). - More performance metrics. - Simplification and detemplatization. llvm-svn: 119772
-
Dale Johannesen authored
were not hashing to the same value. Analysis and patch by Frits van Bommel! llvm-svn: 119770
-
- Nov 18, 2010
-
-
Dan Gohman authored
llvm-svn: 119708
-
- Nov 17, 2010
-
-
Chris Lattner authored
cookie argument to the SourceMgr diagnostic stuff. This cleanly separates LLVMContext's inlineasm handler from the sourcemgr error handling definition, increasing type safety and cleaning things up. llvm-svn: 119486
-
- Nov 13, 2010
-
-
Daniel Dunbar authored
llvm-svn: 118972
-
- Nov 07, 2010
-
-
Ted Kremenek authored
llvm-svn: 118370
-
- Nov 05, 2010
-
-
Daniel Dunbar authored
llvm-svn: 118272
-
- Nov 03, 2010
-
-
Mikhail Glushenkov authored
Makes it more clear that it is just a path manipulation function. llvm-svn: 118174
-
Dan Gohman authored
llvm-svn: 118130
-
- Nov 02, 2010
-
-
Mikhail Glushenkov authored
llvm-svn: 118088
-
Dan Gohman authored
llvm-svn: 118057
-
Mikhail Glushenkov authored
This makes the behaviour of FindExecutable more consistent across platforms, but I'm not very happy with the name... llvm-svn: 118049
-
- Oct 29, 2010
-
-
Dan Gohman authored
messages primarily indicate errors running the viewer, not errors with the graph file itself. llvm-svn: 117665
-
- Oct 28, 2010
-
-
Mikhail Glushenkov authored
llvm-svn: 117583
-
- Oct 20, 2010
-
-
Douglas Gregor authored
llvm-svn: 116867
-
- Oct 19, 2010
-
-
NAKAMURA Takumi authored
setmode is provided by io.h on Cygwin. llvm-svn: 116784
-
- Oct 18, 2010
-
-
Daniel Dunbar authored
routine is off the stack. Otherwise we show up rather confusingly in the stack trace. llvm-svn: 116755
-
- Oct 17, 2010
-
-
Oscar Fuentes authored
llvm-svn: 116682
-
- Oct 14, 2010
-
-
Francois Pichet authored
Always use binary mode for output stream. This is important to prevent unwanted end of line conversion on Windows. Should not affect Unix where O_BINARY is not defined. This fix /clang/test/lexer/preamble.c XFAIL on WIN32. llvm-svn: 116509
-
Chris Lattner authored
llvm-svn: 116462
-
Chris Lattner authored
logic to use the new APInt methods. Among other things this implements rdar://8501501 - llvm.smul.with.overflow.i32 should constant fold which comes from "clang -ftrapv", originally brought to my attention from PR8221. llvm-svn: 116457
-
Chris Lattner authored
llvm-svn: 116455
-
Chris Lattner authored
return an overflow flag. llvm-svn: 116452
-
- Oct 08, 2010
-
-
John Thompson authored
llvm-svn: 116003
-
- Oct 07, 2010
-
-
Dan Gohman authored
llvm-svn: 115973
-
- Oct 05, 2010
-
-
Dan Gohman authored
Graphviz program, print something with a newline, to avoid leaving the line unfinished. llvm-svn: 115620
-