Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceInst.h929 class InstFakeUse : public InstHighLevel {
930 InstFakeUse() = delete;
931 InstFakeUse(const InstFakeUse &) = delete;
932 InstFakeUse &operator=(const InstFakeUse &) = delete;
935 static InstFakeUse *create(Cfg *Func, Variable *Src, uint32_t Weight = 1) {
936 return new (Func->allocate<InstFakeUse>()) InstFakeUse(Func, Src, Weight);
945 InstFakeUse(Cfg *Func, Variable *Src, uint32_t Weight);
DIceTargetLoweringX8632.cpp214 Context.insert<InstFakeUse>(esp); in _sub_sp()
223 Context.insert<InstFakeUse>(ebp); in _link_bp()
232 Context.insert<InstFakeUse>(esp); in _unlink_bp()
392 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 …]
DIceTargetLoweringX8664.cpp262 Context.insert<InstFakeUse>(rbp); in _link_bp()
275 Context.insert<InstFakeUse>(rsp); in _unlink_bp()
548 Context.insert<InstFakeUse>(rsp); in _sub_sp()
573 Context.insert<InstFakeUse>(r15); in initSandbox()
750 Context.insert<InstFakeUse>(NumFpArgsReg); in emitCallToTarget()
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()
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()
3840 Context.insert<InstFakeUse>(RegArg); in lowerCall()
3854 Context.insert<InstFakeUse>(ReturnReg); in lowerCall()
4188 Context.insert<InstFakeUse>(T->getHi()); in lowerCast()
4189 Context.insert<InstFakeUse>(T->getLo()); in lowerCast()
4464 Context.insert<InstFakeUse>(T); in lowerInt64IcmpCond()
4480 Context.insert<InstFakeUse>(T); in lowerInt64IcmpCond()
[all …]
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.h402 Context.insert<InstFakeUse>(esp); in keepEspLiveAtExit()
620 Context.insert<InstFakeUse>(Eax); in _cmpxchg()
630 Context.insert<InstFakeUse>(Edx); in _cmpxchg8b()
633 Context.insert<InstFakeUse>(Eax); in _cmpxchg8b()
1033 Context.insert<InstFakeUse>(Src); in _xadd()
1042 Context.insert<InstFakeUse>(Src); in _xchg()
DIceTargetLoweringX86BaseImpl.h1421 Context.insert<InstFakeUse>(RetValue);
2097 Context.insert<InstFakeUse>(T_4Hi);
2767 Context.insert<InstFakeUse>(llvm::cast<Variable>(Arg));
2770 Context.insert<InstFakeUse>(llvm::cast<Variable>(ArgPair.second));
2836 Context.insert<InstFakeUse>(Dest);
2840 Context.insert<InstFakeUse>(ReturnReg);
3797 Context.insert<InstFakeUse>(Temp);
3806 Context.insert<InstFakeUse>(Temp);
3967 Context.insert<InstFakeUse>(T);
4197 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``