Home
last modified time | relevance | path

Searched refs:InstFakeDef (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8664.cpp178 _redefined(Context.insert<InstFakeDef>(esp, rsp)); in _add_sp()
180 _redefined(Context.insert<InstFakeDef>(rsp, esp)); in _add_sp()
193 _redefined(Context.insert<InstFakeDef>(esp, rsp)); in _mov_sp()
195 _redefined(Context.insert<InstFakeDef>(rsp, esp)); in _mov_sp()
250 _redefined(Context.insert<InstFakeDef>(ebp, rbp)); in _link_bp()
251 _redefined(Context.insert<InstFakeDef>(esp, rsp)); in _link_bp()
253 _redefined(Context.insert<InstFakeDef>(rsp, esp)); in _link_bp()
285 Context.insert<InstFakeDef>(ecx, rcx); in _unlink_bp()
289 _redefined(Context.insert<InstFakeDef>(rbp, ebp)); in _unlink_bp()
537 _redefined(Context.insert<InstFakeDef>(esp, rsp)); in _sub_sp()
[all …]
DIceInst.h904 class InstFakeDef : public InstHighLevel {
905 InstFakeDef() = delete;
906 InstFakeDef(const InstFakeDef &) = delete;
907 InstFakeDef &operator=(const InstFakeDef &) = delete;
910 static InstFakeDef *create(Cfg *Func, Variable *Dest,
912 return new (Func->allocate<InstFakeDef>()) InstFakeDef(Func, Dest, Src);
921 InstFakeDef(Cfg *Func, Variable *Dest, Variable *Src);
DIceTargetLowering.cpp393 if (!Instr->isDeleted() && !llvm::isa<InstFakeDef>(Instr) && in lower()
739 Context.insert<InstFakeDef>(Var64->getLo()); in addFakeDefUses()
740 Context.insert<InstFakeDef>(Var64->getHi()); in addFakeDefUses()
743 Context.insert<InstFakeDef>(Var); in addFakeDefUses()
746 Context.insert<InstFakeDef>(Dest); in addFakeDefUses()
DIceTargetLoweringARM32.h395 Context.insert<InstFakeDef>(Dest64->getLo(), Dest);
396 Context.insert<InstFakeDef>(Dest64->getHi(), Dest);
442 Context.insert<InstFakeDef>(Instr->getDestHi());
454 Context.insert<InstFakeDef>(Instr->getDestHi());
736 Context.insert<InstFakeDef>(Dest); in _pop()
835 Context.insert<InstFakeDef>(DestHi);
837 Context.insert<InstFakeDef>(DestHi, DestLo)->setDestRedefined();
DIceTargetLoweringMIPS32.cpp2005 Target->Context.insert<InstFakeDef>(Dest); in legalizeMov()
2404 Context.insert<InstFakeDef>(Dest); in lowerAlloca()
2542 Context.insert<InstFakeDef>(T_Hi, T_Lo); in lowerInt64Arithmetic()
2739 Context.insert<InstFakeDef>(Dest); in lowerArithmetic()
3038 Context.insert<InstFakeDef>(Dest); in lowerAssign()
3562 Context.insert(InstFakeDef::create(Func, ReturnRegHi)); in lowerCall()
3567 Context.insert(InstFakeDef::create(Func, Var)); in lowerCall()
3859 Context.insert<InstFakeDef>(T->getHi()); in lowerCast()
3860 Context.insert<InstFakeDef>(T->getLo()); in lowerCast()
5137 Context.insert<InstFakeDef>(T8); in lowerIntrinsic()
[all …]
DIceInst.cpp561 InstFakeDef::InstFakeDef(Cfg *Func, Variable *Dest, Variable *Src) in InstFakeDef() function in Ice::InstFakeDef
1001 void InstFakeDef::emit(const Cfg *Func) const { in emit()
1015 void InstFakeDef::dump(const Cfg *Func) const { in dump()
DIceTargetLoweringARM32.cpp882 Context.insert<InstFakeDef>(T); in insertGotPtrInitPlaceholder()
883 Context.insert<InstFakeDef>(GotPtr, T); in insertGotPtrInitPlaceholder()
925 InstFakeDef *DefGotPtr = nullptr; in materializeGotAddr()
927 auto *FakeDef = llvm::dyn_cast<InstFakeDef>(&Inst); in materializeGotAddr()
989 Context.insert<InstFakeDef>(PC); in loadNamedConstantRelocatablePIC()
1876 Target->Context.insert<InstFakeDef>(Dest); in legalizeMov()
2250 Context.insert<InstFakeDef>(Dest); in lowerAlloca()
3076 Context.insert<InstFakeDef>(Dest); in lowerArithmetic()
3522 Context.insert<InstFakeDef>(Dest); in lowerAssign()
3844 Context.insert<InstFakeDef>(ReturnRegHi); in lowerCall()
[all …]
DIceTargetLoweringX86Base.h611 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()
1024 Context.insert<InstFakeDef>(Src, llvm::dyn_cast<Variable>(Dest)); in _xadd()
1033 Context.insert<InstFakeDef>(Src, llvm::dyn_cast<Variable>(Dest)); in _xchg()
DIceTargetLoweringMIPS32.h381 Context.insert<InstFakeDef>(Instr->getDestHi());
396 Context.insert<InstFakeDef>(Instr->getDestHi());
676 Context.insert<InstFakeDef>(Zero); in getZero()
DIceTargetLoweringX86BaseImpl.h777 auto *BeaconDef = InstFakeDef::create(Func, Beacon);
1554 Context.insert<InstFakeDef>(Dest);
1980 Context.insert<InstFakeDef>(Dest);
2096 Context.insert<InstFakeDef>(T_4Hi, T_4Lo);
2401 _redefined(Context.insert<InstFakeDef>(T, T_edx));
2462 _redefined(Context.insert<InstFakeDef>(T, T_edx));
2493 _redefined(Context.insert<InstFakeDef>(T_edx, T));
2571 _redefined(Context.insert<InstFakeDef>(T_edx, T));
2612 Context.insert<InstFakeDef>(Dest);
2827 Context.insert<InstFakeDef>(ReturnRegHi);
[all …]
DIceTargetLowering.h518 Context.insert<InstFakeDef>(T); in scalarizeInstruction()
DIceRegAlloc.cpp441 Target->lowerInst(Node, SpillPoint, InstFakeDef::create(Func, Preg)); in addSpillFill()
DIceCfg.cpp891 auto *Def = InstFakeDef::create(this, Dest); in sortAndCombineAllocas()
/external/swiftshader/third_party/subzero/docs/
DLOWERING.rst167 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``