Home
last modified time | relevance | path

Searched refs:InstFakeUse (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceInst.h919 class InstFakeUse : public InstHighLevel {
920 InstFakeUse() = delete;
921 InstFakeUse(const InstFakeUse &) = delete;
922 InstFakeUse &operator=(const InstFakeUse &) = delete;
925 static InstFakeUse *create(Cfg *Func, Variable *Src, uint32_t Weight = 1) {
926 return new (Func->allocate<InstFakeUse>()) InstFakeUse(Func, Src, Weight);
935 InstFakeUse(Cfg *Func, Variable *Src, uint32_t Weight);
DIceTargetLoweringX8632.cpp210 Context.insert<InstFakeUse>(esp); in _sub_sp()
219 Context.insert<InstFakeUse>(ebp); in _link_bp()
228 Context.insert<InstFakeUse>(esp); in _unlink_bp()
376 Context.insert<InstFakeUse>(edx); in moveReturnValueToRegister()
DIceTargetLoweringARM32.h343 Context.insert<InstFakeUse>(Dest);
416 Context.insert<InstFakeUse>(Dest);
735 Context.insert<InstFakeUse>(Dest);
761 Context.insert<InstFakeUse>(Dest);
773 Context.insert<InstFakeUse>(Dest);
789 Context.insert<InstFakeUse>(Dest);
805 Context.insert<InstFakeUse>(Value64->getLo());
806 Context.insert<InstFakeUse>(Value64->getHi());
819 Context.insert<InstFakeUse>(Dest);
845 Context.insert<InstFakeUse>(DestHi);
DIceTargetLoweringMIPS32.cpp1421 Context.insert<InstFakeUse>(ImplicitRetVec); in lowerArguments()
1680 Context.insert<InstFakeUse>(FP); in addProlog()
1772 Context.insert<InstFakeUse>(SP); in addEpilog()
3548 Context.insert<InstFakeUse>(RegArg); in lowerCall()
3574 Context.insert<InstFakeUse>(SP); in lowerCall()
3594 Context.insert<InstFakeUse>(Var); in lowerCall()
3597 Context.insert<InstFakeUse>(ReturnReg); in lowerCall()
3997 Context.insert<InstFakeUse>(Src0R); in lowerFcmp()
3998 Context.insert<InstFakeUse>(Src1R); in lowerFcmp()
4158 Context.insert<InstFakeUse>(Src0R); in lowerFcmp()
[all …]
DIceTargetLoweringARM32.cpp1590 Context.insert<InstFakeUse>(FP); in addProlog()
1721 Context.insert<InstFakeUse>(SP); in addEpilog()
2302 Context.insert<InstFakeUse>(T); in div0Check()
2313 Context.insert<InstFakeUse>(T); in div0Check()
3823 Context.insert<InstFakeUse>(RegArg); in lowerCall()
3837 Context.insert<InstFakeUse>(ReturnReg); in lowerCall()
4171 Context.insert<InstFakeUse>(T->getHi()); in lowerCast()
4172 Context.insert<InstFakeUse>(T->getLo()); in lowerCast()
4447 Context.insert<InstFakeUse>(T); in lowerInt64IcmpCond()
4463 Context.insert<InstFakeUse>(T); in lowerInt64IcmpCond()
[all …]
DIceTargetLowering.cpp380 bool ShouldSkip = llvm::isa<InstFakeUse>(I) || llvm::isa<InstFakeDef>(I) || in doNopInsertion()
407 !llvm::isa<InstFakeUse>(Instr)) { in lower()
738 Context.insert<InstFakeUse>(Var64->getLo()); in addFakeDefUses()
739 Context.insert<InstFakeUse>(Var64->getHi()); in addFakeDefUses()
742 Context.insert<InstFakeUse>(Var); in addFakeDefUses()
745 Context.insert<InstFakeUse>(Var); in addFakeDefUses()
DIceTargetLoweringX8664.cpp258 Context.insert<InstFakeUse>(rbp); in _link_bp()
271 Context.insert<InstFakeUse>(rsp); in _unlink_bp()
524 Context.insert<InstFakeUse>(rsp); in _sub_sp()
549 Context.insert<InstFakeUse>(r15); in initSandbox()
DIceInst.cpp576 InstFakeUse::InstFakeUse(Cfg *Func, Variable *Src, uint32_t Weight) in InstFakeUse() function in Ice::InstFakeUse
1032 void InstFakeUse::emit(const Cfg *Func) const { (void)Func; } in emit()
1034 void InstFakeUse::dump(const Cfg *Func) const { in dump()
DIceTargetLoweringX86Base.h395 Context.insert<InstFakeUse>(esp); in keepEspLiveAtExit()
613 Context.insert<InstFakeUse>(Eax); in _cmpxchg()
623 Context.insert<InstFakeUse>(Edx); in _cmpxchg8b()
626 Context.insert<InstFakeUse>(Eax); in _cmpxchg8b()
1023 Context.insert<InstFakeUse>(Src); in _xadd()
1032 Context.insert<InstFakeUse>(Src); in _xchg()
DIceTargetLoweringX86BaseImpl.h1371 Context.insert<InstFakeUse>(RetValue);
2044 Context.insert<InstFakeUse>(T_4Hi);
2699 Context.insert<InstFakeUse>(llvm::cast<Variable>(Arg));
2702 Context.insert<InstFakeUse>(llvm::cast<Variable>(ArgPair.second));
2767 Context.insert<InstFakeUse>(Dest);
2771 Context.insert<InstFakeUse>(ReturnReg);
3725 Context.insert<InstFakeUse>(Temp);
3734 Context.insert<InstFakeUse>(Temp);
3895 Context.insert<InstFakeUse>(T);
4125 Context.insert<InstFakeUse>(Dest64On32->getLo());
[all …]
DIceRegAlloc.cpp445 Target->lowerInst(Node, FillPoint, InstFakeUse::create(Func, Preg)); in addSpillFill()
/external/swiftshader/third_party/subzero/docs/
DLOWERING.rst191 ICE facilitates this with the ``InstFakeUse`` pseudo-instruction. This forces a
193 the ``InstFakeUse`` instruction has no ``Dest``, it will not be eliminated.
202 NewInst = InstFakeUse::create(Func, Reg);
205 Without the ``InstFakeUse``, the entire call sequence could be dead-code
235 eliminated. The solution is to add an ``InstFakeUse`` as well.
238 instruction's ``Dest``, append an ``InstFakeDef`` and ``InstFakeUse``