Searched refs:IVOperand (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 70 Value *foldIVUser(Instruction *UseInst, Instruction *IVOperand); 72 bool eliminateIdentitySCEV(Instruction *UseInst, Instruction *IVOperand); 74 bool eliminateIVUser(Instruction *UseInst, Instruction *IVOperand); 75 void eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand); 76 void eliminateIVRemainder(BinaryOperator *Rem, Value *IVOperand, 78 bool strengthenOverflowingOperation(BinaryOperator *OBO, Value *IVOperand); 93 Value *SimplifyIndvar::foldIVUser(Instruction *UseInst, Instruction *IVOperand) { in foldIVUser() argument 104 if (IVOperand != UseInst->getOperand(OperIdx) || in foldIVUser() 110 if (!isa<BinaryOperator>(IVOperand) in foldIVUser() 111 || !isa<ConstantInt>(IVOperand->getOperand(1))) in foldIVUser() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 1588 Value* IVOperand; member 1592 UserInst(U), IVOperand(O), IncExpr(E) {} in IVInc() 2517 const SCEV *HeadExpr = SE.getSCEV(getWideOperand(Incs[0].IVOperand)); in isProfitableIncrement() 2631 Value *PrevIV = getWideOperand(Chain.Incs.back().IVOperand); in ChainInstruction() 2821 Inc.IVOperand); in FinalizeChain() 2909 if (!canFoldIVIncExpr(LeftOverExpr, Inc.UserInst, Inc.IVOperand, TTI)) { in GenerateIVChain() 2915 Type *OperTy = Inc.IVOperand->getType(); in GenerateIVChain() 2922 Inc.UserInst->replaceUsesOfWith(Inc.IVOperand, IVOper); in GenerateIVChain() 2923 DeadInsts.emplace_back(Inc.IVOperand); in GenerateIVChain()
|