summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Reenable StackTracke.cpp test.Devang Patel2009-11-111-1/+1
| | | | llvm-svn: 86861
* Add SetDebugLocation() variant to Devang Patel2009-11-111-0/+9
| | | | | | add debug info location to an instruction. llvm-svn: 86859
* Add TargetLowering::isLegalICmpImmediate. It tells LSR what immediate can be ↵Evan Cheng2009-11-113-0/+26
| | | | | | folded into target icmp instructions. llvm-svn: 86858
* Do jump table adjustment before constant island allocationJim Grosbach2009-11-111-4/+7
| | | | llvm-svn: 86857
* Fix indentation level.Dan Gohman2009-11-111-8/+8
| | | | llvm-svn: 86856
* Whitespace cleanups.Dan Gohman2009-11-111-93/+92
| | | | llvm-svn: 86855
* Prefix MBB numbers with "BB#" in debug output to make it clear whatDan Gohman2009-11-111-3/+3
| | | | | | the numbers mean. llvm-svn: 86854
* Minor code simplification.Dan Gohman2009-11-111-9/+8
| | | | llvm-svn: 86853
* Fix a copy+pasto in a comment.Dan Gohman2009-11-111-1/+1
| | | | llvm-svn: 86852
* Set isBarrier = 1 on return instructions, as they are control barriers.Dan Gohman2009-11-115-4/+5
| | | | llvm-svn: 86851
* Use a tab in INT3's asm string, for consistency.Dan Gohman2009-11-111-1/+1
| | | | llvm-svn: 86850
* another const prop failure.Chris Lattner2009-11-111-0/+9
| | | | llvm-svn: 86848
* add a noteChris Lattner2009-11-111-0/+28
| | | | llvm-svn: 86847
* Reject duplicate case values in a switch, PR5450.Chris Lattner2009-11-111-1/+5
| | | | llvm-svn: 86846
* Don't trivially delete unused calls to llvm.invariant.start. This allowsDuncan Sands2009-11-113-0/+41
| | | | | | | | | | | | | llvm.invariant.start to be used without necessarily being paired with a call to llvm.invariant.end. If you run the entire optimization pipeline then such calls are in fact deleted (adce does it), but that's actually a good thing since we probably do want them to be zapped late in the game. There should really be an integration test that checks that the llvm.invariant.start call lasts long enough that all passes that do interesting things with it get to do their stuff before it is deleted. But since no passes do anything interesting with it yet this will have to wait for later. llvm-svn: 86840
* Add nounwind.Evan Cheng2009-11-114-4/+4
| | | | llvm-svn: 86814
* remove the now dead condprop pass, PR3906.Chris Lattner2009-11-116-306/+0
| | | | llvm-svn: 86810
* Fix JITTest.ModuleDeletion in -Asserts mode (which turns off JITEmitDebugInfoJeffrey Yasskin2009-11-111-1/+7
| | | | | | by default). llvm-svn: 86807
* remove condprop testcases.Chris Lattner2009-11-1110-2588/+0
| | | | llvm-svn: 86804
* Add StringRef::split(StringRef), to complement StringRef::split(char).Daniel Dunbar2009-11-111-0/+17
| | | | llvm-svn: 86803
* Remove dead code.Rafael Espindola2009-11-111-5/+0
| | | | llvm-svn: 86802
* Show command-line args and features passed into backend in debug output. ↵Sandeep Patel2009-11-112-0/+10
| | | | | | Approved by Evan Cheng. llvm-svn: 86797
* Add missing run line. Devang, please check.Daniel Dunbar2009-11-111-0/+1
| | | | llvm-svn: 86795
* Fix -Asserts warning.Daniel Dunbar2009-11-111-0/+1
| | | | llvm-svn: 86794
* The TBB and TBH instructions for Thumb2 are really handy for jump tables, butJim Grosbach2009-11-111-3/+96
| | | | | | | | | | | can only branch forward. To best take advantage of them, we'd like to adjust the basic blocks around a bit when reasonable. This patch puts basics in place to do that, with a super-simple algorithm for backwards jump table targets that creates a new branch after the jump table which branches backwards. Real heuristics for reordering blocks or other modifications rather than inserting branches will follow. llvm-svn: 86791
* stub out some LazyValueInfo interfaces, and have JumpThreadingChris Lattner2009-11-113-26/+189
| | | | | | | | start using them in a trivial way when -enable-jump-threading-lvi is passed. enable-jump-threading-lvi will be my playground for awhile. llvm-svn: 86789
* Fix test to work on every platform.Bill Wendling2009-11-111-3/+1
| | | | llvm-svn: 86786
* Fix test to work on every platform.Bill Wendling2009-11-111-1/+1
| | | | llvm-svn: 86785
* XFAIL for now.Devang Patel2009-11-111-1/+1
| | | | llvm-svn: 86784
* Make sure that the exception handling data has the same visibility as theBill Wendling2009-11-112-2/+37
| | | | | | function it's generated for. llvm-svn: 86779
* Add Triple::str() which returns the contents of the Triple as a string, as a ↵Daniel Dunbar2009-11-111-0/+2
| | | | | | more readable alternative to getTriple(). llvm-svn: 86773
* Do not assume first function scope seen represents current function. Devang Patel2009-11-112-2/+22
| | | | llvm-svn: 86771
* Add From arguments to StringRef search functions, and tweak doxyments.Daniel Dunbar2009-11-113-20/+53
| | | | | | Also, add unittests for find_first_of and find_first_not_of. llvm-svn: 86770
* llvm-gcc/clang don't (won't?) need this hack.Daniel Dunbar2009-11-111-1/+2
| | | | llvm-svn: 86769
* oops, didn't mean to commit this, no harm, but add a todoops, didn't mean to ↵Chris Lattner2009-11-111-0/+1
| | | | | | commit this, no harm, but add a todoo llvm-svn: 86768
* Stub out a new lazy value info pass, which will eventuallyChris Lattner2009-11-116-0/+108
| | | | | | vend value constraint information to the optimizer. llvm-svn: 86767
* add a fixmeChris Lattner2009-11-111-0/+4
| | | | llvm-svn: 86766
* remove redundant foward declaration. This function is already in Chris Lattner2009-11-112-6/+4
| | | | | | Analysis/Passes.h llvm-svn: 86765
* While creating DbgScopes, do not forget parent scope. Devang Patel2009-11-112-0/+28
| | | | llvm-svn: 86763
* Block terminator may be a switch.Evan Cheng2009-11-112-1/+131
| | | | llvm-svn: 86761
* jump threading does everything that condprop does any more. This passesChris Lattner2009-11-101-3/+1
| | | | | | bootstrap on darwin i386. llvm-svn: 86758
* add a noteChris Lattner2009-11-101-0/+2
| | | | llvm-svn: 86756
* I did this a week or two agoChris Lattner2009-11-101-6/+0
| | | | llvm-svn: 86754
* Ignore variable if scope info is not available.Devang Patel2009-11-101-2/+5
| | | | llvm-svn: 86753
* Test this on Darwin only.Bill Wendling2009-11-101-0/+2
| | | | llvm-svn: 86752
* Emit correct code when making a ConstantPool entry for a vectorDale Johannesen2009-11-102-2/+47
| | | | | | | | | constant whose component type is not a legal type for the target. (If the target ConstantPool cannot handle this type either, it has an opportunity to merge elements. In practice any target with 8-bit bytes must support i8 *as data*). 7320806 (partial). llvm-svn: 86751
* Implement support to debug inlined functions.Devang Patel2009-11-1014-588/+666
| | | | llvm-svn: 86748
* in -dot-cfg and -dot-cfg-only, when rendering switch instructions,Chris Lattner2009-11-101-0/+12
| | | | | | put the switch value in the successor boxes like we put T/F for branches. llvm-svn: 86747
* implement a TODO by teaching jump threading about "xor x, 1".Chris Lattner2009-11-102-2/+53
| | | | llvm-svn: 86739
* move some generally useful functions out of jump threadingChris Lattner2009-11-105-85/+106
| | | | | | into libanalysis and transformutils. llvm-svn: 86735
OpenPOWER on IntegriCloud