| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonFixupHwLoops.cpp | 140 while (MII != MIE) { in fixupLoopInstrs() 142 if (MII->isMetaInstruction()) { in fixupLoopInstrs() 143 ++MII; in fixupLoopInstrs() 146 if (isHardwareLoop(*MII)) { in fixupLoopInstrs() 153 useExtLoopInstr(MF, MII); in fixupLoopInstrs() 154 MII = MBB.erase(MII); in fixupLoopInstrs() 157 ++MII; in fixupLoopInstrs() 160 ++MII; in fixupLoopInstrs() 174 DebugLoc DL = MII->getDebugLoc(); in useExtLoopInstr() 177 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 | 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() 496 MII != E;) { in runOnMachineFunction() 497 MachineInstr &MI = *--MII; in runOnMachineFunction() 517 jmpPos = MII; in runOnMachineFunction() [all …]
|
| H A D | HexagonVLIWPacketizer.h | 114 MachineBasicBlock::iterator &MII, 117 unsigned DepReg, MachineBasicBlock::iterator &MII, 122 MachineBasicBlock::iterator &MII, 125 unsigned DepReg, MachineBasicBlock::iterator &MII, 128 unsigned DepReg, MachineBasicBlock::iterator &MII);
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | MachineInstrBundle.cpp | 55 MachineInstr *MI = &*MII; in runOnMachineFunction() 60 while (++MII != MIE && MII->isBundledWithPred()) { in runOnMachineFunction() 74 ++MII; in runOnMachineFunction() 113 for (auto MII = FirstMI; MII != LastMI; ++MII) in getDebugLoc() local 115 return MII->getDebugLoc(); in getDebugLoc() 148 for (auto MII = FirstMI; MII != LastMI; ++MII) { in finalizeBundle() local 231 for (auto MII = FirstMI; MII != LastMI; ++MII) { in finalizeBundle() local 263 if (MII == MIE) in finalizeBundles() 268 for (++MII; MII != MIE; ) { in finalizeBundles() 270 ++MII; in finalizeBundles() [all …]
|
| H A D | OptimizePHIs.cpp | 171 MII = MBB.begin(), E = MBB.end(); MII != E; ) { in OptimizeBB() local 172 MachineInstr *MI = &*MII++; in OptimizeBB() 201 if (MII == PhiMI) in OptimizeBB() 202 ++MII; in OptimizeBB()
|
| H A D | LLVMTargetMachine.cpp | 44 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()
|
| H A D | DeadMachineInstructionElim.cpp | 122 for (MachineBasicBlock::reverse_iterator MII = MBB.rbegin(), in runOnMachineFunction() local 123 MIE = MBB.rend(); MII != MIE; ) { in runOnMachineFunction() 124 MachineInstr *MI = &*MII++; in runOnMachineFunction()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | MachineInstrBundleIterator.h | 113 instr_iterator MII; 139 MachineInstrBundleIterator(reference MI) : MII(MI) { 145 MachineInstrBundleIterator(pointer MI) : MII(MI) { 158 : MII(I.getInstrIterator()) {} 160 MachineInstrBundleIterator() : MII(nullptr) {} 179 reference operator*() const { return *MII; } 183 bool isValid() const { return MII.getNodePtr(); } 187 return L.MII == R.MII; 257 this->decrement(MII); 261 this->increment(MII); [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonInstPrinter.h | 28 explicit HexagonInstPrinter(MCAsmInfo const &MAI, MCInstrInfo const &MII, in HexagonInstPrinter() argument 30 : 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 | 43 if (HexagonMCInstrInfo::isDuplex(MII, MCI)) { in printInst() 65 if (HexagonMCInstrInfo::getExtendableOp(MII, *MI) == OpNo && in printOperand() 66 (HasExtender || HexagonMCInstrInfo::isConstExtended(MII, *MI))) in printOperand() 91 if (HasExtender || HexagonMCInstrInfo::isConstExtended(MII, *MI)) in printBrtarget() 92 if (HexagonMCInstrInfo::getExtendableOp(MII, *MI) == OpNo) in printBrtarget()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/ |
| H A D | InstructionSelect.cpp | 105 for (auto MII = std::prev(MBB->end()), Begin = MBB->begin(); in runOnMachineFunction() local 109 const auto AfterIt = std::next(MII); in runOnMachineFunction() 112 MachineInstr &MI = *MII; in runOnMachineFunction() 115 if (MII == Begin) in runOnMachineFunction() 118 --MII; in runOnMachineFunction() 139 auto InsertedBegin = ReachedBegin ? MBB->begin() : std::next(MII); in runOnMachineFunction() 156 for (auto MII = std::prev(MBB.end()), Begin = MBB.begin(); !ReachedBegin;) { in runOnMachineFunction() local 158 MachineInstr &MI = *MII; in runOnMachineFunction() 161 if (MII == Begin) in runOnMachineFunction() 164 --MII; in runOnMachineFunction()
|
| H A D | Combiner.cpp | 124 for (auto MII = MBB->rbegin(), MIE = MBB->rend(); MII != MIE;) { in combineMachineInstrs() local 125 MachineInstr *CurMI = &*MII; in combineMachineInstrs() 126 ++MII; in combineMachineInstrs()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | MLxExpansionPass.cpp | 315 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()
|
| /freebsd-12.1/contrib/llvm/lib/MC/MCParser/ |
| H A D | MCTargetAsmParser.cpp | 17 const MCInstrInfo &MII) in MCTargetAsmParser() argument 18 : MCOptions(MCOptions), STI(&STI), MII(MII) {} in MCTargetAsmParser()
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/InstPrinter/ |
| H A D | WebAssemblyInstPrinter.cpp | 36 const MCInstrInfo &MII, in WebAssemblyInstPrinter() argument 38 : MCInstPrinter(MAI, MII, MRI) {} in WebAssemblyInstPrinter() 54 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); in printInst() 225 else if (OpNo >= MII.get(MI->getOpcode()).getNumDefs()) in printOperand() 232 if (OpNo < MII.get(MI->getOpcode()).getNumDefs()) in printOperand() 237 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); in printOperand()
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyPrepareForLiveIntervals.cpp | 116 for (auto MII = Entry.begin(), MIE = Entry.end(); MII != MIE;) { in runOnMachineFunction() local 117 MachineInstr &MI = *MII++; in runOnMachineFunction()
|
| H A D | WebAssemblyOptimizeLiveIntervals.cpp | 97 for (auto MII = MF.begin()->begin(), MIE = MF.begin()->end(); MII != MIE;) { in runOnMachineFunction() local 98 MachineInstr *MI = &*MII++; in runOnMachineFunction()
|
| /freebsd-12.1/contrib/llvm/lib/MC/MCDisassembler/ |
| H A D | Disassembler.cpp | 65 const MCInstrInfo *MII = TheTarget->createMCInstrInfo(); in LLVMCreateDisasmCPUFeatures() local 66 if (!MII) in LLVMCreateDisasmCPUFeatures() 96 Triple(TT), AsmPrinterVariant, *MAI, *MII, *MRI); in LLVMCreateDisasmCPUFeatures() 102 TheTarget, MAI, MRI, STI, MII, Ctx, DisAsm, IP); in LLVMCreateDisasmCPUFeatures() 317 const MCInstrInfo *MII = DC->getInstrInfo(); in LLVMSetDisasmOptions() local 322 Triple(DC->getTripleName()), AsmPrinterVariant, *MAI, *MII, *MRI); in LLVMSetDisasmOptions()
|
| H A D | Disassembler.h | 69 std::unique_ptr<const llvm::MCInstrInfo> MII; variable 99 MII.reset(mII); in LLVMDisasmContext() 114 const MCInstrInfo *getInstrInfo() const { return MII.get(); } in getInstrInfo()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | R600Packetizer.cpp | 184 MachineInstr *MII = SUI->getInstr(), *MIJ = SUJ->getInstr(); in isLegalToPacketizeTogether() local 185 if (getSlot(*MII) == getSlot(*MIJ)) in isLegalToPacketizeTogether() 188 int OpI = TII->getOperandIdx(MII->getOpcode(), R600::OpName::pred_sel), in isLegalToPacketizeTogether() 190 unsigned PredI = (OpI > -1)?MII->getOperand(OpI).getReg():0, in isLegalToPacketizeTogether() 202 if (MII->getOperand(0).getReg() != MIJ->getOperand(0).getReg()) in isLegalToPacketizeTogether() 209 TII->definesAddressRegister(*MII) || TII->definesAddressRegister(*MIJ); in isLegalToPacketizeTogether() 211 TII->usesAddressRegister(*MII) || TII->usesAddressRegister(*MIJ); in isLegalToPacketizeTogether()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | AMDGPUMCTargetDesc.cpp | 77 const MCInstrInfo &MII, in createAMDGPUMCInstPrinter() argument 80 return new R600InstPrinter(MAI, MII, MRI); in createAMDGPUMCInstPrinter() 82 return new AMDGPUInstPrinter(MAI, MII, MRI); in createAMDGPUMCInstPrinter()
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZRegisterInfo.cpp | 298 MachineBasicBlock::iterator MII = nullptr, MEE = nullptr; in shouldCoalesce() local 300 MII = FirstMI_GR128; in shouldCoalesce() 303 MII = FirstMI_GRNar; in shouldCoalesce() 311 for (; MII != MEE; ++MII) { in shouldCoalesce() 312 for (const MachineOperand &MO : MII->operands()) in shouldCoalesce()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | MicroMipsSizeReduction.cpp | 155 bool ReduceMI(const MachineBasicBlock::instr_iterator &MII, 415 bool MicroMipsSizeReduce::ReduceMI(const MachineBasicBlock::instr_iterator &MII, in ReduceMI() argument 418 MachineInstr *MI = &*MII; in ReduceMI() 434 ReduceEntryFunArgs Arguments(&(*MII), *Entry, NextMII); in ReduceMI() 674 MachineBasicBlock::instr_iterator MII = MBB.instr_begin(), in ReduceMBB() local 679 for (; MII != E; MII = NextMII) { in ReduceMBB() 680 NextMII = std::next(MII); in ReduceMBB() 681 MachineInstr *MI = &*MII; in ReduceMBB() 688 Modified |= ReduceMI(MII, NextMII); in ReduceMBB()
|
| /freebsd-12.1/contrib/llvm/lib/Target/BPF/InstPrinter/ |
| H A D | BPFInstPrinter.h | 22 BPFInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, in BPFInstPrinter() argument 24 : MCInstPrinter(MAI, MII, MRI) {} in BPFInstPrinter()
|