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

/external/swiftshader/third_party/subzero/src/
H A DIcePhiLoweringImpl.h35 auto *Phi = llvm::dyn_cast<InstPhi>(&I);
43 auto *PhiLo = InstPhi::create(Func, Phi->getSrcSize(), DestLo);
44 auto *PhiHi = InstPhi::create(Func, Phi->getSrcSize(), DestHi);
60 auto *PhiElem = InstPhi::create(Func, Phi->getSrcSize(), DestElem);
H A DIceInstrumentation.h73 virtual void instrumentPhi(LoweringContext &, class InstPhi *) {}
H A DIceCfgNode.cpp43 if (auto *Phi = llvm::dyn_cast<InstPhi>(Instr)) {
61 auto &Phi = llvm::cast<InstPhi>(Inst);
117 auto *Phi = llvm::cast<InstPhi>(&Instr);
167 auto *Phi = llvm::dyn_cast<InstPhi>(&I);
259 auto *Phi = llvm::dyn_cast<InstPhi>(&I);
343 PhiDesc(InstPhi *Phi, Variable *Dest) : Phi(Phi), Dest(Dest) {}
345 InstPhi *Phi = nullptr;
455 auto *Phi = llvm::dyn_cast<InstPhi>(&I);
705 auto *Phi = llvm::cast<InstPhi>(&I);
1604 auto *Phi = llvm::cast<InstPhi>(
[all...]
H A DIceInst.h660 class InstPhi : public InstHighLevel { class in namespace:Ice
661 InstPhi() = delete;
662 InstPhi(const InstPhi &) = delete;
663 InstPhi &operator=(const InstPhi &) = delete;
666 static InstPhi *create(Cfg *Func, SizeT MaxSrcs, Variable *Dest) {
667 return new (Func->allocate<InstPhi>()) InstPhi(Func, MaxSrcs, Dest);
682 InstPhi(Cf
[all...]
H A DIceInst.cpp238 bool IsPhi = llvm::isa<InstPhi>(this);
397 InstPhi::InstPhi(Cfg *Func, SizeT MaxSrcs, Variable *Dest) function in class:Ice::InstPhi
406 void InstPhi::addArgument(Operand *Source, CfgNode *Label) {
414 Operand *InstPhi::getOperandForTarget(CfgNode *Target) const {
425 void InstPhi::clearOperandForTarget(CfgNode *Target) {
439 void InstPhi::livenessPhiOperand(LivenessBV &Live, CfgNode *Target,
462 Inst *InstPhi::lower(Cfg *Func) {
907 void InstPhi::dump(const Cfg *Func) const {
H A DIceInstrumentation.cpp97 instrumentPhi(Context, llvm::cast<InstPhi>(Instr));
H A DIceTargetLowering.cpp458 lowerPhi(llvm::cast<InstPhi>(Instr));
621 if (Info.FirstUse == nullptr && !llvm::isa<InstPhi>(Instr)) {
628 if (Instr->getDest() == Info.Replacing && !llvm::isa<InstPhi>(Instr)) {
680 if (llvm::isa<InstPhi>(Instr))
H A DIceDefs.h69 class InstPhi;
128 // Ideally PhiList would be llvm::ilist<InstPhi>, and similar for AssignList,
H A DIceVariableSplitting.cpp359 assert(llvm::isa<InstPhi>(Instr));
H A DWasmTranslator.cpp345 auto *Phi = InstPhi::create(Func, Count * 200, Dest);
1153 HasReturn ? InstPhi::create(Func, IndirectTable.size(), Dest) : nullptr;
1292 CfgUnorderedMap<Operand *, InstPhi *> PhiMap;
1297 InstPhi *getDefiningInst(Operand *Op) const {
1305 void setDefiningInst(Operand *Op, InstPhi *Phi) {
H A DIceOperand.cpp256 if (Instr && llvm::isa<InstPhi>(Instr))
H A DIceTargetLowering.h413 virtual void lowerPhi(const InstPhi *Instr) = 0;
H A DIceConverter.cpp354 Ice::InstPhi *IcePhi =
355 Ice::InstPhi::create(Func.get(), NumValues, mapValueToIceVar(Instr));
H A DIceTargetLoweringMIPS32.h783 void lowerPhi(const InstPhi *Instr) override;
H A DIceCfg.cpp283 auto *Phi = llvm::cast<InstPhi>(&Instr);
H A DIceTargetLoweringARM32.h287 void lowerPhi(const InstPhi *Instr) override;
H A DPNaClTranslator.cpp2557 Ice::InstPhi *Phi =
2558 Ice::InstPhi::create(Func.get(), Values.size() >> 1, Dest);
H A DIceTargetLoweringX86Base.h280 void lowerPhi(const InstPhi *Instr) override;
H A DIceTargetLoweringARM32.cpp5929 void TargetARM32::lowerPhi(const InstPhi * /*Instr*/) {
6269 bool phiNeedsGot(const InstPhi *Phi) {
6286 if (phiNeedsGot(llvm::cast<InstPhi>(&Inst))) {
H A DIceTargetLoweringX86BaseImpl.h6053 void TargetX86Base<TraitsType>::lowerPhi(const InstPhi * /*Instr*/) {
7320 auto *Phi = llvm::dyn_cast<InstPhi>(&I);
H A DIceTargetLoweringMIPS32.cpp5455 void TargetMIPS32::lowerPhi(const InstPhi * /*Instr*/) {

Completed in 341 milliseconds