Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Combine ISD::EXTLOAD, ISD::SEXTLOAD, ISD::ZEXTLOAD into ISD::LOADX. Add an | Evan Cheng | 2006-10-04 | 2 | -11/+10 | |
| | | | | | | extra operand to LOADX to specify the exact value extension type. llvm-svn: 30714 | |||||
* | Adding dllimport, dllexport and external weak linkage types. | Anton Korobeynikov | 2006-09-14 | 1 | -0/+8 | |
| | | | | | | | | | DLL* linkages got full (I hope) codegeneration support in C & both x86 assembler backends. External weak linkage added for future use, we don't provide any codegeneration, etc. support for it. llvm-svn: 30374 | |||||
* | Reflects MachineConstantPoolEntry changes. | Evan Cheng | 2006-09-12 | 2 | -2/+2 | |
| | | | | llvm-svn: 30279 | |||||
* | 1. Remove condition on delete. | Jim Laskey | 2006-09-07 | 2 | -5/+9 | |
| | | | | | | | | 2. Protect and outline createTargetAsmInfo. 3. Misc. kruft. llvm-svn: 30169 | |||||
* | Make target asm info a property of the target machine. | Jim Laskey | 2006-09-07 | 2 | -24/+8 | |
| | | | | llvm-svn: 30162 | |||||
* | Break out target asm info into separate files. | Jim Laskey | 2006-09-07 | 2 | -0/+65 | |
| | | | | llvm-svn: 30161 | |||||
* | Separate target specific asm properties from the asm printers. | Jim Laskey | 2006-09-06 | 1 | -6/+15 | |
| | | | | llvm-svn: 30126 | |||||
* | Completely eliminate def&use operands. Now a register operand is EITHER a | Chris Lattner | 2006-09-05 | 1 | -14/+12 | |
| | | | | | | def operand or a use operand. llvm-svn: 30109 | |||||
* | add setJumpBufSize() and setJumpBufAlignment() to target-lowering. | Duraid Madina | 2006-09-04 | 1 | -0/+3 | |
| | | | | | | | Call these from your backend to enjoy setjmp/longjmp goodness, see lib/Target/IA64/IA64ISelLowering.cpp for an example llvm-svn: 30095 | |||||
* | Completely rearchitect the interface between targets and the pass manager. | Chris Lattner | 2006-09-04 | 2 | -77/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This pass: 1. Splits TargetMachine into TargetMachine (generic targets, can be implemented any way, like the CBE) and LLVMTargetMachine (subclass of TM that is used by things using libcodegen and other support). 2. Instead of having each target fully populate the passmgr for file or JIT output, move all this to common code, and give targets hooks they can implement. 3. Commonalize the target population stuff between file emission and JIT emission. 4. All (native code) codegen stuff now happens in a FunctionPassManager, which paves the way for "fast -O0" stuff in the CFE later, and now LLC could lazily stream .bc files from disk to use less memory. 5. There are now many fewer #includes and the targets don't depend on the scalar xforms or libanalysis anymore (but codegen does). 6. Changing common code generator pass ordering stuff no longer requires touching all targets. 7. The JIT now has the option of "-fast" codegen or normal optimized codegen, which is now orthogonal to the fact that JIT'ing is being done. llvm-svn: 30081 | |||||
* | Simplify target construction. | Chris Lattner | 2006-09-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 30070 | |||||
* | Do not use getTargetNode() and SelectNodeTo() which takes more than 3 | Evan Cheng | 2006-08-27 | 1 | -15/+27 | |
| | | | | | | SDOperand arguments. Use the variants which take an array and number instead. llvm-svn: 29907 | |||||
* | Fix target matching weights, so that ppc-darwin modules are codegen with the | Chris Lattner | 2006-08-26 | 2 | -13/+7 | |
| | | | | | | | ppc target, not the itanium target, when run on an itanium machine. This should fix the CodeGen/PowerPC regtest failures on itanium. llvm-svn: 29903 | |||||
* | SelectNodeTo now returns a SDNode*. | Evan Cheng | 2006-08-26 | 1 | -10/+10 | |
| | | | | llvm-svn: 29901 | |||||
* | Select() no longer require Result operand by reference. | Evan Cheng | 2006-08-26 | 1 | -20/+13 | |
| | | | | llvm-svn: 29898 | |||||
* | Match tblgen changes. | Evan Cheng | 2006-08-26 | 1 | -30/+38 | |
| | | | | llvm-svn: 29895 | |||||
* | Constify some methods. Patch provided by Anton Vayvod, thanks! | Chris Lattner | 2006-08-17 | 2 | -9/+9 | |
| | | | | llvm-svn: 29756 | |||||
* | SelectNodeTo() may return a SDOperand that is different from the input. | Evan Cheng | 2006-08-16 | 1 | -31/+20 | |
| | | | | llvm-svn: 29726 | |||||
* | RET_FLAG has an optional input flag, but it does not produce a flag result. | Evan Cheng | 2006-08-16 | 1 | -8/+2 | |
| | | | | llvm-svn: 29725 | |||||
* | Eliminate use of getNode that takes a vector. | Chris Lattner | 2006-08-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 29614 | |||||
* | eliminate use of getNode that takes vector of operands. | Chris Lattner | 2006-08-11 | 1 | -2/+4 | |
| | | | | llvm-svn: 29611 | |||||
* | Match tablegen changes. | Evan Cheng | 2006-08-11 | 1 | -25/+21 | |
| | | | | llvm-svn: 29604 | |||||
* | Match tablegen isel changes. | Evan Cheng | 2006-08-07 | 1 | -70/+28 | |
| | | | | llvm-svn: 29549 | |||||
* | remove a dead proto | Chris Lattner | 2006-08-03 | 1 | -1/+0 | |
| | | | | llvm-svn: 29505 | |||||
* | Remove a duplicate pattern. | Evan Cheng | 2006-07-31 | 1 | -1/+0 | |
| | | | | llvm-svn: 29414 | |||||
* | Remove InFlightSet hack. No longer needed. | Evan Cheng | 2006-07-28 | 1 | -1/+0 | |
| | | | | llvm-svn: 29373 | |||||
* | Remove NodeDepth | Evan Cheng | 2006-07-27 | 1 | -6/+1 | |
| | | | | llvm-svn: 29338 | |||||
* | It was pointed out that DEBUG() is only available with -debug. | Jim Laskey | 2006-07-11 | 1 | -1/+5 | |
| | | | | llvm-svn: 29106 | |||||
* | 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 | |||||
* | Don't pass target name into TargetData anymore, it is never used or needed. | Chris Lattner | 2006-06-16 | 1 | -1/+1 | |
| | | | | | | | Remove explicit casts to std::string now that there is no overload resolution issues in the TargetData ctors. llvm-svn: 28830 | |||||
* | 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 | |||||
* | 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 | |||||
* | getCalleeSaveRegs and getCalleeSaveRegClasses are no long TableGen'd. | Evan Cheng | 2006-05-18 | 3 | -60/+19 | |
| | | | | llvm-svn: 28378 | |||||
* | Remove PointerType from class Target | Evan Cheng | 2006-05-17 | 1 | -4/+0 | |
| | | | | llvm-svn: 28368 | |||||
* | Move this code to a common place | Andrew Lenharth | 2006-05-16 | 1 | -3/+0 | |
| | | | | llvm-svn: 28329 | |||||
* | Fix build breakage :( | Chris Lattner | 2006-05-12 | 1 | -1/+3 | |
| | | | | llvm-svn: 28267 | |||||
* | Actually override the right method. :) | Chris Lattner | 2006-05-12 | 1 | -1/+1 | |
| | | | | | | Bug identified by coverity. llvm-svn: 28259 | |||||
* | 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 | -4/+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 | -3/+3 | |
| | | | | llvm-svn: 28102 | |||||
* | There shalt be only one "immediate" operand type! | Chris Lattner | 2006-05-04 | 3 | -12/+11 | |
| | | | | llvm-svn: 28099 | |||||
* | Remove a bunch more SparcV9 specific stuff | Chris Lattner | 2006-05-04 | 1 | -7/+1 | |
| | | | | llvm-svn: 28093 | |||||
* | Remove some more unused stuff from MachineInstr that was leftover from V9. | Chris Lattner | 2006-05-04 | 1 | -7/+0 | |
| | | | | llvm-svn: 28091 | |||||
* | Refactor TargetMachine, pushing handling of TargetData into the ↵ | Owen Anderson | 2006-05-03 | 3 | -6/+8 | |
| | | | | | | | | 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 | |||||
* | Extend printBasicBlockLabel a bit so that it can be used to print all | Nate Begeman | 2006-05-02 | 1 | -4/+4 | |
| | | | | | | | 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 | -3/+0 | |
| | | | | | | letting the code generator handle them directly. llvm-svn: 27539 |