- Sep 04, 2006
-
-
Chris Lattner authored
llvm-svn: 30082
-
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
the FunctionPassManager redo this for each function. llvm-svn: 30079
-
Chris Lattner authored
llvm-svn: 30078
-
- Sep 03, 2006
-
-
Chris Lattner authored
llvm-svn: 30070
-
Chris Lattner authored
llvm-svn: 30068
-
Rafael Espindola authored
llvm-svn: 30067
-
Chris Lattner authored
llvm-svn: 30066
-
Chris Lattner authored
llvm-svn: 30065
-
Chris Lattner authored
Just because an alias of a register is available, it doesn't mean that we can arbitrarily evict the register. llvm-svn: 30064
-
Chris Lattner authored
livevariables information. This fixes several regalloc=local failures on x86 llvm-svn: 30062
-
Chris Lattner authored
instruction includes physregs. llvm-svn: 30061
-
Chris Lattner authored
was under accounting for the time that livevariables cost llvm-svn: 30060
-
- Sep 02, 2006
-
-
Owen Anderson authored
llvm-svn: 30057
-
Rafael Espindola authored
llvm-svn: 30056
-
Nick Lewycky authored
Reorder operations to remove duplicated work. Fix to leave floating-point types out of the optimization. Add tests to predsimplify.ll for SwitchInst and SelectInst handling. llvm-svn: 30055
-
Chris Lattner authored
llvm-svn: 30054
-
Chris Lattner authored
Restore it, which re-fixes X86/2006-08-21-ExtraMovInst.ll llvm-svn: 30050
-
Chris Lattner authored
method for joining the live ranges instead of the fully-general one. llvm-svn: 30049
-
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
-
- Sep 01, 2006
-
-
Anton Korobeynikov authored
- Removed warning about clobbered parameter in Bytecode/Reader llvm-svn: 30026
-
Evan Cheng authored
llvm-svn: 30025
-
Evan Cheng authored
I've been told apple gcc version number is not guaranteed to increase monotonically. Change the preprocess condition to make it less risky. The configuration change is done during the middle 10.4 life cycle so we have to check __APPLE_CC. For future OS X release, we should be able to assume -fenable-cxa-atexit is the default. llvm-svn: 30024
-
Evan Cheng authored
llvm-svn: 30023
-
Evan Cheng authored
possible and the target only supports MULHS. llvm-svn: 30022
-
Jim Laskey authored
llvm-svn: 30021
-
Evan Cheng authored
llvm-svn: 30017
-
Evan Cheng authored
llvm-svn: 30016
-
Chris Lattner authored
need recursion. llvm-svn: 30015
-
Chris Lattner authored
analysis 16% on crafty. Wrap long lines. llvm-svn: 30012
-
Chris Lattner authored
crafty with and without it). Removing it speeds up live intervals 6%. llvm-svn: 30010
-
Nick Lewycky authored
corrects missing optimization opportunity removing cases from a switch. llvm-svn: 30009
-
- Aug 31, 2006
-
-
Evan Cheng authored
for ROTL availability. This prevents it from forming ROTR for targets that has ROTR only. llvm-svn: 29997
-
Chris Lattner authored
llvm-svn: 29996
-
Chris Lattner authored
llvm-svn: 29995
-
Chris Lattner authored
llvm-svn: 29994
-
Nick Lewycky authored
another Value) weren't being found by findProperties. This fixes predsimplify.ll test6, a missed optimization opportunity. llvm-svn: 29991
-