| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
from LoopSimplify.cpp to Dominator.cpp
llvm-svn: 37689
|
|
|
|
| |
llvm-svn: 37501
|
|
|
|
| |
llvm-svn: 37415
|
|
|
|
|
|
| |
and create new node.
llvm-svn: 37414
|
|
|
|
| |
llvm-svn: 36248
|
|
|
|
|
|
| |
target for tabs checking.
llvm-svn: 36146
|
|
|
|
|
|
| |
on PR1171.
llvm-svn: 35726
|
|
|
|
| |
llvm-svn: 35265
|
|
|
|
| |
llvm-svn: 34219
|
|
|
|
|
|
|
| |
the Transforms library. This reduces debug library size by 132 KB, debug
binary size by 376 KB, and reduces link time for llvm tools slightly.
llvm-svn: 33939
|
|
|
|
| |
llvm-svn: 33713
|
|
|
|
|
|
|
|
| |
recommended that getBoolValue be replaced with getZExtValue and that
get(bool) be replaced by get(const Type*, uint64_t). This implements
those changes.
llvm-svn: 33110
|
|
|
|
| |
llvm-svn: 33076
|
|
|
|
|
|
|
| |
Merge ConstantIntegral and ConstantBool into ConstantInt.
Remove ConstantIntegral and ConstantBool from LLVM.
llvm-svn: 33073
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch replaces signed integer types with signless ones:
1. [US]Byte -> Int8
2. [U]Short -> Int16
3. [U]Int -> Int32
4. [U]Long -> Int64.
5. Removal of isSigned, isUnsigned, getSignedVersion, getUnsignedVersion
and other methods related to signedness. In a few places this warranted
identifying the signedness information from other sources.
llvm-svn: 32785
|
|
|
|
|
|
| |
now cerr, cout, and NullStream resp.
llvm-svn: 32298
|
|
|
|
| |
llvm-svn: 31925
|
|
|
|
|
|
|
|
| |
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: 30656
|
|
|
|
| |
llvm-svn: 25509
|
|
|
|
| |
llvm-svn: 21427
|
|
|
|
|
|
|
|
| |
using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*.
This patch is contributed by Gabor Greif, thanks!
llvm-svn: 20597
|
|
|
|
| |
llvm-svn: 19898
|
|
|
|
| |
llvm-svn: 18028
|
|
|
|
| |
llvm-svn: 17699
|
|
|
|
|
|
| |
instructions, setting DefBlock to a block it did not have dom info for.
llvm-svn: 17697
|
|
|
|
|
|
| |
Patch contributed by Paolo Invernizzi. Thanks Paolo!
llvm-svn: 16368
|
|
|
|
|
|
|
|
| |
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137
|
|
|
|
|
|
|
|
|
| |
block (common in a switch), make sure to remove extra edges in successor
blocks. This fixes CodeExtractor/2004-08-12-BlockExtractPHI.ll and should
be pulled into LLVM 1.3 (though the regression test need not be, as that
would require pulling in the LoopExtract.cpp changes).
llvm-svn: 15717
|
|
|
|
|
|
| |
the extracted code was, instead of putting it at the end of the function
llvm-svn: 15716
|
|
|
|
|
|
| |
run into. This should go into 1.3
llvm-svn: 15679
|
|
|
|
|
|
| |
"Support/Debug.h".
llvm-svn: 15089
|
|
|
|
| |
llvm-svn: 14840
|
|
|
|
| |
llvm-svn: 14622
|
|
|
|
|
|
| |
appended anywhere.
llvm-svn: 13798
|
|
|
|
|
|
| |
give the extracted function a more useful name than just foo_code.
llvm-svn: 13493
|
|
|
|
|
|
| |
instruction in them.
llvm-svn: 13490
|
|
|
|
|
|
|
|
|
|
| |
PHI node entries from multiple outside-the-region blocks. This also fixes
extraction of the entry block in a function. Yaay.
This has successfully block extracted all (but one) block from the score_move
function in obsequi (out of 33). Hrm, I wonder which block the bug is in. :)
llvm-svn: 13489
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add a stub for the severSplitPHINodes which will allow us to bbextract
bb's with PHI nodes in them soon.
* Remove unused arguments from findInputsOutputs
* Dramatically simplify the code in findInputsOutputs. In particular,
nothing really cares whether or not a PHI node is using something.
* Move moveCodeToFunction to after emitCallAndSwitchStatement as that's the
order they get called.
* Fix a bug where we would code extract a region that included a call to
vastart. Like 'alloca', calls to vastart must stay in the function that
they are defined in.
* Add some comments.
llvm-svn: 13482
|
|
|
|
|
|
|
|
|
|
|
| |
from the extracted region. If the return has 0 or 1 exit blocks, the new
function returns void. If it has 2 exits, it returns bool, otherwise it
returns a ushort as before.
This allows us to use a conditional branch instruction when there are two
exit blocks, as often happens during block extraction.
llvm-svn: 13481
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Get rid of the silly abort block. When doing bb extraction, we get one
abort block for every block extracted, which is kinda annoying.
2. If the switch ends up having a single destination, turn it into an
unconditional branch.
I would like to add support for conditional branches, but to do this we will
want to have the function return a bool instead of a ushort.
llvm-svn: 13478
|
|
|
|
|
|
| |
* Commandline option (for now) controls that flag that is passed in
llvm-svn: 13141
|
|
|
|
|
|
|
| |
With this fix we now successfully extract all 149 loops from 256.bzip2 without
crashing or miscompiling the program!
llvm-svn: 12493
|
|
|
|
| |
llvm-svn: 12489
|
|
|
|
| |
llvm-svn: 12487
|
|
|
|
| |
llvm-svn: 12486
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Names were not put on the new arguments created (ok, this just helps sanity :)
2. Fix outgoing pointer values
3. Do not insert stores for values that had not been computed
4. Fix some wierd problems with the outset calculation
This fixes CodeExtractor/2004-03-14-DominanceProblem.ll, making the extractor
work on at least one simple case!
llvm-svn: 12484
|
|
|
|
|
|
|
| |
exposed the fact that the header was not self-contained. There is a reason
we do things :)
llvm-svn: 12481
|
|
|
|
|
|
| |
considered an input.
llvm-svn: 12406
|
|
|
|
|
|
|
|
| |
Simplify the input/output finder. All elements of a basic block are
instructions. Any used arguments are also inputs. An instruction can only
be used by another instruction.
llvm-svn: 12405
|