Home
last modified time | relevance | path

Searched refs:InstPhi (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIcePhiLoweringImpl.h35 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in prelowerPhis32Bit()
43 auto *PhiLo = InstPhi::create(Func, Phi->getSrcSize(), DestLo); in prelowerPhis32Bit()
44 auto *PhiHi = InstPhi::create(Func, Phi->getSrcSize(), DestHi); in prelowerPhis32Bit()
60 auto *PhiElem = InstPhi::create(Func, Phi->getSrcSize(), DestElem); in prelowerPhis32Bit()
DIceCfgNode.cpp43 if (auto *Phi = llvm::dyn_cast<InstPhi>(Instr)) { in appendInst()
61 auto &Phi = llvm::cast<InstPhi>(Inst); in replaceInEdge()
117 auto *Phi = llvm::cast<InstPhi>(&Instr); in enforcePhiConsistency()
167 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in placePhiLoads()
259 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in placePhiStores()
343 PhiDesc(InstPhi *Phi, Variable *Dest) : Phi(Phi), Dest(Dest) {} in PhiDesc()
345 InstPhi *Phi = nullptr;
455 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in advancedPhiLowering()
683 auto *Phi = llvm::cast<InstPhi>(&I); in liveness()
1341 auto *Phi = llvm::cast<InstPhi>(&Inst); in shortCircuit()
DIceInst.cpp228 bool IsPhi = llvm::isa<InstPhi>(this); in liveness()
387 InstPhi::InstPhi(Cfg *Func, SizeT MaxSrcs, Variable *Dest) in InstPhi() function in Ice::InstPhi
396 void InstPhi::addArgument(Operand *Source, CfgNode *Label) { in addArgument()
404 Operand *InstPhi::getOperandForTarget(CfgNode *Target) const { in getOperandForTarget()
415 void InstPhi::clearOperandForTarget(CfgNode *Target) { in clearOperandForTarget()
429 void InstPhi::livenessPhiOperand(LivenessBV &Live, CfgNode *Target, in livenessPhiOperand()
452 Inst *InstPhi::lower(Cfg *Func) { in lower()
890 void InstPhi::dump(const Cfg *Func) const { in dump()
DIceInst.h672 class InstPhi : public InstHighLevel {
673 InstPhi() = delete;
674 InstPhi(const InstPhi &) = delete;
675 InstPhi &operator=(const InstPhi &) = delete;
678 static InstPhi *create(Cfg *Func, SizeT MaxSrcs, Variable *Dest) { in create()
679 return new (Func->allocate<InstPhi>()) InstPhi(Func, MaxSrcs, Dest); in create()
694 InstPhi(Cfg *Func, SizeT MaxSrcs, Variable *Dest);
DIceInstrumentation.h72 virtual void instrumentPhi(LoweringContext &, class InstPhi *) {} in instrumentPhi() argument
DIceInstrumentation.cpp97 instrumentPhi(Context, llvm::cast<InstPhi>(Instr)); in instrumentInst()
DIceTargetLowering.cpp414 lowerPhi(llvm::cast<InstPhi>(Instr)); in lower()
577 if (Info.FirstUse == nullptr && !llvm::isa<InstPhi>(Instr)) { in postRegallocSplitting()
584 if (Instr->getDest() == Info.Replacing && !llvm::isa<InstPhi>(Instr)) { in postRegallocSplitting()
636 if (llvm::isa<InstPhi>(Instr)) in postRegallocSplitting()
DWasmTranslator.cpp345 auto *Phi = InstPhi::create(Func, Count * 200, Dest); in Phi()
1153 HasReturn ? InstPhi::create(Func, IndirectTable.size(), Dest) : nullptr; in CallIndirect()
1292 CfgUnorderedMap<Operand *, InstPhi *> PhiMap;
1297 InstPhi *getDefiningInst(Operand *Op) const { in getDefiningInst()
1305 void setDefiningInst(Operand *Op, InstPhi *Phi) { in setDefiningInst()
DIceDefs.h69 class InstPhi; variable
DIceVariableSplitting.cpp359 assert(llvm::isa<InstPhi>(Instr)); in handlePhi()
DIceConverter.cpp354 Ice::InstPhi *IcePhi = in convertPHINodeInstruction()
355 Ice::InstPhi::create(Func.get(), NumValues, mapValueToIceVar(Instr)); in convertPHINodeInstruction()
DIceTargetLowering.h371 virtual void lowerPhi(const InstPhi *Instr) = 0;
DIceOperand.cpp267 if (Instr && llvm::isa<InstPhi>(Instr)) in markUse()
DIceTargetLoweringMIPS32.h751 void lowerPhi(const InstPhi *Instr) override;
DIceTargetLoweringX8632.h277 void lowerPhi(const InstPhi *Instr) override;
DIceTargetLoweringX8664.h273 void lowerPhi(const InstPhi *Instr) override;
DPNaClTranslator.cpp2557 Ice::InstPhi *Phi = in ProcessRecord()
2558 Ice::InstPhi::create(Func.get(), Values.size() >> 1, Dest); in ProcessRecord()
DIceCfg.cpp232 auto *Phi = llvm::cast<InstPhi>(&Instr); in fixPhiNodes()
DIceTargetLoweringARM32.h286 void lowerPhi(const InstPhi *Instr) override;
DIceTargetLoweringMIPS32.cpp5385 void TargetMIPS32::lowerPhi(const InstPhi * /*Instr*/) { in lowerPhi() argument
DIceTargetLoweringARM32.cpp5721 void TargetARM32::lowerPhi(const InstPhi * /*Instr*/) { in lowerPhi() argument
DIceTargetLoweringX8664.cpp5054 void TargetX8664::lowerPhi(const InstPhi * /*Instr*/) { in lowerPhi() argument
DIceTargetLoweringX8632.cpp5644 void TargetX8632::lowerPhi(const InstPhi * /*Instr*/) { in lowerPhi() argument