summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Added a -mtriple flag to force darwin backend.Bill Wendling2007-01-161-1/+1
| | | | llvm-svn: 33248
* Make inline ASM the INTEL one if it's in that emission mode.Bill Wendling2007-01-161-2/+4
| | | | llvm-svn: 33247
* Fix for PR1095:Bill Wendling2007-01-167-6/+54
| | | | | | | | LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for the X86 and PPC backends. It defaults to "0", the first variant of a compound inline asm expression. llvm-svn: 33246
* Code refactoring.Devang Patel2007-01-162-18/+29
| | | | llvm-svn: 33245
* Remove extra white spaces. Fix comments.Devang Patel2007-01-152-3/+3
| | | | llvm-svn: 33244
* Do not record last users of Pass Manager.Devang Patel2007-01-151-2/+7
| | | | llvm-svn: 33243
* Unbreak VC++ build.Jeff Cohen2007-01-155-4/+10
| | | | llvm-svn: 33242
* test darwin too! :)Chris Lattner2007-01-151-1/+2
| | | | llvm-svn: 33241
* One more @ to remove.Reid Spencer2007-01-151-1/+1
| | | | llvm-svn: 33240
* make this more efficient in release builds (time and space)Chris Lattner2007-01-151-6/+2
| | | | llvm-svn: 33239
* Update documentation for parameter attributes for the syntax change.Reid Spencer2007-01-151-8/+10
| | | | llvm-svn: 33238
* Fix a regression in my isIntegral patch that broke 471.omnetpp. This isChris Lattner2007-01-151-6/+8
| | | | | | | | because TargetData::getTypeSize() returns the same for i1 and i8. This fix is not right for the full generality of bitwise types, but it fixes the regression. llvm-svn: 33237
* Don't print address of ETNode. Print the DFSNumIn which uniquely identifiesNick Lewycky2007-01-151-34/+65
| | | | | | | | | | | | | | | the basic block and is stable across runs in gdb or valgrind. Make Node::update handle edges which dominate and are tighter than existing edges. Replace makeEqual's "squeeze theorem" code. Fixes miscompilation. Gate the calls to defToOps and opsToDef. Before this, we were getting IG edges about values which weren't even defined in the dominated area. This reduces the size of the IG by about half. llvm-svn: 33236
* Run an instcombine pass after inlining but before scalarrepl. This allowsChris Lattner2007-01-151-0/+1
| | | | | | | instcombine to clean up the code, which makes more code suitable for SRoA. This helps C++ code in particular, e.g. speeding up tramp3d by 31%. llvm-svn: 33235
* Implement InstCombine/phi.ll:test7, deletion of trivial value loops forChris Lattner2007-01-151-2/+16
| | | | | | induction variables. llvm-svn: 33234
* new testcaseChris Lattner2007-01-151-0/+12
| | | | llvm-svn: 33233
* simplify some code now that types are signlessChris Lattner2007-01-151-46/+12
| | | | llvm-svn: 33232
* delete stores to allocas with one use. This is a trivial form of DSE whichChris Lattner2007-01-151-0/+18
| | | | | | often kicks in for ?: expressions. llvm-svn: 33231
* add a simple case where instcombine can detect and remove a dead allocaChris Lattner2007-01-151-0/+13
| | | | llvm-svn: 33230
* Constant fold llvm.powi.*. This speeds up tramp3d--v4 by 9.5%Chris Lattner2007-01-151-1/+12
| | | | llvm-svn: 33229
* add some notesChris Lattner2007-01-151-0/+68
| | | | llvm-svn: 33228
* Regenerate.Reid Spencer2007-01-155-844/+850
| | | | llvm-svn: 33227
* For PR1113:Reid Spencer2007-01-153-211/+215
| | | | | | | | | | | Increment the counter after the second use, not after the first use. This fixes PR1113. Also, rename some classes for simplicity and to more naturally be reminscient of LLVM 1.9. This in preparation for additional classes that will provide a scaled down model of the LLVM 1.9 IR. llvm-svn: 33226
* rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger.Chris Lattner2007-01-1532-243/+237
| | | | | | | | | rename Type::getIntegralTypeMask to Type::getIntegerTypeMask. This makes naming much more consistent. For example, there are now no longer any instances of IntegerType that are not considered isInteger! :) llvm-svn: 33225
* regenerateChris Lattner2007-01-153-4283/+3207
| | | | llvm-svn: 33224
* teach VMCore to accept i1 add's and shiftsChris Lattner2007-01-152-17/+17
| | | | llvm-svn: 33223
* eliminate calls to Type::isInteger, preferring isIntegral instead.Chris Lattner2007-01-152-6/+6
| | | | llvm-svn: 33222
* allow i1 to operators like shift and add.Chris Lattner2007-01-151-4/+4
| | | | llvm-svn: 33221
* Update code to eliminate calls to isInteger, calling isIntegral instead.Chris Lattner2007-01-153-20/+15
| | | | llvm-svn: 33220
* Change to match API changes.Chris Lattner2007-01-151-5/+1
| | | | llvm-svn: 33219
* Eliminate calls to isInteger, generalizing code and tightening checks as needed.Chris Lattner2007-01-157-32/+31
| | | | llvm-svn: 33218
* Terminology change: drop 'integral' completely. Now we just have integer,Chris Lattner2007-01-151-27/+22
| | | | | | | | which includes i1. Change the semantics of the various instructions to support i1 where they didn't before: for example, it is now legal [though not terribly useful, as it is the same as xor] to add two i1 values. llvm-svn: 33217
* Make use of isInteger vs isIntegral more explicitChris Lattner2007-01-152-5/+5
| | | | llvm-svn: 33216
* ensure these don't xpass if opt crashesChris Lattner2007-01-152-0/+2
| | | | llvm-svn: 33215
* Fix correlated exprs regressionsChris Lattner2007-01-151-2/+2
| | | | llvm-svn: 33214
* don't discriminate against i1Chris Lattner2007-01-151-9/+9
| | | | llvm-svn: 33213
* RegenerateReid Spencer2007-01-155-1029/+1476
| | | | llvm-svn: 33212
* Reorganize things a bit in preparation for rewrite. Although this looksReid Spencer2007-01-153-501/+574
| | | | | | | | | | | | | | | like a lot, its really only two changes: 1. Move stuff that should be private to .y out of the .h file. 2. Make all semantic values pointers. This cleans up the silly destroy methods and changes them to delete. It also moves the TypeInfo and ValueInfo classes into the .y where we can modify them more readily because they have no clients any more. This shouldn't result in any functional changes in llvm-upgrade. llvm-svn: 33211
* Fix Analysis/Dominators/2006-10-02-BreakCritEdges.llChris Lattner2007-01-151-1/+2
| | | | llvm-svn: 33210
* Primitive types don't include integers any more, adjust.Reid Spencer2007-01-141-1/+1
| | | | llvm-svn: 33209
* instcombine has always been miscompiling fcmp x, x, disregarding possibleChris Lattner2007-01-141-15/+39
| | | | | | NANs. This fixes PR1111 and Transforms/InstCombine/2007-01-14-FcmpSelf.ll llvm-svn: 33208
* add accessorsChris Lattner2007-01-141-0/+6
| | | | llvm-svn: 33207
* new testcaseChris Lattner2007-01-141-0/+6
| | | | llvm-svn: 33206
* verify that hidden visibility support never goes awayChris Lattner2007-01-141-0/+3
| | | | llvm-svn: 33205
* Fix PR1110 and Analysis/Dominators/2007-01-14-BreakCritEdges.ll by beingChris Lattner2007-01-141-35/+40
| | | | | | more careful about unreachable code when updating dominator info. llvm-svn: 33204
* testcase for pr1110Chris Lattner2007-01-141-0/+188
| | | | llvm-svn: 33203
* No hidden visiblity on Mingw32/CygwinAnton Korobeynikov2007-01-141-0/+1
| | | | llvm-svn: 33202
* clarify linkonce/weak linkageChris Lattner2007-01-141-7/+10
| | | | llvm-svn: 33201
* add support for hidden visibility to darwin/ppc and linux/ppc targetsChris Lattner2007-01-142-1/+22
| | | | llvm-svn: 33200
* Fix an incorrect conversion of int -> i32Reid Spencer2007-01-141-1/+1
| | | | llvm-svn: 33199
OpenPOWER on IntegriCloud