Lines Matching refs:TI
49 bool checkAuthenticatedLR(MachineBasicBlock::iterator TI) const;
154 MachineBasicBlock::iterator TI = MBB.getFirstInstrTerminator(); in authenticateLR() local
162 TI != MBB.end() && TI->getOpcode() == AArch64::RET; in authenticateLR()
169 BuildMI(MBB, TI, DL, in authenticateLR()
175 BuildPACM(*Subtarget, MBB, TI, DL, MachineInstr::FrameDestroy, PACSym); in authenticateLR()
176 BuildMI(MBB, TI, DL, TII->get(UseBKey ? AArch64::RETAB : AArch64::RETAA)) in authenticateLR()
180 MBB.erase(TI); in authenticateLR()
316 MachineBasicBlock::iterator TI) const { in checkAuthenticatedLR()
324 assert(!TI->getMF()->hasWinCFI() && "WinCFI is not yet supported"); in checkAuthenticatedLR()
349 assert(AArch64InstrInfo::isTailCallReturnInst(*TI) && in checkAuthenticatedLR()
352 TI->readsRegister(AArch64::X16, TRI) ? AArch64::X17 : AArch64::X16; in checkAuthenticatedLR()
353 assert(!TI->readsRegister(TmpReg, TRI) && in checkAuthenticatedLR()
356 checkAuthenticatedRegister(TI, Method, AArch64::LR, TmpReg, /*UseIKey=*/true, in checkAuthenticatedLR()