Lines Matching refs:PredBB
146 BasicBlock *PredBB,
171 return AddAsInput(PN->getIncomingValueForBlock(PredBB));
191 Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT);
210 (!DT || DT->dominates(CastI->getParent(), PredBB)))
221 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT);
247 (!DT || DT->dominates(GEPI->getParent(), PredBB))) {
269 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT);
306 (!DT || DT->dominates(BO->getParent(), PredBB)))
321 /// PredBB. This returns true on failure and sets Addr to null.
322 bool PHITransAddr::PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB,
325 Addr = PHITranslateSubExpr(Addr, CurBB, PredBB, DT);
331 if (!DT->dominates(Inst->getParent(), PredBB))
346 PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB,
352 Addr = InsertPHITranslatedSubExpr(Addr, CurBB, PredBB, DT, NewInsts);
365 /// version of 'V' for the edge PredBB->CurBB into the end of the PredBB
371 BasicBlock *PredBB, const DominatorTree &DT,
374 // PredBB. If so, there is no need to insert a new instance of it.
376 if (!Tmp.PHITranslateValue(CurBB, PredBB, &DT))
387 CurBB, PredBB, DT, NewInsts);
390 // Otherwise insert a cast at the end of PredBB.
394 PredBB->getTerminator());
405 CurBB, PredBB, DT, NewInsts);
413 PredBB->getTerminator());
429 CurBB, PredBB, DT, NewInsts);
434 PredBB->getTerminator());