Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Target/Hexagon/
DHexagonFixupHwLoops.cpp66 MachineBasicBlock::iterator &MII);
132 MachineBasicBlock::iterator MII = MBB.begin(); in fixupLoopInstrs() local
134 while (MII != MIE) { in fixupLoopInstrs()
135 InstOffset += HII->getSize(&*MII); in fixupLoopInstrs()
136 if (MII->isDebugValue()) { in fixupLoopInstrs()
137 ++MII; in fixupLoopInstrs()
140 if (isHardwareLoop(MII)) { in fixupLoopInstrs()
141 assert(MII->getOperand(0).isMBB() && in fixupLoopInstrs()
143 int diff = InstOffset - BlockToInstOffset[MII->getOperand(0).getMBB()]; in fixupLoopInstrs()
145 useExtLoopInstr(MF, MII); in fixupLoopInstrs()
[all …]
DHexagonExpandPredSpillCode.cpp79 for (MachineBasicBlock::iterator MII = MBB->begin(); MII != MBB->end(); in runOnMachineFunction() local
80 ++MII) { in runOnMachineFunction()
81 MachineInstr *MI = MII; in runOnMachineFunction()
107 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::A2_tfrrcr), in runOnMachineFunction()
110 MachineInstr *NewMI = BuildMI(*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
120 MII = MBB->erase(MI); in runOnMachineFunction()
121 --MII; in runOnMachineFunction()
150 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::A2_tfrrcr), in runOnMachineFunction()
153 MachineInstr *NewMI = BuildMI(*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
163 MII = MBB->erase(MI); in runOnMachineFunction()
[all …]
DHexagonSplitConst32AndConst64.cpp86 MachineBasicBlock::iterator MII = MBB->begin(); in runOnMachineFunction() local
88 while (MII != MIE) { in runOnMachineFunction()
89 MachineInstr *MI = MII; in runOnMachineFunction()
96 BuildMI (*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
98 BuildMI (*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
102 MII = MBB->erase (MI); in runOnMachineFunction()
120 BuildMI(*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
122 MII = MBB->erase (MI); in runOnMachineFunction()
145 BuildMI(*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
147 BuildMI (*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
[all …]
DHexagonNewValueJump.cpp175 MachineBasicBlock::iterator MII) { in commonChecksToProhibitNewValueJump() argument
178 if (MII->getDesc().mayStore()) in commonChecksToProhibitNewValueJump()
182 if (MII->getOpcode() == Hexagon::J2_call) in commonChecksToProhibitNewValueJump()
196 if (MII->getOpcode() == TargetOpcode::KILL || in commonChecksToProhibitNewValueJump()
197 MII->getOpcode() == TargetOpcode::PHI || in commonChecksToProhibitNewValueJump()
198 MII->getOpcode() == TargetOpcode::COPY) in commonChecksToProhibitNewValueJump()
205 if (MII->getOpcode() == Hexagon::LDriw_pred || in commonChecksToProhibitNewValueJump()
206 MII->getOpcode() == Hexagon::STriw_pred) in commonChecksToProhibitNewValueJump()
436 for (MachineBasicBlock::iterator MII = MBB->end(), E = MBB->begin(); in runOnMachineFunction() local
437 MII != E;) { in runOnMachineFunction()
[all …]
DHexagonVLIWPacketizer.h78 MachineBasicBlock::iterator &MII,
81 unsigned DepReg, MachineBasicBlock::iterator &MII,
86 MachineBasicBlock::iterator &MII,
89 unsigned DepReg, MachineBasicBlock::iterator &MII,
92 unsigned DepReg, MachineBasicBlock::iterator &MII);
/external/llvm/lib/CodeGen/
DMachineInstrBundle.cpp51 for (MachineBasicBlock::instr_iterator MII = MBB->instr_begin(), in runOnMachineFunction() local
52 MIE = MBB->instr_end(); MII != MIE; ) { in runOnMachineFunction()
53 MachineInstr *MI = &*MII; in runOnMachineFunction()
58 while (++MII != MIE && MII->isBundledWithPred()) { in runOnMachineFunction()
59 MII->unbundleFromPred(); in runOnMachineFunction()
60 for (unsigned i = 0, e = MII->getNumOperands(); i != e; ++i) { in runOnMachineFunction()
61 MachineOperand &MO = MII->getOperand(i); in runOnMachineFunction()
72 ++MII; in runOnMachineFunction()
239 MachineBasicBlock::instr_iterator MII = MBB.instr_begin(); in finalizeBundles() local
241 if (MII == MIE) in finalizeBundles()
[all …]
DOptimizePHIs.cpp160 MII = MBB.begin(), E = MBB.end(); MII != E; ) { in OptimizeBB() local
161 MachineInstr *MI = &*MII++; in OptimizeBB()
187 if (&*MII == PhiMI) in OptimizeBB()
188 ++MII; in OptimizeBB()
DDeadMachineInstructionElim.cpp118 for (MachineBasicBlock::reverse_iterator MII = MBB.rbegin(), in runOnMachineFunction() local
119 MIE = MBB.rend(); MII != MIE; ) { in runOnMachineFunction()
120 MachineInstr *MI = &*MII; in runOnMachineFunction()
170 ++MII; in runOnMachineFunction()
DStackSlotColoring.cpp146 for (MachineBasicBlock::iterator MII = MBB->begin(), EE = MBB->end(); in ScanForSpillSlotRefs() local
147 MII != EE; ++MII) { in ScanForSpillSlotRefs()
148 MachineInstr *MI = &*MII; in ScanForSpillSlotRefs()
331 for (MachineBasicBlock::iterator MII = MBB->begin(), EE = MBB->end(); in ColorSlots() local
332 MII != EE; ++MII) in ColorSlots()
333 RewriteInstruction(MII, SlotMapping, MF); in ColorSlots()
DLLVMTargetMachine.cpp47 MII = TheTarget.createMCInstrInfo(); in initAsmInfo()
171 const MCInstrInfo &MII = *getMCInstrInfo(); in addPassesToEmitFile() local
178 getTargetTriple(), MAI.getAssemblerDialect(), MAI, MII, MRI); in addPassesToEmitFile()
183 MCE = getTarget().createMCCodeEmitter(MII, MRI, *Context); in addPassesToEmitFile()
198 MCCodeEmitter *MCE = getTarget().createMCCodeEmitter(MII, MRI, *Context); in addPassesToEmitFile()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyArgumentMove.cpp91 for (auto MII = EntryMBB.begin(), MIE = EntryMBB.end(); MII != MIE; ++MII) { in runOnMachineFunction() local
92 MachineInstr *MI = MII; in runOnMachineFunction()
94 InsertPt = MII; in runOnMachineFunction()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonInstPrinter.cpp32 MCInstrInfo const &MII, in HexagonInstPrinter() argument
34 : MCInstPrinter(MAI, MII, MRI), MII(MII), HasExtender(false) { in HexagonInstPrinter()
38 return MII.getName(Opcode); in getOpcodeName()
61 if (HexagonMCInstrInfo::isDuplex(MII, MCI)) { in printInst()
91 if (HexagonMCInstrInfo::getExtendableOp(MII, *MI) == OpNo && in printOperand()
92 (HasExtender || HexagonMCInstrInfo::isConstExtended(MII, *MI))) in printOperand()
228 if (HasExtender || HexagonMCInstrInfo::isConstExtended(MII, *MI)) in printBrtarget()
229 if (HexagonMCInstrInfo::getExtendableOp(MII, *MI) == OpNo) in printBrtarget()
DHexagonInstPrinter.h28 explicit HexagonInstPrinter(MCAsmInfo const &MAI, MCInstrInfo const &MII,
77 MCInstrInfo const &getMII() const { return MII; } in getMII()
84 MCInstrInfo const &MII;
/external/llvm/lib/Target/ARM/
DMLxExpansionPass.cpp315 MachineBasicBlock::iterator MII = MI; in ExpandFPMLxInstruction()
316 MII = std::prev(MII); in ExpandFPMLxInstruction()
317 MachineInstr &MI2 = *MII; in ExpandFPMLxInstruction()
318 MII = std::prev(MII); in ExpandFPMLxInstruction()
319 MachineInstr &MI1 = *MII; in ExpandFPMLxInstruction()
335 MachineBasicBlock::reverse_iterator MII = MBB.rbegin(), E = MBB.rend(); in ExpandFPMLxInstructions() local
336 while (MII != E) { in ExpandFPMLxInstructions()
337 MachineInstr *MI = &*MII; in ExpandFPMLxInstructions()
340 ++MII; in ExpandFPMLxInstructions()
348 ++MII; in ExpandFPMLxInstructions()
[all …]
/external/llvm/lib/Target/WebAssembly/InstPrinter/
DWebAssemblyInstPrinter.cpp34 const MCInstrInfo &MII, in WebAssemblyInstPrinter() argument
36 : MCInstPrinter(MAI, MII, MRI) {} in WebAssemblyInstPrinter()
52 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); in printInst()
88 else if (OpNo >= MII.get(MI->getOpcode()).getNumDefs()) in printOperand()
95 if (OpNo < MII.get(MI->getOpcode()).getNumDefs()) in printOperand()
/external/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h165 IterTy MII;
168 bundle_iterator(IterTy MI) : MII(MI) {}
170 bundle_iterator(Ty &MI) : MII(MI) {
174 bundle_iterator(Ty *MI) : MII(MI) {
181 : MII(I.getInstrIterator()) {}
182 bundle_iterator() : MII(nullptr) {}
184 Ty &operator*() const { return *MII; }
187 operator Ty *() const { return MII.getNodePtrUnchecked(); }
190 return MII == X.MII;
198 do --MII;
[all …]
DMachineInstrBuilder.h280 MachineBasicBlock::instr_iterator MII(I); in BuildMI()
281 return BuildMI(BB, MII, DL, MCID, DestReg); in BuildMI()
284 MachineBasicBlock::iterator MII = I; in BuildMI() local
285 return BuildMI(BB, MII, DL, MCID, DestReg); in BuildMI()
316 MachineBasicBlock::instr_iterator MII(I); in BuildMI()
317 return BuildMI(BB, MII, DL, MCID); in BuildMI()
320 MachineBasicBlock::iterator MII = I; in BuildMI() local
321 return BuildMI(BB, MII, DL, MCID); in BuildMI()
/external/llvm/lib/Target/AMDGPU/
DR600Packetizer.cpp189 MachineInstr *MII = SUI->getInstr(), *MIJ = SUJ->getInstr(); in isLegalToPacketizeTogether() local
190 if (getSlot(MII) == getSlot(MIJ)) in isLegalToPacketizeTogether()
193 int OpI = TII->getOperandIdx(MII->getOpcode(), AMDGPU::OpName::pred_sel), in isLegalToPacketizeTogether()
195 unsigned PredI = (OpI > -1)?MII->getOperand(OpI).getReg():0, in isLegalToPacketizeTogether()
207 if (MII->getOperand(0).getReg() != MIJ->getOperand(0).getReg()) in isLegalToPacketizeTogether()
213 bool ARDef = TII->definesAddressRegister(MII) || in isLegalToPacketizeTogether()
215 bool ARUse = TII->usesAddressRegister(MII) || in isLegalToPacketizeTogether()
/external/llvm/lib/MC/MCDisassembler/
DDisassembler.cpp55 const MCInstrInfo *MII = TheTarget->createMCInstrInfo(); in LLVMCreateDisasmCPUFeatures() local
56 if (!MII) in LLVMCreateDisasmCPUFeatures()
86 Triple(TT), AsmPrinterVariant, *MAI, *MII, *MRI); in LLVMCreateDisasmCPUFeatures()
92 TheTarget, MAI, MRI, STI, MII, Ctx, DisAsm, IP); in LLVMCreateDisasmCPUFeatures()
308 const MCInstrInfo *MII = DC->getInstrInfo(); in LLVMSetDisasmOptions() local
313 Triple(DC->getTripleName()), AsmPrinterVariant, *MAI, *MII, *MRI); in LLVMSetDisasmOptions()
DDisassembler.h68 std::unique_ptr<const llvm::MCInstrInfo> MII; variable
101 MII.reset(mII); in LLVMDisasmContext()
116 const MCInstrInfo *getInstrInfo() const { return MII.get(); } in getInstrInfo()
/external/mesa3d/src/gallium/drivers/radeon/InstPrinter/
DAMDGPUInstPrinter.h13 AMDGPUInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, in AMDGPUInstPrinter() argument
15 : MCInstPrinter(MAI, MII, MRI) {} in AMDGPUInstPrinter()
/external/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp374 MachineBasicBlock::const_iterator MII(MI); in LowerSTACKMAP() local
375 ++MII; in LowerSTACKMAP()
377 if (MII == MBB.end() || MII->isCall() || in LowerSTACKMAP()
378 MII->getOpcode() == AArch64::DBG_VALUE || in LowerSTACKMAP()
379 MII->getOpcode() == TargetOpcode::PATCHPOINT || in LowerSTACKMAP()
380 MII->getOpcode() == TargetOpcode::STACKMAP) in LowerSTACKMAP()
382 ++MII; in LowerSTACKMAP()
/external/llvm/lib/Target/X86/Disassembler/
DX86Disassembler.h94 std::unique_ptr<const MCInstrInfo> MII; variable
97 std::unique_ptr<const MCInstrInfo> MII);
/external/llvm/lib/Target/BPF/InstPrinter/
DBPFInstPrinter.h24 BPFInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, in BPFInstPrinter() argument
26 : MCInstPrinter(MAI, MII, MRI) {} in BPFInstPrinter()
/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()

12345