Home
last modified time | relevance | path

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

/external/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()
DIceInst.h667 class InstPhi : public InstHighLevel {
668 InstPhi() = delete;
669 InstPhi(const InstPhi &) = delete;
670 InstPhi &operator=(const InstPhi &) = delete;
673 static InstPhi *create(Cfg *Func, SizeT MaxSrcs, Variable *Dest) { in create()
674 return new (Func->allocate<InstPhi>()) InstPhi(Func, MaxSrcs, Dest); in create()
689 InstPhi(Cfg *Func, SizeT MaxSrcs, Variable *Dest);
DIceInst.cpp238 bool IsPhi = llvm::isa<InstPhi>(this); in liveness()
397 InstPhi::InstPhi(Cfg *Func, SizeT MaxSrcs, Variable *Dest) in InstPhi() function in Ice::InstPhi
406 void InstPhi::addArgument(Operand *Source, CfgNode *Label) { in addArgument()
414 Operand *InstPhi::getOperandForTarget(CfgNode *Target) const { in getOperandForTarget()
425 void InstPhi::clearOperandForTarget(CfgNode *Target) { in clearOperandForTarget()
439 void InstPhi::livenessPhiOperand(LivenessBV &Live, CfgNode *Target, in livenessPhiOperand()
462 Inst *InstPhi::lower(Cfg *Func) { in lower()
907 void InstPhi::dump(const Cfg *Func) const { in dump()
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()
705 auto *Phi = llvm::cast<InstPhi>(&I); in liveness()
1604 auto *Phi = llvm::cast<InstPhi>(&Inst); in shortCircuit()
DIceInstrumentation.h73 virtual void instrumentPhi(LoweringContext &, class InstPhi *) {} in instrumentPhi() argument
DIceInstrumentation.cpp97 instrumentPhi(Context, llvm::cast<InstPhi>(Instr)); in instrumentInst()
DIceTargetLowering.cpp458 lowerPhi(llvm::cast<InstPhi>(Instr)); in lower()
621 if (Info.FirstUse == nullptr && !llvm::isa<InstPhi>(Instr)) { in postRegallocSplitting()
628 if (Instr->getDest() == Info.Replacing && !llvm::isa<InstPhi>(Instr)) { in postRegallocSplitting()
680 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()
DIceVariableSplitting.cpp359 assert(llvm::isa<InstPhi>(Instr)); in handlePhi()
DIceDefs.h69 class InstPhi; variable
DIceConverter.cpp354 Ice::InstPhi *IcePhi = in convertPHINodeInstruction()
355 Ice::InstPhi::create(Func.get(), NumValues, mapValueToIceVar(Instr)); in convertPHINodeInstruction()
DIceOperand.cpp256 if (Instr && llvm::isa<InstPhi>(Instr)) in markUse()
DIceTargetLowering.h413 virtual void lowerPhi(const InstPhi *Instr) = 0;
DIceTargetLoweringMIPS32.h783 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()
DIceTargetLoweringARM32.h287 void lowerPhi(const InstPhi *Instr) override;
DIceCfg.cpp283 auto *Phi = llvm::cast<InstPhi>(&Instr); in fixPhiNodes()
DIceTargetLoweringX86Base.h280 void lowerPhi(const InstPhi *Instr) override;
DIceTargetLoweringARM32.cpp5929 void TargetARM32::lowerPhi(const InstPhi * /*Instr*/) { in lowerPhi() argument
6269 bool phiNeedsGot(const InstPhi *Phi) { in phiNeedsGot()
6286 if (phiNeedsGot(llvm::cast<InstPhi>(&Inst))) { in anyPhiInNodeNeedsGot()
DIceTargetLoweringX86BaseImpl.h6053 void TargetX86Base<TraitsType>::lowerPhi(const InstPhi * /*Instr*/) {
7320 auto *Phi = llvm::dyn_cast<InstPhi>(&I);
DIceTargetLoweringMIPS32.cpp5455 void TargetMIPS32::lowerPhi(const InstPhi * /*Instr*/) { in lowerPhi() argument