- Feb 13, 2009
-
-
Mike Stump authored
llvm-svn: 64412
-
Daniel Dunbar authored
llvm-svn: 64411
-
Dale Johannesen authored
llvm-svn: 64410
-
Dale Johannesen authored
Modify callers. llvm-svn: 64409
-
Mike Stump authored
_GCC_LIMITS_H_ is defined, when __GNUC__ is defined. Also, we need to stay away from possible conflicts with header guards. We should use CLANG_ to prefix all header guards. llvm-svn: 64408
-
- Feb 12, 2009
-
-
Dan Gohman authored
loop induction on LP64 targets. When the induction variable is used in addressing, IndVars now is usually able to inserst a 64-bit induction variable and eliminates the sign-extending cast. This is also useful for code using C "short" types for induction variables on targets with 32-bit addressing. Inserting a wider induction variable is easy; the tricky part is determining when trunc(sext(i)) expressions are no-ops. This requires range analysis of the loop trip count. A common case is when the original loop iteration starts at 0 and exits when the induction variable is signed-less-than a fixed value; this case is now handled. This replaces IndVarSimplify's OptimizeCanonicalIVType. It was doing the same optimization, but it was limited to loops with constant trip counts, because it was running after the loop rewrite, and the information about the original induction variable is lost by that point. Rename ScalarEvolution's executesAtLeastOnce to isLoopGuardedByCond, generalize it to be able to test for ICMP_NE conditions, and move it to be a public function so that IndVars can use it. llvm-svn: 64407
-
Nate Begeman authored
type of the vectors being shuffled. llvm-svn: 64401
-
Dale Johannesen authored
in inline asm as signed (what gcc does). Add partial support for x86-specific "e" and "Z" constraints, with appropriate signedness for printing. llvm-svn: 64400
-
Dan Gohman authored
gets left behind, it's less cryptic. llvm-svn: 64399
-
Daniel Dunbar authored
llvm-svn: 64397
-
Douglas Gregor authored
llvm-svn: 64396
-
-
Douglas Gregor authored
union subobject initialization before checking whether the next initiailizer was actually a designated initializer. This led to spurious "excess elements in union initializer" errors. Thanks to rdivacky for reporting the bug! llvm-svn: 64392
-
Fariborz Jahanian authored
to a base class (nonfragile abi ir gen bug). llvm-svn: 64391
-
Mike Stump authored
tried to put FIXMEs on the most important things to fix up. Lots left to do including more codegen, more documentation and cleaning code and style cleanups. llvm-svn: 64390
-
Steve Naroff authored
llvm-svn: 64389
-
Dan Gohman authored
when the loop has exactly one exit, and make use of it in LoopIndexSplit. llvm-svn: 64388
-
Anders Carlsson authored
llvm-svn: 64387
-
Fariborz Jahanian authored
abi for objective-c programs. llvm-svn: 64386
-
Steve Naroff authored
- rename isObjCIdType/isObjCClassType -> isObjCIdStructType/isObjCClassStructType. The previous name didn't do what you would expect. - add back isObjCIdType/isObjCClassType to do what you would expect. Not currently used, however many of the isObjCIdStructType/isObjCClassStructType clients could be converted over time. - move static Sema function areComparableObjCInterfaces to ASTContext (renamed to areComparableObjCPointerTypes, since it now operates on pointer types). llvm-svn: 64385
-
Chris Lattner authored
llvm-svn: 64384
-
Chris Lattner authored
llvm-svn: 64383
-
Chris Lattner authored
leaving them in the DAG and then getting selection errors. This is a fix for PR3538. llvm-svn: 64382
-
Dan Gohman authored
llvm-svn: 64381
-
Daniel Dunbar authored
llvm-svn: 64380
-
Chris Lattner authored
llvm-svn: 64379
-
Chris Lattner authored
llvm-svn: 64378
-
Chris Lattner authored
llvm-svn: 64377
-
Dan Gohman authored
llvm-svn: 64376
-
Steve Naroff authored
Turn warning into error. Minor incompatibility with GCC (for scalar types, GCC only produces a warning). llvm-svn: 64375
-
Evan Cheng authored
It's (currently) not safe to keep certain physical registers live across basic blocks, e.g. x86 fp stack registers. llvm-svn: 64374
-
Evan Cheng authored
llvm-svn: 64373
-
Evan Cheng authored
If availability info is kept when fallthrough into a bb, add the available registers to live-in set. llvm-svn: 64372
-
Daniel Dunbar authored
designating an object. llvm-svn: 64371
-
Daniel Dunbar authored
- Doesn't yet handle case where values are passed in mixed (general purpose & floating point) registers; otherwise largely functional. Code still needs some cleaning. Fixes: MultiSource/Applications/lua/lua MultiSource/Applications/siod/siod MultiSource/Applications/sqlite3/sqlite3 SingleSource/Regression/C/PR640 SingleSource/UnitTests/2003-07-09-SignedArgs SingleSource/UnitTests/2007-03-02-VaCopy gcc compat test suite results (Darwin x86-32 & -64): -- # of expected passes 1262 # of unexpected failures 56 # of unresolved testcases 34 # of unsupported tests 2 Compare to: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090209/012050.html llvm-svn: 64370
-
Evan Cheng authored
Replace one of burr scheduling heuristic with something more sensible. Now calcMaxScratches simply compute the number of true data dependencies. This actually improve a couple of tests in dejagnu suite as many tests in llvm nightly test suite. llvm-svn: 64369
-
Daniel Dunbar authored
llvm-svn: 64368
-
Julien Lerouge authored
exceptions. llvm-svn: 64367
-
Julien Lerouge authored
llvm-svn: 64366
-
Ted Kremenek authored
llvm-svn: 64365
-