| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | New testcase, courtesy of Brian Gaeke | Chris Lattner | 2002-12-15 | 1 | -0/+3 |
| | | | | | llvm-svn: 5040 | ||||
| * | Fix bug: Assembler/2002-12-15-GlobalResolve.ll | Chris Lattner | 2002-12-15 | 1 | -11/+16 |
| | | | | | llvm-svn: 5039 | ||||
| * | Allow folding together two globals through type resolution | Chris Lattner | 2002-12-15 | 1 | -0/+10 |
| | | | | | llvm-svn: 5038 | ||||
| * | planes is not spelled with an O | Chris Lattner | 2002-12-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 5037 | ||||
| * | Testcase identified by Brian Gaeke that breaks the C frontend... | Chris Lattner | 2002-12-15 | 1 | -0/+3 |
| | | | | | llvm-svn: 5036 | ||||
| * | Fix borkness with not using MachineBasicBlocks in PHI nodes | Chris Lattner | 2002-12-15 | 1 | -12/+1 |
| | | | | | llvm-svn: 5035 | ||||
| * | Add support to cast from a bool type | Chris Lattner | 2002-12-15 | 1 | -6/+12 |
| | | | | | | | | Add support for boolean constants add getClassB method llvm-svn: 5034 | ||||
| * | Use MachineOperand::isFoo methods instead of our own global functions | Chris Lattner | 2002-12-15 | 3 | -50/+22 |
| | | | | | llvm-svn: 5033 | ||||
| * | Add capability to have a MachineBasicBlock as an operand to a MachineInstr | Chris Lattner | 2002-12-15 | 2 | -6/+36 |
| | | | | | | | Add a bunch of methods to MachineOperand is* to reduce usage of MO_foo llvm-svn: 5032 | ||||
| * | New testcase for bool support | Chris Lattner | 2002-12-15 | 1 | -0/+7 |
| | | | | | llvm-svn: 5031 | ||||
| * | Fix a huge performance problem in reassociate by introducing a | Chris Lattner | 2002-12-15 | 1 | -1/+7 |
| | | | | | | | rank map cache for instruction ranks llvm-svn: 5030 | ||||
| * | Minor changes: | Chris Lattner | 2002-12-15 | 1 | -19/+13 |
| | | | | | | | | | * Reword comment to make more clear * Don't print out BB's after modification made * Don't delete and new an instruction when we need to move something, just move it. llvm-svn: 5029 | ||||
| * | Make stuff compiled with gccld not dump into the debugger if there's a problem | Chris Lattner | 2002-12-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 5028 | ||||
| * | Pass command line arguments to main | Chris Lattner | 2002-12-13 | 3 | -5/+24 |
| | | | | | llvm-svn: 5027 | ||||
| * | Add statistic | Chris Lattner | 2002-12-13 | 1 | -3/+7 |
| | | | | | llvm-svn: 5026 | ||||
| * | Test indirect call | Chris Lattner | 2002-12-13 | 1 | -1/+7 |
| | | | | | llvm-svn: 5025 | ||||
| * | Implement indirect function calls | Chris Lattner | 2002-12-13 | 2 | -2/+12 |
| | | | | | llvm-svn: 5024 | ||||
| * | Make function code generation printing debug-only. | Misha Brukman | 2002-12-13 | 1 | -4/+3 |
| | | | | | llvm-svn: 5023 | ||||
| * | Made status output debug-only (for testing diffs against lli). | Misha Brukman | 2002-12-13 | 3 | -10/+13 |
| | | | | | llvm-svn: 5022 | ||||
| * | Fix bork in doMultiply | Chris Lattner | 2002-12-13 | 1 | -3/+4 |
| | | | | | llvm-svn: 5021 | ||||
| * | Add sanity checks | Chris Lattner | 2002-12-13 | 1 | -0/+2 |
| | | | | | llvm-svn: 5020 | ||||
| * | Fixed a bug where moves due to phis were being neglected. | Misha Brukman | 2002-12-13 | 1 | -23/+19 |
| | | | | | llvm-svn: 5019 | ||||
| * | New testcase | Chris Lattner | 2002-12-13 | 1 | -0/+12 |
| | | | | | llvm-svn: 5018 | ||||
| * | Cleaned up the code: factored out switch/case into a separate function, put | Misha Brukman | 2002-12-13 | 1 | -43/+22 |
| | | | | | | | | constants in an array for quick lookup. Stole the idea from elsewhere in Jello. llvm-svn: 5017 | ||||
| * | Need to insert all moves due to PHI nodes before *ALL* jumps in a predecessor | Misha Brukman | 2002-12-13 | 1 | -15/+10 |
| | | | | | | | basic block, as there could be multiple. llvm-svn: 5016 | ||||
| * | Insert phi code at top of block | Chris Lattner | 2002-12-13 | 1 | -2/+5 |
| | | | | | llvm-svn: 5015 | ||||
| * | lib/Target/X86/InstSelectSimple.cpp: | Brian Gaeke | 2002-12-13 | 1 | -1/+1 |
| | | | | | | | | | The MachineBasicBlock variable name patrol hereby fines Chris Lattner one bag of nachos, for shadowing global names while his license to do so was under suspension. llvm-svn: 5014 | ||||
| * | This should be more correct: invalidates physical registers that are used in | Misha Brukman | 2002-12-13 | 1 | -4/+41 |
| | | | | | | | an instruction to avoid using them to allocate to other virtual registers. llvm-svn: 5013 | ||||
| * | Implement cast bool to X | Chris Lattner | 2002-12-13 | 1 | -3/+4 |
| | | | | | llvm-svn: 5012 | ||||
| * | Rename all BMI MachineBasicBlock operands to MBB. | Brian Gaeke | 2002-12-13 | 1 | -21/+22 |
| | | | | | | | | Try to mess around with emitGEPOperation's elementSizeReg to make it work, again. llvm-svn: 5011 | ||||
| * | Finish up iterator stuph | Chris Lattner | 2002-12-13 | 1 | -32/+49 |
| | | | | | llvm-svn: 5009 | ||||
| * | Treat longs as ints => pretend they're all 32-bit values and squeeze them into | Misha Brukman | 2002-12-13 | 1 | -0/+6 |
| | | | | | | | 32-bit registers. llvm-svn: 5008 | ||||
| * | Fixed bug with running out of registers. Also, reinstated namespace which | Misha Brukman | 2002-12-13 | 1 | -2/+5 |
| | | | | | | | disappeared during the last checkin. llvm-svn: 5007 | ||||
| * | Return success on success | Chris Lattner | 2002-12-13 | 1 | -2/+2 |
| | | | | | llvm-svn: 5006 | ||||
| * | Test more phi stuff | Chris Lattner | 2002-12-13 | 1 | -0/+12 |
| | | | | | llvm-svn: 5005 | ||||
| * | Code gen phi's correctly | Chris Lattner | 2002-12-13 | 1 | -39/+109 |
| | | | | | llvm-svn: 5004 | ||||
| * | Print X86 PHI nodes in a sane manner | Chris Lattner | 2002-12-13 | 1 | -0/+16 |
| | | | | | llvm-svn: 5003 | ||||
| * | This should handle register allocating PHI nodes. | Misha Brukman | 2002-12-13 | 1 | -23/+97 |
| | | | | | llvm-svn: 5002 | ||||
| * | Added moveReg2Reg() and moveImm2Reg() to accomodate moving data around due to | Misha Brukman | 2002-12-13 | 3 | -0/+56 |
| | | | | | | | PHI nodes. llvm-svn: 5001 | ||||
| * | Final version of BuildMI for symmetry and because I want to use it | Chris Lattner | 2002-12-13 | 1 | -0/+11 |
| | | | | | llvm-svn: 5000 | ||||
| * | lib/Target/X86/InstSelectSimple.cpp: Start counting arguments with 2, | Brian Gaeke | 2002-12-13 | 3 | -16/+21 |
| | | | | | | | | | | | | | | | | | because arguments start two stack slots off of EBP. Break out of the for loop once the argument is found. Increment the counter at the end of the loop instead of the beginning. Use addRegOffset and compute the scale * index part at compile time instead of using the fancy load instruction. Just because an instruction set has wacky addressing modes doesn't mean we ought to use them (at least, if you believe Dave Patterson). lib/Target/X86/X86InstrBuilder.h: Add some comments. test/Regression/Jello/test-loadstore.ll: Let main return int 0. llvm-svn: 4999 | ||||
| * | InstSelectSimple.cpp: Give promote32 a comment. Add initial | Brian Gaeke | 2002-12-13 | 4 | -10/+33 |
| | | | | | | | | | | | | implementation of getReg() for arguments. MachineCodeEmitter.cpp: Fix using EBP with index, scale and no displacement (whew!) due to Chris. Printer.cpp: Fix printing out index and scale in memory references. llvm-svn: 4998 | ||||
| * | Get rid of deprecated function | Chris Lattner | 2002-12-13 | 1 | -5/+0 |
| | | | | | llvm-svn: 4997 | ||||
| * | return 0 on success | Chris Lattner | 2002-12-13 | 1 | -2/+2 |
| | | | | | llvm-svn: 4996 | ||||
| * | Implement getelementptr constant exprs | Chris Lattner | 2002-12-13 | 2 | -33/+45 |
| | | | | | | | | Implement ConstantPointerRefs Treat long/ulongs as if they were integers. A hack, but an effective one llvm-svn: 4995 | ||||
| * | brg | Brian Gaeke | 2002-12-13 | 3 | -2/+34 |
| | | | | | | | | | | | | | | InstSelectSimple.cpp: Add stub implementation of visitFreeInst. Add comments that mention how we are failing to implement malloc/free. Add initial implementation of visitAllocaInst. X86TargetMachine.cpp: Include llvm/Transforms/Scalar.h. Add LowerAllocations pass before instruction selection. jello/Makefile: Add scalaropts.a. llvm-svn: 4994 | ||||
| * | getelementptr uses long instead of uint indexes | Chris Lattner | 2002-12-13 | 1 | -12/+12 |
| | | | | | llvm-svn: 4993 | ||||
| * | Stop sucking | Chris Lattner | 2002-12-13 | 1 | -3/+3 |
| | | | | | llvm-svn: 4992 | ||||
| * | Making main() return 0 so that we know it ran successfully when it exits. | Misha Brukman | 2002-12-13 | 2 | -4/+4 |
| | | | | | llvm-svn: 4991 | ||||
| * | Making main() return 0 to exit without error when no error actually occurs. | Misha Brukman | 2002-12-13 | 1 | -2/+2 |
| | | | | | llvm-svn: 4990 | ||||

