Lines Matching refs:Phi

43   if (auto *Phi = llvm::dyn_cast<InstPhi>(Instr)) {  in appendInst()  local
48 Phis.push_back(Phi); in appendInst()
61 auto &Phi = llvm::cast<InstPhi>(Inst); in replaceInEdge() local
62 for (SizeT i = 0; i < Phi.getSrcSize(); ++i) { in replaceInEdge()
63 if (Phi.getLabel(i) == Old) { in replaceInEdge()
64 Phi.setLabel(i, New); in replaceInEdge()
117 auto *Phi = llvm::cast<InstPhi>(&Instr); in enforcePhiConsistency() local
124 for (SizeT i = 0; i < Phi->getSrcSize(); ++i) { in enforcePhiConsistency()
125 CfgNode *Label = Phi->getLabel(i); in enforcePhiConsistency()
136 Phi->clearOperandForTarget(Label); in enforcePhiConsistency()
141 for (SizeT i = 0; i < Phi->getSrcSize(); ++i) { in enforcePhiConsistency()
142 CfgNode *Label = Phi->getLabel(i); in enforcePhiConsistency()
167 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in placePhiLoads() local
168 Insts.insert(Insts.begin(), Phi->lower(Func)); in placePhiLoads()
259 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in placePhiStores() local
260 Operand *Operand = Phi->getOperandForTarget(this); in placePhiStores()
343 PhiDesc(InstPhi *Phi, Variable *Dest) : Phi(Phi), Dest(Dest) {} in PhiDesc() argument
345 InstPhi *Phi = nullptr; member in Ice::__anon7426b8650211::PhiDesc
455 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in advancedPhiLowering() local
456 if (!Phi->isDeleted()) { in advancedPhiLowering()
457 Variable *Dest = Phi->getDest(); in advancedPhiLowering()
458 Desc.emplace_back(Phi, Dest); in advancedPhiLowering()
467 Phi->setDeleted(); in advancedPhiLowering()
482 Operand *Src = Item.Phi->getOperandForTarget(Pred); in advancedPhiLowering()
705 auto *Phi = llvm::cast<InstPhi>(&I); in liveness() local
706 Phi->livenessPhiOperand(Live, this, Liveness); in liveness()
1604 auto *Phi = llvm::cast<InstPhi>(&Inst); in shortCircuit() local
1605 for (SizeT i = 0; i < Phi->getSrcSize(); ++i) { in shortCircuit()
1606 if (Phi->getLabel(i) == this) { in shortCircuit()
1607 Phi->addArgument(Phi->getSrc(i), NewNode); in shortCircuit()