Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8664.cpp179 _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 …]
DIceInst.h892 class InstFakeDef : public InstHighLevel {
893 InstFakeDef() = delete;
894 InstFakeDef(const InstFakeDef &) = delete;
895 InstFakeDef &operator=(const InstFakeDef &) = delete;
898 static InstFakeDef *create(Cfg *Func, Variable *Dest,
900 return new (Func->allocate<InstFakeDef>()) InstFakeDef(Func, Dest, Src);
909 InstFakeDef(Cfg *Func, Variable *Dest, Variable *Src);
DIceTargetLowering.cpp380 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()
DIceTargetLoweringARM32.h402 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();
DIceTargetLoweringMIPS32.cpp2020 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 …]
DIceInst.cpp569 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()
DIceTargetLoweringARM32.cpp883 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()
3077 Context.insert<InstFakeDef>(Dest); in lowerArithmetic()
3508 Context.insert<InstFakeDef>(Dest); in lowerAssign()
3830 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()
1021 Context.insert<InstFakeDef>(Src, llvm::dyn_cast<Variable>(Dest)); in _xadd()
1030 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.h780 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 …]
DIceTargetLowering.h527 Context.insert<InstFakeDef>(T); in scalarizeInstruction()
DIceRegAlloc.cpp441 Target->lowerInst(Node, SpillPoint, InstFakeDef::create(Func, Preg)); in addSpillFill()
DIceCfg.cpp988 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``