/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringX8664.cpp | 179 _redefined(Context.insert<InstFakeDef>(esp, rsp)); in _add_sp() 181 _redefined(Context.insert<InstFakeDef>(rsp, esp)); in _add_sp() 194 _redefined(Context.insert<InstFakeDef>(esp, rsp)); in _mov_sp() 196 _redefined(Context.insert<InstFakeDef>(rsp, esp)); in _mov_sp() 251 _redefined(Context.insert<InstFakeDef>(ebp, rbp)); in _link_bp() 252 _redefined(Context.insert<InstFakeDef>(esp, rsp)); in _link_bp() 254 _redefined(Context.insert<InstFakeDef>(rsp, esp)); in _link_bp() 286 Context.insert<InstFakeDef>(ecx, rcx); in _unlink_bp() 290 _redefined(Context.insert<InstFakeDef>(rbp, ebp)); in _unlink_bp() 514 _redefined(Context.insert<InstFakeDef>(esp, rsp)); in _sub_sp() [all …]
|
D | IceInst.h | 899 class InstFakeDef : public InstHighLevel { 900 InstFakeDef() = delete; 901 InstFakeDef(const InstFakeDef &) = delete; 902 InstFakeDef &operator=(const InstFakeDef &) = delete; 905 static InstFakeDef *create(Cfg *Func, Variable *Dest, 907 return new (Func->allocate<InstFakeDef>()) InstFakeDef(Func, Dest, Src); 916 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 | 611 Context.insert<InstFakeDef>(Eax, llvm::dyn_cast<Variable>(DestOrAddr)); in _cmpxchg() 621 Context.insert<InstFakeDef>(Edx); in _cmpxchg8b() 624 Context.insert<InstFakeDef>(Eax); in _cmpxchg8b() 1021 Context.insert<InstFakeDef>(Src, llvm::dyn_cast<Variable>(Dest)); in _xadd() 1030 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 | 780 auto *BeaconDef = InstFakeDef::create(Func, Beacon); 1504 Context.insert<InstFakeDef>(Dest); 1927 Context.insert<InstFakeDef>(Dest); 2043 Context.insert<InstFakeDef>(T_4Hi, T_4Lo); 2344 _redefined(Context.insert<InstFakeDef>(T, T_edx)); 2405 _redefined(Context.insert<InstFakeDef>(T, T_edx)); 2436 _redefined(Context.insert<InstFakeDef>(T_edx, T)); 2514 _redefined(Context.insert<InstFakeDef>(T_edx, T)); 2555 Context.insert<InstFakeDef>(Dest); 2754 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``
|