/external/llvm/lib/Transforms/InstCombine/ |
InstructionCombining.cpp | 77 char InstCombiner::ID = 0; 78 INITIALIZE_PASS_BEGIN(InstCombiner, "instcombine", 81 INITIALIZE_PASS_END(InstCombiner, "instcombine", 84 void InstCombiner::getAnalysisUsage(AnalysisUsage &AU) const { 93 bool InstCombiner::ShouldChangeType(Type *From, Type *To) const { 176 bool InstCombiner::SimplifyAssociativeOrCommutative(BinaryOperator &I) { 371 Value *InstCombiner::SimplifyUsingDistributiveLaws(BinaryOperator &I) { 490 Value *InstCombiner::dyn_castNegVal(Value *V) const { 509 Value *InstCombiner::dyn_castFNegVal(Value *V) const { 525 InstCombiner *IC) [all...] |
InstCombineCasts.cpp | 79 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, 154 Value *InstCombiner::EvaluateInDifferentType(Value *V, Type *Ty, 261 bool InstCombiner::ShouldOptimizeCast(Instruction::CastOps opc, const Value *V, 282 Instruction *InstCombiner::commonCastTransforms(CastInst &CI) { 427 Instruction *InstCombiner::visitTrunc(TruncInst &CI) { 501 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI, 740 Instruction *InstCombiner::visitZExt(ZExtInst &CI) { [all...] |
InstCombineMulDivRem.cpp | 26 static Value *simplifyValueKnownNonZero(Value *V, InstCombiner &IC) { 99 Instruction *InstCombiner::visitMul(BinaryOperator &I) { 255 Instruction *InstCombiner::visitFMul(BinaryOperator &I) { 292 bool InstCombiner::SimplifyDivRemOfSelect(BinaryOperator &I) { 366 Instruction *InstCombiner::commonIDivTransforms(BinaryOperator &I) { 431 Instruction *InstCombiner::visitUDiv(BinaryOperator &I) { 503 Instruction *InstCombiner::visitSDiv(BinaryOperator &I) { 556 Instruction *InstCombiner::visitFDiv(BinaryOperator &I) { 581 Instruction *InstCombiner::commonIRemTransforms(BinaryOperator &I) { 613 Instruction *InstCombiner::visitURem(BinaryOperator &I) [all...] |
InstCombineLoadStoreAlloca.cpp | 29 static Instruction *removeDeadAlloca(InstCombiner &IC, AllocaInst &AI) { 91 Instruction *InstCombiner::visitAllocaInst(AllocaInst &AI) { 158 static Instruction *InstCombineLoadCast(InstCombiner &IC, LoadInst &LI, 213 Instruction *InstCombiner::visitLoadInst(LoadInst &LI) { 325 static Instruction *InstCombineStoreToCast(InstCombiner &IC, StoreInst &SI) { 438 Instruction *InstCombiner::visitStoreInst(StoreInst &SI) { 568 bool InstCombiner::SimplifyStoreAtEndOfBlock(StoreInst &SI) {
|
InstCombineAddSub.cpp | 64 bool InstCombiner::WillNotOverflowSignedAdd(Value *LHS, Value *RHS) { 86 Instruction *InstCombiner::visitAdd(BinaryOperator &I) { 335 Instruction *InstCombiner::visitFAdd(BinaryOperator &I) { 412 Value *InstCombiner::EmitGEPOffset(User *GEP) { 473 Value *InstCombiner::OptimizePointerDifference(Value *LHS, Value *RHS, 540 Instruction *InstCombiner::visitSub(BinaryOperator &I) { 703 Instruction *InstCombiner::visitFSub(BinaryOperator &I) {
|
InstCombineShifts.cpp | 22 Instruction *InstCombiner::commonShiftTransforms(BinaryOperator &I) { 69 InstCombiner &IC) { 184 InstCombiner &IC) { 312 Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, ConstantInt *Op1, 684 Instruction *InstCombiner::visitShl(BinaryOperator &I) { 722 Instruction *InstCombiner::visitLShr(BinaryOperator &I) { 762 Instruction *InstCombiner::visitAShr(BinaryOperator &I) { [all...] |
InstCombine.h | 70 /// InstCombiner - The -instcombine pass. 71 class LLVM_LIBRARY_VISIBILITY InstCombiner 73 public InstVisitor<InstCombiner, Instruction*> { 87 InstCombiner() : FunctionPass(ID), TD(0), Builder(0) {
|
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, 204 Instruction *InstCombiner::FoldSelectIntoOp(SelectInst &SI, Value *TrueVal, 345 Instruction *InstCombiner::visitSelectInstWithICmp(SelectInst &SI, 556 Instruction *InstCombiner::FoldSPFofSPF(Instruction *Inner, 587 InstCombiner::BuilderTy *Builder) { 651 Instruction *InstCombiner::visitSelectInst(SelectInst &SI) { [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, 633 llvm::InstCombiner::BuilderTy* Builder) { 710 Value *InstCombiner::FoldAndOfICmps(ICmpInst *LHS, ICmpInst *RHS) { [all...] |
InstCombineCalls.cpp | 33 Instruction *InstCombiner::SimplifyMemTransfer(MemIntrinsic *MI) { 123 Instruction *InstCombiner::SimplifyMemSet(MemSetInst *MI) { 172 Instruction *InstCombiner::visitCallInst(CallInst &CI) { 747 Instruction *InstCombiner::visitInvokeInst(InvokeInst &II) { 778 InstCombiner *IC; 804 InstCombineFortifiedLibCalls(InstCombiner *IC) : IC(IC), NewInstruction(0) { } 813 Instruction *InstCombiner::tryOptimizeCall(CallInst *CI, const TargetData *TD) { [all...] |
InstCombineSimplifyDemanded.cpp | 52 bool InstCombiner::SimplifyDemandedInstructionBits(Instruction &Inst) { 68 bool InstCombiner::SimplifyDemandedBits(Use &U, APInt DemandedMask, 100 Value *InstCombiner::SimplifyDemandedUseBits(Value *V, APInt DemandedMask, [all...] |
InstCombineCompares.cpp | 200 Instruction *InstCombiner:: 475 static Value *EvaluateGEPOffsetExpression(User *GEP, InstCombiner &IC) { 571 Instruction *InstCombiner::FoldGEPICmp(GEPOperator *GEPLHS, Value *RHS, 707 Instruction *InstCombiner::FoldICmpAddOpCst(ICmpInst &ICI, 772 Instruction *InstCombiner::FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI, [all...] |
InstCombineVectorOps.cpp | 99 Instruction *InstCombiner::visitExtractElementInst(ExtractElementInst &EI) { 354 Instruction *InstCombiner::visitInsertElementInst(InsertElementInst &IE) { 410 Instruction *InstCombiner::visitShuffleVectorInst(ShuffleVectorInst &SVI) {
|