Home | History | Annotate | Download | only in Analysis

Lines Matching defs:InsertPos

894 /// operands dominate InsertPos.
900 Instruction *InsertPos,
902 if (IncV == InsertPos)
912 if (!OInst || SE.DT->dominates(OInst, InsertPos))
924 if (!SE.DT->dominates(OInst, InsertPos))
947 /// hoistStep - Attempt to hoist a simple IV increment above InsertPos to make
949 /// until we reach a value that dominates InsertPos.
950 bool SCEVExpander::hoistIVInc(Instruction *IncV, Instruction *InsertPos) {
951 if (SE.DT->dominates(IncV, InsertPos))
954 // InsertPos must itself dominate IncV so that IncV's new position satisfies
956 if (isa<PHINode>(InsertPos)
957 || !SE.DT->dominates(InsertPos->getParent(), IncV->getParent()))
963 Instruction *Oper = getIVIncOperand(IncV, InsertPos, /*allowScale*/true);
969 if (SE.DT->dominates(IncV, InsertPos))
974 (*I)->moveBefore(InsertPos);
995 /// expandIVInc - Expand an IV increment at Builder's current InsertPos.
1134 Instruction *InsertPos = L == IVIncInsertLoop ?
1136 Builder.SetInsertPoint(InsertPos);