| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 2734
|
| |
|
|
|
|
| |
Which contains a description of why this is neccesary.
llvm-svn: 2733
|
| |
|
|
|
|
| |
a vector. This makes asserting on array bounds easier.
llvm-svn: 2731
|
| |
|
|
| |
llvm-svn: 2728
|
| |
|
|
|
|
|
| |
"XXX" style should be considered deprecated, and will hopefully be removed
in the future.
llvm-svn: 2727
|
| |
|
|
| |
llvm-svn: 2726
|
| |
|
|
|
|
| |
enabled with the -debug command line option.
llvm-svn: 2721
|
| |
|
|
| |
llvm-svn: 2720
|
| |
|
|
| |
llvm-svn: 2714
|
| |
|
|
|
|
| |
commandline
llvm-svn: 2713
|
| |
|
|
|
|
| |
to #include CommandLine.h.
llvm-svn: 2712
|
| |
|
|
| |
llvm-svn: 2711
|
| |
|
|
| |
llvm-svn: 2710
|
| |
|
|
|
|
|
|
| |
the random debugging macros scattered throughout llvm.
The new DEBUG(x) macro should be used instead of special purpose debug macros.
llvm-svn: 2709
|
| |
|
|
|
|
|
|
|
| |
to certain classes. This is nice because it means that in header files we can
just declare a value, and still have that value be set based on a command-line
argument. The difference is now that the #include of CommandLine.h does not
need to go into the header file as well.
llvm-svn: 2708
|
| |
|
|
|
|
| |
Improperly handling edges... by not marking them alive properly
llvm-svn: 2707
|
| |
|
|
|
|
|
| |
* Provide a #include of <malloc.h> so that the sun C compiler does not
miscompile malloc function calls
llvm-svn: 2702
|
| |
|
|
| |
llvm-svn: 2701
|
| |
|
|
| |
llvm-svn: 2700
|
| |
|
|
| |
llvm-svn: 2697
|
| |
|
|
| |
llvm-svn: 2694
|
| |
|
|
| |
llvm-svn: 2690
|
| |
|
|
| |
llvm-svn: 2688
|
| |
|
|
|
|
|
| |
* Insert accurate prototypes for functions
* Insert casts to use accurate prototypes
llvm-svn: 2677
|
| |
|
|
| |
llvm-svn: 2676
|
| |
|
|
|
|
| |
executable just like everything else.
llvm-svn: 2674
|
| |
|
|
| |
llvm-svn: 2673
|
| |
|
|
|
|
| |
That was causing a miscompilation of strtol/atoi plus others
llvm-svn: 2669
|
| |
|
|
| |
llvm-svn: 2664
|
| |
|
|
| |
llvm-svn: 2663
|
| |
|
|
|
|
| |
supporting tracing. That should be moved to a "runtime" directory.
llvm-svn: 2660
|
| |
|
|
| |
llvm-svn: 2659
|
| |
|
|
|
|
|
| |
May be slightly less efficient but significantly reduces special
cases interfaces in code generation.
llvm-svn: 2649
|
| |
|
|
|
|
|
|
|
| |
lli and llc. This is controlled with options -tracehash on|off.
Also, added an option to specify which functions should be traced.
Particularly useful to reduce output volume in basic-block tracing.
llvm-svn: 2646
|
| |
|
|
|
|
|
|
| |
array and struct indexes.
Update operand values in CallArgsDescriptor (a new class)
when replacing constant values with immediates.
llvm-svn: 2645
|
| |
|
|
| |
llvm-svn: 2644
|
| |
|
|
| |
llvm-svn: 2643
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-- passing FP arguments to functions with more than 6 arguments
-- passing FP arguments to varargs functions
-- passing FP arguments to functions with no prototypes
-- incorrect coloring for CC registers (both int and FP): interferences
were being completely ignored for int CC and were considered but no
spills were marked for fp CC!
Also some code improvements:
-- better interface to generating machine instr for common cases
(many places still need to be updated to use this interface)
-- annotations on MachineInstr to communicate information from
one codegen phase to another (now used to pass information about
CALL/JMPLCALL operands from selection to register allocation)
-- all sizes and offests in class TargetData are uint64_t instead of uint
llvm-svn: 2642
|
| |
|
|
|
|
|
| |
Make all sizes and offsets uint64_t instead of uint.
Fixed GetIndexedOffset to handle mixed array and struct indices.
llvm-svn: 2641
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-- correct sign extensions for integer casts and for shift-by-constant
instructions generated for integer multiply
-- passing FP arguments to functions with more than 6 arguments
-- passing FP arguments to varargs functions
-- passing FP arguments to functions with no prototypes
-- incorrect stack frame size when padding a section
-- folding getelementptr operations with mixed array and struct indexes
-- use uint64_t instead of uint for constant offsets in mem operands
-- incorrect coloring for CC registers (both int and FP): interferences
were being completely ignored for int CC and were considered but no
spills were marked for fp CC!
Also some code improvements:
-- better interface to generating machine instr for common cases
(many places still need to be updated to use this interface)
-- annotations on MachineInstr to communicate information from
one codegen phase to another (now used to pass information about
CALL/JMPLCALL operands from selection to register allocation)
-- all sizes and offests in class TargetData are uint64_t instead of uint
llvm-svn: 2640
|
| |
|
|
|
|
|
| |
which global variables would have name collisions if they were not mangled,
and use this info to mangle them iff they would collide.
llvm-svn: 2639
|
| |
|
|
|
|
|
|
|
| |
* Add optimization to rank computation to not recursively search when
unneccesary.
* More agressively negate expressions to open reassociation opportunities.
* Linearize (A+B)+(C+D) into ((A+B)+C)+D
llvm-svn: 2637
|
| |
|
|
|
|
|
| |
By making sure to consider binary expressions identical if their operands
are backwards, but swappable.
llvm-svn: 2629
|
| |
|
|
| |
llvm-svn: 2627
|
| |
|
|
|
|
| |
often happens for the entry basic block of a function)
llvm-svn: 2624
|
| |
|
|
|
|
|
|
|
| |
"This testcase caused instcombine to fail because it got the same instruction on
it's worklist more than once (which is ok), but then deleted the instruction.
Since the inst stayed on the worklist, as soon as it came back up to be
processed, bad things happened, and opt asserted."
llvm-svn: 2623
|
| |
|
|
|
|
|
|
|
| |
be put either before or after a load. We chose to cast the value loaded
instead of the pointer to load from.
Fixes bug: test/Regression/Transforms/LevelRaise/2002-05-10-LoadPeephole.ll
llvm-svn: 2621
|
| |
|
|
| |
llvm-svn: 2620
|
| |
|
|
| |
llvm-svn: 2617
|
| |
|
|
| |
llvm-svn: 2616
|