/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringX8664.cpp | 183 _redefined(Context.insert<InstFakeDef>(esp, rsp)); in _add_sp() 185 _redefined(Context.insert<InstFakeDef>(rsp, esp)); in _add_sp() 198 _redefined(Context.insert<InstFakeDef>(esp, rsp)); in _mov_sp() 200 _redefined(Context.insert<InstFakeDef>(rsp, esp)); in _mov_sp() 255 _redefined(Context.insert<InstFakeDef>(ebp, rbp)); in _link_bp() 256 _redefined(Context.insert<InstFakeDef>(esp, rsp)); in _link_bp() 258 _redefined(Context.insert<InstFakeDef>(rsp, esp)); in _link_bp() 290 Context.insert<InstFakeDef>(ecx, rcx); in _unlink_bp() 294 _redefined(Context.insert<InstFakeDef>(rbp, ebp)); in _unlink_bp() 538 _redefined(Context.insert<InstFakeDef>(esp, rsp)); in _sub_sp() [all …]
|
D | IceInst.h | 902 class InstFakeDef : public InstHighLevel { 903 InstFakeDef() = delete; 904 InstFakeDef(const InstFakeDef &) = delete; 905 InstFakeDef &operator=(const InstFakeDef &) = delete; 908 static InstFakeDef *create(Cfg *Func, Variable *Dest, 910 return new (Func->allocate<InstFakeDef>()) InstFakeDef(Func, Dest, Src); 919 InstFakeDef(Cfg *Func, Variable *Dest, Variable *Src);
|
D | IceTargetLowering.cpp | 380 bool ShouldSkip = llvm::isa<InstFakeUse>(I) || llvm::isa<InstFakeDef>(I) || in doNopInsertion() 406 if (!Instr->isDeleted() && !llvm::isa<InstFakeDef>(Instr) && in lower() 752 Context.insert<InstFakeDef>(Var64->getLo()); in addFakeDefUses() 753 Context.insert<InstFakeDef>(Var64->getHi()); in addFakeDefUses() 756 Context.insert<InstFakeDef>(Var); in addFakeDefUses() 759 Context.insert<InstFakeDef>(Dest); in addFakeDefUses()
|
D | IceTargetLoweringARM32.h | 402 Context.insert<InstFakeDef>(Dest64->getLo(), Dest); 403 Context.insert<InstFakeDef>(Dest64->getHi(), Dest); 449 Context.insert<InstFakeDef>(Instr->getDestHi()); 461 Context.insert<InstFakeDef>(Instr->getDestHi()); 743 Context.insert<InstFakeDef>(Dest); in _pop() 842 Context.insert<InstFakeDef>(DestHi); 844 Context.insert<InstFakeDef>(DestHi, DestLo)->setDestRedefined();
|
D | IceTargetLoweringMIPS32.cpp | 2020 Target->Context.insert<InstFakeDef>(Dest); in legalizeMov() 2419 Context.insert<InstFakeDef>(Dest); in lowerAlloca() 2557 Context.insert<InstFakeDef>(T_Hi, T_Lo); in lowerInt64Arithmetic() 2754 Context.insert<InstFakeDef>(Dest); in lowerArithmetic() 3053 Context.insert<InstFakeDef>(Dest); in lowerAssign() 3577 Context.insert(InstFakeDef::create(Func, ReturnRegHi)); in lowerCall() 3582 Context.insert(InstFakeDef::create(Func, Var)); in lowerCall() 3874 Context.insert<InstFakeDef>(T->getHi()); in lowerCast() 3875 Context.insert<InstFakeDef>(T->getLo()); in lowerCast() 5152 Context.insert<InstFakeDef>(T8); in lowerIntrinsicCall() [all …]
|
D | IceInst.cpp | 569 InstFakeDef::InstFakeDef(Cfg *Func, Variable *Dest, Variable *Src) in InstFakeDef() function in Ice::InstFakeDef 1009 void InstFakeDef::emit(const Cfg *Func) const { in emit() 1023 void InstFakeDef::dump(const Cfg *Func) const { in dump()
|
D | IceTargetLoweringARM32.cpp | 883 Context.insert<InstFakeDef>(T); in insertGotPtrInitPlaceholder() 884 Context.insert<InstFakeDef>(GotPtr, T); in insertGotPtrInitPlaceholder() 926 InstFakeDef *DefGotPtr = nullptr; in materializeGotAddr() 928 auto *FakeDef = llvm::dyn_cast<InstFakeDef>(&Inst); in materializeGotAddr() 990 Context.insert<InstFakeDef>(PC); in loadNamedConstantRelocatablePIC() 1885 Target->Context.insert<InstFakeDef>(Dest); in legalizeMov() 2256 Context.insert<InstFakeDef>(Dest); in lowerAlloca() 3079 Context.insert<InstFakeDef>(Dest); in lowerArithmetic() 3525 Context.insert<InstFakeDef>(Dest); in lowerAssign() 3847 Context.insert<InstFakeDef>(ReturnRegHi); in lowerCall() [all …]
|
D | IceTargetLoweringX86Base.h | 618 Context.insert<InstFakeDef>(Eax, llvm::dyn_cast<Variable>(DestOrAddr)); in _cmpxchg() 628 Context.insert<InstFakeDef>(Edx); in _cmpxchg8b() 631 Context.insert<InstFakeDef>(Eax); in _cmpxchg8b() 1031 Context.insert<InstFakeDef>(Src, llvm::dyn_cast<Variable>(Dest)); in _xadd() 1040 Context.insert<InstFakeDef>(Src, llvm::dyn_cast<Variable>(Dest)); in _xchg()
|
D | IceTargetLoweringMIPS32.h | 381 Context.insert<InstFakeDef>(Instr->getDestHi()); 396 Context.insert<InstFakeDef>(Instr->getDestHi()); 676 Context.insert<InstFakeDef>(Zero); in getZero()
|
D | IceTargetLoweringX86BaseImpl.h | 793 auto *BeaconDef = InstFakeDef::create(Func, Beacon); 1554 Context.insert<InstFakeDef>(Dest); 1980 Context.insert<InstFakeDef>(Dest); 2096 Context.insert<InstFakeDef>(T_4Hi, T_4Lo); 2397 _redefined(Context.insert<InstFakeDef>(T, T_edx)); 2458 _redefined(Context.insert<InstFakeDef>(T, T_edx)); 2489 _redefined(Context.insert<InstFakeDef>(T_edx, T)); 2567 _redefined(Context.insert<InstFakeDef>(T_edx, T)); 2608 Context.insert<InstFakeDef>(Dest); 2823 Context.insert<InstFakeDef>(ReturnRegHi); [all …]
|
D | IceTargetLowering.h | 527 Context.insert<InstFakeDef>(T); in scalarizeInstruction()
|
D | IceRegAlloc.cpp | 441 Target->lowerInst(Node, SpillPoint, InstFakeDef::create(Func, Preg)); in addSpillFill()
|
D | IceCfg.cpp | 988 auto *Def = InstFakeDef::create(this, Dest); in sortAndCombineAllocas()
|
/external/swiftshader/third_party/subzero/docs/ |
D | LOWERING.rst | 167 To support multi-dest instructions, ICE provides the ``InstFakeDef`` 176 NewInst = InstFakeDef::create(Func, RegHigh); 179 ends up being dead-code eliminated, the ``InstFakeDef`` instruction may be 210 The key is to use the optional source parameter of the ``InstFakeDef`` 215 t2:edx = InstFakeDef(t1) 220 argument to ``InstFakeDef`` suffices to keep the ``call`` instruction live. 233 ``InstFakeDef``. However, this is not sufficient, as the ``Variable`` may have 234 no more live uses, which could result in the ``InstFakeDef`` being dead-code 238 instruction's ``Dest``, append an ``InstFakeDef`` and ``InstFakeUse``
|