summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Factor dominator tree and frontier updating into SplitBlockPredecessorsChris Lattner2008-04-211-18/+14
| | | | | | instead of doing it after every call. llvm-svn: 50018
* fit some more code in 80 cols.Chris Lattner2008-04-211-12/+14
| | | | llvm-svn: 50016
* simplify code, fit in 80 cols.Chris Lattner2008-04-211-65/+67
| | | | llvm-svn: 50015
* fit in 80 colsChris Lattner2008-04-211-6/+6
| | | | llvm-svn: 50014
* Be pessimistic in computing the buffer size when aligning.Nicolas Geoffray2008-04-202-7/+11
| | | | llvm-svn: 50008
* Don't forget to update the current operand when getting the size of an ↵Nicolas Geoffray2008-04-201-4/+14
| | | | | | instruction. llvm-svn: 50007
* finish the first cut of a jump threading pass implementation.Chris Lattner2008-04-201-21/+141
| | | | llvm-svn: 50006
* replace a slow and verbose version of Instruction::isUsedOutsideOfBlock withChris Lattner2008-04-201-34/+4
| | | | | | a call to Instruction::isUsedOutsideOfBlock. llvm-svn: 50005
* add a handy helper method to instruction, useful for determiningChris Lattner2008-04-202-0/+30
| | | | | | | whether it is used outside of some block. This can be used to see if there are any non-local references, for example. llvm-svn: 50004
* we can only thread blocks when there is a pred we can determine the succ of.Chris Lattner2008-04-201-2/+17
| | | | llvm-svn: 50003
* improve comments, infrastructure, and add some validity checks for threading.Chris Lattner2008-04-201-9/+106
| | | | | | Add a cost function. llvm-svn: 50002
* Add a new Jump Threading pass, which will handle casesChris Lattner2008-04-203-0/+60
| | | | | | | such as those in PR2235. Right now the pass is not very effective. :) llvm-svn: 50000
* hopefully resolve PR2240Chris Lattner2008-04-201-1/+1
| | | | llvm-svn: 49999
* rearrange some code, simplify handling of shifts.Chris Lattner2008-04-201-60/+56
| | | | llvm-svn: 49995
* Check we aren't trying to convert PPC long double.Dale Johannesen2008-04-202-7/+7
| | | | | | This fixes the testsuite failure on ppcf128-4.ll. llvm-svn: 49994
* Cosmetic changes, as suggested by Evan. No functionality changes.Nicolas Geoffray2008-04-204-104/+81
| | | | llvm-svn: 49993
* (re)fix handling of UGT. Pointed out by Nick Lewycky.Dale Johannesen2008-04-201-1/+2
| | | | llvm-svn: 49991
* g++-4.3 build-fix: CHAR_BIT requires <climits>.Torok Edwin2008-04-201-0/+1
| | | | llvm-svn: 49989
* Do not hold the JIT lock when materializing a function and verify if theNicolas Geoffray2008-04-201-1/+6
| | | | | | | function has already been codegen'd. This is required by the Java class loading mechanism which executes Java code when materializing a function. llvm-svn: 49988
* A better fix for my previous patch, MOVZQI2PQIrr just requires SSE2.Chris Lattner2008-04-202-3/+3
| | | | llvm-svn: 49986
* Not all x86-64 machines have sse3 apparently.Chris Lattner2008-04-201-2/+2
| | | | llvm-svn: 49985
* Check that APFloat::convert is not trying to targetDale Johannesen2008-04-201-0/+1
| | | | | | | | | ppc long double, which doesn't work. This may break some stuff temporarily, but I want to avoid the propagation of code that assumes this works. llvm-svn: 49983
* regenerateChris Lattner2008-04-203-276/+276
| | | | llvm-svn: 49978
* Switch to using Simplified ConstantFP::get API.Chris Lattner2008-04-209-66/+60
| | | | llvm-svn: 49977
* Use simplified ConstantFP::get method, fix a bug handling frem x, 0 with ↵Chris Lattner2008-04-202-16/+19
| | | | | | long doubles. llvm-svn: 49976
* free(null) -> noopChris Lattner2008-04-191-2/+2
| | | | llvm-svn: 49972
* rename *.llx -> *.ll, last batch.Chris Lattner2008-04-1946-0/+0
| | | | llvm-svn: 49971
* rename *.llx -> *.llChris Lattner2008-04-1929-0/+0
| | | | llvm-svn: 49970
* rename *.llx -> *.llChris Lattner2008-04-1936-0/+0
| | | | llvm-svn: 49969
* merge of 49966 from branches/ggreif/use-diet to trunk. these are already ↵Gabor Greif2008-04-198-48/+48
| | | | | | active API changes llvm-svn: 49968
* Implement PR2206.Chris Lattner2008-04-192-8/+21
| | | | llvm-svn: 49967
* refactor handling of symbolic constant folding, picking upChris Lattner2008-04-192-66/+66
| | | | | | | a few new cases( see Integer/a1.ll), but not anything that would happen in practice. llvm-svn: 49965
* indentation fix.Chris Lattner2008-04-191-14/+14
| | | | llvm-svn: 49964
* Some clarifications suggested by Jon SargeantChris Lattner2008-04-191-8/+12
| | | | llvm-svn: 49963
* Allow argpromote to promote struct arguments with a specified numberChris Lattner2008-04-192-12/+20
| | | | | | of elements. Patch by Matthijs Kooijman! llvm-svn: 49962
* 64-bit atomic operations.Evan Cheng2008-04-196-56/+128
| | | | llvm-svn: 49949
* Also LXCHG64 -> XCHG64rm.Evan Cheng2008-04-191-3/+3
| | | | llvm-svn: 49948
* PPC32 atomic operations.Evan Cheng2008-04-193-2/+184
| | | | llvm-svn: 49947
* xchg which references a memory operand does not need to lock prefix. ↵Evan Cheng2008-04-191-14/+15
| | | | | | Atomicity is guaranteed. llvm-svn: 49946
* Teach llvm-as to accept function types with multiple return types.Dan Gohman2008-04-195-3620/+4976
| | | | llvm-svn: 49945
* Fix a scalar evolution bug. Reversing everythingDale Johannesen2008-04-181-2/+1
| | | | | | does not work because of 0; 2>0 but -2U is also >0. llvm-svn: 49928
* Enable jitting with a known memory size.Nicolas Geoffray2008-04-184-6/+560
| | | | llvm-svn: 49924
* Implement a bit more softfloat support inDuncan Sands2008-04-182-5/+187
| | | | | | | | LegalizeTypes. Correct the load logic so that it actually works, and also teach it to handle floating point extending loads. llvm-svn: 49923
* Fix the handling of va_copy on x86-64. As of llvm-gcc r49920Dan Gohman2008-04-181-14/+4
| | | | | | | llvm-gcc is now lowering va_copy on x86-64, so this completes the fix for PR2230. llvm-svn: 49922
* - Fix atomic operation JIT encoding.Evan Cheng2008-04-183-54/+30
| | | | | | - Remove unused instructions. llvm-svn: 49921
* Add some more FIXME's for indexed loads and stores.Duncan Sands2008-04-183-0/+6
| | | | llvm-svn: 49916
* Provide an explicit list of operands to MakeLibcall,Duncan Sands2008-04-183-72/+81
| | | | | | | | | | rather than having it suck them out of a node. Add a bunch of new libcalls, and remove dead softfloat code (dead, because FloatToInt is used not Expand in this case). Note that indexed stores probably aren't handled properly, likewise for loads. llvm-svn: 49915
* Correct comment.Evan Cheng2008-04-181-2/+2
| | | | llvm-svn: 49913
* Not safe to "kill" a register if its live range extends pass the end of ↵Evan Cheng2008-04-181-3/+29
| | | | | | block branch. llvm-svn: 49911
* Also support Intel asm syntax.Evan Cheng2008-04-171-20/+20
| | | | llvm-svn: 49878
OpenPOWER on IntegriCloud