| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
belongs. I dunno why in the world I dropped it in the Scalar folder in the first place.
No functionality change.
llvm-svn: 160587
|
|
|
|
|
|
|
|
| |
be >= 0 (signed).
(LLVM optimizers cannot do this optimization by themselves)
llvm-svn: 159668
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was always part of the VMCore library out of necessity -- it deals
entirely in the IR. The .cpp file in fact was already part of the VMCore
library. This is just a mechanical move.
I've tried to go through and re-apply the coding standard's preferred
header sort, but at 40-ish files, I may have gotten some wrong. Please
let me know if so.
I'll be committing the corresponding updates to Clang and Polly, and
Duncan has DragonEgg.
Thanks to Bill and Eric for giving the green light for this bit of cleanup.
llvm-svn: 159421
|
|
|
|
| |
llvm-svn: 159055
|
|
|
|
|
|
|
|
| |
most of the code from here).
Remove the alloc_size.ll test until we settle on a metadata format that makes everyone happy..
llvm-svn: 158920
|
|
|
|
|
|
| |
instrumentation failures in loops with reallocs
llvm-svn: 158210
|
|
|
|
|
|
|
|
|
|
| |
could leave dangling references in the cache
add regression tests for this problem.
Can already compile & run: PHP, PCRE, and ICU (i.e., all the software I tried)
llvm-svn: 157822
|
|
|
|
|
|
| |
disabled by default for now; we can discusse the default value (& name) later
llvm-svn: 157777
|
|
|
|
|
|
|
|
|
|
|
|
| |
- compute size & offset at the same time. The side-effects of this are that we now support negative GEPs. It's now approaching a phase that it can be reused by other passes (e.g., lowering of the objectsize intrinsic)
- use APInt throughout to handle wrap-arounds
- add support for PHI instrumentation
- add a cache (required for recursive PHIs anyway)
- remove hoisting support for now, since it was wrong in a few cases
sorry for the churn here.. tests will follow soon.
llvm-svn: 157775
|
|
|
|
|
|
|
| |
- hoist checks out of loops where SCEV is smart enough
- add additional statistics to measure how much we loose for not supporting interprocedural and pointers loaded from memory
llvm-svn: 157649
|
|
|
|
| |
llvm-svn: 157498
|
|
|
|
|
|
|
| |
add support for select
add experimental support for alloc_size metadata
llvm-svn: 157481
|
|
|
|
| |
llvm-svn: 157329
|
|
|
|
|
|
| |
teach computeAllocSize about realloc, reallocf, and valloc
llvm-svn: 157298
|
|
move EmitGEPOffset from InstCombine to Transforms/Utils/Local.h
(a draft of this) patch reviewed by Andrew, thanks.
llvm-svn: 157261
|