| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 2755
|
| |
|
|
|
|
|
| |
their references. This fixes bug:
test/Regression/Transforms/ADCE/2002-05-28-Crash*.ll
llvm-svn: 2753
|
| |
|
|
| |
llvm-svn: 2749
|
| |
|
|
| |
llvm-svn: 2748
|
| |
|
|
| |
llvm-svn: 2747
|
| |
|
|
|
|
|
|
|
| |
test/Regression/Transforms/FunctionResolve/retmismatch[12].ll
This makes it much more useful for running benchmarks that are missing
prototypes for some functions.
llvm-svn: 2745
|
| |
|
|
| |
llvm-svn: 2742
|
| |
|
|
| |
llvm-svn: 2741
|
| |
|
|
|
|
|
|
|
|
| |
for malloc and free. Lots of crufty benchmarks are using stuff like:
char *malloc();
void free();
to forward declare malloc and free. Now we recognize and raise these forms
llvm-svn: 2740
|
| |
|
|
| |
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
|