| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonFixupHwLoops.cpp | 138 while (MII != MIE) { in fixupLoopInstrs() 140 if (MII->isMetaInstruction()) { in fixupLoopInstrs() 141 ++MII; in fixupLoopInstrs() 144 if (isHardwareLoop(*MII)) { in fixupLoopInstrs() 151 useExtLoopInstr(MF, MII); in fixupLoopInstrs() 152 MII = MBB.erase(MII); in fixupLoopInstrs() 155 ++MII; in fixupLoopInstrs() 158 ++MII; in fixupLoopInstrs() 172 DebugLoc DL = MII->getDebugLoc(); in useExtLoopInstr() 175 switch (MII->getOpcode()) { in useExtLoopInstr() [all …]
|
| H A D | HexagonVectorPrint.cpp | 141 for (++MII; MII != MBB.instr_end() && MII->isInsideBundle(); ++MII) { in runOnMachineFunction() 142 if (MII->getNumOperands() < 1) in runOnMachineFunction() 145 if (getInstrVecReg(*MII, Reg)) { in runOnMachineFunction() 146 VecPrintList.push_back((&*MII)); in runOnMachineFunction() 148 MII->dump()); in runOnMachineFunction() 174 while (MBB->instr_end() != MII && MII->isInsideBundle()) in runOnMachineFunction() 175 MII++; in runOnMachineFunction() 178 MII++; in runOnMachineFunction() 180 if (MBB->instr_end() == MII) in runOnMachineFunction() 189 MII, DL, QII, Fn); in runOnMachineFunction() [all …]
|
| H A D | HexagonNewValueJump.cpp | 202 if (MII->mayStore()) in commonChecksToProhibitNewValueJump() 206 if (MII->isCall()) in commonChecksToProhibitNewValueJump() 220 if (MII->getOpcode() == TargetOpcode::KILL || in commonChecksToProhibitNewValueJump() 221 MII->getOpcode() == TargetOpcode::PHI || in commonChecksToProhibitNewValueJump() 222 MII->getOpcode() == TargetOpcode::COPY) in commonChecksToProhibitNewValueJump() 229 if (MII->getOpcode() == Hexagon::LDriw_pred || in commonChecksToProhibitNewValueJump() 230 MII->getOpcode() == Hexagon::STriw_pred) in commonChecksToProhibitNewValueJump() 495 MII != E;) { in runOnMachineFunction() 496 MachineInstr &MI = *--MII; in runOnMachineFunction() 516 jmpPos = MII; in runOnMachineFunction() [all …]
|
| H A D | HexagonVLIWPacketizer.h | 122 MachineBasicBlock::iterator &MII, 125 unsigned DepReg, MachineBasicBlock::iterator &MII, 130 MachineBasicBlock::iterator &MII, 133 unsigned DepReg, MachineBasicBlock::iterator &MII, 136 unsigned DepReg, MachineBasicBlock::iterator &MII);
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineInstrBundle.cpp | 59 while (++MII != MIE && MII->isBundledWithPred()) { in runOnMachineFunction() 73 ++MII; in runOnMachineFunction() 112 for (auto MII = FirstMI; MII != LastMI; ++MII) in getDebugLoc() local 113 if (MII->getDebugLoc()) in getDebugLoc() 147 for (auto MII = FirstMI; MII != LastMI; ++MII) { in finalizeBundle() local 149 if (MII->isDebugInstr()) in finalizeBundle() 234 for (auto MII = FirstMI; MII != LastMI; ++MII) { in finalizeBundle() local 265 if (MII == MIE) in finalizeBundles() 270 for (++MII; MII != MIE; ) { in finalizeBundles() 272 ++MII; in finalizeBundles() [all …]
|
| H A D | OptimizePHIs.cpp | 169 MII = MBB.begin(), E = MBB.end(); MII != E; ) { in OptimizeBB() local 170 MachineInstr *MI = &*MII++; in OptimizeBB() 198 if (MII == PhiMI) in OptimizeBB() 199 ++MII; in OptimizeBB()
|
| H A D | PseudoProbeInserter.cpp | 91 auto MII = MBB.rbegin(); in runOnMachineFunction() local 92 while (MII != MBB.rend()) { in runOnMachineFunction() 95 if (!MII->isPseudo()) in runOnMachineFunction() 97 auto Cur = MII++; in runOnMachineFunction()
|
| H A D | LLVMTargetMachine.cpp | 43 MII.reset(TheTarget.createMCInstrInfo()); in initAsmInfo() 44 assert(MII && "Unable to create instruction info"); in initAsmInfo() 154 const MCInstrInfo &MII = *getMCInstrInfo(); in createMCStreamer() local 161 getTargetTriple(), MAI.getAssemblerDialect(), MAI, MII, MRI); in createMCStreamer() 166 MCE.reset(getTarget().createMCCodeEmitter(MII, Context)); in createMCStreamer() 194 MCCodeEmitter *MCE = getTarget().createMCCodeEmitter(MII, Context); in createMCStreamer()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MachineInstrBundleIterator.h | 112 instr_iterator MII; 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; 256 this->decrement(MII); 260 this->increment(MII); [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonInstPrinter.h | 27 explicit HexagonInstPrinter(MCAsmInfo const &MAI, MCInstrInfo const &MII, in HexagonInstPrinter() argument 29 : MCInstPrinter(MAI, MII, MRI), MII(MII) {} in HexagonInstPrinter() 43 MCInstrInfo const &getMII() const { return MII; } in getMII() 46 MCInstrInfo const &MII;
|
| H A D | HexagonInstPrinter.cpp | 42 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()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | GCNCreateVOPD.cpp | 131 auto MII = MBB.begin(), E = MBB.end(); in runOnMachineFunction() local 132 while (MII != E) { in runOnMachineFunction() 133 auto *FirstMI = &*MII; in runOnMachineFunction() 134 MII = next_nodbg(MII, MBB.end()); in runOnMachineFunction() 135 if (MII == MBB.end()) in runOnMachineFunction() 139 auto *SecondMI = &*MII; in runOnMachineFunction() 156 ++MII; in runOnMachineFunction()
|
| H A D | R600Packetizer.cpp | 178 MachineInstr *MII = SUI->getInstr(), *MIJ = SUJ->getInstr(); in isLegalToPacketizeTogether() local 179 if (getSlot(*MII) == getSlot(*MIJ)) in isLegalToPacketizeTogether() 182 int OpI = TII->getOperandIdx(MII->getOpcode(), R600::OpName::pred_sel), in isLegalToPacketizeTogether() 184 Register PredI = (OpI > -1)?MII->getOperand(OpI).getReg() : Register(), in isLegalToPacketizeTogether() 196 if (MII->getOperand(0).getReg() != MIJ->getOperand(0).getReg()) in isLegalToPacketizeTogether() 203 TII->definesAddressRegister(*MII) || TII->definesAddressRegister(*MIJ); in isLegalToPacketizeTogether() 205 TII->usesAddressRegister(*MII) || TII->usesAddressRegister(*MIJ); in isLegalToPacketizeTogether()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | InstructionSelect.cpp | 142 for (auto MII = std::prev(MBB->end()), Begin = MBB->begin(); in runOnMachineFunction() local 146 const auto AfterIt = std::next(MII); in runOnMachineFunction() 149 MachineInstr &MI = *MII; in runOnMachineFunction() 152 if (MII == Begin) in runOnMachineFunction() 155 --MII; in runOnMachineFunction() 195 auto InsertedBegin = ReachedBegin ? MBB->begin() : std::next(MII); in runOnMachineFunction() 219 for (auto MII = std::prev(MBB.end()), Begin = MBB.begin(); !ReachedBegin;) { in runOnMachineFunction() local 221 MachineInstr &MI = *MII; in runOnMachineFunction() 224 if (MII == Begin) in runOnMachineFunction() 227 --MII; in runOnMachineFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsMulMulBugPass.cpp | 116 for (MachineBasicBlock::instr_iterator MII = MBB.instr_begin(), in fixMulMulBB() local 118 MII != E; MII = NextMII) { in fixMulMulBB() 120 NextMII = next_nodbg(MII, E); in fixMulMulBB() 124 if (NextMII != E && isFirstMul(*MII) && isSecondMulOrBranch(*NextMII)) { in fixMulMulBB()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyDebugFixup.cpp | 77 for (auto MII = MBB.begin(); MII != MBB.end(); ++MII) { in runOnMachineFunction() local 78 MachineInstr &MI = *MII; in runOnMachineFunction() 121 BuildMI(*Prev.DebugValue->getParent(), std::next(MII), in runOnMachineFunction()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCDisassembler/ |
| H A D | Disassembler.h | 68 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()
|
| H A D | Disassembler.cpp | 66 std::unique_ptr<const MCInstrInfo> MII(TheTarget->createMCInstrInfo()); in LLVMCreateDisasmCPUFeatures() local 67 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()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | MLxExpansionPass.cpp | 312 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()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | MCTargetAsmParser.cpp | 16 const MCInstrInfo &MII) in MCTargetAsmParser() argument 17 : MCOptions(MCOptions), STI(&STI), MII(MII) {} in MCTargetAsmParser()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCCTRLoopsVerify.cpp | 173 for (MachineBasicBlock::iterator MII = MBB.getFirstTerminator(), in runOnMachineFunction() local 174 MIIE = MBB.end(); MII != MIIE; ++MII) { in runOnMachineFunction() 175 unsigned Opc = MII->getOpcode(); in runOnMachineFunction() 178 if (!verifyCTRBranch(&MBB, MII)) in runOnMachineFunction()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cfi-verify/lib/ |
| H A D | FileAnalysis.cpp | 170 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in isCFITrap() 175 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in willTrapOnCFIViolation() 192 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in canFallThrough() 207 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in getDefiniteNextInstruction() 287 const auto &InstrDesc = MII->get(InstrMetaPtr->Instruction.getOpcode()); in validateCFIProtection() 339 const auto &InstrDesc = MII->get(NodeInstr.Instruction.getOpcode()); in indirectCFOperandClobber() 406 MII.reset(ObjectTarget->createMCInstrInfo()); in initialiseDisassemblyMembers() 407 if (!MII) in initialiseDisassemblyMembers() 420 MIA.reset(ObjectTarget->createMCInstrAnalysis(MII.get())); in initialiseDisassemblyMembers() 423 ObjectTriple, AsmInfo->getAssemblerDialect(), *AsmInfo, *MII, in initialiseDisassemblyMembers() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/MCTargetDesc/ |
| H A D | DirectXMCTargetDesc.cpp | 49 DXILInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, in DXILInstPrinter() argument 51 : MCInstPrinter(MAI, MII, MRI) {} in DXILInstPrinter() 113 const MCInstrInfo &MII, in createDXILMCInstPrinter() argument 116 return new DXILInstPrinter(MAI, MII, MRI); in createDXILMCInstPrinter()
|
| /llvm-project-15.0.7/llvm/unittests/MC/ |
| H A D | MCInstPrinter.cpp | 27 std::unique_ptr<const MCInstrInfo> MII; member in __anonb11341ad0111::MCInstPrinterTest 47 MII.reset(TheTarget->createMCInstrInfo()); in MCInstPrinterTest() 49 Triple(TripleName), MAI->getAssemblerDialect(), *MAI, *MII, *MRI)); in MCInstPrinterTest()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARC/ |
| H A D | ARCExpandPseudos.cpp | 80 MachineBasicBlock::iterator MII) { in expandCTLZ() argument 87 MachineInstr &MI = *MII; in expandCTLZ() 109 MachineBasicBlock::iterator MII) { in expandCTTZ() argument 115 MachineInstr &MI = *MII; in expandCTTZ()
|