Home
last modified time | relevance | path

Searched refs:MBBI (Results 1 – 25 of 117) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRExpandPseudoInsts.cpp61 bool expandMI(Block &MBB, BlockIt MBBI);
62 template <unsigned OP> bool expand(Block &MBB, BlockIt MBBI);
64 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode) { in buildMI() argument
65 return BuildMI(MBB, MBBI, MBBI->getDebugLoc(), TII->get(Opcode)); in buildMI()
68 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode, in buildMI() argument
70 return BuildMI(MBB, MBBI, MBBI->getDebugLoc(), TII->get(Opcode), DstReg); in buildMI()
75 bool expandArith(unsigned OpLo, unsigned OpHi, Block &MBB, BlockIt MBBI);
76 bool expandLogic(unsigned Op, Block &MBB, BlockIt MBBI);
77 bool expandLogicImm(unsigned Op, Block &MBB, BlockIt MBBI);
81 bool expandAtomic(Block &MBB, BlockIt MBBI, Func f);
[all …]
DAVRRelaxMemOperations.cpp48 template <unsigned OP> bool relax(Block &MBB, BlockIt MBBI);
51 bool runOnInstruction(Block &MBB, BlockIt MBBI);
53 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode) { in buildMI() argument
54 return BuildMI(MBB, MBBI, MBBI->getDebugLoc(), TII->get(Opcode)); in buildMI()
77 BlockIt MBBI = MBB.begin(), E = MBB.end(); in runOnBasicBlock() local
78 while (MBBI != E) { in runOnBasicBlock()
79 BlockIt NMBBI = std::next(MBBI); in runOnBasicBlock()
80 Modified |= runOnInstruction(MBB, MBBI); in runOnBasicBlock()
81 MBBI = NMBBI; in runOnBasicBlock()
88 bool AVRRelaxMem::relax<AVR::STDWPtrQRr>(Block &MBB, BlockIt MBBI) { in relax() argument
[all …]
DAVRFrameLowering.cpp55 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
57 DebugLoc DL = (MBBI != MBB.end()) ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue()
64 BuildMI(MBB, MBBI, DL, TII.get(AVR::BSETs)) in emitPrologue()
71 BuildMI(MBB, MBBI, DL, TII.get(AVR::PUSHWRr)) in emitPrologue()
80 BuildMI(MBB, MBBI, DL, TII.get(AVR::PUSHWRr)) in emitPrologue()
84 BuildMI(MBB, MBBI, DL, TII.get(AVR::INRdA), AVR::R0) in emitPrologue()
87 BuildMI(MBB, MBBI, DL, TII.get(AVR::PUSHRr)) in emitPrologue()
90 BuildMI(MBB, MBBI, DL, TII.get(AVR::EORRdRr)) in emitPrologue()
108 (MBBI != MBB.end()) && MBBI->getFlag(MachineInstr::FrameSetup) && in emitPrologue()
109 (MBBI->getOpcode() == AVR::PUSHRr || MBBI->getOpcode() == AVR::PUSHWRr)) { in emitPrologue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ExpandPseudo.cpp63 MachineBasicBlock::iterator MBBI);
65 bool ExpandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI);
76 MachineBasicBlock *MBB, MachineBasicBlock::iterator MBBI) { in INITIALIZE_PASS()
78 MachineInstr *JTInst = &*MBBI; in INITIALIZE_PASS()
92 BuildMI(*MBB, MBBI, DL, TII->get(X86::LEA64r), X86::R11) in INITIALIZE_PASS()
99 BuildMI(*MBB, MBBI, DL, TII->get(X86::CMP64rr)) in INITIALIZE_PASS()
113 BuildMI(*MBB, MBBI, DL, TII->get(X86::JCC_1)).addMBB(ThenMBB).addImm(CC); in INITIALIZE_PASS()
118 MBBI = MBB->end(); in INITIALIZE_PASS()
128 BuildMI(*MBB, MBBI, DL, TII->get(X86::TAILJMPd64)) in INITIALIZE_PASS()
163 MBBI = MBB->end(); in INITIALIZE_PASS()
[all …]
DX86FrameLowering.cpp146 MachineBasicBlock::iterator &MBBI, in findDeadCallerSavedReg() argument
155 if (MBBI == MBB.end()) in findDeadCallerSavedReg()
158 switch (MBBI->getOpcode()) { in findDeadCallerSavedReg()
175 for (unsigned i = 0, e = MBBI->getNumOperands(); i != e; ++i) { in findDeadCallerSavedReg()
176 MachineOperand &MO = MBBI->getOperand(i); in findDeadCallerSavedReg()
250 MachineBasicBlock::iterator &MBBI, in emitSPUpdate() argument
269 Reg = findDeadCallerSavedReg(MBB, MBBI, TRI, Is64Bit); in emitSPUpdate()
275 BuildMI(MBB, MBBI, DL, TII.get(MovRIOpc), Reg) in emitSPUpdate()
278 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(AddSubRROpc), StackPtr) in emitSPUpdate()
292 BuildMI(MBB, MBBI, DL, TII.get(X86::PUSH64r)) in emitSPUpdate()
[all …]
DX86FrameLowering.h54 MachineBasicBlock::iterator MBBI, const DebugLoc &DL,
62 MachineBasicBlock::iterator MBBI,
123 int mergeSPUpdates(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI,
128 void emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI,
162 void BuildCFI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
169 MachineBasicBlock::iterator MBBI,
185 MachineBasicBlock::iterator MBBI, const DebugLoc &DL,
190 MachineBasicBlock::iterator MBBI,
195 MachineBasicBlock::iterator MBBI,
200 MachineBasicBlock::iterator MBBI, const DebugLoc &DL,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZPostRewrite.cpp51 MachineBasicBlock::iterator MBBI,
56 MachineBasicBlock::iterator MBBI,
61 MachineBasicBlock::iterator MBBI,
63 bool selectMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
85 MachineBasicBlock::iterator MBBI, in selectLOCRMux() argument
89 Register DestReg = MBBI->getOperand(0).getReg(); in selectLOCRMux()
90 Register SrcReg = MBBI->getOperand(2).getReg(); in selectLOCRMux()
95 MBBI->setDesc(TII->get(LowOpcode)); in selectLOCRMux()
97 MBBI->setDesc(TII->get(HighOpcode)); in selectLOCRMux()
99 expandCondMove(MBB, MBBI, NextMBBI); in selectLOCRMux()
[all …]
DSystemZElimCompare.cpp220 MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch; in convertToBRCT() local
221 for (++MBBI; MBBI != MBBE; ++MBBI) in convertToBRCT()
222 if (getRegReferences(*MBBI, SrcReg)) in convertToBRCT()
264 MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch; in convertToLoadAndTrap() local
265 for (++MBBI; MBBI != MBBE; ++MBBI) in convertToLoadAndTrap()
266 if (getRegReferences(*MBBI, SrcReg)) in convertToLoadAndTrap()
483 MachineBasicBlock::iterator MBBI = MI, MBBE = MI.getParent()->end(); in adjustCCMasksForInstr() local
484 for (++MBBI; MBBI != MBBE; ++MBBI) in adjustCCMasksForInstr()
485 if (MBBI == Compare) { in adjustCCMasksForInstr()
492 MachineBasicBlock::iterator MBBI = MI, MBBE = Compare; in adjustCCMasksForInstr() local
[all …]
DSystemZFrameLowering.cpp239 MachineBasicBlock::iterator MBBI, in spillCalleeSavedRegisters() argument
258 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, DL, TII->get(SystemZ::STMG)); in spillCalleeSavedRegisters()
286 TII->storeRegToStackSlot(MBB, MBBI, Reg, true, CSI[I].getFrameIdx(), in spillCalleeSavedRegisters()
291 TII->storeRegToStackSlot(MBB, MBBI, Reg, true, CSI[I].getFrameIdx(), in spillCalleeSavedRegisters()
301 MachineBasicBlock::iterator MBBI, in restoreCalleeSavedRegisters() argument
311 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in restoreCalleeSavedRegisters()
317 TII->loadRegFromStackSlot(MBB, MBBI, Reg, CSI[I].getFrameIdx(), in restoreCalleeSavedRegisters()
320 TII->loadRegFromStackSlot(MBB, MBBI, Reg, CSI[I].getFrameIdx(), in restoreCalleeSavedRegisters()
335 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, DL, TII->get(SystemZ::LMG)); in restoreCalleeSavedRegisters()
392 MachineBasicBlock::iterator &MBBI, in emitIncrement() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DThumb1FrameLowering.cpp68 MachineBasicBlock::iterator &MBBI, in emitPrologueEpilogueSPUpdate() argument
84 BuildMI(MBB, MBBI, dl, TII.get(ARM::t2MOVi32imm), ScratchReg) in emitPrologueEpilogueSPUpdate()
87 MRI.emitLoadConstPool(MBB, MBBI, dl, ScratchReg, 0, NumBytes, ARMCC::AL, in emitPrologueEpilogueSPUpdate()
90 BuildMI(MBB, MBBI, dl, TII.get(ARM::tADDhirr), ARM::SP) in emitPrologueEpilogueSPUpdate()
97 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, in emitPrologueEpilogueSPUpdate()
103 MachineBasicBlock::iterator &MBBI, in emitCallSPUpdate() argument
107 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, in emitCallSPUpdate()
147 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
181 emitPrologueEpilogueSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -ArgRegsSaveSize, in emitPrologue()
186 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
[all …]
DARMLoadStoreOptimizer.cpp169 MachineBasicBlock::iterator MBBI, const DebugLoc &DL,
187 MachineBasicBlock::iterator &MBBI);
482 MachineBasicBlock::iterator MBBI, in UpdateBaseRegUses() argument
490 for (; MBBI != MBB.end(); ++MBBI) { in UpdateBaseRegUses()
492 unsigned Opc = MBBI->getOpcode(); in UpdateBaseRegUses()
494 if (MBBI->readsRegister(Base)) { in UpdateBaseRegUses()
507 MBBI->getOperand(MBBI->getDesc().getNumOperands() - 3); in UpdateBaseRegUses()
512 Register InstrSrcReg = getLoadStoreRegOp(*MBBI).getReg(); in UpdateBaseRegUses()
519 !definesCPSR(*MBBI)) { in UpdateBaseRegUses()
524 MBBI->getOperand(MBBI->getDesc().getNumOperands() - 3); in UpdateBaseRegUses()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/
DVEFrameLowering.cpp36 MachineBasicBlock::iterator MBBI, in emitPrologueInsns() argument
51 BuildMI(MBB, MBBI, dl, TII.get(VE::STSri)) in emitPrologueInsns()
55 BuildMI(MBB, MBBI, dl, TII.get(VE::STSri)) in emitPrologueInsns()
59 BuildMI(MBB, MBBI, dl, TII.get(VE::STSri)) in emitPrologueInsns()
63 BuildMI(MBB, MBBI, dl, TII.get(VE::STSri)) in emitPrologueInsns()
67 BuildMI(MBB, MBBI, dl, TII.get(VE::ORri), VE::SX9) in emitPrologueInsns()
74 MachineBasicBlock::iterator MBBI, in emitEpilogueInsns() argument
89 BuildMI(MBB, MBBI, dl, TII.get(VE::ORri), VE::SX11) in emitEpilogueInsns()
92 BuildMI(MBB, MBBI, dl, TII.get(VE::LDSri), VE::SX16) in emitEpilogueInsns()
95 BuildMI(MBB, MBBI, dl, TII.get(VE::LDSri), VE::SX15) in emitEpilogueInsns()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64SpeculationHardening.cpp158 MachineBasicBlock::iterator MBBI) const;
160 MachineBasicBlock::iterator MBBI,
163 MachineBasicBlock::iterator MBBI,
168 MachineBasicBlock::iterator MBBI,
173 MachineBasicBlock::iterator MBBI,
175 bool insertCSDB(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
218 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in insertFullSpeculationBarrier() argument
221 BuildMI(MBB, MBBI, DL, TII->get(AArch64::DSB)).addImm(0xf); in insertFullSpeculationBarrier()
222 BuildMI(MBB, MBBI, DL, TII->get(AArch64::ISB)).addImm(0xf); in insertFullSpeculationBarrier()
359 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI) const { in insertSPToRegTaintPropagation()
[all …]
DAArch64FrameLowering.cpp350 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI) const { in emitCalleeSavedFrameMoves()
356 DebugLoc DL = MBB.findDebugLoc(MBBI); in emitCalleeSavedFrameMoves()
370 BuildMI(MBB, MBBI, DL, TII->get(TargetOpcode::CFI_INSTRUCTION)) in emitCalleeSavedFrameMoves()
485 static MachineBasicBlock::iterator InsertSEH(MachineBasicBlock::iterator MBBI, in InsertSEH() argument
488 unsigned Opc = MBBI->getOpcode(); in InsertSEH()
489 MachineBasicBlock *MBB = MBBI->getParent(); in InsertSEH()
491 DebugLoc DL = MBBI->getDebugLoc(); in InsertSEH()
492 unsigned ImmIdx = MBBI->getNumOperands() - 1; in InsertSEH()
493 int Imm = MBBI->getOperand(ImmIdx).getImm(); in InsertSEH()
505 unsigned Reg0 = RegInfo->getSEHRegNum(MBBI->getOperand(1).getReg()); in InsertSEH()
[all …]
DAArch64LoadStoreOptimizer.cpp182 bool tryToMergeZeroStInst(MachineBasicBlock::iterator &MBBI);
185 bool tryToPairLdStInst(MachineBasicBlock::iterator &MBBI);
188 bool tryToPromoteLoadFromStore(MachineBasicBlock::iterator &MBBI);
191 bool tryToMergeLdStUpdate(MachineBasicBlock::iterator &MBBI);
1174 MachineBasicBlock::iterator MBBI = I; in findMatchingStore() local
1180 if (MBBI == B) in findMatchingStore()
1190 --MBBI; in findMatchingStore()
1191 MachineInstr &MI = *MBBI; in findMatchingStore()
1206 StoreI = MBBI; in findMatchingStore()
1224 } while (MBBI != B && Count < Limit); in findMatchingStore()
[all …]
DAArch64ExpandPseudoInsts.cpp66 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
68 bool expandMOVImm(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
71 bool expandCMP_SWAP(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
76 MachineBasicBlock::iterator MBBI,
79 MachineBasicBlock::iterator MBBI,
109 MachineBasicBlock::iterator MBBI, in expandMOVImm() argument
111 MachineInstr &MI = *MBBI; in expandMOVImm()
137 MIBS.push_back(BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(I->Opcode)) in expandMOVImm()
147 MIBS.push_back(BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(I->Opcode)) in expandMOVImm()
158 MIBS.push_back(BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(I->Opcode)) in expandMOVImm()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DLeonPasses.cpp48 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) { in runOnMachineFunction() local
49 MachineInstr &MI = *MBBI; in runOnMachineFunction()
52 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in runOnMachineFunction()
83 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) { in runOnMachineFunction() local
84 MachineInstr &MI = *MBBI; in runOnMachineFunction()
135 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) { in runOnMachineFunction() local
136 MachineInstr &MI = *MBBI; in runOnMachineFunction()
145 BuildMI(MBB, MBBI, DL, TII.get(SP::NOP)); in runOnMachineFunction()
147 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in runOnMachineFunction()
DSparcFrameLowering.cpp42 MachineBasicBlock::iterator MBBI, in emitSPAdjustment() argument
52 BuildMI(MBB, MBBI, dl, TII.get(ADDri), SP::O6) in emitSPAdjustment()
64 BuildMI(MBB, MBBI, dl, TII.get(SP::SETHIi), SP::G1) in emitSPAdjustment()
66 BuildMI(MBB, MBBI, dl, TII.get(SP::ORri), SP::G1) in emitSPAdjustment()
68 BuildMI(MBB, MBBI, dl, TII.get(ADDrr), SP::O6) in emitSPAdjustment()
77 BuildMI(MBB, MBBI, dl, TII.get(SP::SETHIi), SP::G1) in emitSPAdjustment()
79 BuildMI(MBB, MBBI, dl, TII.get(SP::XORri), SP::G1) in emitSPAdjustment()
81 BuildMI(MBB, MBBI, dl, TII.get(ADDrr), SP::O6) in emitSPAdjustment()
96 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
156 emitSPAdjustment(MF, MBB, MBBI, -NumBytes, SAVErr, SAVEri); in emitPrologue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp298 MachineBasicBlock::iterator MBBI = MI; in RemoveVRSaveCode() local
299 ++MBBI; in RemoveVRSaveCode()
300 assert(MBBI != Entry->end() && MBBI->getOpcode() == PPC::MTVRSAVE); in RemoveVRSaveCode()
301 MBBI->eraseFromParent(); in RemoveVRSaveCode()
310 for (MBBI = I->end(); MBBI != I->begin(); ) { in RemoveVRSaveCode()
311 --MBBI; in RemoveVRSaveCode()
312 if (MBBI->getOpcode() == PPC::MTVRSAVE) { in RemoveVRSaveCode()
313 MBBI->eraseFromParent(); // remove it. in RemoveVRSaveCode()
325 MBBI = MI; in RemoveVRSaveCode()
326 assert(MBBI != Entry->begin() && "UPDATE_VRSAVE is first instr in block?"); in RemoveVRSaveCode()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreFrameLowering.cpp61 MachineBasicBlock::iterator MBBI, in EmitDefCfaRegister() argument
66 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in EmitDefCfaRegister()
71 MachineBasicBlock::iterator MBBI, in EmitDefCfaOffset() argument
77 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in EmitDefCfaOffset()
82 MachineBasicBlock::iterator MBBI, const DebugLoc &dl, in EmitCfiOffset() argument
88 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in EmitCfiOffset()
99 MachineBasicBlock::iterator MBBI, const DebugLoc &dl, in IfNeededExtSP() argument
107 BuildMI(MBB, MBBI, dl, TII.get(Opcode)).addImm(OpImm); in IfNeededExtSP()
110 EmitDefCfaOffset(MBB, MBBI, dl, TII, Adjusted*4); in IfNeededExtSP()
122 MachineBasicBlock::iterator MBBI, const DebugLoc &dl, in IfNeededLDAWSP() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVExpandPseudoInsts.cpp44 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
47 MachineBasicBlock::iterator MBBI, AtomicRMWInst::BinOp,
51 MachineBasicBlock::iterator MBBI,
55 MachineBasicBlock::iterator MBBI, bool IsMasked,
58 MachineBasicBlock::iterator MBBI,
62 MachineBasicBlock::iterator MBBI,
65 MachineBasicBlock::iterator MBBI,
68 MachineBasicBlock::iterator MBBI,
71 MachineBasicBlock::iterator MBBI,
88 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); in expandMBB() local
[all …]
DRISCVFrameLowering.cpp70 MachineBasicBlock::iterator MBBI, in adjustReg() argument
81 BuildMI(MBB, MBBI, DL, TII->get(RISCV::ADDI), DestReg) in adjustReg()
94 TII->movImm(MBB, MBBI, DL, ScratchReg, Val, Flag); in adjustReg()
95 BuildMI(MBB, MBBI, DL, TII->get(Opc), DestReg) in adjustReg()
114 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
147 adjustReg(MBB, MBBI, DL, SPReg, SPReg, -StackSize, MachineInstr::FrameSetup); in emitPrologue()
152 BuildMI(MBB, MBBI, DL, TII->get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
162 std::advance(MBBI, CSI.size()); in emitPrologue()
171 BuildMI(MBB, MBBI, DL, TII->get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
181 adjustReg(MBB, MBBI, DL, FPReg, SPReg, in emitPrologue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp48 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
49 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue()
66 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r)) in emitPrologue()
70 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::FP) in emitPrologue()
82 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r)) in emitPrologue()
83 ++MBBI; in emitPrologue()
85 if (MBBI != MBB.end()) in emitPrologue()
86 DL = MBBI->getDebugLoc(); in emitPrologue()
98 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP) in emitPrologue()
113 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); in emitEpilogue() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCFrameLowering.cpp45 MachineBasicBlock::iterator MBBI, in generateStackAdjustment() argument
72 BuildMI(MBB, MBBI, dl, TII.get(AdjOp), StackPtr) in generateStackAdjustment()
98 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in adjustStackToMatchRecords() argument
109 generateStackAdjustment(MBB, MBBI, *ST.getInstrInfo(), DebugLoc(), in adjustStackToMatchRecords()
124 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
143 BuildMI(MBB, MBBI, dl, TII->get(Opc), ARC::SP) in emitPrologue()
149 BuildMI(MBB, MBBI, dl, TII->get(ARC::ST_AW_rs9)) in emitPrologue()
160 BuildMI(MBB, MBBI, dl, TII->get(ARC::PUSH_S_BLINK)); in emitPrologue()
161 BuildMI(MBB, MBBI, dl, TII->get(ARC::SUB_rru6)) in emitPrologue()
165 BuildMI(MBB, MBBI, dl, TII->get(ARC::BL)) in emitPrologue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEFrameLowering.cpp411 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
434 TII.adjustStackPtr(SP, -StackSize, MBB, MBBI); in emitPrologue()
439 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
451 ++MBBI; in emitPrologue()
473 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
478 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
489 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
494 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
500 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
511 TII.storeRegToStackSlot(MBB, MBBI, ABI.GetEhDataReg(I), false, in emitPrologue()
[all …]

12345