Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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``
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceInst.h853 class InstFakeDef : public InstHighLevel {
854 InstFakeDef() = delete;
855 InstFakeDef(const InstFakeDef &) = delete;
856 InstFakeDef &operator=(const InstFakeDef &) = delete;
859 static InstFakeDef *create(Cfg *Func, Variable *Dest,
861 return new (Func->allocate<InstFakeDef>()) InstFakeDef(Func, Dest, Src);
870 InstFakeDef(Cfg *Func, Variable *Dest, Variable *Src);
DIceTargetLowering.cpp362 if (!Instr->isDeleted() && !llvm::isa<InstFakeDef>(Instr) && in lower()
708 Context.insert<InstFakeDef>(Var64->getLo()); in addFakeDefUses()
709 Context.insert<InstFakeDef>(Var64->getHi()); in addFakeDefUses()
712 Context.insert<InstFakeDef>(Var); in addFakeDefUses()
715 Context.insert<InstFakeDef>(Dest); in addFakeDefUses()
DIceTargetLoweringARM32.h394 Context.insert<InstFakeDef>(Dest64->getLo(), Dest);
395 Context.insert<InstFakeDef>(Dest64->getHi(), Dest);
441 Context.insert<InstFakeDef>(Instr->getDestHi());
453 Context.insert<InstFakeDef>(Instr->getDestHi());
735 Context.insert<InstFakeDef>(Dest); in _pop()
834 Context.insert<InstFakeDef>(DestHi);
836 Context.insert<InstFakeDef>(DestHi, DestLo)->setDestRedefined();
DIceInst.cpp552 InstFakeDef::InstFakeDef(Cfg *Func, Variable *Dest, Variable *Src) in InstFakeDef() function in Ice::InstFakeDef
940 void InstFakeDef::emit(const Cfg *Func) const { in emit()
954 void InstFakeDef::dump(const Cfg *Func) const { in dump()
DIceTargetLoweringX8664.h511 Context.insert<InstFakeDef>(Eax, llvm::dyn_cast<Variable>(DestOrAddr)); in _cmpxchg()
519 Context.insert<InstFakeDef>(Edx); in _cmpxchg8b()
522 Context.insert<InstFakeDef>(Eax); in _cmpxchg8b()
794 Context.insert<InstFakeDef>(Src, llvm::dyn_cast<Variable>(Dest)); in _xadd()
802 Context.insert<InstFakeDef>(Src, llvm::dyn_cast<Variable>(Dest)); in _xchg()
DIceTargetLoweringX8632.h515 Context.insert<InstFakeDef>(Eax, llvm::dyn_cast<Variable>(DestOrAddr)); in _cmpxchg()
523 Context.insert<InstFakeDef>(Edx); in _cmpxchg8b()
526 Context.insert<InstFakeDef>(Eax); in _cmpxchg8b()
800 Context.insert<InstFakeDef>(Src, llvm::dyn_cast<Variable>(Dest)); in _xadd()
808 Context.insert<InstFakeDef>(Src, llvm::dyn_cast<Variable>(Dest)); in _xchg()
DIceTargetLoweringMIPS32.h381 Context.insert<InstFakeDef>(Instr->getDestHi());
396 Context.insert<InstFakeDef>(Instr->getDestHi());
644 Context.insert<InstFakeDef>(Zero); in getZero()
DIceTargetLoweringARM32.cpp1700 Target->Context.insert<InstFakeDef>(Dest); in legalizeMov()
2066 Context.insert<InstFakeDef>(Dest); in lowerAlloca()
2892 Context.insert<InstFakeDef>(Dest); in lowerArithmetic()
3338 Context.insert<InstFakeDef>(Dest); in lowerAssign()
3659 Context.insert<InstFakeDef>(ReturnRegHi); in lowerCall()
4652 Context.insert<InstFakeDef>(Tmp); in lowerLoadLinkedStoreExclusive()
4661 Context.insert<InstFakeDef>(Success); in lowerLoadLinkedStoreExclusive()
4758 Context.insert<InstFakeDef>(ResultR); in lowerInt64AtomicRMW()
4792 Context.insert<InstFakeDef>(ResultR, ResultR->getLo()) in lowerInt64AtomicRMW()
4892 Context.insert<InstFakeDef>(ValueR); in lowerIntrinsic()
[all …]
DIceTargetLoweringX8632.cpp626 auto *BeaconDef = InstFakeDef::create(Func, Beacon); in findRMW()
1330 Context.insert<InstFakeDef>(Dest); in lowerAlloca()
1734 Context.insert<InstFakeDef>(Dest); in lowerArithmetic()
1850 Context.insert<InstFakeDef>(T_4Hi, T_4Lo); in lowerArithmetic()
2150 _redefined(Context.insert<InstFakeDef>(T, T_edx)); in lowerArithmetic()
2207 _redefined(Context.insert<InstFakeDef>(T, T_edx)); in lowerArithmetic()
2234 _redefined(Context.insert<InstFakeDef>(T_edx, T)); in lowerArithmetic()
2308 _redefined(Context.insert<InstFakeDef>(T_edx, T)); in lowerArithmetic()
2348 Context.insert<InstFakeDef>(Dest); in lowerAssign()
2547 Context.insert<InstFakeDef>(ReturnRegHi); in lowerCall()
[all …]
DIceTargetLoweringX8664.cpp635 auto *BeaconDef = InstFakeDef::create(Func, Beacon); in findRMW()
1240 Context.insert<InstFakeDef>(Dest); in lowerAlloca()
1657 Context.insert<InstFakeDef>(Dest); in lowerArithmetic()
1954 _redefined(Context.insert<InstFakeDef>(T, T_edx)); in lowerArithmetic()
2015 _redefined(Context.insert<InstFakeDef>(T, T_edx)); in lowerArithmetic()
2046 _redefined(Context.insert<InstFakeDef>(T_edx, T)); in lowerArithmetic()
2124 _redefined(Context.insert<InstFakeDef>(T_edx, T)); in lowerArithmetic()
2164 Context.insert<InstFakeDef>(Dest); in lowerAssign()
2738 Context.insert<InstFakeDef>(ExtractedElementR); in lowerExtractElement()
3185 Context.insert<InstFakeDef>(Dest); in lowerArithAndConsumer()
[all …]
DIceTargetLowering.h483 Context.insert<InstFakeDef>(T); in scalarizeInstruction()
DIceTargetLoweringMIPS32.cpp1980 Target->Context.insert<InstFakeDef>(Dest); in legalizeMov()
2374 Context.insert<InstFakeDef>(Dest); in lowerAlloca()
2509 Context.insert<InstFakeDef>(T_Hi, T_Lo); in lowerInt64Arithmetic()
2706 Context.insert<InstFakeDef>(Dest); in lowerArithmetic()
3005 Context.insert<InstFakeDef>(Dest); in lowerAssign()
3528 Context.insert(InstFakeDef::create(Func, ReturnRegHi)); in lowerCall()
3533 Context.insert(InstFakeDef::create(Func, Var)); in lowerCall()
3825 Context.insert<InstFakeDef>(T->getHi()); in lowerCast()
3826 Context.insert<InstFakeDef>(T->getLo()); in lowerCast()
5883 Context.insert<InstFakeDef>(Zero); in legalize()
[all …]
DIceRegAlloc.cpp441 Target->lowerInst(Node, SpillPoint, InstFakeDef::create(Func, Preg)); in addSpillFill()
DIceCfg.cpp891 auto *Def = InstFakeDef::create(this, Dest); in sortAndCombineAllocas()