| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | no need for endl | Chris Lattner | 2003-11-05 | 1 | -1/+1 |
| | | | | | llvm-svn: 9736 | ||||
| * | Add support for constant expr shifts | Chris Lattner | 2003-11-05 | 2 | -0/+9 |
| | | | | | llvm-svn: 9735 | ||||
| * | If we're not checking, don't check! | Chris Lattner | 2003-11-05 | 1 | -1/+1 |
| | | | | | llvm-svn: 9732 | ||||
| * | Fix flawed logic that was breaking several SPEC benchmarks, including gzip ↵ | Chris Lattner | 2003-11-05 | 1 | -3/+3 |
| | | | | | | | and crafty. llvm-svn: 9731 | ||||
| * | We know exactly what the value of $< is, so instead of using `basename $<` to | Misha Brukman | 2003-11-05 | 1 | -8/+7 |
| | | | | | | | get just the filename and not the full path, just use the filename directly. llvm-svn: 9730 | ||||
| * | Do not use a class before it is defined. | Chris Lattner | 2003-11-05 | 1 | -6/+9 |
| | | | | | | | Be gcc 3.4 clean llvm-svn: 9727 | ||||
| * | Be friendly to gcc 3.4... good compiler. Nice compiler. | Chris Lattner | 2003-11-05 | 3 | -3/+1 |
| | | | | | llvm-svn: 9726 | ||||
| * | Be gcc 3.4 clean | Chris Lattner | 2003-11-05 | 1 | -1/+3 |
| | | | | | llvm-svn: 9725 | ||||
| * | Fix name collision | Chris Lattner | 2003-11-05 | 1 | -2/+2 |
| | | | | | llvm-svn: 9722 | ||||
| * | Make code gcc 3.4 clean | Chris Lattner | 2003-11-05 | 4 | -6/+6 |
| | | | | | llvm-svn: 9719 | ||||
| * | Abort when the user program calls abort, instead of printing a funny message ↵ | Brian Gaeke | 2003-11-05 | 1 | -4/+2 |
| | | | | | | | and calling exit(1). llvm-svn: 9716 | ||||
| * | Fix bug with previous implementation: | Chris Lattner | 2003-11-05 | 1 | -4/+11 |
| | | | | | | | | | - // ~(c-X) == X-(c-1) == X+(-c+1) + // ~(c-X) == X-c-1 == X+(-c-1) Implement: C - ~X == X + (1+C) llvm-svn: 9715 | ||||
| * | Use regular old malloc to emulate malloc/alloca instructions. | Brian Gaeke | 2003-11-05 | 1 | -2/+1 |
| | | | | | llvm-svn: 9713 | ||||
| * | Remove a comment which no longer applies. | Brian Gaeke | 2003-11-05 | 1 | -5/+0 |
| | | | | | llvm-svn: 9712 | ||||
| * | Minor cleanup, plus implement InstCombine/xor.ll:test17 | Chris Lattner | 2003-11-04 | 1 | -3/+17 |
| | | | | | llvm-svn: 9711 | ||||
| * | Implement InstCombine/xor.ll:test(15|16) | Chris Lattner | 2003-11-04 | 1 | -1/+8 |
| | | | | | llvm-svn: 9708 | ||||
| * | Change all machine basic block modifier functions in MRegisterInfo to | Alkis Evlogimenos | 2003-11-04 | 2 | -41/+54 |
| | | | | | | | | | | | | | | | | return the number of instructions added to/removed from the basic block passed as their first argument. Note: This is only needed because we use a std::vector instead of an ilist to keep MachineBasicBlock instructions. Inserting an instruction to a MachineBasicBlock invalidates all iterators to the basic block. The return value can be used to update an index to the machine basic block instruction vector and circumvent the iterator elimination problem but this is really not needed if we move to a better representation. llvm-svn: 9704 | ||||
| * | Update verifySavedState()'s comment, so that it reflects its current | Brian Gaeke | 2003-11-04 | 1 | -1/+3 |
| | | | | | | | | status. In doFinalization(), skip over external functions, just like Anand's mapping info does. llvm-svn: 9703 | ||||
| * | Add comments. | Brian Gaeke | 2003-11-04 | 1 | -0/+4 |
| | | | | | llvm-svn: 9697 | ||||
| * | Fix problems in previous changes. This fixes several regressions last night. | Chris Lattner | 2003-11-04 | 1 | -5/+6 |
| | | | | | llvm-svn: 9694 | ||||
| * | Checking in Chris's suggestions: | John Criswell | 2003-11-04 | 1 | -3/+32 |
| | | | | | | | | | | | Added assert() to ensure symbol table is well formed. Added code to remember the value that was found; resolving types can change the symbol table and invalidate the value of the iterator. Added comments to the ResolveTypes() function (mainly for my own benefit). Please feel free to correct the comments if they are not accurate. llvm-svn: 9693 | ||||
| * | Significantly simplify constant emission by unifying the stuff which used to ↵ | Chris Lattner | 2003-11-03 | 1 | -147/+119 |
| | | | | | | | | | | build up strings with the stuff that used to print to an ostream directly. We now NEVER build up big strings, only to print them once they are formed. llvm-svn: 9686 | ||||
| * | Incorporate printSingleConstantValue into its single caller | Chris Lattner | 2003-11-03 | 1 | -89/+66 |
| | | | | | llvm-svn: 9684 | ||||
| * | * Reformat some code | Chris Lattner | 2003-11-03 | 1 | -42/+34 |
| | | | | | | | | * Emit bools as 1/0 instead of true/false, fixing compilation of eon and PR 83 & Jello/2003-11-03-GlobalBool.llx llvm-svn: 9683 | ||||
| * | Fix InstCombine/2003-11-03-VarargsCallBug.ll | Chris Lattner | 2003-11-03 | 1 | -4/+3 |
| | | | | | llvm-svn: 9681 | ||||
| * | Work around a bug in GCC where it can't handle common variables marked weak. | Chris Lattner | 2003-11-03 | 1 | -1/+8 |
| | | | | | llvm-svn: 9679 | ||||
| * | Fix bugs with attribute weak emission | Chris Lattner | 2003-11-03 | 1 | -3/+6 |
| | | | | | llvm-svn: 9678 | ||||
| * | Implement InstCombine/cast-set.ll:test6[a]. This improves code generated for | Chris Lattner | 2003-11-03 | 1 | -6/+57 |
| | | | | | | | a hot function in em3d llvm-svn: 9673 | ||||
| * | This simplifies the CWriter code, makes the generated code easier to read, | Chris Lattner | 2003-11-03 | 1 | -11/+2 |
| | | | | | | | and makes the output work with the intel compiler. Overall, a win. llvm-svn: 9671 | ||||
| * | Implement InstCombine/cast-set.ll: test1, test2, test7 | Chris Lattner | 2003-11-03 | 1 | -15/+41 |
| | | | | | llvm-svn: 9670 | ||||
| * | Fix bug with zero sized casts | Chris Lattner | 2003-11-03 | 1 | -1/+1 |
| | | | | | llvm-svn: 9667 | ||||
| * | Eliminate the silly namedContext member of printType | Chris Lattner | 2003-11-03 | 1 | -8/+7 |
| | | | | | llvm-svn: 9666 | ||||
| * | All DSGraphs keep a reference to the targetdata they are created with. This is | Chris Lattner | 2003-11-02 | 3 | -20/+27 |
| | | | | | | | | | used to eliminate the hard coded, hacked in, sparc specific, global TargetData. Changing the TargetData used to actually match the code fixes problems, and eliminates a crash. llvm-svn: 9659 | ||||
| * | Fix bug: test/Regression/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll | Chris Lattner | 2003-11-02 | 1 | -6/+8 |
| | | | | | llvm-svn: 9658 | ||||
| * | Fix bug in previous checkin | Chris Lattner | 2003-11-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 9656 | ||||
| * | Implement transmogriphication of allocation instructions | Chris Lattner | 2003-11-02 | 1 | -2/+33 |
| | | | | | llvm-svn: 9654 | ||||
| * | Fix PR78 | Chris Lattner | 2003-11-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 9648 | ||||
| * | The "correct" fix for CBackend/2003-10-23-UnusedType.ll is to not even try | Chris Lattner | 2003-11-02 | 1 | -15/+24 |
| | | | | | | | to emit types which are not used. llvm-svn: 9647 | ||||
| * | Including the symbol table in the FindUsedTypes analysis was the WRONG way | Chris Lattner | 2003-11-02 | 1 | -13/+3 |
| | | | | | | | | to fix test/Regression/CBackend/2003-10-23-UnusedType.ll. This completely neutered the deadtypeelim pass. llvm-svn: 9646 | ||||
| * | Strip off CPR's manually, because if we don't, the inliner doesn't delete dead | Chris Lattner | 2003-10-31 | 1 | -2/+9 |
| | | | | | | | functions. GRR llvm-svn: 9641 | ||||
| * | Make the call graph more precise despite the hated constantpointerrefs. | Chris Lattner | 2003-10-31 | 1 | -16/+36 |
| | | | | | | | Do you detect the animosity I feel towards CPRs yet? llvm-svn: 9640 | ||||
| * | Did I mention that I _HATE_ CPRs? | Chris Lattner | 2003-10-31 | 1 | -0/+12 |
| | | | | | llvm-svn: 9639 | ||||
| * | Constant pointer refs are causing these to fail unnecessarily, which is causing | Chris Lattner | 2003-10-31 | 1 | -0/+31 |
| | | | | | | | a lot of code to be pessimized. I hate CPRs. :( llvm-svn: 9635 | ||||
| * | Use already existing classes for post order iterator. | Alkis Evlogimenos | 2003-10-31 | 1 | -17/+11 |
| | | | | | llvm-svn: 9629 | ||||
| * | Make use of the new AssemblyAnnotationWriter interface | Chris Lattner | 2003-10-30 | 1 | -13/+21 |
| | | | | | llvm-svn: 9619 | ||||
| * | Include llvm/CodeGen/MachineCodeForInstruction.h. Use it to start | Brian Gaeke | 2003-10-30 | 1 | -6/+29 |
| | | | | | | | | | | implementing verifySavedState(). In saveState(), use the new AllocInfo::AllocStateTy enum, and increment Insn each time through the loop. llvm-svn: 9617 | ||||
| * | Make AllocState an enum. | Brian Gaeke | 2003-10-30 | 1 | -2/+12 |
| | | | | | | | Move the stringifying method for that enum into class AllocInfo. llvm-svn: 9616 | ||||
| * | Output types in reverse postorder. This will allow the ByteCode/Reader | Alkis Evlogimenos | 2003-10-30 | 1 | -9/+17 |
| | | | | | | | | to create the minimum number of opaque types for each type with a cycle in its type graph. llvm-svn: 9615 | ||||
| * | Put DEBUG_OUTPUT at the top along with TRACE_LEVEL. Also fix the code | Alkis Evlogimenos | 2003-10-30 | 1 | -2/+3 |
| | | | | | | | inside DEBUG_OUTPUT so that it compiles. llvm-svn: 9614 | ||||
| * | When someone includes CallGraph.h, make sure that they link in CallGraph.cpp | Chris Lattner | 2003-10-30 | 1 | -0/+1 |
| | | | | | llvm-svn: 9611 | ||||

