| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLateEHPrepare.cpp | 76 MachineBasicBlock *MBB = WL.pop_back_val(); in getMatchingEHPad() local 77 if (!Visited.insert(MBB).second) in getMatchingEHPad() 79 if (MBB->isEHPad()) { in getMatchingEHPad() 80 if (EHPad && EHPad != MBB) in getMatchingEHPad() 82 EHPad = MBB; in getMatchingEHPad() 85 if (MBB == &MF->front()) in getMatchingEHPad() 87 for (auto *Pred : MBB->predecessors()) in getMatchingEHPad() 101 MachineBasicBlock *MBB = WL.pop_back_val(); in eraseDeadBBsAndChildren() local 102 if (Deleted.count(MBB) || !MBB->pred_empty()) in eraseDeadBBsAndChildren() 104 SmallVector<MachineBasicBlock *, 4> Succs(MBB->successors()); in eraseDeadBBsAndChildren() [all …]
|
| H A D | WebAssemblyCFGSort.cpp | 79 static void maybeUpdateTerminator(MachineBasicBlock *MBB) { in maybeUpdateTerminator() argument 84 for (const MachineInstr &Term : MBB->terminators()) { in maybeUpdateTerminator() 94 MachineFunction *MF = MBB->getParent(); in maybeUpdateTerminator() 96 unsigned(MBB->getNumber() + 1) < MF->getNumBlockIDs() in maybeUpdateTerminator() 97 ? MF->getBlockNumbered(MBB->getNumber() + 1) in maybeUpdateTerminator() 101 MBB->updateTerminator(OriginalSuccessor); in maybeUpdateTerminator() 196 for (MachineBasicBlock &MBB : MF) { in sortBlocks() 197 unsigned N = MBB.pred_size(); in sortBlocks() 198 if (MachineLoop *L = MLI.getLoopFor(&MBB)) in sortBlocks() 199 if (L->getHeader() == &MBB) in sortBlocks() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchExpandPseudoInsts.cpp | 57 bool expandMBB(MachineBasicBlock &MBB); 58 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 60 bool expandPcalau12iInstPair(MachineBasicBlock &MBB, 65 bool expandLargeAddressLoad(MachineBasicBlock &MBB, 69 bool expandLargeAddressLoad(MachineBasicBlock &MBB, 75 bool expandLoadAddressPcrel(MachineBasicBlock &MBB, 79 bool expandLoadAddressGot(MachineBasicBlock &MBB, 83 bool expandLoadAddressTLSLE(MachineBasicBlock &MBB, 86 bool expandLoadAddressTLSIE(MachineBasicBlock &MBB, 90 bool expandLoadAddressTLSLD(MachineBasicBlock &MBB, [all …]
|
| H A D | LoongArchExpandAtomicPseudoInsts.cpp | 45 bool expandMBB(MachineBasicBlock &MBB); 46 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 48 bool expandAtomicBinOp(MachineBasicBlock &MBB, 52 bool expandAtomicMinMaxOp(MachineBasicBlock &MBB, 56 bool expandAtomicCmpXchg(MachineBasicBlock &MBB, 59 bool expandAtomicCmpXchg128(MachineBasicBlock &MBB, 70 for (auto &MBB : MF) in runOnMachineFunction() local 71 Modified |= expandMBB(MBB); in runOnMachineFunction() 75 bool LoongArchExpandAtomicPseudo::expandMBB(MachineBasicBlock &MBB) { in expandMBB() argument 78 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); in expandMBB() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | R600MachineCFGStructurizer.cpp | 173 int getSCCNum(MachineBasicBlock *MBB) const; 175 bool hasBackEdge(MachineBasicBlock *MBB) const; 176 bool isRetiredBlock(MachineBasicBlock *MBB) const; 177 bool isActiveLoophead(MachineBasicBlock *MBB) const; 182 bool needMigrateBlock(MachineBasicBlock *MBB) const; 186 MachineBasicBlock &MBB); 191 void insertInstrEnd(MachineBasicBlock *MBB, int NewOpcode, 193 MachineInstr *insertInstrBefore(MachineBasicBlock *MBB, int NewOpcode, 198 void insertCondBranchBefore(MachineBasicBlock *MBB, 207 static void setTrueBranch(MachineInstr *MI, MachineBasicBlock *MBB); [all …]
|
| H A D | SILowerControlFlow.cpp | 112 bool removeMBBifRedundant(MachineBasicBlock &MBB); 120 skipIgnoreExecInstsTrivialSucc(MachineBasicBlock &MBB, 125 skipToUncondBrOrEnd(MachineBasicBlock &MBB, in skipToUncondBrOrEnd() argument 130 MachineBasicBlock::iterator End = MBB.end(); in skipToUncondBrOrEnd() 191 MachineBasicBlock *MBB = Worklist.pop_back_val(); in hasKill() local 193 if (MBB == End || !Visited.insert(MBB).second) in hasKill() 195 if (KillBlocks.contains(MBB)) in hasKill() 198 Worklist.append(MBB->succ_begin(), MBB->succ_end()); in hasKill() 217 MachineBasicBlock &MBB = *MI.getParent(); in emitIf() local 244 BuildMI(MBB, I, DL, TII->get(AMDGPU::COPY), CopyReg) in emitIf() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64SpeculationHardening.cpp | 145 bool instrumentControlFlow(MachineBasicBlock &MBB, 147 bool endsWithCondControlFlow(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 152 void insertSPToRegTaintPropagation(MachineBasicBlock &MBB, 154 void insertRegToSPTaintPropagation(MachineBasicBlock &MBB, 157 void insertFullSpeculationBarrier(MachineBasicBlock &MBB, 161 bool slhLoads(MachineBasicBlock &MBB); 162 bool makeGPRSpeculationSafe(MachineBasicBlock &MBB, 165 bool lowerSpeculationSafeValuePseudos(MachineBasicBlock &MBB, 167 bool expandSpeculationSafeValue(MachineBasicBlock &MBB, 170 bool insertCSDB(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, [all …]
|
| H A D | AArch64ExpandPseudoInsts.cpp | 60 bool expandMBB(MachineBasicBlock &MBB); 61 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 63 bool expandMultiVecPseudo(MachineBasicBlock &MBB, 68 bool expandFormTuplePseudo(MachineBasicBlock &MBB, 72 bool expandMOVImm(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 75 bool expand_DestructiveOp(MachineInstr &MI, MachineBasicBlock &MBB, 77 bool expandCMP_SWAP(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 81 bool expandCMP_SWAP_128(MachineBasicBlock &MBB, 84 bool expandSetTagLoop(MachineBasicBlock &MBB, 87 bool expandSVESpillFill(MachineBasicBlock &MBB, [all …]
|
| H A D | AArch64PointerAuth.cpp | 61 MachineBasicBlock &MBB, in emitPACSymOffsetIntoX16() argument 64 BuildMI(MBB, I, DL, TII.get(AArch64::ADRP), AArch64::X16) in emitPACSymOffsetIntoX16() 66 BuildMI(MBB, I, DL, TII.get(AArch64::ADDXri), AArch64::X16) in emitPACSymOffsetIntoX16() 76 static void BuildPACM(const AArch64Subtarget &Subtarget, MachineBasicBlock &MBB, in BuildPACM() argument 80 auto &MFnI = *MBB.getParent()->getInfo<AArch64FunctionInfo>(); in BuildPACM() 85 emitPACSymOffsetIntoX16(*TII, MBB, MBBI, DL, PACSym); in BuildPACM() 91 BuildMI(MBB, MBBI, DL, TII->get(AArch64::PACM)).setMIFlag(Flags); in BuildPACM() 94 static void emitPACCFI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in emitPACCFI() argument 99 auto &MF = *MBB.getParent(); in emitPACCFI() 102 CFIInstBuilder CFIBuilder(MBB, MBBI, Flags); in emitPACCFI() [all …]
|
| H A D | AArch64BranchTargets.cpp | 50 void addBTI(MachineBasicBlock &MBB, bool CouldCall, bool CouldJump, 88 for (MachineBasicBlock &MBB : MF) { in runOnMachineFunction() 103 if (&MBB == &*MF.begin() && in runOnMachineFunction() 110 if (MBB.isMachineBlockAddressTaken() || MBB.isIRBlockAddressTaken() || in runOnMachineFunction() 111 JumpTableTargets.count(&MBB)) in runOnMachineFunction() 114 if (MBB.isEHPad()) { in runOnMachineFunction() 115 if (HasWinCFI && (MBB.isEHFuncletEntry() || MBB.isCleanupFuncletEntry())) in runOnMachineFunction() 121 addBTI(MBB, CouldCall, CouldJump, HasWinCFI); in runOnMachineFunction() 129 void AArch64BranchTargets::addBTI(MachineBasicBlock &MBB, bool CouldCall, in addBTI() argument 132 << (CouldCall ? "c" : "") << " to " << MBB.getName() in addBTI() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | BranchFolding.cpp | 181 void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) { in RemoveDeadBlock() argument 182 assert(MBB->pred_empty() && "MBB must be dead!"); in RemoveDeadBlock() 183 LLVM_DEBUG(dbgs() << "\nRemoving MBB: " << *MBB); in RemoveDeadBlock() 185 MachineFunction *MF = MBB->getParent(); in RemoveDeadBlock() 187 while (!MBB->succ_empty()) in RemoveDeadBlock() 188 MBB->removeSuccessor(MBB->succ_end()-1); in RemoveDeadBlock() 191 TriedMerging.erase(MBB); in RemoveDeadBlock() 194 for (const MachineInstr &MI : *MBB) in RemoveDeadBlock() 199 MF->erase(MBB); in RemoveDeadBlock() 200 EHScopeMembership.erase(MBB); in RemoveDeadBlock() [all …]
|
| H A D | BranchRelaxation.cpp | 69 unsigned postOffset(const MachineBasicBlock &MBB) const { in postOffset() 71 const Align Alignment = MBB.getAlignment(); in postOffset() 72 const Align ParentAlign = MBB.getParent()->getAlignment(); in postOffset() 114 uint64_t computeBlockSize(const MachineBasicBlock &MBB) const; 149 for (MachineBasicBlock &MBB : *MF) { in INITIALIZE_PASS() 150 const unsigned Num = MBB.getNumber(); in INITIALIZE_PASS() 151 assert(!Num || BlockInfo[PrevNum].postOffset(MBB) <= BlockInfo[Num].Offset); in INITIALIZE_PASS() 152 assert(BlockInfo[Num].Size == computeBlockSize(MBB)); in INITIALIZE_PASS() 156 for (MachineBasicBlock &MBB : *MF) { in INITIALIZE_PASS() 157 for (MachineBasicBlock::iterator J = MBB.getFirstTerminator(); in INITIALIZE_PASS() [all …]
|
| H A D | BasicBlockSections.cpp | 151 for (auto &MBB : MF) { in INITIALIZE_PASS_DEPENDENCY() local 152 auto NextMBBI = std::next(MBB.getIterator()); in INITIALIZE_PASS_DEPENDENCY() 153 auto *FTMBB = PreLayoutFallThroughs[MBB.getNumber()]; in INITIALIZE_PASS_DEPENDENCY() 160 if (FTMBB && (MBB.isEndSection() || &*NextMBBI != FTMBB)) in INITIALIZE_PASS_DEPENDENCY() 161 TII->insertUnconditionalBranch(MBB, FTMBB, MBB.findBranchDebugLoc()); in INITIALIZE_PASS_DEPENDENCY() 165 if (MBB.isEndSection()) in INITIALIZE_PASS_DEPENDENCY() 172 if (TII->analyzeBranch(MBB, TBB, FBB, Cond)) in INITIALIZE_PASS_DEPENDENCY() 174 MBB.updateTerminator(FTMBB); in INITIALIZE_PASS_DEPENDENCY() 197 for (auto &MBB : MF) { in assignSections() local 208 MBB.setSectionID(MBB.getNumber()); in assignSections() [all …]
|
| H A D | GCEmptyBasicBlocks.cpp | 52 for (MachineFunction::iterator MBB = MF.begin(), in runOnMachineFunction() local 55 MBB != LastMBB; MBB = NextMBB) { in runOnMachineFunction() 56 NextMBB = std::next(MBB); in runOnMachineFunction() 60 if (MBB->isEHPad() || MBB->hasAddressTaken()) in runOnMachineFunction() 63 bool HasAnyRealCode = llvm::any_of(*MBB, [](const MachineInstr &MI) { in runOnMachineFunction() 70 LLVM_DEBUG(dbgs() << "Removing basic block " << MBB->getName() in runOnMachineFunction() 72 << *MBB << "\n"); in runOnMachineFunction() 73 SmallVector<MachineBasicBlock *, 8> Preds(MBB->predecessors()); in runOnMachineFunction() 76 Pred->ReplaceUsesOfBlockWith(&*MBB, &*NextMBB); in runOnMachineFunction() 79 JTI->ReplaceMBBInJumpTables(&*MBB, &*NextMBB); in runOnMachineFunction() [all …]
|
| H A D | MIRCanonicalizerPass.cpp | 88 MachineBasicBlock *MBB, in rescheduleLexographically() argument 118 MBB->splice(getPos(), MBB, II.second); in rescheduleLexographically() 125 MachineBasicBlock *MBB) { in rescheduleCanonically() argument 143 for (auto &MI : *MBB) { in rescheduleCanonically() 209 MachineRegisterInfo *MRI = &MBB->getParent()->getRegInfo(); in rescheduleCanonically() 229 const auto BBE = MBB->instr_end(); in rescheduleCanonically() 233 for (auto BBI = MBB->instr_begin(); BBI != BBE; ++BBI) { in rescheduleCanonically() 261 MBB->splice(UseI, MBB, DefI); in rescheduleCanonically() 267 auto UseI = llvm::find_if(MBB->instrs(), [&](MachineInstr &MI) -> bool { in rescheduleCanonically() 271 if (UseI == MBB->instr_end()) in rescheduleCanonically() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVExpandPseudoInsts.cpp | 44 bool expandMBB(MachineBasicBlock &MBB); 45 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 47 bool expandCCOp(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 49 bool expandVMSET_VMCLR(MachineBasicBlock &MBB, 51 bool expandMV_FPR16INX(MachineBasicBlock &MBB, 53 bool expandMV_FPR32INX(MachineBasicBlock &MBB, 55 bool expandRV32ZdinxStore(MachineBasicBlock &MBB, 57 bool expandRV32ZdinxLoad(MachineBasicBlock &MBB, 59 bool expandPseudoReadVLENBViaVSETVLIX0(MachineBasicBlock &MBB, 64 for (auto &MBB : MF) in getInstSizeInBytes() local [all …]
|
| H A D | RISCVInsertWriteVXRM.cpp | 217 bool computeVXRMChanges(const MachineBasicBlock &MBB); 218 void computeAvailable(const MachineBasicBlock &MBB); 219 void computeAnticipated(const MachineFunction &MF, const MachineBasicBlock &MBB); 220 void emitWriteVXRM(MachineBasicBlock &MBB); 230 bool RISCVInsertWriteVXRM::computeVXRMChanges(const MachineBasicBlock &MBB) { in INITIALIZE_PASS() 231 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in INITIALIZE_PASS() 234 for (const MachineInstr &MI : MBB) { in INITIALIZE_PASS() 259 void RISCVInsertWriteVXRM::computeAvailable(const MachineBasicBlock &MBB) { in computeAvailable() argument 260 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeAvailable() 265 if (MBB.pred_empty()) { in computeAvailable() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86PreTileConfig.cpp | 58 MachineBasicBlock *MBB = nullptr; member 62 MIRef(MachineBasicBlock *MBB) : MBB(MBB) { in MIRef() 63 for (auto I = MBB->begin(), E = MBB->end(); I != E && I->isPHI(); in MIRef() 68 : MI(MI), MBB(MI->getParent()), in MIRef() 69 Pos(std::distance(MBB->instr_begin(), ++MI->getIterator())) {} in MIRef() 70 MIRef(MachineInstr *MI, MachineBasicBlock *MBB) in MIRef() 71 : MI(MI), MBB(MBB), in MIRef() 72 Pos(std::distance(MBB->instr_begin(), ++MI->getIterator())) {} in MIRef() 73 MIRef(MachineInstr *MI, MachineBasicBlock *MBB, size_t Pos) in MIRef() 74 : MI(MI), MBB(MBB), Pos(Pos) {} in MIRef() [all …]
|
| H A D | X86IndirectBranchTracking.cpp | 62 bool addENDBR(MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const; 74 MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const { in addENDBR() argument 81 if (I == MBB.end() || I->getOpcode() != EndbrOpcode) { in addENDBR() 82 BuildMI(MBB, I, MBB.findDebugLoc(I), TII->get(EndbrOpcode)); in addENDBR() 143 auto MBB = MF.begin(); in runOnMachineFunction() local 144 Changed |= addENDBR(*MBB, MBB->begin()); in runOnMachineFunction() 147 for (auto &MBB : MF) { in runOnMachineFunction() local 150 if (MBB.isMachineBlockAddressTaken() || MBB.isIRBlockAddressTaken()) in runOnMachineFunction() 151 Changed |= addENDBR(MBB, MBB.begin()); in runOnMachineFunction() 153 for (MachineBasicBlock::iterator I = MBB.begin(); I != MBB.end(); ++I) { in runOnMachineFunction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRExpandPseudoInsts.cpp | 50 bool expandMBB(Block &MBB); 51 bool expandMI(Block &MBB, BlockIt MBBI); 52 template <unsigned OP> bool expand(Block &MBB, BlockIt MBBI); 54 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode) { in buildMI() argument 55 return BuildMI(MBB, MBBI, MBBI->getDebugLoc(), TII->get(Opcode)); in buildMI() 58 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode, in buildMI() argument 60 return BuildMI(MBB, MBBI, MBBI->getDebugLoc(), TII->get(Opcode), DstReg); in buildMI() 63 MachineRegisterInfo &getRegInfo(Block &MBB) { in getRegInfo() argument 64 return MBB.getParent()->getRegInfo(); in getRegInfo() 67 bool expandArith(unsigned OpLo, unsigned OpHi, Block &MBB, BlockIt MBBI); [all …]
|
| H A D | AVRFrameLowering.cpp | 50 MachineBasicBlock &MBB) const { in emitPrologue() 51 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() 52 DebugLoc DL = (MBBI != MBB.end()) ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue() 61 BuildMI(MBB, MBBI, DL, TII.get(AVR::BSETs)) in emitPrologue() 69 BuildMI(MBB, MBBI, DL, TII.get(AVR::PUSHRr)) in emitPrologue() 73 BuildMI(MBB, MBBI, DL, TII.get(AVR::INRdA), STI.getTmpRegister()) in emitPrologue() 76 BuildMI(MBB, MBBI, DL, TII.get(AVR::PUSHRr)) in emitPrologue() 80 BuildMI(MBB, MBBI, DL, TII.get(AVR::PUSHRr)) in emitPrologue() 83 BuildMI(MBB, MBBI, DL, TII.get(AVR::EORRdRr)) in emitPrologue() 101 (MBBI != MBB.end()) && MBBI->getFlag(MachineInstr::FrameSetup) && in emitPrologue() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsSEFrameLowering.cpp | 73 bool expandInstr(MachineBasicBlock &MBB, Iter I); 74 void expandLoadCCond(MachineBasicBlock &MBB, Iter I); 75 void expandStoreCCond(MachineBasicBlock &MBB, Iter I); 76 void expandLoadACC(MachineBasicBlock &MBB, Iter I, unsigned RegSize); 77 void expandStoreACC(MachineBasicBlock &MBB, Iter I, unsigned MFHiOpc, 79 bool expandCopy(MachineBasicBlock &MBB, Iter I); 80 bool expandCopyACC(MachineBasicBlock &MBB, Iter I, unsigned MFHiOpc, 82 bool expandBuildPairF64(MachineBasicBlock &MBB, 84 bool expandExtractElementF64(MachineBasicBlock &MBB, 105 for (auto &MBB : MF) { in expand() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| H A D | MSP430FrameLowering.cpp | 43 void MSP430FrameLowering::BuildCFI(MachineBasicBlock &MBB, in BuildCFI() argument 48 MachineFunction &MF = *MBB.getParent(); in BuildCFI() 50 BuildMI(MBB, MBBI, DL, TII.get(TargetOpcode::CFI_INSTRUCTION)) in BuildCFI() 56 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in emitCalleeSavedFrameMoves() argument 58 MachineFunction &MF = *MBB.getParent(); in emitCalleeSavedFrameMoves() 72 BuildCFI(MBB, MBBI, DL, in emitCalleeSavedFrameMoves() 75 BuildCFI(MBB, MBBI, DL, in emitCalleeSavedFrameMoves() 82 MachineBasicBlock &MBB) const { in emitPrologue() 83 assert(&MF.front() == &MBB && "Shrink-wrapping not yet supported"); in emitPrologue() 89 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZPostRewrite.cpp | 42 void selectLOCRMux(MachineBasicBlock &MBB, 47 void selectSELRMux(MachineBasicBlock &MBB, 52 bool expandCondMove(MachineBasicBlock &MBB, 55 bool selectMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 57 bool selectMBB(MachineBasicBlock &MBB); 76 void SystemZPostRewrite::selectLOCRMux(MachineBasicBlock &MBB, in selectLOCRMux() argument 91 expandCondMove(MBB, MBBI, NextMBBI); in selectLOCRMux() 97 void SystemZPostRewrite::selectSELRMux(MachineBasicBlock &MBB, in selectSELRMux() argument 122 MBB.getParent()->substituteDebugValuesForInst(*MBBI, *CopyInst, 1); in selectSELRMux() 149 MBB.getParent()->substituteDebugValuesForInst(*MBBI, *CopyInst, 1); in selectSELRMux() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kFrameLowering.cpp | 139 static unsigned findDeadCallerSavedReg(MachineBasicBlock &MBB, in findDeadCallerSavedReg() argument 142 const MachineFunction *MF = MBB.getParent(); in findDeadCallerSavedReg() 148 if (MBBI == MBB.end()) in findDeadCallerSavedReg() 178 static bool isRegLiveIn(MachineBasicBlock &MBB, unsigned Reg) { in isRegLiveIn() argument 179 return llvm::any_of(MBB.liveins(), in isRegLiveIn() 199 void M68kFrameLowering::BuildStackAlignAND(MachineBasicBlock &MBB, in BuildStackAlignAND() argument 212 BuildMI(MBB, MBBI, DL, TII.get(MovOp), Tmp) in BuildStackAlignAND() 216 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(AndOp), Tmp) in BuildStackAlignAND() 224 BuildMI(MBB, MBBI, DL, TII.get(MovOp), Reg) in BuildStackAlignAND() 230 MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr() argument [all …]
|