Lines Matching defs:BL
387 // a BL to the thunk containing BR, BRAA/BRAB or BRAAZ/BRABZ, respectively.
402 // | BL __llvm_slsblr_thunk_... |
414 // This function needs to transform BLR* instruction into BL with the correct
448 MachineInstr *BL = BuildMI(MBB, MBBI, DL, TII->get(AArch64::BL)).addSym(Sym);
450 // Now copy the implicit operands from BLR to BL and copy other necessary
452 // However, both BLR and BL instructions implictly use SP and implicitly
456 // operands from the BL created above before we copy over all implicit
460 for (unsigned OpIdx = BL->getNumExplicitOperands();
461 OpIdx < BL->getNumOperands(); OpIdx++) {
462 MachineOperand Op = BL->getOperand(OpIdx);
474 BL->removeOperand(FirstOpIdxToRemove);
475 BL->removeOperand(SecondOpIdxToRemove);
477 BL->copyImplicitOps(MF, BLR);
478 MF.moveAdditionalCallInfo(&BLR, BL);
483 BL->addOperand(MachineOperand::CreateReg(Op.getReg(), /*isDef=*/false,