Lines Matching refs:RRI
557 const LoopConstrainer::RewrittenRangeInfo &RRI) const;
1021 RewrittenRangeInfo RRI; in changeIterationSpaceEnd() local
1024 RRI.ExitSelector = BasicBlock::Create(Ctx, Twine(LS.Tag) + ".exit.selector", in changeIterationSpaceEnd()
1026 RRI.PseudoExit = BasicBlock::Create(Ctx, Twine(LS.Tag) + ".pseudo.exit", &F, in changeIterationSpaceEnd()
1039 B.CreateCondBr(EnterLoopCond, LS.Header, RRI.PseudoExit); in changeIterationSpaceEnd()
1042 LS.LatchBr->setSuccessor(LS.LatchBrExitIdx, RRI.ExitSelector); in changeIterationSpaceEnd()
1053 B.SetInsertPoint(RRI.ExitSelector); in changeIterationSpaceEnd()
1061 B.CreateCondBr(IterationsLeft, RRI.PseudoExit, LS.LatchExit); in changeIterationSpaceEnd()
1064 BranchInst::Create(ContinuationBlock, RRI.PseudoExit); in changeIterationSpaceEnd()
1080 RRI.ExitSelector); in changeIterationSpaceEnd()
1081 RRI.PHIValuesAtPseudoExit.push_back(NewPHI); in changeIterationSpaceEnd()
1084 RRI.IndVarEnd = PHINode::Create(LS.IndVarNext->getType(), 2, "indvar.end", in changeIterationSpaceEnd()
1086 RRI.IndVarEnd->addIncoming(LS.IndVarStart, Preheader); in changeIterationSpaceEnd()
1087 RRI.IndVarEnd->addIncoming(LS.IndVarNext, RRI.ExitSelector); in changeIterationSpaceEnd()
1093 replacePHIBlock(PN, LS.Latch, RRI.ExitSelector); in changeIterationSpaceEnd()
1098 return RRI; in changeIterationSpaceEnd()
1103 const LoopConstrainer::RewrittenRangeInfo &RRI) const { in rewriteIncomingValuesForPHIs()
1114 PN->setIncomingValue(i, RRI.PHIValuesAtPseudoExit[PHIIndex++]); in rewriteIncomingValuesForPHIs()
1117 LS.IndVarStart = RRI.IndVarEnd; in rewriteIncomingValuesForPHIs()