- Jan 09, 2010
-
-
Chris Lattner authored
"In order to ease automatic bindings generation, it would be helpful if boolean values were distinguishable from integers. The attached patch introduces "typedef int LLVMBool;", and uses LLVMBool instead of int throughout the C API, wherever a boolean value is called for." Patch by James Y Knight! llvm-svn: 93079
-
Devang Patel authored
Disable copy ctor and operator= for NamedMDSymTable. Hide typedef that should be public. llvm-svn: 93041
-
Dale Johannesen authored
llvm-svn: 93040
-
Devang Patel authored
llvm-svn: 93032
-
Dale Johannesen authored
llvm-svn: 93030
-
- Jan 08, 2010
-
-
Tobias Grosser authored
Compare the dominance information calculated using a dominance tree walk to the information calculated based on DFS numbers, if XDEBUG is enabled. llvm-svn: 92969
-
Tobias Grosser authored
Remove a FIXME and unify code that was necessary to work around broken updateDFSNumbers(). Before updateDFSNumbers() did not work correctly for post dominators. llvm-svn: 92968
-
Tobias Grosser authored
The DFS number calculation for postdominators was broken. In the case of multiple exits that form the post dominator root nodes, do not iterate over all exits, but start from the virtual root node. Otherwise bbs, that are not post dominated by any exit but by the virtual root node, will never be assigned a DFS number. llvm-svn: 92967
-
- Jan 07, 2010
-
-
David Greene authored
Revert r92939. These intrinsics get matched to LLVM instructions, so removing at Chris' request. llvm-svn: 92947
-
David Greene authored
Add some "missing" instrinsics to make the SSE intrinsic set a bit more orthogonal. llvm-svn: 92939
-
Devang Patel authored
llvm-svn: 92931
-
Kovarththanan Rajaratnam authored
llvm-svn: 92926
-
Duncan Sands authored
llvm-svn: 92910
-
Jakob Stoklund Olesen authored
llvm-svn: 92883
-
Jakob Stoklund Olesen authored
Some instructions refer to unique labels, and so cannot be trivially cloned with CloneMachineInstr. llvm-svn: 92873
-
- Jan 06, 2010
-
-
Evan Cheng authored
(OP (trunc x), (trunc y)) -> (trunc (OP x, y)) Unfortunately this simple change causes dag combine to infinite looping. The problem is the shrink demanded ops optimization tend to canonicalize expressions in the opposite manner. That is badness. This patch disable those optimizations in dag combine but instead it is done as a late pass in sdisel. This also exposes some deficiencies in dag combine and x86 setcc / brcond lowering. Teach them to look pass ISD::TRUNCATE in various places. llvm-svn: 92849
-
Douglas Gregor authored
llvm-svn: 92841
-
Duncan Sands authored
memcpy, memset and other intrinsics that only access their arguments to be readnone if the intrinsic's arguments all point to local memory. This improves the testcase in the README to readonly, but it could in theory be made readnone, however this would involve more sophisticated analysis that looks through the memcpy. llvm-svn: 92829
-
Jakob Stoklund Olesen authored
An instruction like this: %reg1097:1<def> = VMOVSR %R3<kill>, 14, %reg0 Must be replaced with this when substituting physical registers: %S0<def> = VMOVSR %R3<kill>, 14, %reg0, %D0<imp-def> llvm-svn: 92812
-
- Jan 05, 2010
-
-
Dan Gohman authored
uses several kinds of opcode values which are not declared within that enum. This fixes PR5946. llvm-svn: 92794
-
Dan Gohman authored
llvm-svn: 92772
-
Devang Patel authored
llvm-svn: 92761
-
Benjamin Kramer authored
llvm-svn: 92759
-
Dan Gohman authored
RecursivelyDeleteDeadPHINode, and DeleteDeadPHIs return a flag indicating whether they made any changes. llvm-svn: 92732
-
Dan Gohman authored
in this context. llvm-svn: 92731
-
Dan Gohman authored
a single pointer (PointerIntPair) member. In "small" mode, the pointer field is reinterpreted as a set of bits. In "large" mode, the pointer points to a heap-allocated object. Also, give BitVector empty and swap functions. And, add some simple unittests for BitVector and SmallBitVector. llvm-svn: 92730
-
Chris Lattner authored
llvm-svn: 92681
-
Devang Patel authored
Intrinsic::dbg_stoppoint Intrinsic::dbg_region_start Intrinsic::dbg_region_end Intrinsic::dbg_func_start llvm-svn: 92672
-
David Greene authored
Fix a build error by adding a missing commit. llvm-svn: 92670
-
Dan Gohman authored
clear what information these functions are actually using. This is also a micro-optimization, as passing a SDNode * around is simpler than passing a { SDNode *, int } by value or reference. llvm-svn: 92564
-
Devang Patel authored
Intrinsic::dbg_stoppoint Intrinsic::dbg_region_start Intrinsic::dbg_region_end Intrinsic::dbg_func_start AutoUpgrade simply ignores these intrinsics now. llvm-svn: 92557
-
Dan Gohman authored
llvm-svn: 92554
-
Dan Gohman authored
llvm-svn: 92552
-
- Jan 04, 2010
-
-
Dan Gohman authored
for a refactoring I'm working on. llvm-svn: 92503
-
Mikhail Glushenkov authored
Also trailing whitespace & 80-col violations. llvm-svn: 92464
-
- Jan 02, 2010
-
-
Chris Lattner authored
If there is interest, it can be resurrected from SVN. PR4912. llvm-svn: 92422
-
- Jan 01, 2010
-
-
Chris Lattner authored
expressions. This is a step towards comment #4 in PR3351. llvm-svn: 92401
-
Ted Kremenek authored
llvm-svn: 92378
-
Ted Kremenek authored
llvm-svn: 92374
-
- Dec 31, 2009
-
-
Chris Lattner authored
llvm-svn: 92338
-