Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Ensure that dump calls that are associated with asserts are removed from | Jim Laskey | 2006-07-11 | 1 | -1/+1 | |
| | | | | | | non-debug build. llvm-svn: 29105 | |||||
* | These are already implemented | Andrew Lenharth | 2006-07-03 | 1 | -4/+0 | |
| | | | | llvm-svn: 28990 | |||||
* | 0 offsets for memory operands | Andrew Lenharth | 2006-07-03 | 1 | -0/+2 | |
| | | | | llvm-svn: 28989 | |||||
* | this case isn't handled | Andrew Lenharth | 2006-06-27 | 1 | -0/+2 | |
| | | | | llvm-svn: 28948 | |||||
* | Add memory operand and int regs | Andrew Lenharth | 2006-06-21 | 3 | -0/+46 | |
| | | | | llvm-svn: 28896 | |||||
* | inline asm, at least for floats | Andrew Lenharth | 2006-06-21 | 3 | -0/+58 | |
| | | | | llvm-svn: 28895 | |||||
* | fix argument problem | Andrew Lenharth | 2006-06-21 | 1 | -1/+5 | |
| | | | | llvm-svn: 28893 | |||||
* | Don't pass target name into TargetData anymore, it is never used or needed. | Chris Lattner | 2006-06-16 | 1 | -2/+1 | |
| | | | | | | | Remove explicit casts to std::string now that there is no overload resolution issues in the TargetData ctors. llvm-svn: 28830 | |||||
* | I am sure I had commited this workaround before. Perhaps soon I should sort ↵ | Andrew Lenharth | 2006-06-13 | 1 | -6/+6 | |
| | | | | | | it all out llvm-svn: 28772 | |||||
* | It really helps to be returning to the correct place | Andrew Lenharth | 2006-06-13 | 3 | -33/+17 | |
| | | | | llvm-svn: 28769 | |||||
* | Let the alpha breakage begin. First Formals and RET. next Calls | Andrew Lenharth | 2006-06-12 | 5 | -72/+102 | |
| | | | | llvm-svn: 28753 | |||||
* | ignore ordered/unordered for now | Andrew Lenharth | 2006-06-04 | 2 | -0/+153 | |
| | | | | llvm-svn: 28679 | |||||
* | Change RET node to include signness information of the return values. i.e. | Evan Cheng | 2006-05-26 | 1 | -1/+1 | |
| | | | | | | RET chain, value1, sign1, value2, sign2, ... llvm-svn: 28510 | |||||
* | Assert if InflightSet is not cleared after instruction selecting a BB. | Evan Cheng | 2006-05-25 | 1 | -0/+1 | |
| | | | | llvm-svn: 28459 | |||||
* | Clear HandleMap and ReplaceMap after instruction selection. Or it may cause | Evan Cheng | 2006-05-24 | 1 | -0/+2 | |
| | | | | | | non-deterministic behavior. llvm-svn: 28454 | |||||
* | Patches to make the LLVM sources more -pedantic clean. Patch provided | Chris Lattner | 2006-05-24 | 2 | -2/+2 | |
| | | | | | | by Anton Korobeynikov! This is a step towards closing PR786. llvm-svn: 28447 | |||||
* | Make all of the TargetMachine subclasses use the new string TargetData methods. | Owen Anderson | 2006-05-20 | 1 | -1/+1 | |
| | | | | | | This is part of the on-going work on PR 761. llvm-svn: 28414 | |||||
* | Fix a bogus gcc warning | Andrew Lenharth | 2006-05-18 | 1 | -2/+2 | |
| | | | | llvm-svn: 28382 | |||||
* | getCalleeSaveRegs and getCalleeSaveRegClasses are no long TableGen'd. | Evan Cheng | 2006-05-18 | 3 | -11/+31 | |
| | | | | llvm-svn: 28378 | |||||
* | Remove PointerType from class Target | Evan Cheng | 2006-05-17 | 1 | -3/+0 | |
| | | | | llvm-svn: 28368 | |||||
* | Fix call_adj.ll | Andrew Lenharth | 2006-05-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 28360 | |||||
* | Added sanity check for obviously bogus immediates | Andrew Lenharth | 2006-05-17 | 1 | -0/+1 | |
| | | | | llvm-svn: 28359 | |||||
* | Move this code to a common place | Andrew Lenharth | 2006-05-16 | 1 | -148/+4 | |
| | | | | llvm-svn: 28329 | |||||
* | remove dead variable. | Chris Lattner | 2006-05-12 | 1 | -1/+0 | |
| | | | | llvm-svn: 28258 | |||||
* | Refactor a bunch of includes so that TargetMachine.h doesn't have to include | Owen Anderson | 2006-05-12 | 1 | -0/+1 | |
| | | | | | | | TargetData.h. This should make recompiles a bit faster with my current TargetData tinkering. llvm-svn: 28238 | |||||
* | Split SwitchSection into SwitchTo{Text|Data}Section methods. | Chris Lattner | 2006-05-09 | 1 | -5/+5 | |
| | | | | llvm-svn: 28184 | |||||
* | Rename MO_VirtualRegister -> MO_Register. Clean up immediate handling. | Chris Lattner | 2006-05-04 | 1 | -2/+2 | |
| | | | | llvm-svn: 28104 | |||||
* | Move some methods out of MachineInstr into MachineOperand | Chris Lattner | 2006-05-04 | 1 | -5/+4 | |
| | | | | llvm-svn: 28102 | |||||
* | There shalt be only one "immediate" operand type! | Chris Lattner | 2006-05-04 | 2 | -4/+3 | |
| | | | | llvm-svn: 28099 | |||||
* | Remove a bunch more SparcV9 specific stuff | Chris Lattner | 2006-05-04 | 2 | -8/+3 | |
| | | | | llvm-svn: 28093 | |||||
* | Remove some more V9-specific stuff. | Chris Lattner | 2006-05-04 | 1 | -6/+1 | |
| | | | | llvm-svn: 28092 | |||||
* | Remove some more unused stuff from MachineInstr that was leftover from V9. | Chris Lattner | 2006-05-04 | 1 | -6/+0 | |
| | | | | llvm-svn: 28091 | |||||
* | Change from using MachineRelocation ctors to using static methods | Chris Lattner | 2006-05-03 | 1 | -3/+3 | |
| | | | | | | in MachineRelocation to create Relocations. llvm-svn: 28088 | |||||
* | Suck block address tracking out of targets into the JIT Emitter. This | Chris Lattner | 2006-05-03 | 1 | -11/+4 | |
| | | | | | | | simplifies the MachineCodeEmitter interface just a little bit and makes BasicBlocks work like constant pools and jump tables. llvm-svn: 28082 | |||||
* | Refactor TargetMachine, pushing handling of TargetData into the ↵ | Owen Anderson | 2006-05-03 | 3 | -6/+9 | |
| | | | | | | | | target-specific subclasses. This has one caller-visible change: getTargetData() now returns a pointer instead of a reference. This fixes PR 759. llvm-svn: 28074 | |||||
* | Keep the alpha JIT similar to the PPC/X86 jits | Chris Lattner | 2006-05-03 | 1 | -4/+6 | |
| | | | | llvm-svn: 28068 | |||||
* | Several related changes: | Chris Lattner | 2006-05-02 | 1 | -1/+0 | |
| | | | | | | | | | | | | | 1. Change several methods in the MachineCodeEmitter class to be pure virtual. 2. Suck emitConstantPool/initJumpTableInfo into startFunction, removing them from the MachineCodeEmitter interface, and reducing the amount of target- specific code. 3. Change the JITEmitter so that it allocates constantpools and jump tables *right* next to the functions that they belong to, instead of in a separate pool of memory. This makes all memory for a function be contiguous, and means the JITEmitter only tracks one block of memory now. llvm-svn: 28065 | |||||
* | Fix a purely hypothetical problem (for now): emitWord emits in the host | Chris Lattner | 2006-05-02 | 2 | -6/+2 | |
| | | | | | | | | byte format. This doesn't work when using the code emitter in a cross target environment. Since the code emitter is only really used by the JIT, this isn't a current problem, but if we ever start emitting .o files, it would be. llvm-svn: 28060 | |||||
* | Refactor the machine code emitter interface to pull the pointers for the current | Chris Lattner | 2006-05-02 | 1 | -5/+9 | |
| | | | | | | | | | | code emission location into the base class, instead of being in the derived classes. This change means that low-level methods like emitByte/emitWord now are no longer virtual (yaay for speed), and we now have a framework to support growable code segments. This implements feature request #1 of PR469. llvm-svn: 28059 | |||||
* | Extend printBasicBlockLabel a bit so that it can be used to print all | Nate Begeman | 2006-05-02 | 1 | -3/+2 | |
| | | | | | | | basic block labels, consolidating the code to do so in one place for each target. llvm-svn: 28050 | |||||
* | JumpTable support! What this represents is working asm and jit support for | Nate Begeman | 2006-04-22 | 2 | -7/+3 | |
| | | | | | | | | x86 and ppc for 100% dense switch statements when relocations are non-PIC. This support will be extended and enhanced in the coming days to support PIC, and less dense forms of jump tables. llvm-svn: 27947 | |||||
* | Disable switch lowering for targets based on the selection dag isel, | Nate Begeman | 2006-04-08 | 1 | -6/+0 | |
| | | | | | | letting the code generator handle them directly. llvm-svn: 27539 | |||||
* | Initialize SDOperand values because the gcc 4.0.2 compiler complains about | Reid Spencer | 2006-04-08 | 1 | -2/+2 | |
| | | | | | | them. llvm-svn: 27534 | |||||
* | Foundation for call frame information. | Jim Laskey | 2006-04-07 | 2 | -2/+8 | |
| | | | | llvm-svn: 27491 | |||||
* | This may be overconservative, but it lets the new cfe compile | Andrew Lenharth | 2006-04-06 | 1 | -1/+2 | |
| | | | | llvm-svn: 27471 | |||||
* | fix some linking problems with the new gcc | Andrew Lenharth | 2006-04-06 | 1 | -1/+3 | |
| | | | | llvm-svn: 27460 | |||||
* | support x * (c1 + c2) where c1 and c2 are pow2s. special case for c2 == 4 | Andrew Lenharth | 2006-04-03 | 2 | -10/+32 | |
| | | | | llvm-svn: 27370 | |||||
* | mul by const conversion sequences. more coming soon | Andrew Lenharth | 2006-04-03 | 3 | -2/+61 | |
| | | | | llvm-svn: 27368 | |||||
* | This makes McCat/12-IOtest go 8x faster or so | Andrew Lenharth | 2006-04-02 | 1 | -2/+14 | |
| | | | | llvm-svn: 27363 | |||||
* | This will be needed soon | Andrew Lenharth | 2006-04-02 | 1 | -1/+146 | |
| | | | | llvm-svn: 27362 |