summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* this apparently passes on linuxChris Lattner2006-02-091-1/+1
| | | | llvm-svn: 26082
* add an option to turn on LSR.Chris Lattner2006-02-092-1/+62
| | | | llvm-svn: 26080
* simplify this code now that each constant pool entry is not separately allocatedChris Lattner2006-02-091-15/+16
| | | | llvm-svn: 26079
* Adjust to MachineConstantPool interface change: instead of keeping aChris Lattner2006-02-095-13/+60
| | | | | | value/alignment pair for each constant, keep a value/offset pair. llvm-svn: 26078
* instead of keeping track of Constant/alignment pairs, actually compute theChris Lattner2006-02-091-17/+15
| | | | | | offset of each entry from the start of the constant pool. llvm-svn: 26077
* rename fields of constant pool entriesChris Lattner2006-02-094-14/+12
| | | | llvm-svn: 26076
* Use a MachineConstantPoolEntry struct instead of a pair to holdChris Lattner2006-02-091-5/+15
| | | | | | constant pool entries. llvm-svn: 26075
* Simplify code, alignment must be specified now.Chris Lattner2006-02-091-10/+1
| | | | llvm-svn: 26074
* Assert invariantsChris Lattner2006-02-091-0/+3
| | | | llvm-svn: 26073
* Require an alignment.Chris Lattner2006-02-091-6/+3
| | | | llvm-svn: 26072
* Make MachineConstantPool entries alignments explicitChris Lattner2006-02-091-2/+12
| | | | llvm-svn: 26071
* Always pass in an alignment.Chris Lattner2006-02-091-1/+2
| | | | llvm-svn: 26070
* provide an explicit alignment for cp entriesChris Lattner2006-02-091-6/+22
| | | | llvm-svn: 26069
* Add a comment: value is log2Chris Lattner2006-02-091-0/+3
| | | | llvm-svn: 26068
* Change Select() fromEvan Cheng2006-02-096-309/+489
| | | | | | | | SDOperand Select(SDOperand N); to void Select(SDOperand &Result, SDOperand N); llvm-svn: 26067
* Darwin doesn't support #APP/#NO_APPChris Lattner2006-02-082-2/+3
| | | | llvm-svn: 26066
* Add support for assembler directives that wrap inline asmChris Lattner2006-02-082-1/+9
| | | | llvm-svn: 26065
* Rename BSel -> PPCBSel for the benefit of doxygen users.Chris Lattner2006-02-081-105/+115
| | | | | | | | Move the methods out of line. Remove unused Debug.h stuff. Teach getNumBytesForInstruction to know the size of an inline asm. llvm-svn: 26064
* Disable this test for the time being as debug is brought up to speed.Jim Laskey2006-02-081-0/+1
| | | | llvm-svn: 26063
* add a simple optimizationChris Lattner2006-02-081-0/+16
| | | | llvm-svn: 26062
* Mention that delta can be used to reduce some Front-end problems.Chris Lattner2006-02-081-1/+4
| | | | | | Patch by Marco Matthies, thanks! llvm-svn: 26061
* Add SRoA to the lexicon. Patch by Marco Matthies!Chris Lattner2006-02-081-0/+3
| | | | llvm-svn: 26060
* Added options -cflag, -cxxflags, and -ldflags to override the default CEvan Cheng2006-02-081-0/+15
| | | | | | | | compilation, C++ compilation, and linker options. e.g. This is the options I use for testing on my x86 iMac: nice ./NightlyTest.pl -release -cflags "-Os -DNDEBUG -fomit-frame-pointer" -cxxflags "-Os -DNDEBUG -finline-functions -felide-constructors -fomit-frame-pointer" llvm-svn: 26057
* Simplify some code, reducing calls to MaskedValueIsZero. Implement a minorChris Lattner2006-02-081-16/+32
| | | | | | optimization where we reduce the number of bits in AND masks when possible. llvm-svn: 26056
* Remove -pedantic. It no longer works.Evan Cheng2006-02-081-5/+0
| | | | llvm-svn: 26055
* more email -> README movingChris Lattner2006-02-081-0/+4
| | | | llvm-svn: 26054
* Emit the 'mr' pseudoop for easier reading.Chris Lattner2006-02-081-0/+9
| | | | llvm-svn: 26053
* Add some random notes, not high-prioChris Lattner2006-02-081-0/+21
| | | | llvm-svn: 26052
* Move emails from nate into public placesChris Lattner2006-02-081-0/+17
| | | | llvm-svn: 26051
* Use EraseInstFromFunction in a few cases to put the uses of the removedChris Lattner2006-02-081-15/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | instruction onto the worklist (in case they are now dead). Add a really trivial local DSE implementation to help out bitfield code. We now fold this: struct S { unsigned char a : 1, b : 1, c : 1, d : 2, e : 3; S(); }; S::S() : a(0), b(0), c(1), d(0), e(6) {} to this: void %_ZN1SC1Ev(%struct.S* %this) { entry: %tmp.1 = getelementptr %struct.S* %this, int 0, uint 0 store ubyte 38, ubyte* %tmp.1 ret void } much earlier (in gccas instead of only in gccld after DSE runs). llvm-svn: 26050
* Implement some more interesting select sccp cases. This implements:Chris Lattner2006-02-081-15/+35
| | | | | | test/Regression/Transforms/SCCP/select.ll llvm-svn: 26049
* new testcase for more interesting select sccp casesChris Lattner2006-02-081-0/+12
| | | | llvm-svn: 26048
* Compile this:Chris Lattner2006-02-081-0/+26
| | | | | | | | | | | | | | | xori r6, r2, 1 rlwinm r6, r6, 0, 31, 31 cmpwi cr0, r6, 0 bne cr0, LBB1_3 ; endif to this: rlwinm r6, r2, 0, 31, 31 cmpwi cr0, r6, 0 beq cr0, LBB1_3 ; endif llvm-svn: 26047
* Add some happy helper methods.Chris Lattner2006-02-081-1/+15
| | | | llvm-svn: 26046
* Fix a problem in my patch yesterday, causing a miscompilation of 176.gccChris Lattner2006-02-081-2/+3
| | | | llvm-svn: 26045
* Fixed a local common symbol bug.Evan Cheng2006-02-071-11/+17
| | | | llvm-svn: 26044
* For ELF, .comm takes alignment value as the optional 3rd argument. It must beEvan Cheng2006-02-071-1/+3
| | | | | | specified in bytes. llvm-svn: 26043
* Implement getConstraintType for PPC.Chris Lattner2006-02-072-0/+18
| | | | llvm-svn: 26042
* getConstraintType should be virtual.Chris Lattner2006-02-071-1/+3
| | | | llvm-svn: 26041
* Fix Transforms/InstCombine/2006-02-07-SextZextCrash.llChris Lattner2006-02-071-3/+5
| | | | llvm-svn: 26040
* new testcase that caused instcombine to crash on 176.gcc last night.Chris Lattner2006-02-071-0/+22
| | | | llvm-svn: 26039
* Darwin ABI issues: weak, linkonce, etc. dynamic-no-pic support is complete.Evan Cheng2006-02-074-109/+109
| | | | | | | Also fixed a function stub bug. Added weak and linkonce support for x86 Linux. llvm-svn: 26038
* Remind myself to add PIC and static asm printer support.Evan Cheng2006-02-071-0/+4
| | | | llvm-svn: 26037
* Generalize MaskedValueIsZero into a ComputeMaskedNonZeroBits function, whichChris Lattner2006-02-071-44/+53
| | | | | | | | is just as efficient as MVIZ and is also more general. Fix a few minor bugs introduced in recent patches llvm-svn: 26036
* Make MaskedValueIsZero take a uint64_t instead of a ConstantIntegral as aChris Lattner2006-02-071-69/+58
| | | | | | | | mask. This allows the code to be simpler and more efficient. Also, generalize some of the cases in MVIZ a bit, making it slightly more aggressive. llvm-svn: 26035
* Use Type::getIntegralTypeMask() to simplify some codeChris Lattner2006-02-071-15/+8
| | | | llvm-svn: 26034
* Implement the beginnings of a facility for simplifying expressions based onChris Lattner2006-02-071-3/+145
| | | | | | | 'demanded bits', inspired by Nate's work in the dag combiner. This isn't complete, but needs to unrelated instcombiner changes to continue. llvm-svn: 26033
* add a new Type::getIntegralTypeMask() method, which is useful for clients thatChris Lattner2006-02-073-2/+9
| | | | | | want to do bitwise inspection of integer types. llvm-svn: 26032
* The interpreter assumes that the caller of runFunction() must be lli, andJeff Cohen2006-02-073-8/+7
| | | | | | | | therefore the function being called must be a main() returning an int. The consequences when these assumptions are false are not good, so don't assume them. llvm-svn: 26031
* Teach the interpreter to handle global variables that are added to a module ↵Jeff Cohen2006-02-071-1/+10
| | | | | | | | | after interpretation has begun. The JIT already handles this situation correctly, and the interpreter can already handle new functions being added. llvm-svn: 26030
OpenPOWER on IntegriCloud