| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 31610
|
| |
|
|
| |
llvm-svn: 31608
|
| |
|
|
|
|
|
|
|
|
| |
Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting
fall out by removing unused variables. Remaining warnings have to do with
unused functions (I didn't want to delete code without review) and unused
variables in generated code. Maintainers should clean up the remaining
issues when they see them. All changes pass DejaGnu tests and Olden.
llvm-svn: 31380
|
| |
|
|
| |
llvm-svn: 31352
|
| |
|
|
|
|
|
|
| |
Make necessary changes to support DIV -> [SUF]Div. This changes llvm to
have three division instructions: signed, unsigned, floating point. The
bytecode and assembler are bacwards compatible, however.
llvm-svn: 31195
|
| |
|
|
| |
llvm-svn: 31086
|
| |
|
|
|
|
|
|
| |
This patch implements the first increment for the Signless Types feature.
All changes pertain to removing the ConstantSInt and ConstantUInt classes
in favor of just using ConstantInt.
llvm-svn: 31063
|
| |
|
|
| |
llvm-svn: 30698
|
| |
|
|
| |
llvm-svn: 30680
|
| |
|
|
| |
llvm-svn: 30679
|
| |
|
|
| |
llvm-svn: 30676
|
| |
|
|
|
|
| |
ConstantBool::getTrue() and ConstantBool::getFalse().
llvm-svn: 30665
|
| |
|
|
|
|
| |
Burg.
llvm-svn: 30657
|
| |
|
|
|
|
|
|
| |
... args, remove the '...'.
This is Transforms/DeadArgElim/dead_vaargs.ll
llvm-svn: 30459
|
| |
|
|
|
|
| |
MultiSource/Applications/Burg
llvm-svn: 30397
|
| |
|
|
|
|
|
|
| |
revealed these
changes to be incorrect. They just weren't showing up in any of our current testcases.
llvm-svn: 30385
|
| |
|
|
|
|
|
|
|
| |
DLL* linkages got full (I hope) codegeneration support in C & both x86
assembler backends.
External weak linkage added for future use, we don't provide any
codegeneration, etc. support for it.
llvm-svn: 30374
|
| |
|
|
| |
llvm-svn: 30281
|
| |
|
|
| |
llvm-svn: 30231
|
| |
|
|
|
|
| |
their recursive calls.
llvm-svn: 30057
|
| |
|
|
| |
llvm-svn: 29925
|
| |
|
|
| |
llvm-svn: 29223
|
| |
|
|
|
|
| |
InternalizePass.
llvm-svn: 29222
|
| |
|
|
|
|
|
|
|
|
|
| |
target CG node. This allows the inliner to properly update the callgraph
when using the pruning inliner. The pruning inliner may not copy over all
call sites from a callee to a caller, so the edges corresponding to those
call sites should not be copied over either.
This fixes PR827 and Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll
llvm-svn: 29120
|
| |
|
|
| |
llvm-svn: 29071
|
| |
|
|
|
|
|
| |
remove the struct return argument of a csret function, even if it is obviously
dead.
llvm-svn: 28943
|
| |
|
|
| |
llvm-svn: 28834
|
| |
|
|
|
|
|
|
| |
printf("%s\n", str) -> puts(str)
printf("%c", c) -> putchar(c)
Also fixed fprintf(file, "%c", c) -> fputc(c, file)
llvm-svn: 28815
|
| |
|
|
| |
llvm-svn: 28814
|
| |
|
|
|
|
| |
Fix a nasty bug in the memcmp optimizer where we used the wrong variable!
llvm-svn: 28269
|
| |
|
|
| |
llvm-svn: 27652
|
| |
|
|
|
|
|
|
|
|
| |
are visible to analysis as intrinsics. That is, make sure someone doesn't pass
free around by address in some struct (as happens in say 176.gcc).
This doesn't get rid of any indirect calls, just ensure calls to free and malloc
are always direct.
llvm-svn: 27560
|
| |
|
|
| |
llvm-svn: 26993
|
| |
|
|
|
|
| |
is fallout from the type/value split in the symtab long long ago :)
llvm-svn: 26785
|
| |
|
|
| |
llvm-svn: 26729
|
| |
|
|
| |
llvm-svn: 26627
|
| |
|
|
| |
llvm-svn: 26598
|
| |
|
|
|
|
|
| |
hypotheticalized about, where we would incorrectly merge two globals in
different sections.
llvm-svn: 26597
|
| |
|
|
| |
llvm-svn: 26482
|
| |
|
|
| |
llvm-svn: 26218
|
| |
|
|
| |
llvm-svn: 25530
|
| |
|
|
| |
llvm-svn: 25525
|
| |
|
|
| |
llvm-svn: 25514
|
| |
|
|
|
|
|
|
|
| |
1. Do not statically construct a map when the program starts up, this
is expensive and cannot be optimized. Instead, create a list.
2. Do not insert entries for all function in the module into a hashmap
that lives the full life of the compiler.
llvm-svn: 25512
|
| |
|
|
|
|
|
|
|
| |
1. Use the varargs version of getOrInsertFunction to simplify code.
2. remove #include
3. Reduce the number of #ifdef's.
4. remove extraneous vertical whitespace.
llvm-svn: 25508
|
| |
|
|
|
|
|
|
| |
Don't do floor->floorf conversion if floorf is not available. This checks
the compiler's host, not its target, which is incorrect for cross-compilers
Not sure that's important as we don't build many cross-compilers.
llvm-svn: 25456
|
| |
|
|
|
|
| |
hypothetical future boog.
llvm-svn: 25430
|
| |
|
|
|
|
| |
unbreaks front-ends that don't use __main (like the new CFE).
llvm-svn: 25429
|
| |
|
|
|
|
|
| |
unsigned llvm.cttz.* intrinsic, fixing the 2005-05-11-Popcount-ffs-fls regression
last night.
llvm-svn: 25398
|
| |
|
|
|
|
| |
of doing it ourselves. This fixes Transforms/Inline/2006-01-14-CallGraphUpdate.ll
llvm-svn: 25321
|