- Sep 04, 2006
-
-
Chris Lattner authored
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
-
Chris Lattner authored
llvm-svn: 30080
-
Chris Lattner authored
llvm-svn: 30078
-
- Sep 03, 2006
-
-
Chris Lattner authored
llvm-svn: 30070
-
Rafael Espindola authored
llvm-svn: 30067
-
- Sep 02, 2006
-
-
Rafael Espindola authored
llvm-svn: 30056
-
Evan Cheng authored
Suppose the TokenFactor can reach the Op: [Load chain] ^ | [Load] ^ ^ | | / \- / | / [Op] / ^ ^ | .. | | / | [TokenFactor] | ^ | | | \ / \ / [Store] If we move the Load below the TokenFactor, we would have created a cycle in the DAG. llvm-svn: 30040
-
Chris Lattner authored
llvm-svn: 30039
-
Chris Lattner authored
llvm-svn: 30038
-
- Aug 30, 2006
-
-
Evan Cheng authored
llvm-svn: 29965
-
- Aug 29, 2006
-
-
Evan Cheng authored
llvm-svn: 29962
-
Evan Cheng authored
or vector result. X86 does not have load/mod/store variants of those instructions. llvm-svn: 29957
-
Evan Cheng authored
- Also disable isel load folding if -fast. llvm-svn: 29956
-
Jim Laskey authored
handling.) llvm-svn: 29954
-
Jim Laskey authored
llvm-svn: 29953
-
Evan Cheng authored
llvm-svn: 29952
-
Nate Begeman authored
there are clearly some encoding bugs lurking in there somewhere. llvm-svn: 29949
-
Evan Cheng authored
llvm-svn: 29946
-
- Aug 28, 2006
-
-
Evan Cheng authored
Add an optional pass to preprocess the DAG before x86 isel to allow selecting more load/mod/store instructions. llvm-svn: 29943
-
Reid Spencer authored
Close out this long standing bug by removing the remaining overloaded virtual functions in LLVM. The -Woverloaded-virtual option is now turned on. llvm-svn: 29934
-
- Aug 27, 2006
-
-
Chris Lattner authored
llvm-svn: 29911
-
Evan Cheng authored
SDOperand arguments. Use the variants which take an array and number instead. llvm-svn: 29907
-
- Aug 26, 2006
-
-
Chris Lattner authored
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
-
Evan Cheng authored
llvm-svn: 29901
-
Evan Cheng authored
llvm-svn: 29898
-
Evan Cheng authored
llvm-svn: 29895
-
Evan Cheng authored
llvm-svn: 29894
-
Chris Lattner authored
llvm-svn: 29891
-
Evan Cheng authored
llvm-svn: 29889
-
- Aug 25, 2006
-
-
Evan Cheng authored
asm printer will print it as offset*4. e.g. bne cr0, $+8. The PPC code emitter was expecting the offset to be number of instructions, not number of bytes. This fixes a whole bunch of JIT failures. llvm-svn: 29885
-
Jim Laskey authored
llvm-svn: 29880
-
Rafael Espindola authored
store LR in an arbitrary stack slot add support for writing varargs functions llvm-svn: 29876
-
Chris Lattner authored
_swap_16: slwi r2, r3, 24 rlwimi r2, r3, 8, 8, 15 srwi r3, r2, 16 blr now. llvm-svn: 29864
-
Chris Lattner authored
llvm-svn: 29863
-
- Aug 24, 2006
-
-
Rafael Espindola authored
implement a movcond instruction llvm-svn: 29857
-
Rafael Espindola authored
llvm-svn: 29856
-
Rafael Espindola authored
llvm-svn: 29854
-
- Aug 23, 2006
-
-
Nate Begeman authored
does emit linkable .o files in very simple cases. llvm-svn: 29850
-
- Aug 22, 2006
-
-
Rafael Espindola authored
llvm-svn: 29814
-
Rafael Espindola authored
llvm-svn: 29802
-