/third_party/skia/third_party/externals/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``
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceInst.h | 853 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);
|
D | IceTargetLowering.cpp | 362 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()
|
D | IceTargetLoweringARM32.h | 394 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();
|
D | IceInst.cpp | 552 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()
|
D | IceTargetLoweringX8664.h | 511 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()
|
D | IceTargetLoweringX8632.h | 515 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()
|
D | IceTargetLoweringMIPS32.h | 381 Context.insert<InstFakeDef>(Instr->getDestHi()); 396 Context.insert<InstFakeDef>(Instr->getDestHi()); 644 Context.insert<InstFakeDef>(Zero); in getZero()
|
D | IceTargetLoweringARM32.cpp | 1700 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 …]
|
D | IceTargetLoweringX8632.cpp | 626 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 …]
|
D | IceTargetLoweringX8664.cpp | 635 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 …]
|
D | IceTargetLowering.h | 483 Context.insert<InstFakeDef>(T); in scalarizeInstruction()
|
D | IceTargetLoweringMIPS32.cpp | 1980 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 …]
|
D | IceRegAlloc.cpp | 441 Target->lowerInst(Node, SpillPoint, InstFakeDef::create(Func, Preg)); in addSpillFill()
|
D | IceCfg.cpp | 891 auto *Def = InstFakeDef::create(this, Dest); in sortAndCombineAllocas()
|