| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 30097
|
|
|
|
|
|
|
| |
Call these from your backend to enjoy setjmp/longjmp goodness, see
lib/Target/IA64/IA64ISelLowering.cpp for an example
llvm-svn: 30095
|
|
|
|
| |
llvm-svn: 30082
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 30080
|
|
|
|
|
|
| |
the FunctionPassManager redo this for each function.
llvm-svn: 30079
|
|
|
|
| |
llvm-svn: 30078
|
|
|
|
| |
llvm-svn: 30070
|
|
|
|
| |
llvm-svn: 30068
|
|
|
|
| |
llvm-svn: 30067
|
|
|
|
| |
llvm-svn: 30066
|
|
|
|
| |
llvm-svn: 30065
|
|
|
|
|
|
|
| |
Just because an alias of a register is available, it doesn't mean that we
can arbitrarily evict the register.
llvm-svn: 30064
|
|
|
|
|
|
| |
livevariables information. This fixes several regalloc=local failures on x86
llvm-svn: 30062
|
|
|
|
|
|
| |
instruction includes physregs.
llvm-svn: 30061
|
|
|
|
|
|
| |
was under accounting for the time that livevariables cost
llvm-svn: 30060
|
|
|
|
|
|
| |
their recursive calls.
llvm-svn: 30057
|
|
|
|
| |
llvm-svn: 30056
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 30054
|
|
|
|
|
|
| |
Restore it, which re-fixes X86/2006-08-21-ExtraMovInst.ll
llvm-svn: 30050
|
|
|
|
|
|
| |
method for joining the live ranges instead of the fully-general one.
llvm-svn: 30049
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 30039
|
|
|
|
| |
llvm-svn: 30038
|
|
|
|
|
|
| |
- Removed warning about clobbered parameter in Bytecode/Reader
llvm-svn: 30026
|
|
|
|
| |
llvm-svn: 30025
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 30023
|
|
|
|
|
|
| |
possible and the target only supports MULHS.
llvm-svn: 30022
|
|
|
|
| |
llvm-svn: 30021
|
|
|
|
| |
llvm-svn: 30017
|
|
|
|
| |
llvm-svn: 30016
|
|
|
|
|
|
| |
need recursion.
llvm-svn: 30015
|
|
|
|
|
|
|
|
| |
analysis 16% on crafty.
Wrap long lines.
llvm-svn: 30012
|
|
|
|
|
|
| |
crafty with and without it). Removing it speeds up live intervals 6%.
llvm-svn: 30010
|
|
|
|
|
|
| |
corrects missing optimization opportunity removing cases from a switch.
llvm-svn: 30009
|
|
|
|
|
|
|
| |
for ROTL availability. This prevents it from forming ROTR for targets that
has ROTR only.
llvm-svn: 29997
|
|
|
|
| |
llvm-svn: 29996
|
|
|
|
| |
llvm-svn: 29995
|
|
|
|
| |
llvm-svn: 29994
|
|
|
|
|
|
|
|
| |
another Value) weren't being found by findProperties.
This fixes predsimplify.ll test6, a missed optimization opportunity.
llvm-svn: 29991
|
|
|
|
| |
llvm-svn: 29989
|
|
|
|
|
|
| |
Also, the assert could never fire due to || instead of &&.
llvm-svn: 29977
|
|
|
|
| |
llvm-svn: 29971
|
|
|
|
|
|
|
|
|
| |
If a branch's condition has become a ConstantBool, simplify it immediately.
Removing the edge saves work and exposes up more optimization opportunities
in the pass.
Add support for SelectInst.
llvm-svn: 29970
|
|
|
|
|
|
|
|
| |
number of copies, potentially defining live ranges that appear to have
differing value numbers that become identical when coallsced. Among other
things, this fixes CodeGen/X86/shift-coalesce.ll and PR687.
llvm-svn: 29968
|
|
|
|
|
|
|
|
| |
exit blocks. The output is dependent on addresses of basic block.
Add and use Loop::getUniqueExitBlocks.
llvm-svn: 29966
|
|
|
|
| |
llvm-svn: 29965
|
|
|
|
| |
llvm-svn: 29962
|