Lines Matching refs:TII
70 const TargetInstrInfo *TII,
82 const TargetInstrInfo *TII,
89 MachineFunction &MF, const TargetInstrInfo *TII, in replaceRetWithPatchableRet() argument
98 (op.HandleAllReturns || T.getOpcode() == TII->getReturnOpcode())) { in replaceRetWithPatchableRet()
103 if (TII->isTailCall(T) && op.HandleTailcall) { in replaceRetWithPatchableRet()
109 auto MIB = BuildMI(MBB, T, T.getDebugLoc(), TII->get(Opc)) in replaceRetWithPatchableRet()
125 MachineFunction &MF, const TargetInstrInfo *TII, in prependRetWithPatchableExit() argument
131 (op.HandleAllReturns || T.getOpcode() == TII->getReturnOpcode())) { in prependRetWithPatchableExit()
134 if (TII->isTailCall(T) && op.HandleTailcall) { in prependRetWithPatchableExit()
140 BuildMI(MBB, T, T.getDebugLoc(), TII->get(Opc)); in prependRetWithPatchableExit()
206 auto *TII = MF.getSubtarget().getInstrInfo(); in runOnMachineFunction() local
220 TII->get(TargetOpcode::PATCHABLE_FUNCTION_ENTER)); in runOnMachineFunction()
238 prependRetWithPatchableExit(MF, TII, op); in runOnMachineFunction()
246 replaceRetWithPatchableRet(MF, TII, op); in runOnMachineFunction()
255 replaceRetWithPatchableRet(MF, TII, op); in runOnMachineFunction()