Home
last modified time | relevance | path

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

1234567

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonFixupHwLoops.cpp70 MachineBasicBlock::iterator &MII);
136 MachineBasicBlock::iterator MII = MBB.begin(); in fixupLoopInstrs() local
138 while (MII != MIE) { in fixupLoopInstrs()
139 unsigned InstSize = HII->getSize(*MII); in fixupLoopInstrs()
140 if (MII->isMetaInstruction()) { in fixupLoopInstrs()
141 ++MII; in fixupLoopInstrs()
144 if (isHardwareLoop(*MII)) { in fixupLoopInstrs()
145 assert(MII->getOperand(0).isMBB() && in fixupLoopInstrs()
147 MachineBasicBlock *TargetBB = MII->getOperand(0).getMBB(); in fixupLoopInstrs()
151 useExtLoopInstr(MF, MII); in fixupLoopInstrs()
[all …]
DHexagonVectorPrint.cpp139 MachineBasicBlock::instr_iterator MII = MI.getIterator(); in runOnMachineFunction() local
140 for (++MII; MII != MBB.instr_end() && MII->isInsideBundle(); ++MII) { in runOnMachineFunction()
141 if (MII->getNumOperands() < 1) in runOnMachineFunction()
144 if (getInstrVecReg(*MII, Reg)) { in runOnMachineFunction()
145 VecPrintList.push_back((&*MII)); in runOnMachineFunction()
147 MII->dump()); in runOnMachineFunction()
170 MachineBasicBlock::instr_iterator MII = I->getIterator(); in runOnMachineFunction() local
173 while (MBB->instr_end() != MII && MII->isInsideBundle()) in runOnMachineFunction()
174 MII++; in runOnMachineFunction()
177 MII++; in runOnMachineFunction()
[all …]
DHexagonNewValueJump.cpp201 MachineBasicBlock::iterator MII) { in commonChecksToProhibitNewValueJump() argument
203 if (MII->mayStore()) in commonChecksToProhibitNewValueJump()
207 if (MII->isCall()) in commonChecksToProhibitNewValueJump()
221 if (MII->getOpcode() == TargetOpcode::KILL || in commonChecksToProhibitNewValueJump()
222 MII->getOpcode() == TargetOpcode::PHI || in commonChecksToProhibitNewValueJump()
223 MII->getOpcode() == TargetOpcode::COPY) in commonChecksToProhibitNewValueJump()
230 if (MII->getOpcode() == Hexagon::LDriw_pred || in commonChecksToProhibitNewValueJump()
231 MII->getOpcode() == Hexagon::STriw_pred) in commonChecksToProhibitNewValueJump()
495 for (MachineBasicBlock::iterator MII = MBB->end(), E = MBB->begin(); in runOnMachineFunction() local
496 MII != E;) { in runOnMachineFunction()
[all …]
DHexagonVLIWPacketizer.h112 MachineBasicBlock::iterator &MII,
115 unsigned DepReg, MachineBasicBlock::iterator &MII,
120 MachineBasicBlock::iterator &MII,
123 unsigned DepReg, MachineBasicBlock::iterator &MII,
126 unsigned DepReg, MachineBasicBlock::iterator &MII);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineInstrBundle.cpp53 for (MachineBasicBlock::instr_iterator MII = MBB->instr_begin(), in runOnMachineFunction() local
54 MIE = MBB->instr_end(); MII != MIE; ) { in runOnMachineFunction()
55 MachineInstr *MI = &*MII; in runOnMachineFunction()
60 while (++MII != MIE && MII->isBundledWithPred()) { in runOnMachineFunction()
61 MII->unbundleFromPred(); in runOnMachineFunction()
62 for (unsigned i = 0, e = MII->getNumOperands(); i != e; ++i) { in runOnMachineFunction()
63 MachineOperand &MO = MII->getOperand(i); in runOnMachineFunction()
74 ++MII; in runOnMachineFunction()
113 for (auto MII = FirstMI; MII != LastMI; ++MII) in getDebugLoc() local
114 if (MII->getDebugLoc().get()) in getDebugLoc()
[all …]
DOptimizePHIs.cpp170 MII = MBB.begin(), E = MBB.end(); MII != E; ) { in OptimizeBB() local
171 MachineInstr *MI = &*MII++; in OptimizeBB()
201 if (MII == PhiMI) in OptimizeBB()
202 ++MII; in OptimizeBB()
DLLVMTargetMachine.cpp43 MII.reset(TheTarget.createMCInstrInfo()); in initAsmInfo()
127 const MCInstrInfo &MII = *getMCInstrInfo(); in addAsmPrinter() local
134 getTargetTriple(), MAI.getAssemblerDialect(), MAI, MII, MRI); in addAsmPrinter()
139 MCE.reset(getTarget().createMCCodeEmitter(MII, MRI, Context)); in addAsmPrinter()
154 MCCodeEmitter *MCE = getTarget().createMCCodeEmitter(MII, MRI, Context); in addAsmPrinter()
DDeadMachineInstructionElim.cpp133 for (MachineBasicBlock::reverse_iterator MII = MBB.rbegin(), in runOnMachineFunction() local
134 MIE = MBB.rend(); MII != MIE; ) { in runOnMachineFunction()
135 MachineInstr *MI = &*MII++; in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineInstrBundleIterator.h112 instr_iterator MII;
132 MachineInstrBundleIterator(instr_iterator MI) : MII(MI) {
138 MachineInstrBundleIterator(reference MI) : MII(MI) {
144 MachineInstrBundleIterator(pointer MI) : MII(MI) {
157 : MII(I.getInstrIterator()) {}
159 MachineInstrBundleIterator() : MII(nullptr) {}
178 reference operator*() const { return *MII; }
182 bool isValid() const { return MII.getNodePtr(); }
186 return L.MII == R.MII;
190 return L.MII == R; // Avoid assertion about validity of R.
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonInstPrinter.h27 explicit HexagonInstPrinter(MCAsmInfo const &MAI, MCInstrInfo const &MII, in HexagonInstPrinter() argument
29 : MCInstPrinter(MAI, MII, MRI), MII(MII) {} in HexagonInstPrinter()
42 MCInstrInfo const &getMII() const { return MII; } in getMII()
45 MCInstrInfo const &MII;
DHexagonInstPrinter.cpp42 if (HexagonMCInstrInfo::isDuplex(MII, MCI)) { in printInst()
64 if (HexagonMCInstrInfo::getExtendableOp(MII, *MI) == OpNo && in printOperand()
65 (HasExtender || HexagonMCInstrInfo::isConstExtended(MII, *MI))) in printOperand()
90 if (HasExtender || HexagonMCInstrInfo::isConstExtended(MII, *MI)) in printBrtarget()
91 if (HexagonMCInstrInfo::getExtendableOp(MII, *MI) == OpNo) in printBrtarget()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DInstructionSelect.cpp110 for (auto MII = std::prev(MBB->end()), Begin = MBB->begin(); in runOnMachineFunction() local
114 const auto AfterIt = std::next(MII); in runOnMachineFunction()
117 MachineInstr &MI = *MII; in runOnMachineFunction()
120 if (MII == Begin) in runOnMachineFunction()
123 --MII; in runOnMachineFunction()
144 auto InsertedBegin = ReachedBegin ? MBB->begin() : std::next(MII); in runOnMachineFunction()
159 for (auto MII = std::prev(MBB.end()), Begin = MBB.begin(); !ReachedBegin;) { in runOnMachineFunction() local
161 MachineInstr &MI = *MII; in runOnMachineFunction()
164 if (MII == Begin) in runOnMachineFunction()
167 --MII; in runOnMachineFunction()
DCombiner.cpp135 for (auto MII = MBB->rbegin(), MIE = MBB->rend(); MII != MIE;) { in combineMachineInstrs() local
136 MachineInstr *CurMI = &*MII; in combineMachineInstrs()
137 ++MII; in combineMachineInstrs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMLxExpansionPass.cpp312 MachineBasicBlock::iterator MII = MI; in ExpandFPMLxInstruction()
313 MII = std::prev(MII); in ExpandFPMLxInstruction()
314 MachineInstr &MI2 = *MII; in ExpandFPMLxInstruction()
315 MII = std::prev(MII); in ExpandFPMLxInstruction()
316 MachineInstr &MI1 = *MII; in ExpandFPMLxInstruction()
332 MachineBasicBlock::reverse_iterator MII = MBB.rbegin(), E = MBB.rend(); in ExpandFPMLxInstructions() local
333 while (MII != E) { in ExpandFPMLxInstructions()
334 MachineInstr *MI = &*MII++; in ExpandFPMLxInstructions()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCDisassembler/
DDisassembler.h68 std::unique_ptr<const llvm::MCInstrInfo> MII; variable
92 std::unique_ptr<const MCInstrInfo> &&MII, in LLVMDisasmContext() argument
99 MII(std::move(MII)), Ctx(std::move(Ctx)), DisAsm(std::move(DisAsm)), in LLVMDisasmContext()
111 const MCInstrInfo *getInstrInfo() const { return MII.get(); } in getInstrInfo()
DDisassembler.cpp67 std::unique_ptr<const MCInstrInfo> MII(TheTarget->createMCInstrInfo()); in LLVMCreateDisasmCPUFeatures() local
68 if (!MII) in LLVMCreateDisasmCPUFeatures()
99 Triple(TT), AsmPrinterVariant, *MAI, *MII, *MRI)); in LLVMCreateDisasmCPUFeatures()
105 std::move(MRI), std::move(STI), std::move(MII), std::move(Ctx), in LLVMCreateDisasmCPUFeatures()
321 const MCInstrInfo *MII = DC->getInstrInfo(); in LLVMSetDisasmOptions() local
326 Triple(DC->getTripleName()), AsmPrinterVariant, *MAI, *MII, *MRI); in LLVMSetDisasmOptions()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp208 for (MachineBasicBlock::iterator MII = MBB->getFirstTerminator(), in runOnMachineFunction() local
209 MIIE = MBB->end(); MII != MIIE; ++MII) { in runOnMachineFunction()
210 unsigned Opc = MII->getOpcode(); in runOnMachineFunction()
213 if (!verifyCTRBranch(MBB, MII)) in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DMCTargetAsmParser.cpp16 const MCInstrInfo &MII) in MCTargetAsmParser() argument
17 : MCOptions(MCOptions), STI(&STI), MII(MII) {} in MCTargetAsmParser()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyInstPrinter.cpp36 const MCInstrInfo &MII, in WebAssemblyInstPrinter() argument
38 : MCInstPrinter(MAI, MII, MRI) {} in WebAssemblyInstPrinter()
55 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); in printInst()
216 else if (OpNo >= MII.get(MI->getOpcode()).getNumDefs()) in printOperand()
223 if (OpNo < MII.get(MI->getOpcode()).getNumDefs()) in printOperand()
228 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); in printOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600Packetizer.cpp183 MachineInstr *MII = SUI->getInstr(), *MIJ = SUJ->getInstr(); in isLegalToPacketizeTogether() local
184 if (getSlot(*MII) == getSlot(*MIJ)) in isLegalToPacketizeTogether()
187 int OpI = TII->getOperandIdx(MII->getOpcode(), R600::OpName::pred_sel), in isLegalToPacketizeTogether()
189 Register PredI = (OpI > -1)?MII->getOperand(OpI).getReg() : Register(), in isLegalToPacketizeTogether()
201 if (MII->getOperand(0).getReg() != MIJ->getOperand(0).getReg()) in isLegalToPacketizeTogether()
208 TII->definesAddressRegister(*MII) || TII->definesAddressRegister(*MIJ); in isLegalToPacketizeTogether()
210 TII->usesAddressRegister(*MII) || TII->usesAddressRegister(*MIJ); in isLegalToPacketizeTogether()
DR600OptimizeVectorRegisters.cpp348 for (MachineBasicBlock::iterator MII = MB->begin(), MIIE = MB->end(); in runOnMachineFunction() local
349 MII != MIIE; ++MII) { in runOnMachineFunction()
350 MachineInstr &MI = *MII; in runOnMachineFunction()
381 MII = RebuildVector(&RSI, &CandidateRSI, RemapChan); in runOnMachineFunction()
389 MII = RebuildVector(&RSI, &CandidateRSI, RemapChan); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyPrepareForLiveIntervals.cpp115 for (auto MII = Entry.begin(), MIE = Entry.end(); MII != MIE;) { in runOnMachineFunction() local
116 MachineInstr &MI = *MII++; in runOnMachineFunction()
DWebAssemblyOptimizeLiveIntervals.cpp96 for (auto MII = MF.begin()->begin(), MIE = MF.begin()->end(); MII != MIE;) { in runOnMachineFunction() local
97 MachineInstr *MI = &*MII++; in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMicroMipsSizeReduction.cpp154 bool ReduceMI(const MachineBasicBlock::instr_iterator &MII,
414 bool MicroMipsSizeReduce::ReduceMI(const MachineBasicBlock::instr_iterator &MII, in ReduceMI() argument
417 MachineInstr *MI = &*MII; in ReduceMI()
433 ReduceEntryFunArgs Arguments(&(*MII), *Entry, NextMII); in ReduceMI()
673 MachineBasicBlock::instr_iterator MII = MBB.instr_begin(), in ReduceMBB() local
678 for (; MII != E; MII = NextMII) { in ReduceMBB()
679 NextMII = std::next(MII); in ReduceMBB()
680 MachineInstr *MI = &*MII; in ReduceMBB()
687 Modified |= ReduceMI(MII, NextMII); in ReduceMBB()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUMCTargetDesc.cpp78 const MCInstrInfo &MII, in createAMDGPUMCInstPrinter() argument
81 return new R600InstPrinter(MAI, MII, MRI); in createAMDGPUMCInstPrinter()
83 return new AMDGPUInstPrinter(MAI, MII, MRI); in createAMDGPUMCInstPrinter()

1234567