- Apr 17, 2010
-
-
Eric Christopher authored
Probably the best way to know that all getOperand() calls have been handled is to replace that API instead of updating. llvm-svn: 101579
-
Chris Lattner authored
the result of comparisons are 'int' in C, it doesn't work to test just the result type of the expression. llvm-svn: 101576
-
Devang Patel authored
llvm-svn: 101575
-
Jakob Stoklund Olesen authored
This makes the local register allocator about 20% faster. llvm-svn: 101574
-
Johnny Chen authored
llvm-svn: 101573
-
Douglas Gregor authored
do *not* suggest that the function could be attribute 'noreturn'; overridden functions may end up returning. llvm-svn: 101572
-
Douglas Gregor authored
This is the last of the uses of TryImplicitConversion outside of overload resolution and InitializationSequence itself. llvm-svn: 101569
-
Nuno Lopes authored
llvm-svn: 101568
-
Dan Gohman authored
llvm-svn: 101567
-
Chris Lattner authored
llvm-svn: 101566
-
Chris Lattner authored
to keep the node entries in scc_iterator up to date instead of dangling as the SCC mutates. This is a really terrible problem which was causing -g to affect codegen because it would permute the memory image of the compiler process. Thanks to Dale for expertly hunting it down. llvm-svn: 101565
-
Dan Gohman authored
llvm-svn: 101564
-
Johnny Chen authored
on it. llvm-svn: 101563
-
Chris Lattner authored
No functionality change. llvm-svn: 101562
-
Dan Gohman authored
llvm-svn: 101561
-
Dan Gohman authored
use of that option with it. This eliminates an imprecise "Linux" test, and should help support old versions of gold. llvm-svn: 101560
-
Johnny Chen authored
llvm-svn: 101559
-
Chris Lattner authored
to CallGraphSCCPass's instead of passing around a std::vector<CallGraphNode*>. No functionality change, but now we have a much tidier interface. llvm-svn: 101558
-
Johnny Chen authored
case. Also, the 0xFF hex literal involved in the shift for ESize64 should be suffixed "ul" to preserve the shift result. Implemented printHex*ImmOperand() by copying from ARMAsmPrinter.cpp and added a test case for DisassembleN1RegModImmFrm()/printHex64ImmOperand(). llvm-svn: 101557
-
Douglas Gregor authored
Move Sema::PerformImplicitConversion over to where Sema::TryImplicitConversion is, for my own sanity. No functionality change llvm-svn: 101554
-
Evan Cheng authored
(i32 sext_in_reg (i32 aext (i16 x)), i16) -> (i32 sext x). No known test case until -promote-16bit is enabled. llvm-svn: 101551
-
Douglas Gregor authored
llvm-svn: 101550
-
Douglas Gregor authored
TryStaticImplicitCast (for references, class types, and everything else, respectively) into a single invocation of InitializationSequence. One of the paths (for class types) was the only client of Sema::TryInitializationByConstructor, which I have eliminated. This also simplified the interface for much of the cast-checking logic, eliminating yet more code. I've kept the representation of C++ functional casts with <> 1 arguments the same, despite the fact that I hate it. That fix will come soon. To satisfy my paranoia, I've bootstrapped + tested Clang with these changes. llvm-svn: 101549
-
- Apr 16, 2010
-
-
Chris Lattner authored
llvm-svn: 101548
-
Chris Lattner authored
llvm-svn: 101543
-
Ted Kremenek authored
and we now include the file name that declares the symbol with no linkage in the USR. USRs for such symbols are generated only in restructed cases, e.g., anonymous enum declarations, typedefs, etc. llvm-svn: 101542
-
Nuno Lopes authored
llvm-svn: 101541
-
Nuno Lopes authored
llvm-svn: 101540
-
Nuno Lopes authored
this follows from C99 6.7.8p10: if it is a union, the first named member is initialized llvm-svn: 101539
-
Chris Lattner authored
llvm-svn: 101538
-
Dan Gohman authored
SelectionDAG-specific parts of TargetLowering. llvm-svn: 101537
-
Chris Lattner authored
struct may cause it to shrink more than one byte. Before my recent changes we compiled the new test into: %0 = type { [6 x i8] } @x = global %0 { [6 x i8] undef }, align 2 ; <%0*> [#uses=0] which is obviously bogus. Now we compile it into: %0 = type <{ i32, i8, i8 }> @x = global %0 zeroinitializer, align 2 ; <%0*> [#uses=0] Where the last byte only is tail padding. llvm-svn: 101536
-
Nuno Lopes authored
merge also a few tests I had here for this feature, and FileCheck'ize one file llvm-svn: 101535
-
Dan Gohman authored
llvm-svn: 101532
-
Dan Gohman authored
llvm-svn: 101531
-
Dan Gohman authored
llvm-svn: 101530
-
Johnny Chen authored
this patch removes the assert() from printAddrMode3OffsetOperand() and adds a test case. llvm-svn: 101529
-
Dan Gohman authored
llvm-svn: 101528
-
Johnny Chen authored
to the UAL syntax of LDCL<c>, instead. Add a test case for this change which also tests the removal of assert() from printAddrMode2OffsetOperand(). llvm-svn: 101527
-
Douglas Gregor authored
functional casts over to InitializationSequence, eliminating a caller of Sema::TryImplicitConversion. We also get access and ambiguity checking "for free". More cleanups to come in this routine. llvm-svn: 101526
-