/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | 79 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, 160 Value *InstCombiner::EvaluateInDifferentType(Value *V, Type *Ty, 270 bool InstCombiner::ShouldOptimizeCast(Instruction::CastOps opc, const Value *V, 291 Instruction *InstCombiner::commonCastTransforms(CastInst &CI) { 436 Instruction *InstCombiner::visitTrunc(TruncInst &CI) { 510 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI, 747 Instruction *InstCombiner::visitZExt(ZExtInst &CI) { [all...] |
InstructionCombining.cpp | 83 char InstCombiner::ID = 0; 84 INITIALIZE_PASS_BEGIN(InstCombiner, "instcombine", 87 INITIALIZE_PASS_END(InstCombiner, "instcombine", 90 void InstCombiner::getAnalysisUsage(AnalysisUsage &AU) const { 96 Value *InstCombiner::EmitGEPOffset(User *GEP) { 103 bool InstCombiner::ShouldChangeType(Type *From, Type *To) const { 201 bool InstCombiner::SimplifyAssociativeOrCommutative(BinaryOperator &I) { 396 Value *InstCombiner::SimplifyUsingDistributiveLaws(BinaryOperator &I) { 515 Value *InstCombiner::dyn_castNegVal(Value *V) const { 534 Value *InstCombiner::dyn_castFNegVal(Value *V, bool IgnoreZeroSign) const [all...] |
InstCombineMulDivRem.cpp | 26 static Value *simplifyValueKnownNonZero(Value *V, InstCombiner &IC) { 98 Instruction *InstCombiner::visitMul(BinaryOperator &I) { 294 /// Helper function of InstCombiner::visitFMul(BinaryOperator(). It returns 318 /// foldFMulConst() is a helper routine of InstCombiner::visitFMul(). 325 Value *InstCombiner::foldFMulConst(Instruction *FMulOrDiv, ConstantFP *C, 370 Instruction *InstCombiner::visitFMul(BinaryOperator &I) { 538 bool InstCombiner::SimplifyDivRemOfSelect(BinaryOperator &I) { 612 Instruction *InstCombiner::commonIDivTransforms(BinaryOperator &I) { 677 Instruction *InstCombiner::visitUDiv(BinaryOperator &I) { 763 Instruction *InstCombiner::visitSDiv(BinaryOperator &I) [all...] |
InstCombineShifts.cpp | 22 Instruction *InstCombiner::commonShiftTransforms(BinaryOperator &I) { 69 InstCombiner &IC) { 184 InstCombiner &IC) { 312 Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, ConstantInt *Op1, 677 Instruction *InstCombiner::visitShl(BinaryOperator &I) { 715 Instruction *InstCombiner::visitLShr(BinaryOperator &I) { 755 Instruction *InstCombiner::visitAShr(BinaryOperator &I) {
|
InstCombine.h | 71 /// InstCombiner - The -instcombine pass. 72 class LLVM_LIBRARY_VISIBILITY InstCombiner 74 public InstVisitor<InstCombiner, Instruction*> { 90 InstCombiner() : FunctionPass(ID), TD(0), Builder(0) {
|
InstCombineLoadStoreAlloca.cpp | 153 Instruction *InstCombiner::visitAllocaInst(AllocaInst &AI) { 282 static Instruction *InstCombineLoadCast(InstCombiner &IC, LoadInst &LI, 337 Instruction *InstCombiner::visitLoadInst(LoadInst &LI) { 449 static Instruction *InstCombineStoreToCast(InstCombiner &IC, StoreInst &SI) { 562 Instruction *InstCombiner::visitStoreInst(StoreInst &SI) { 692 bool InstCombiner::SimplifyStoreAtEndOfBlock(StoreInst &SI) {
|
InstCombinePHI.cpp | 24 Instruction *InstCombiner::FoldPHIArgBinOpIntoPHI(PHINode &PN) { 130 Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) { 287 Instruction *InstCombiner::FoldPHIArgLoadIntoPHI(PHINode &PN) { 391 Instruction *InstCombiner::FoldPHIArgOpIntoPHI(PHINode &PN) { 620 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { 794 Instruction *InstCombiner::visitPHINode(PHINode &PN) { [all...] |
InstCombineSelect.cpp | 124 Instruction *InstCombiner::FoldSelectOpOp(SelectInst &SI, Instruction *TI, 210 Instruction *InstCombiner::FoldSelectIntoOp(SelectInst &SI, Value *TrueVal, 355 Instruction *InstCombiner::visitSelectInstWithICmp(SelectInst &SI, 566 Instruction *InstCombiner::FoldSPFofSPF(Instruction *Inner, 597 InstCombiner::BuilderTy *Builder) { 661 Instruction *InstCombiner::visitSelectInst(SelectInst &SI) { [all...] |
InstCombineAddSub.cpp | 146 FAddCombine(InstCombiner::BuilderTy *B) : Builder(B), Instr(0) {} 169 InstCombiner::BuilderTy *Builder; 855 bool InstCombiner::WillNotOverflowSignedAdd(Value *LHS, Value *RHS) { 877 Instruction *InstCombiner::visitAdd(BinaryOperator &I) { [all...] |
InstCombineCalls.cpp | 58 Instruction *InstCombiner::SimplifyMemTransfer(MemIntrinsic *MI) { 154 Instruction *InstCombiner::SimplifyMemSet(MemSetInst *MI) { 201 Instruction *InstCombiner::visitCallInst(CallInst &CI) { 757 Instruction *InstCombiner::visitInvokeInst(InvokeInst &II) { 790 Instruction *InstCombiner::tryOptimizeCall(CallInst *CI, const DataLayout *TD) { [all...] |
InstCombineSimplifyDemanded.cpp | 53 bool InstCombiner::SimplifyDemandedInstructionBits(Instruction &Inst) { 69 bool InstCombiner::SimplifyDemandedBits(Use &U, APInt DemandedMask, 101 Value *InstCombiner::SimplifyDemandedUseBits(Value *V, APInt DemandedMask, [all...] |
InstCombineAndOrXor.cpp | 98 InstCombiner::BuilderTy *Builder) { 110 InstCombiner::BuilderTy *Builder) { 131 Instruction *InstCombiner::OptAndOp(Instruction *Op, 275 Value *InstCombiner::InsertRangeTest(Value *V, Constant *Lo, Constant *Hi, 344 Value *InstCombiner::FoldLogicalPlusAnd(Value *LHS, Value *RHS, 627 llvm::InstCombiner::BuilderTy* Builder) { 704 Value *InstCombiner::FoldAndOfICmps(ICmpInst *LHS, ICmpInst *RHS) { [all...] |
InstCombineCompares.cpp | 201 Instruction *InstCombiner:: 476 static Value *EvaluateGEPOffsetExpression(User *GEP, InstCombiner &IC) { 572 Instruction *InstCombiner::FoldGEPICmp(GEPOperator *GEPLHS, Value *RHS, 708 Instruction *InstCombiner::FoldICmpAddOpCst(ICmpInst &ICI, 773 Instruction *InstCombiner::FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI, [all...] |
InstCombineVectorOps.cpp | 108 Instruction *InstCombiner::visitExtractElementInst(ExtractElementInst &EI) { 363 Instruction *InstCombiner::visitInsertElementInst(InsertElementInst &IE) { 419 Instruction *InstCombiner::visitShuffleVectorInst(ShuffleVectorInst &SVI) {
|