Home
last modified time | relevance | path

Searched refs:MII (Results 1 – 25 of 71) sorted by relevance

123

/external/llvm/lib/Target/Hexagon/
DHexagonFixupHwLoops.cpp64 MachineBasicBlock::iterator &MII,
129 MachineBasicBlock::iterator MII = MBB->begin(); in fixupLoopInstrs() local
130 while (MII != MIE) { in fixupLoopInstrs()
131 if (isHardwareLoop(MII)) { in fixupLoopInstrs()
132 RS.forward(MII); in fixupLoopInstrs()
133 assert(MII->getOperand(0).isMBB() && in fixupLoopInstrs()
135 int Sub = InstOffset - BlockToInstOffset[MII->getOperand(0).getMBB()]; in fixupLoopInstrs()
139 convertLoopInstr(MF, MII, RS); in fixupLoopInstrs()
140 MII = MBB->erase(MII); in fixupLoopInstrs()
143 ++MII; in fixupLoopInstrs()
[all …]
DHexagonExpandPredSpillCode.cpp74 for (MachineBasicBlock::iterator MII = MBB->begin(); MII != MBB->end(); in runOnMachineFunction() local
75 ++MII) { in runOnMachineFunction()
76 MachineInstr *MI = MII; in runOnMachineFunction()
90 BuildMI(*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
93 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::ADD_rr), in runOnMachineFunction()
96 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::TFR_RsPd), in runOnMachineFunction()
98 BuildMI(*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
103 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::ADD_ri), in runOnMachineFunction()
105 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::TFR_RsPd), in runOnMachineFunction()
107 BuildMI(*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
[all …]
DHexagonSplitTFRCondSets.cpp82 for (MachineBasicBlock::iterator MII = MBB->begin(); MII != MBB->end(); in runOnMachineFunction() local
83 ++MII) { in runOnMachineFunction()
84 MachineInstr *MI = MII; in runOnMachineFunction()
107 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Opc1), in runOnMachineFunction()
111 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Opc2), in runOnMachineFunction()
114 MII = MBB->erase(MI); in runOnMachineFunction()
115 --MII; in runOnMachineFunction()
126 BuildMI(*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
131 BuildMI(*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
136 BuildMI(*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
[all …]
DHexagonNewValueJump.cpp154 MachineBasicBlock::iterator MII) { in commonChecksToProhibitNewValueJump() argument
157 if (MII->getDesc().mayStore()) in commonChecksToProhibitNewValueJump()
161 if (MII->getOpcode() == Hexagon::CALLv3) in commonChecksToProhibitNewValueJump()
175 if (MII->getOpcode() == TargetOpcode::KILL || in commonChecksToProhibitNewValueJump()
176 MII->getOpcode() == TargetOpcode::PHI || in commonChecksToProhibitNewValueJump()
177 MII->getOpcode() == TargetOpcode::COPY) in commonChecksToProhibitNewValueJump()
184 if (MII->getOpcode() == Hexagon::TFR_condset_rr || in commonChecksToProhibitNewValueJump()
185 MII->getOpcode() == Hexagon::TFR_condset_ii || in commonChecksToProhibitNewValueJump()
186 MII->getOpcode() == Hexagon::TFR_condset_ri || in commonChecksToProhibitNewValueJump()
187 MII->getOpcode() == Hexagon::TFR_condset_ir || in commonChecksToProhibitNewValueJump()
[all …]
DHexagonAsmPrinter.cpp204 MachineBasicBlock::const_instr_iterator MII = MI; in EmitInstruction() local
205 ++MII; in EmitInstruction()
207 while (MII != MBB->end() && MII->isInsideBundle()) { in EmitInstruction()
208 const MachineInstr *MInst = MII; in EmitInstruction()
212 ++MII; in EmitInstruction()
217 ++MII; in EmitInstruction()
300 const MCInstrInfo &MII, in createHexagonMCInstPrinter() argument
304 return(new HexagonInstPrinter(MAI, MII, MRI)); in createHexagonMCInstPrinter()
DHexagonPeephole.cpp124 for (MachineBasicBlock::iterator MII = MBB->begin(); MII != MBB->end(); in runOnMachineFunction() local
125 ++MII) { in runOnMachineFunction()
126 MachineInstr *MI = MII; in runOnMachineFunction()
DHexagonCFGOptimizer.cpp104 MachineBasicBlock::iterator MII = MBB->getFirstTerminator(); in runOnMachineFunction() local
105 if (MII != MBB->end()) { in runOnMachineFunction()
106 MachineInstr *MI = MII; in runOnMachineFunction()
/external/llvm/lib/CodeGen/
DMachineInstrBundle.cpp43 for (MachineBasicBlock::instr_iterator MII = MBB->instr_begin(), in runOnMachineFunction() local
44 MIE = MBB->instr_end(); MII != MIE; ) { in runOnMachineFunction()
45 MachineInstr *MI = &*MII; in runOnMachineFunction()
50 while (++MII != MIE && MII->isBundledWithPred()) { in runOnMachineFunction()
51 MII->unbundleFromPred(); in runOnMachineFunction()
52 for (unsigned i = 0, e = MII->getNumOperands(); i != e; ++i) { in runOnMachineFunction()
53 MachineOperand &MO = MII->getOperand(i); in runOnMachineFunction()
64 ++MII; in runOnMachineFunction()
227 MachineBasicBlock::instr_iterator MII = MBB.instr_begin(); in finalizeBundles() local
229 if (MII == MIE) in finalizeBundles()
[all …]
DOptimizePHIs.cpp157 MII = MBB.begin(), E = MBB.end(); MII != E; ) { in OptimizeBB() local
158 MachineInstr *MI = &*MII++; in OptimizeBB()
184 if (&*MII == PhiMI) in OptimizeBB()
185 ++MII; in OptimizeBB()
DDeadMachineInstructionElim.cpp113 for (MachineBasicBlock::reverse_iterator MII = MBB->rbegin(), in runOnMachineFunction() local
114 MIE = MBB->rend(); MII != MIE; ) { in runOnMachineFunction()
115 MachineInstr *MI = &*MII; in runOnMachineFunction()
184 ++MII; in runOnMachineFunction()
DMachineLICM.cpp526 MII = BB->begin(), E = BB->end(); MII != E; ++MII) { in HoistRegionPostRA() local
527 MachineInstr *MI = &*MII; in HoistRegionPostRA()
593 MII = BB->begin(), E = BB->end(); MII != E; ++MII) { in AddToLiveIns() local
594 MachineInstr *MI = &*MII; in AddToLiveIns()
759 MII = MBB->begin(), E = MBB->end(); MII != E; ) { in HoistOutOfLoop() local
760 MachineBasicBlock::iterator NextMII = MII; ++NextMII; in HoistOutOfLoop()
761 MachineInstr *MI = &*MII; in HoistOutOfLoop()
764 MII = NextMII; in HoistOutOfLoop()
810 for (MachineBasicBlock::iterator MII = BB->begin(), E = BB->end(); in InitRegPressure() local
811 MII != E; ++MII) { in InitRegPressure()
[all …]
DPeepholeOptimizer.cpp509 MII = I->begin(), MIE = I->end(); MII != MIE; ) { in runOnMachineFunction() local
510 MachineInstr *MI = &*MII; in runOnMachineFunction()
512 ++MII; in runOnMachineFunction()
542 MII = MI; in runOnMachineFunction()
543 ++MII; in runOnMachineFunction()
/external/llvm/lib/Target/Hexagon/InstPrinter/
DHexagonInstPrinter.h26 const MCInstrInfo &MII, in HexagonInstPrinter() argument
28 : MCInstPrinter(MAI, MII, MRI), MII(MII) {} in HexagonInstPrinter()
71 return MII; in getMII()
81 const MCInstrInfo &MII;
/external/llvm/lib/Target/ARM/
DMLxExpansionPass.cpp314 MachineBasicBlock::iterator MII = MI; in ExpandFPMLxInstruction()
315 MII = llvm::prior(MII); in ExpandFPMLxInstruction()
316 MachineInstr &MI2 = *MII; in ExpandFPMLxInstruction()
317 MII = llvm::prior(MII); in ExpandFPMLxInstruction()
318 MachineInstr &MI1 = *MII; in ExpandFPMLxInstruction()
334 MachineBasicBlock::reverse_iterator MII = MBB.rbegin(), E = MBB.rend(); in ExpandFPMLxInstructions() local
335 while (MII != E) { in ExpandFPMLxInstructions()
336 MachineInstr *MI = &*MII; in ExpandFPMLxInstructions()
339 ++MII; in ExpandFPMLxInstructions()
347 ++MII; in ExpandFPMLxInstructions()
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h143 IterTy MII;
146 bundle_iterator(IterTy mii) : MII(mii) {}
148 bundle_iterator(Ty &mi) : MII(mi) {
152 bundle_iterator(Ty *mi) : MII(mi) {
159 : MII(I.getInstrIterator()) {}
160 bundle_iterator() : MII(0) {}
162 Ty &operator*() const { return *MII; }
165 operator Ty*() const { return MII; }
168 return MII == x.MII;
176 do --MII;
[all …]
DMachineInstrBuilder.h272 MachineBasicBlock::instr_iterator MII = I; in BuildMI() local
273 return BuildMI(BB, MII, DL, MCID, DestReg); in BuildMI()
276 MachineBasicBlock::iterator MII = I; in BuildMI() local
277 return BuildMI(BB, MII, DL, MCID, DestReg); in BuildMI()
309 MachineBasicBlock::instr_iterator MII = I; in BuildMI() local
310 return BuildMI(BB, MII, DL, MCID); in BuildMI()
313 MachineBasicBlock::iterator MII = I; in BuildMI() local
314 return BuildMI(BB, MII, DL, MCID); in BuildMI()
/external/llvm/lib/MC/MCDisassembler/
DDisassembler.cpp50 const MCInstrInfo *MII = TheTarget->createMCInstrInfo(); in LLVMCreateDisasmCPU() local
51 if (!MII) in LLVMCreateDisasmCPU()
80 *MAI, *MII, *MRI, *STI); in LLVMCreateDisasmCPU()
87 STI, MII, Ctx, DisAsm, IP); in LLVMCreateDisasmCPU()
210 const MCInstrInfo *MII = DC->getInstrInfo(); in LLVMSetDisasmOptions() local
216 AsmPrinterVariant, *MAI, *MII, *MRI, *STI); in LLVMSetDisasmOptions()
DDisassembler.h69 llvm::OwningPtr<const llvm::MCInstrInfo> MII; variable
97 MII.reset(mII); in LLVMDisasmContext()
112 const MCInstrInfo *getInstrInfo() const { return MII.get(); } in getInstrInfo()
/external/llvm/lib/Target/X86/Disassembler/
DX86Disassembler.h104 const MCInstrInfo *MII; variable
110 const MCInstrInfo *MII);
/external/llvm/lib/Target/MSP430/InstPrinter/
DMSP430InstPrinter.h24 MSP430InstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, in MSP430InstPrinter() argument
26 : MCInstPrinter(MAI, MII, MRI) {} in MSP430InstPrinter()
/external/llvm/lib/Target/MBlaze/InstPrinter/
DMBlazeInstPrinter.h24 MBlazeInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, in MBlazeInstPrinter() argument
26 : MCInstPrinter(MAI, MII, MRI) {} in MBlazeInstPrinter()
/external/llvm/lib/Target/XCore/InstPrinter/
DXCoreInstPrinter.h26 XCoreInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, in XCoreInstPrinter() argument
28 : MCInstPrinter(MAI, MII, MRI) {} in XCoreInstPrinter()
/external/llvm/include/llvm/MC/
DMCInstPrinter.h33 const MCInstrInfo &MII; variable
50 : CommentStream(0), MAI(mai), MII(mii), MRI(mri), AvailableFeatures(0), in MCInstPrinter()
/external/llvm/lib/Target/MSP430/MCTargetDesc/
DMSP430MCTargetDesc.cpp64 const MCInstrInfo &MII, in createMSP430MCInstPrinter() argument
68 return new MSP430InstPrinter(MAI, MII, MRI); in createMSP430MCInstPrinter()
/external/llvm/lib/Target/R600/InstPrinter/
DAMDGPUInstPrinter.h24 AMDGPUInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, in AMDGPUInstPrinter() argument
26 : MCInstPrinter(MAI, MII, MRI) {} in AMDGPUInstPrinter()

123