| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonFixupHwLoops.cpp | 70 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 …]
|
| H A D | HexagonVectorPrint.cpp | 140 MachineBasicBlock::instr_iterator MII = MI.getIterator(); in runOnMachineFunction() local 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() 171 MachineBasicBlock::instr_iterator MII = I->getIterator(); in runOnMachineFunction() local 174 while (MBB->instr_end() != MII && MII->isInsideBundle()) in runOnMachineFunction() 175 MII++; in runOnMachineFunction() 178 MII++; in runOnMachineFunction() [all …]
|
| H A D | HexagonNewValueJump.cpp | 200 MachineBasicBlock::iterator MII) { in commonChecksToProhibitNewValueJump() argument 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() 494 for (MachineBasicBlock::iterator MII = MBB->end(), E = MBB->begin(); in runOnMachineFunction() local 495 MII != E;) { 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);
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | MachineInstrBundle.cpp | 52 for (MachineBasicBlock::instr_iterator MII = MBB.instr_begin(), in runOnMachineFunction() local 53 MIE = MBB.instr_end(); MII != MIE; ) { in runOnMachineFunction() 54 MachineInstr *MI = &*MII; in runOnMachineFunction() 59 while (++MII != MIE && MII->isBundledWithPred()) { in runOnMachineFunction() 60 MII->unbundleFromPred(); in runOnMachineFunction() 61 for (unsigned i = 0, e = MII->getNumOperands(); i != e; ++i) { in runOnMachineFunction() 62 MachineOperand &MO = MII->getOperand(i); in runOnMachineFunction() 73 ++MII; in runOnMachineFunction() 112 for (auto MII = FirstMI; MII != LastMI; ++MII) in getDebugLoc() local 113 if (MII->getDebugLoc()) in getDebugLoc() [all …]
|
| H A D | OptimizePHIs.cpp | 168 MII = MBB.begin(), E = MBB.end(); MII != E; ) { in OptimizeBB() local 169 MachineInstr *MI = &*MII++; in OptimizeBB() 197 if (MII == PhiMI) in OptimizeBB() 198 ++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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | MachineInstrBundleIterator.h | 112 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 …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | GCNCreateVOPD.cpp | 120 auto MII = MBB.begin(), E = MBB.end(); in runOnMachineFunction() local 121 while (MII != E) { in runOnMachineFunction() 122 auto *FirstMI = &*MII; in runOnMachineFunction() 123 MII = next_nodbg(MII, MBB.end()); in runOnMachineFunction() 124 if (MII == MBB.end()) in runOnMachineFunction() 128 auto *SecondMI = &*MII; in runOnMachineFunction() 145 ++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()
|
| H A D | GCNVOPDUtils.cpp | 57 for (auto MII = MachineBasicBlock::const_iterator(&FirstMI); in checkVOPDRegConstraints() local 58 MII != FirstMI.getParent()->instr_end(); ++MII) { in checkVOPDRegConstraints() 59 if (&*MII == &SecondMI) in checkVOPDRegConstraints()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64KCFI.cpp | 106 for (MachineBasicBlock::instr_iterator MII = MBB.instr_begin(), in runOnMachineFunction() local 108 MII != MIE; ++MII) { in runOnMachineFunction() 109 if (MII->isCall() && MII->getCFIType()) in runOnMachineFunction() 110 Changed |= emitCheck(MBB, MII); in runOnMachineFunction()
|
| /openbsd-src/gnu/llvm/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() 201 auto InsertedBegin = ReachedBegin ? MBB->begin() : std::next(MII); in runOnMachineFunction() 225 for (auto MII = std::prev(MBB.end()), Begin = MBB.begin(); !ReachedBegin;) { in runOnMachineFunction() local 227 MachineInstr &MI = *MII; in runOnMachineFunction() 230 if (MII == Begin) in runOnMachineFunction() 233 --MII; in runOnMachineFunction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86KCFI.cpp | 141 for (MachineBasicBlock::instr_iterator MII = MBB.instr_begin(), in runOnMachineFunction() local 143 MII != MIE; ++MII) { in runOnMachineFunction() 144 if (MII->isCall() && MII->getCFIType()) in runOnMachineFunction() 145 Changed |= emitCheck(MBB, MII); in runOnMachineFunction()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyDebugFixup.cpp | 95 for (auto MII = MBB.begin(); MII != MBB.end(); ++MII) { in runOnMachineFunction() local 96 MachineInstr &MI = *MII; in runOnMachineFunction() 139 BuildMI(*Prev.DebugValue->getParent(), std::next(MII), in runOnMachineFunction()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-cfi-verify/lib/ |
| H A D | FileAnalysis.cpp | 174 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in isCFITrap() 179 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in willTrapOnCFIViolation() 196 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in canFallThrough() 211 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in getDefiniteNextInstruction() 271 const MCInstrInfo *FileAnalysis::getMCInstrInfo() const { return MII.get(); } in getMCInstrInfo() 291 const auto &InstrDesc = MII->get(InstrMetaPtr->Instruction.getOpcode()); in validateCFIProtection() 334 bool canLoad = !MII->get(IndirectCF.Instruction.getOpcode()).mayLoad(); in indirectCFOperandClobber() 343 const auto &InstrDesc = MII->get(NodeInstr.Instruction.getOpcode()); in indirectCFOperandClobber() 410 MII.reset(ObjectTarget->createMCInstrInfo()); in initialiseDisassemblyMembers() 411 if (!MII) in initialiseDisassemblyMembers() [all …]
|
| /openbsd-src/gnu/llvm/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()
|