Home
last modified time | relevance | path

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

12345678910>>...14

/external/llvm-project/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 …]
/external/llvm/lib/Target/X86/
DX86ExpandPseudo.cpp62 bool ExpandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI);
72 MachineBasicBlock::iterator MBBI) { in ExpandMI() argument
73 MachineInstr &MI = *MBBI; in ExpandMI()
75 DebugLoc DL = MBBI->getDebugLoc(); in ExpandMI()
86 MachineOperand &JumpTarget = MBBI->getOperand(0); in ExpandMI()
87 MachineOperand &StackAdjust = MBBI->getOperand(isMem ? 5 : 1); in ExpandMI()
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()
[all …]
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVExpandPseudoInsts.cpp44 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
47 MachineBasicBlock::iterator MBBI,
51 MachineBasicBlock::iterator MBBI,
54 MachineBasicBlock::iterator MBBI,
57 MachineBasicBlock::iterator MBBI,
60 MachineBasicBlock::iterator MBBI,
62 bool expandVSetVL(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI);
78 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); in expandMBB() local
79 while (MBBI != E) { in expandMBB()
80 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in expandMBB()
[all …]
/external/llvm-project/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 …]
/external/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 …]
/external/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 …]
/external/llvm-project/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.cpp200 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in spillCalleeSavedRegisters() argument
218 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, DL, TII->get(SystemZ::STMG)); in spillCalleeSavedRegisters()
246 TII->storeRegToStackSlot(MBB, MBBI, Reg, true, CSI[I].getFrameIdx(), in spillCalleeSavedRegisters()
251 TII->storeRegToStackSlot(MBB, MBBI, Reg, true, CSI[I].getFrameIdx(), in spillCalleeSavedRegisters()
260 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in restoreCalleeSavedRegisters() argument
269 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in restoreCalleeSavedRegisters()
275 TII->loadRegFromStackSlot(MBB, MBBI, Reg, CSI[I].getFrameIdx(), in restoreCalleeSavedRegisters()
278 TII->loadRegFromStackSlot(MBB, MBBI, Reg, CSI[I].getFrameIdx(), in restoreCalleeSavedRegisters()
293 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, DL, TII->get(SystemZ::LMG)); in restoreCalleeSavedRegisters()
361 MachineBasicBlock::iterator &MBBI, const DebugLoc &DL, in emitIncrement() argument
[all …]
/external/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 …]
/external/llvm/lib/Target/ARM/
DThumb1FrameLowering.cpp42 MachineBasicBlock::iterator &MBBI, in emitSPUpdate() argument
46 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, in emitSPUpdate()
87 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
121 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -ArgRegsSaveSize, in emitPrologue()
126 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
133 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -(NumBytes - ArgRegsSaveSize), in emitPrologue()
138 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
172 if (MBBI != MBB.end() && MBBI->getOpcode() == ARM::tPUSH) { in emitPrologue()
173 ++MBBI; in emitPrologue()
191 if (tryFoldSPUpdateIntoPushPop(STI, MF, &*std::prev(MBBI), NumBytes)) { in emitPrologue()
[all …]
/external/llvm/lib/Target/Sparc/
DLeonPasses.cpp86 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) { in runOnMachineFunction() local
87 MachineInstr &MI = *MBBI; in runOnMachineFunction()
90 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in runOnMachineFunction()
98 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in runOnMachineFunction()
136 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) { in runOnMachineFunction() local
138 MachineInstr &MI = *MBBI; in runOnMachineFunction()
179 MachineBasicBlock::iterator NMBBI = std::next(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()
[all …]
/external/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 …]
/external/llvm-project/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()
99 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, in emitPrologueEpilogueSPUpdate()
105 MachineBasicBlock::iterator &MBBI, in emitCallSPUpdate() argument
109 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, in emitCallSPUpdate()
149 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
183 emitPrologueEpilogueSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -ArgRegsSaveSize, in emitPrologue()
188 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
[all …]
/external/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 …]
/external/llvm-project/llvm/lib/Target/Sparc/
DLeonPasses.cpp47 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) { in runOnMachineFunction() local
48 MachineInstr &MI = *MBBI; in runOnMachineFunction()
51 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in runOnMachineFunction()
82 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) { in runOnMachineFunction() local
83 MachineInstr &MI = *MBBI; in runOnMachineFunction()
134 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) { in runOnMachineFunction() local
135 MachineInstr &MI = *MBBI; in runOnMachineFunction()
144 BuildMI(MBB, MBBI, DL, TII.get(SP::NOP)); in runOnMachineFunction()
146 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in runOnMachineFunction()
/external/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()
/external/llvm-project/llvm/lib/Target/VE/
DVEFrameLowering.cpp137 MachineBasicBlock::iterator MBBI, in emitPrologueInsns() argument
152 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns()
157 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns()
164 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns()
169 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns()
176 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns()
185 MachineBasicBlock::iterator MBBI, in emitEpilogueInsns() argument
200 BuildMI(MBB, MBBI, DL, TII.get(VE::LDrii), VE::SX17) in emitEpilogueInsns()
205 BuildMI(MBB, MBBI, DL, TII.get(VE::LDrii), VE::SX16) in emitEpilogueInsns()
209 BuildMI(MBB, MBBI, DL, TII.get(VE::LDrii), VE::SX15) in emitEpilogueInsns()
[all …]
/external/llvm-project/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 …]
DAArch64SLSHardening.cpp75 MachineBasicBlock::iterator MBBI, in insertSpeculationBarrier() argument
78 assert(MBBI != MBB.begin() && in insertSpeculationBarrier()
80 assert(std::prev(MBBI)->isBarrier() && in insertSpeculationBarrier()
83 assert(std::prev(MBBI)->isTerminator() && in insertSpeculationBarrier()
89 if (MBBI == MBB.end() || in insertSpeculationBarrier()
90 (MBBI->getOpcode() != AArch64::SpeculationBarrierSBEndBB && in insertSpeculationBarrier()
91 MBBI->getOpcode() != AArch64::SpeculationBarrierISBDSBEndBB)) in insertSpeculationBarrier()
92 BuildMI(MBB, MBBI, DL, TII->get(BarrierOpc)); in insertSpeculationBarrier()
129 MachineBasicBlock::iterator MBBI = MBB.getFirstTerminator(), E = MBB.end(); in hardenReturnsAndBRs() local
131 for (; MBBI != E; MBBI = NextMBBI) { in hardenReturnsAndBRs()
[all …]
/external/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 …]
/external/llvm/lib/Target/SystemZ/
DSystemZElimCompare.cpp203 MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch; in convertToBRCT() local
204 for (++MBBI; MBBI != MBBE; ++MBBI) in convertToBRCT()
205 if (getRegReferences(*MBBI, SrcReg)) in convertToBRCT()
305 MachineBasicBlock::iterator MBBI = MI, MBBE = Compare; in adjustCCMasksForInstr() local
306 for (++MBBI; MBBI != MBBE; ++MBBI) in adjustCCMasksForInstr()
307 MBBI->clearRegisterKills(SystemZ::CC, TRI); in adjustCCMasksForInstr()
342 MachineBasicBlock::iterator MBBI = Compare, MBBE = MBB.begin(); in optimizeCompareZero() local
345 while (MBBI != MBBE) { in optimizeCompareZero()
346 --MBBI; in optimizeCompareZero()
347 MachineInstr &MI = *MBBI; in optimizeCompareZero()
[all …]

12345678910>>...14