| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
LLVM's footprint and speed up linking.
llvm-svn: 33941
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This feature is needed in order to support shifts of more than 255 bits
on large integer types. This changes the syntax for llvm assembly to
make shl, ashr and lshr instructions look like a binary operator:
shl i32 %X, 1
instead of
shl i32 %X, i8 1
Additionally, this should help a few passes perform additional optimizations.
llvm-svn: 33776
|
| |
|
|
| |
llvm-svn: 33772
|
| |
|
|
| |
llvm-svn: 33766
|
| |
|
|
| |
llvm-svn: 33704
|
| |
|
|
| |
llvm-svn: 33694
|
| |
|
|
|
|
|
| |
it can be used by multiple clients. This specifically allows the inliner
to constant fold symbolically.
llvm-svn: 33687
|
| |
|
|
|
|
|
| |
ConstantFoldInstOperands. Switch to ConstantFoldInstOperands and remove
ConstantFold.
llvm-svn: 33683
|
| |
|
|
|
|
| |
libanalysis/ConstantFolding.cpp.
llvm-svn: 33679
|
| |
|
|
| |
llvm-svn: 33673
|
| |
|
|
|
|
| |
confusion with external linkage types.
llvm-svn: 33663
|
| |
|
|
| |
llvm-svn: 33640
|
| |
|
|
| |
llvm-svn: 33627
|
| |
|
|
|
|
|
| |
CallGraphSCCPass does not need to implement runOnModule().
It supports runOnSCC().
llvm-svn: 33516
|
| |
|
|
| |
llvm-svn: 33467
|
| |
|
|
|
|
| |
This enables CalLGraphPassManager.
llvm-svn: 33466
|
| |
|
|
|
|
|
| |
Clean up handling of isFloatingPoint() and dealing with PackedType.
Patch by Gordon Henriksen!
llvm-svn: 33415
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the final patch for this PR. It implements some minor cleanup
in the use of IntegerType, to wit:
1. Type::getIntegerTypeMask -> IntegerType::getBitMask
2. Type::Int*Ty changed to IntegerType* from Type*
3. ConstantInt::getType() returns IntegerType* now, not Type*
This also fixes PR1120.
Patch by Sheng Zhou.
llvm-svn: 33370
|
| |
|
|
| |
llvm-svn: 33309
|
| |
|
|
| |
llvm-svn: 33242
|
| |
|
|
| |
llvm-svn: 33229
|
| |
|
|
|
|
|
|
|
| |
rename Type::getIntegralTypeMask to Type::getIntegerTypeMask.
This makes naming much more consistent. For example, there are now no longer any
instances of IntegerType that are not considered isInteger! :)
llvm-svn: 33225
|
| |
|
|
| |
llvm-svn: 33220
|
| |
|
|
| |
llvm-svn: 33214
|
| |
|
|
|
|
|
|
|
| |
Remove now-extraneous checks for ptr->ptr bitcasts.
Fix PR1109 and Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll. We
need to consider arbitrary sized objects when checking for nested GEP offsets.
llvm-svn: 33195
|
| |
|
|
| |
llvm-svn: 33193
|
| |
|
|
| |
llvm-svn: 33128
|
| |
|
|
| |
llvm-svn: 33127
|
| |
|
|
| |
llvm-svn: 33125
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 33005
|
| |
|
|
| |
llvm-svn: 33003
|
| |
|
|
| |
llvm-svn: 32991
|
| |
|
|
|
|
| |
miscompilation of Qt.
llvm-svn: 32974
|
| |
|
|
|
|
| |
obsolete
llvm-svn: 32972
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.
llvm-svn: 32751
|
| |
|
|
| |
llvm-svn: 32732
|
| |
|
|
| |
llvm-svn: 32727
|
| |
|
|
| |
llvm-svn: 32697
|
| |
|
|
|
|
| |
code was wrong for things like 3+4*i.
llvm-svn: 32662
|
| |
|
|
|
|
|
| |
rework the hacks that had us passing OStream in. We pass in std::ostream*
instead, check for null, and then dispatch to the correct print() method.
llvm-svn: 32636
|
| |
|
|
|
|
| |
Thanks Reid.
llvm-svn: 32551
|
| |
|
|
| |
llvm-svn: 32550
|
| |
|
|
| |
llvm-svn: 32542
|
| |
|
|
|
|
|
| |
so the decision of which opcode to use is pushed upward to the caller.
Adjust the callers to pass the expected opcode.
llvm-svn: 32535
|
| |
|
|
|
|
|
| |
Rename getZeroExtend and getSignExtend to getZExt and getSExt to match
the the casting mnemonics in the rest of LLVM.
llvm-svn: 32514
|
| |
|
|
| |
llvm-svn: 32478
|