summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a comment.Bob Wilson2009-11-161-1/+1
| | | | llvm-svn: 88940
* Add VISIBILITY_HIDDEN marker.Devang Patel2009-11-161-2/+2
| | | | llvm-svn: 88939
* Simplify thumb2 jump table adjustments. Remove unnecessary calculation andJim Grosbach2009-11-161-58/+14
| | | | | | usage of block sizes and offsets. llvm-svn: 88935
* clarify commentJim Grosbach2009-11-161-2/+2
| | | | llvm-svn: 88933
* Fix some comments.Bob Wilson2009-11-161-5/+4
| | | | llvm-svn: 88932
* Whitespace: be consistent with pointer syntax.Bob Wilson2009-11-161-6/+6
| | | | llvm-svn: 88929
* Clean up whitespace.Bob Wilson2009-11-161-6/+6
| | | | llvm-svn: 88927
* back off for a bit. tracking down weirdnessJim Grosbach2009-11-161-1/+1
| | | | llvm-svn: 88919
* Analyze has to be before checking the condition, obviously. Properly ↵Jim Grosbach2009-11-161-6/+8
| | | | | | construct an iterator for prior. llvm-svn: 88917
* Support spill comments.David Greene2009-11-161-0/+52
| | | | | | | | Have the asm printer emit a comment if an instruction is a spill or reload and have the spiller mark copies it introdues so the asm printer can also annotate those. llvm-svn: 88911
* BuildIntCast takes an additional parameter, isSigned.Duncan Sands2009-11-161-2/+3
| | | | llvm-svn: 88910
* CreateIntCast takes an "isSigned" parameter. Pass "true" for it, rather thanDuncan Sands2009-11-161-1/+3
| | | | | | a name. llvm-svn: 88908
* Special case FixedStackPseudoSourceValueVal as well. Do we really need to ↵Evan Cheng2009-11-161-1/+2
| | | | | | differentiate PseudoSourceValueVal from FixedStackPseudoSourceValueVal at this level? llvm-svn: 88902
* Check if subreg index is zero.Evan Cheng2009-11-161-1/+3
| | | | llvm-svn: 88899
* For some targets, a copy can use a register multiple times, e.g. ppc.Evan Cheng2009-11-161-0/+5
| | | | llvm-svn: 88895
* Disable ldc1/sdc1 instructions for mips1 targets. Bruno Cardoso Lopes2009-11-161-1/+2
| | | | llvm-svn: 88887
* - Fix a small bug while handling target constant pools (one param was missing).Bruno Cardoso Lopes2009-11-162-1/+22
| | | | | | | | | | | | | | | - Add a smarter constant pool loading, instead of: lui $2, %hi($CPI1_0) addiu $2, $2, %lo($CPI1_0) lwc1 $f0, 0($2) Generate: lui $2, %hi($CPI1_0) lwc1 $f0, %lo($CPI1_0)($2) llvm-svn: 88886
* typo spotted by duncan.Chris Lattner2009-11-161-1/+1
| | | | llvm-svn: 88884
* Fixes the bug exposed by Anton's test case in PR 5495:Lang Hames2009-11-161-0/+4
| | | | | | | Make sure when ProcessImplicitDefs removes a copy which kills its source reg that it removes the copy from said reg's Kills list. llvm-svn: 88881
* Fix for the original bug in PR5495 - Look at uses as well as defs when ↵Lang Hames2009-11-161-5/+5
| | | | | | | | determining the PHI-copy insert point. - Patch by Andrew Canis! llvm-svn: 88880
* Detect need for autoalignment of the stack earlier to catch spills moreJim Grosbach2009-11-154-2/+51
| | | | | | | conservatively. eliminateFrameIndex() machinery adjust to handle addr mode 6 (vld1/vst1) used for spills. Fix tests to expect aligned Q-reg spilling llvm-svn: 88874
* set the def of the VLD1q64 properlyJim Grosbach2009-11-151-2/+1
| | | | llvm-svn: 88873
* teach LVI to infer edge information from switch instructions.Chris Lattner2009-11-151-6/+24
| | | | | | | This allows JT to eliminate a ton of infeasible edges when handling code like the templates in PatternMatch.h llvm-svn: 88869
* fix a logic error that would cause LVI-JT to miscompileChris Lattner2009-11-151-1/+1
| | | | | | some conditionals llvm-svn: 88868
* implement the first stab at caching queries. This isn't correctChris Lattner2009-11-151-13/+97
| | | | | | | (because the invalidation logic is missing) but LVI isn't enabled by default anyway. llvm-svn: 88867
* refactor a bunch of code forming the new LazyValueInfoCacheChris Lattner2009-11-151-94/+172
| | | | | | and LVIQuery classes, no functionality change. llvm-svn: 88866
* make PRE of loads preserve the alignment of the moved load instruction.Chris Lattner2009-11-151-5/+8
| | | | llvm-svn: 88865
* fix a bug handling 'not x' when x is undef.Chris Lattner2009-11-151-2/+3
| | | | llvm-svn: 88864
* Add a complex missed optimization opportunity I came across while investigatingNick Lewycky2009-11-151-0/+15
| | | | | | bug 5438. llvm-svn: 88855
* Add PSP OS Target to Triple, Credit to Bruno Cardoso Lopes.Edward O'Callaghan2009-11-151-0/+3
| | | | llvm-svn: 88849
* Revert r88830 and r88831 which appear to have caused a selfhost buildbot someNick Lewycky2009-11-151-28/+0
| | | | | | grief. I suspect this patch merely exposed a bug else. llvm-svn: 88841
* Teach instcombine to look for booleans in wider integers when it encounters aNick Lewycky2009-11-151-0/+28
| | | | | | | zext(icmp). It may be able to optimize that away. This fixes one of the cases in PR5438. llvm-svn: 88830
* Added an assert to the PBQP allocator to catch infinite cost solutions which ↵Lang Hames2009-11-151-0/+5
| | | | | | might otherwise lead to miscompilations. llvm-svn: 88829
* Remove bogus corei7 and atom entries, the family was incorrect.Daniel Dunbar2009-11-141-4/+0
| | | | llvm-svn: 88818
* Fill out X86 table, although we are missing lots of names for things. We nowDaniel Dunbar2009-11-141-49/+131
| | | | | | properly detect my Xeon box though. llvm-svn: 88814
* Report the detected host CPU in --version.Daniel Dunbar2009-11-141-0/+3
| | | | llvm-svn: 88813
* cleanup.Jim Grosbach2009-11-141-3/+1
| | | | llvm-svn: 88812
* Do not merge jump tables this early. Branch folding will do any necessaryJim Grosbach2009-11-141-4/+0
| | | | | | | merges, and until then, it's useful to keep the tables separate for ease of manipulation. llvm-svn: 88806
* Cleanup flow, and only update the jump table we're analyzing when replacing ↵Jim Grosbach2009-11-141-9/+11
| | | | | | a destination MBB. llvm-svn: 88805
* Add function to replace a destination MBB in a single jump tableJim Grosbach2009-11-141-8/+19
| | | | llvm-svn: 88804
* Add XCore support for arbitrary-sized aggregate returns.Richard Osborne2009-11-142-0/+17
| | | | llvm-svn: 88802
* Temporary disable the error - it seems to be too conservative.Anton Korobeynikov2009-11-141-3/+4
| | | | llvm-svn: 88800
* Implement DISABLE_INLINE for MSVC. This required changing the position in allBenjamin Kramer2009-11-141-1/+1
| | | | | | forward declaration and patching tblgen to emit it right. Patch by Amine Khaldi! llvm-svn: 88798
* Add llvm::sys::getHostCPUName, for detecting the LLVM name for the host CPU.Daniel Dunbar2009-11-142-113/+198
| | | | | | | | | - This is an initial step towards -march=native support in Clang, and towards eliminating host dependencies in the targets. See PR5389. - Patch by Roman Divacky! llvm-svn: 88768
* Remove LLVMContext from reassociate. It was threaded through every function butNick Lewycky2009-11-141-22/+14
| | | | | | ultimately never used. llvm-svn: 88763
* revert 88761 as it fails builds.Sanjiv Gupta2009-11-142-12/+6
| | | | llvm-svn: 88762
* Fix debug info crashes for PIC16.Sanjiv Gupta2009-11-142-6/+12
| | | | llvm-svn: 88761
* Teach BasicAA that a constant expression can't alias memory provably notNick Lewycky2009-11-141-1/+6
| | | | | | allocated until runtime (such as an alloca). Patch by Hans Wennborg! llvm-svn: 88760
* Added getSubRegIndex(A,B) that returns subreg index of A to B. Use it to ↵Evan Cheng2009-11-141-5/+2
| | | | | | replace broken code in VirtRegRewriter. llvm-svn: 88753
* - Change TargetInstrInfo::reMaterialize to pass in TargetRegisterInfo.Evan Cheng2009-11-1411-17/+33
| | | | | | | | - If destination is a physical register and it has a subreg index, use the sub-register instead. This fixes PR5423. llvm-svn: 88745
OpenPOWER on IntegriCloud