/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | ShrinkWrapping.cpp | 126 bool PEI::isReturnBlock(MachineBasicBlock* MBB) { in isReturnBlock() argument 127 return (MBB && !MBB->empty() && MBB->back().getDesc().isReturn()); in isReturnBlock() 200 bool PEI::calcAnticInOut(MachineBasicBlock* MBB) { in calcAnticInOut() argument 205 for (MachineBasicBlock::succ_iterator SI = MBB->succ_begin(), in calcAnticInOut() 206 SE = MBB->succ_end(); SI != SE; ++SI) { in calcAnticInOut() 208 if (SUCC != MBB) in calcAnticInOut() 214 CSRegSet prevAnticOut = AnticOut[MBB]; in calcAnticInOut() 217 AnticOut[MBB] = AnticIn[SUCC]; in calcAnticInOut() 220 AnticOut[MBB] &= AnticIn[SUCC]; in calcAnticInOut() 222 if (prevAnticOut != AnticOut[MBB]) in calcAnticInOut() [all …]
|
D | BranchFolding.cpp | 102 void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) { in RemoveDeadBlock() argument 103 assert(MBB->pred_empty() && "MBB must be dead!"); in RemoveDeadBlock() 104 DEBUG(dbgs() << "\nRemoving MBB: " << *MBB); in RemoveDeadBlock() 106 MachineFunction *MF = MBB->getParent(); in RemoveDeadBlock() 108 while (!MBB->succ_empty()) in RemoveDeadBlock() 109 MBB->removeSuccessor(MBB->succ_end()-1); in RemoveDeadBlock() 112 TriedMerging.erase(MBB); in RemoveDeadBlock() 115 MF->erase(MBB); in RemoveDeadBlock() 127 bool BranchFolder::OptimizeImpDefsBlock(MachineBasicBlock *MBB) { in OptimizeImpDefsBlock() argument 129 MachineBasicBlock::iterator I = MBB->begin(); in OptimizeImpDefsBlock() [all …]
|
D | MachineVerifier.cpp | 185 void visitMachineBasicBlockBefore(const MachineBasicBlock *MBB); 189 void visitMachineBasicBlockAfter(const MachineBasicBlock *MBB); 193 void report(const char *msg, const MachineBasicBlock *MBB); 197 void markReachable(const MachineBasicBlock *MBB); 199 void checkPHIOps(const MachineBasicBlock *MBB); 326 void MachineVerifier::report(const char *msg, const MachineBasicBlock *MBB) { in report() argument 327 assert(MBB); in report() 328 report(msg, MBB->getParent()); in report() 329 *OS << "- basic block: " << MBB->getName() in report() 330 << " " << (void*)MBB in report() [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyCFGStackify.cpp | 77 for (MachineBasicBlock *MBB : Loop->blocks()) in LoopBottom() 78 if (MBB->getNumber() > Bottom->getNumber()) in LoopBottom() 79 Bottom = MBB; in LoopBottom() 83 static void MaybeUpdateTerminator(MachineBasicBlock *MBB) { in MaybeUpdateTerminator() argument 88 for (const MachineInstr &Term : MBB->terminators()) { in MaybeUpdateTerminator() 97 MBB->updateTerminator(); in MaybeUpdateTerminator() 140 for (MachineBasicBlock &MBB : MF) { in SortBlocks() 141 unsigned N = MBB.pred_size(); in SortBlocks() 142 if (MachineLoop *L = MLI.getLoopFor(&MBB)) in SortBlocks() 143 if (L->getHeader() == &MBB) in SortBlocks() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 211 int getSCCNum(MachineBasicBlock *MBB) const; 213 bool hasBackEdge(MachineBasicBlock *MBB) const; 214 bool isRetiredBlock(MachineBasicBlock *MBB) const; 215 bool isActiveLoophead(MachineBasicBlock *MBB) const; 220 bool needMigrateBlock(MachineBasicBlock *MBB) const; 228 void insertInstrEnd(MachineBasicBlock *MBB, int NewOpcode, 230 MachineInstr *insertInstrBefore(MachineBasicBlock *MBB, int NewOpcode, 235 void insertCondBranchBefore(MachineBasicBlock *MBB, 243 static void setTrueBranch(MachineInstr *MI, MachineBasicBlock *MBB); 244 static MachineBasicBlock *getFalseBranch(MachineBasicBlock *MBB, [all …]
|
D | SIWholeQuadMode.cpp | 84 MachineBasicBlock *MBB = nullptr; member 88 WorkItem(MachineBasicBlock *MBB) : MBB(MBB) {} in WorkItem() 105 void propagateBlock(MachineBasicBlock &MBB, std::vector<WorkItem> &Worklist); 108 void toExact(MachineBasicBlock &MBB, MachineBasicBlock::iterator Before, 110 void toWQM(MachineBasicBlock &MBB, MachineBasicBlock::iterator Before, 112 void processBlock(MachineBasicBlock &MBB, unsigned LiveMaskReg, bool isEntry); 155 MachineBasicBlock &MBB = *BI; in scanInstructions() local 157 for (auto II = MBB.begin(), IE = MBB.end(); II != IE; ++II) { in scanInstructions() 200 if (WQMOutputs && MBB.succ_empty()) { in scanInstructions() 202 Blocks[&MBB].OutNeeds = StateExact; in scanInstructions() [all …]
|
D | SILowerControlFlow.cpp | 92 MachineBasicBlock *insertSkipBlock(MachineBasicBlock &MBB, 96 splitBlock(MachineBasicBlock &MBB, MachineBasicBlock::iterator I); 167 MachineBasicBlock &MBB = *MBBI; in shouldSkip() local 169 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); in shouldSkip() 212 MachineBasicBlock &MBB = *MI.getParent(); in skipIfDead() local 213 MachineFunction *MF = MBB.getParent(); in skipIfDead() 216 !shouldSkip(&MBB, &MBB.getParent()->back())) in skipIfDead() 219 MachineBasicBlock *SkipBB = insertSkipBlock(MBB, MI.getIterator()); in skipIfDead() 225 BuildMI(&MBB, DL, TII->get(AMDGPU::S_CBRANCH_EXECNZ)) in skipIfDead() 249 MachineBasicBlock &MBB = *MI.getParent(); in If() local [all …]
|
/external/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 125 void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) { in RemoveDeadBlock() argument 126 assert(MBB->pred_empty() && "MBB must be dead!"); in RemoveDeadBlock() 127 DEBUG(dbgs() << "\nRemoving MBB: " << *MBB); in RemoveDeadBlock() 129 MachineFunction *MF = MBB->getParent(); in RemoveDeadBlock() 131 while (!MBB->succ_empty()) in RemoveDeadBlock() 132 MBB->removeSuccessor(MBB->succ_end()-1); in RemoveDeadBlock() 135 TriedMerging.erase(MBB); in RemoveDeadBlock() 138 MF->erase(MBB); in RemoveDeadBlock() 139 FuncletMembership.erase(MBB); in RemoveDeadBlock() 141 MLI->removeBlock(MBB); in RemoveDeadBlock() [all …]
|
D | MachineVerifier.cpp | 198 void visitMachineBasicBlockBefore(const MachineBasicBlock *MBB); 204 void visitMachineBasicBlockAfter(const MachineBasicBlock *MBB); 211 void report(const char *msg, const MachineBasicBlock *MBB); 236 void markReachable(const MachineBasicBlock *MBB); 238 void checkPHIOps(const MachineBasicBlock *MBB); 438 void MachineVerifier::report(const char *msg, const MachineBasicBlock *MBB) { in report() argument 439 assert(MBB); in report() 440 report(msg, MBB->getParent()); in report() 441 errs() << "- basic block: BB#" << MBB->getNumber() in report() 442 << ' ' << MBB->getName() in report() [all …]
|
D | PHIElimination.cpp | 72 bool EliminatePHINodes(MachineFunction &MF, MachineBasicBlock &MBB); 73 void LowerPHINode(MachineBasicBlock &MBB, 85 bool SplitPHIEdges(MachineFunction &MF, MachineBasicBlock &MBB, 90 bool isLiveIn(unsigned Reg, const MachineBasicBlock *MBB); 91 bool isLiveOutPastPHIs(unsigned Reg, const MachineBasicBlock *MBB); 146 for (auto &MBB : MF) in runOnMachineFunction() local 147 Changed |= SplitPHIEdges(MF, MBB, MLI); in runOnMachineFunction() 154 for (auto &MBB : MF) in runOnMachineFunction() local 155 Changed |= EliminatePHINodes(MF, MBB); in runOnMachineFunction() 185 MachineBasicBlock &MBB) { in EliminatePHINodes() argument [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEFrameLowering.cpp | 57 bool expandInstr(MachineBasicBlock &MBB, Iter I); 58 void expandLoadCCond(MachineBasicBlock &MBB, Iter I); 59 void expandStoreCCond(MachineBasicBlock &MBB, Iter I); 60 void expandLoadACC(MachineBasicBlock &MBB, Iter I, unsigned RegSize); 61 void expandStoreACC(MachineBasicBlock &MBB, Iter I, unsigned MFHiOpc, 63 bool expandCopy(MachineBasicBlock &MBB, Iter I); 64 bool expandCopyACC(MachineBasicBlock &MBB, Iter I, unsigned MFHiOpc, 66 bool expandBuildPairF64(MachineBasicBlock &MBB, 68 bool expandExtractElementF64(MachineBasicBlock &MBB, 88 for (auto &MBB : MF) { in expand() local [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86PadShortFunction.cpp | 68 void findReturns(MachineBasicBlock *MBB, 71 bool cyclesUntilReturn(MachineBasicBlock *MBB, 74 void addPadding(MachineBasicBlock *MBB, 121 MachineBasicBlock *MBB; in runOnMachineFunction() local 127 MBB = I->first; in runOnMachineFunction() 133 assert(MBB->size() > 0 && in runOnMachineFunction() 135 MachineBasicBlock::iterator ReturnLoc = --MBB->end(); in runOnMachineFunction() 142 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction() 153 void PadShortFunc::findReturns(MachineBasicBlock *MBB, unsigned int Cycles) { in findReturns() argument 155 bool hasReturn = cyclesUntilReturn(MBB, Cycles); in findReturns() [all …]
|
D | X86VZeroUpper.cpp | 49 void processBasicBlock(MachineBasicBlock &MBB); 51 MachineBasicBlock &MBB); 52 void addDirtySuccessor(MachineBasicBlock &MBB); 160 MachineBasicBlock &MBB) { in insertVZeroUpper() argument 162 BuildMI(MBB, I, dl, TII->get(X86::VZEROUPPER)); in insertVZeroUpper() 168 void VZeroUpperInserter::addDirtySuccessor(MachineBasicBlock &MBB) { in addDirtySuccessor() argument 169 if (!BlockStates[MBB.getNumber()].AddedToDirtySuccessors) { in addDirtySuccessor() 170 DirtySuccessors.push_back(&MBB); in addDirtySuccessor() 171 BlockStates[MBB.getNumber()].AddedToDirtySuccessors = true; in addDirtySuccessor() 177 void VZeroUpperInserter::processBasicBlock(MachineBasicBlock &MBB) { in processBasicBlock() argument [all …]
|
D | X86ExpandPseudo.cpp | 62 bool ExpandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI); 63 bool ExpandMBB(MachineBasicBlock &MBB); 71 bool X86ExpandPseudo::ExpandMI(MachineBasicBlock &MBB, in ExpandMI() argument 102 Offset += X86FL->mergeSPUpdates(MBB, MBBI, true); in ExpandMI() 103 X86FL->emitSPUpdate(MBB, MBBI, Offset, /*InEpilogue=*/true); in ExpandMI() 112 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, DL, TII->get(Op)); in ExpandMI() 125 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, DL, TII->get(Op)); in ExpandMI() 129 BuildMI(MBB, MBBI, DL, in ExpandMI() 133 BuildMI(MBB, MBBI, DL, TII->get(X86::TAILJMPr)) in ExpandMI() 141 MBB.erase(MBBI); in ExpandMI() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | Thumb1FrameLowering.cpp | 41 static void emitSPUpdate(MachineBasicBlock &MBB, in emitSPUpdate() argument 46 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, in emitSPUpdate() 52 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr() argument 75 emitSPUpdate(MBB, I, TII, dl, *RegInfo, -Amount); in eliminateCallFramePseudoInstr() 78 emitSPUpdate(MBB, I, TII, dl, *RegInfo, Amount); in eliminateCallFramePseudoInstr() 82 return MBB.erase(I); in eliminateCallFramePseudoInstr() 86 MachineBasicBlock &MBB) const { in emitPrologue() 87 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() 121 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -ArgRegsSaveSize, in emitPrologue() 126 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/ |
D | SparcInstrInfo.cpp | 116 bool SparcInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, in AnalyzeBranch() argument 123 MachineBasicBlock::iterator I = MBB.end(); in AnalyzeBranch() 124 MachineBasicBlock::iterator UnCondBrIter = MBB.end(); in AnalyzeBranch() 125 while (I != MBB.begin()) { in AnalyzeBranch() 148 while (llvm::next(I) != MBB.end()) in AnalyzeBranch() 154 if (MBB.isLayoutSuccessor(I->getOperand(0).getMBB())) { in AnalyzeBranch() 157 I = MBB.end(); in AnalyzeBranch() 158 UnCondBrIter = MBB.end(); in AnalyzeBranch() 174 if (AllowModify && UnCondBrIter != MBB.end() && in AnalyzeBranch() 175 MBB.isLayoutSuccessor(TargetBB)) { in AnalyzeBranch() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
D | SPUInstrInfo.cpp | 124 void SPUInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() argument 134 BuildMI(MBB, I, DL, get(SPU::LRr128), DestReg) in copyPhysReg() 139 SPUInstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB, in storeRegToStackSlot() argument 168 if (MI != MBB.end()) DL = MI->getDebugLoc(); in storeRegToStackSlot() 169 addFrameReference(BuildMI(MBB, MI, DL, get(opc)) in storeRegToStackSlot() 174 SPUInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot() argument 203 if (MI != MBB.end()) DL = MI->getDebugLoc(); in loadRegFromStackSlot() 204 addFrameReference(BuildMI(MBB, MI, DL, get(opc), DestReg), FrameIdx); in loadRegFromStackSlot() 213 SPUInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, in AnalyzeBranch() argument 218 MachineBasicBlock::iterator I = MBB.end(); in AnalyzeBranch() [all …]
|
/external/llvm/lib/Target/BPF/ |
D | BPFInstrInfo.cpp | 34 void BPFInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() argument 39 BuildMI(MBB, I, DL, get(BPF::MOV_rr), DestReg) in copyPhysReg() 45 void BPFInstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB, in storeRegToStackSlot() argument 51 if (I != MBB.end()) in storeRegToStackSlot() 55 BuildMI(MBB, I, DL, get(BPF::STD)) in storeRegToStackSlot() 63 void BPFInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot() argument 69 if (I != MBB.end()) in loadRegFromStackSlot() 73 BuildMI(MBB, I, DL, get(BPF::LDD), DestReg).addFrameIndex(FI).addImm(0); in loadRegFromStackSlot() 78 bool BPFInstrInfo::analyzeBranch(MachineBasicBlock &MBB, in analyzeBranch() argument 85 MachineBasicBlock::iterator I = MBB.end(); in analyzeBranch() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64BranchRelaxation.cpp | 92 void adjustBlockOffsets(MachineBasicBlock &MBB); 95 void computeBlockSize(const MachineBasicBlock &MBB); 122 for (MachineBasicBlock &MBB : *MF) { in verify() 123 unsigned Align = MBB.getAlignment(); in verify() 124 unsigned Num = MBB.getNumber(); in verify() 134 for (auto &MBB : *MF) { in dumpBBs() 135 const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()]; in dumpBBs() 136 dbgs() << format("BB#%u\toffset=%08x\t", MBB.getNumber(), BBI.Offset) in dumpBBs() 143 static bool BBHasFallthrough(MachineBasicBlock *MBB) { in BBHasFallthrough() argument 145 MachineFunction::iterator MBBI(MBB); in BBHasFallthrough() [all …]
|
/external/llvm/lib/Target/Sparc/ |
D | LeonPasses.cpp | 85 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction() local 86 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) { in runOnMachineFunction() 91 BuildMI(MBB, NMBBI, DL, TII.get(SP::NOP)); in runOnMachineFunction() 99 BuildMI(MBB, NMBBI, DL, TII.get(SP::NOP)); in runOnMachineFunction() 135 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction() local 136 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) { in runOnMachineFunction() 194 BuildMI(MBB, MBBI, DL, TII.get(SP::FSTOD)) in runOnMachineFunction() 199 BuildMI(MBB, MBBI, DL, TII.get(SP::FSTOD)) in runOnMachineFunction() 204 BuildMI(MBB, MBBI, DL, TII.get(SP::FMULD)) in runOnMachineFunction() 248 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction() local [all …]
|
/external/llvm/lib/Target/XCore/ |
D | XCoreFrameLowering.cpp | 61 static void EmitDefCfaRegister(MachineBasicBlock &MBB, in EmitDefCfaRegister() argument 67 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in EmitDefCfaRegister() 71 static void EmitDefCfaOffset(MachineBasicBlock &MBB, in EmitDefCfaOffset() argument 77 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in EmitDefCfaOffset() 81 static void EmitCfiOffset(MachineBasicBlock &MBB, in EmitCfiOffset() argument 87 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in EmitCfiOffset() 97 static void IfNeededExtSP(MachineBasicBlock &MBB, in IfNeededExtSP() argument 107 BuildMI(MBB, MBBI, dl, TII.get(Opcode)).addImm(OpImm); in IfNeededExtSP() 110 EmitDefCfaOffset(MBB, MBBI, dl, TII, MMI, Adjusted*4); in IfNeededExtSP() 121 static void IfNeededLDAWSP(MachineBasicBlock &MBB, in IfNeededLDAWSP() argument [all …]
|
D | XCoreInstrInfo.cpp | 190 bool XCoreInstrInfo::analyzeBranch(MachineBasicBlock &MBB, in analyzeBranch() argument 196 MachineBasicBlock::iterator I = MBB.getLastNonDebugInstr(); in analyzeBranch() 197 if (I == MBB.end()) in analyzeBranch() 207 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) { in analyzeBranch() 230 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(*--I)) in analyzeBranch() 272 unsigned XCoreInstrInfo::InsertBranch(MachineBasicBlock &MBB, in InsertBranch() argument 285 BuildMI(&MBB, DL, get(XCore::BRFU_lu6)).addMBB(TBB); in InsertBranch() 289 BuildMI(&MBB, DL, get(Opc)).addReg(Cond[1].getReg()) in InsertBranch() 298 BuildMI(&MBB, DL, get(Opc)).addReg(Cond[1].getReg()) in InsertBranch() 300 BuildMI(&MBB, DL, get(XCore::BRFU_lu6)).addMBB(FBB); in InsertBranch() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | Thumb1FrameLowering.cpp | 38 emitSPUpdate(MachineBasicBlock &MBB, in emitSPUpdate() argument 43 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, in emitSPUpdate() 48 MachineBasicBlock &MBB = MF.front(); in emitPrologue() local 49 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() 60 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue() 74 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -VARegSaveSize, in emitPrologue() 79 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -NumBytes, in emitPrologue() 118 if (MBBI != MBB.end() && MBBI->getOpcode() == ARM::tPUSH) { in emitPrologue() 120 if (MBBI != MBB.end()) in emitPrologue() 136 AddDefaultPred(BuildMI(MBB, MBBI, dl, TII.get(ARM::tADDrSPi), FramePtr) in emitPrologue() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCBranchSelector.cpp | 79 [TII](MachineBasicBlock &MBB, unsigned Offset) -> unsigned { in runOnMachineFunction() argument 80 unsigned Align = MBB.getAlignment(); in runOnMachineFunction() 85 unsigned ParentAlign = MBB.getParent()->getAlignment(); in runOnMachineFunction() 99 MachineBasicBlock *MBB = &*MFI; in runOnMachineFunction() local 103 if (MBB->getNumber() > 0) { in runOnMachineFunction() 104 unsigned AlignExtra = GetAlignmentAdjustment(*MBB, FuncSize); in runOnMachineFunction() 105 BlockSizes[MBB->getNumber()-1] += AlignExtra; in runOnMachineFunction() 110 for (MachineInstr &MI : *MBB) in runOnMachineFunction() 113 BlockSizes[MBB->getNumber()] = BlockSize; in runOnMachineFunction() 142 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction() local [all …]
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430FrameLowering.cpp | 42 MachineBasicBlock &MBB) const { in emitPrologue() 43 assert(&MF.front() == &MBB && "Shrink-wrapping not yet supported"); in emitPrologue() 49 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() 50 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue() 67 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r)) in emitPrologue() 71 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::FP) in emitPrologue() 83 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r)) in emitPrologue() 86 if (MBBI != MBB.end()) in emitPrologue() 99 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP) in emitPrologue() 108 MachineBasicBlock &MBB) const { in emitEpilogue() [all …]
|