/external/llvm/include/llvm/CodeGen/ |
D | MachineInstrBundleIterator.h | 28 instr_iterator MII; variable 31 MachineInstrBundleIterator(instr_iterator MI) : MII(MI) {} in MachineInstrBundleIterator() 33 MachineInstrBundleIterator(Ty &MI) : MII(MI) { in MachineInstrBundleIterator() 38 MachineInstrBundleIterator(Ty *MI) : MII(MI) { in MachineInstrBundleIterator() 47 : MII(I.getInstrIterator()) {} in MachineInstrBundleIterator() 48 MachineInstrBundleIterator() : MII(nullptr) {} in MachineInstrBundleIterator() 50 Ty &operator*() const { return *MII; } 54 operator Ty *() const { return MII.getNodePtrUnchecked(); } 57 return MII == X.MII; 66 --MII; [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonFixupHwLoops.cpp | 71 MachineBasicBlock::iterator &MII); 138 MachineBasicBlock::iterator MII = MBB.begin(); in fixupLoopInstrs() local 140 while (MII != MIE) { in fixupLoopInstrs() 141 InstOffset += HII->getSize(&*MII); in fixupLoopInstrs() 142 if (MII->isDebugValue()) { in fixupLoopInstrs() 143 ++MII; in fixupLoopInstrs() 146 if (isHardwareLoop(*MII)) { in fixupLoopInstrs() 147 assert(MII->getOperand(0).isMBB() && in fixupLoopInstrs() 149 int diff = InstOffset - BlockToInstOffset[MII->getOperand(0).getMBB()]; in fixupLoopInstrs() 151 useExtLoopInstr(MF, MII); in fixupLoopInstrs() [all …]
|
D | HexagonSplitConst32AndConst64.cpp | 86 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(), TII->get(Hexagon::LO), DestReg) in runOnMachineFunction() 98 BuildMI(*MBB, MII, MI.getDebugLoc(), TII->get(Hexagon::HI), DestReg) in runOnMachineFunction() 102 MII = MBB->erase(&MI); in runOnMachineFunction() 120 BuildMI(*MBB, MII, MI.getDebugLoc(), TII->get(Hexagon::A2_tfrsi), in runOnMachineFunction() 123 MII = MBB->erase(&MI); in runOnMachineFunction() 146 BuildMI(*MBB, MII, MI.getDebugLoc(), TII->get(Hexagon::A2_tfrsi), in runOnMachineFunction() 149 BuildMI(*MBB, MII, MI.getDebugLoc(), TII->get(Hexagon::A2_tfrsi), in runOnMachineFunction() [all …]
|
D | HexagonNewValueJump.cpp | 176 MachineBasicBlock::iterator MII) { in commonChecksToProhibitNewValueJump() argument 179 if (MII->getDesc().mayStore()) in commonChecksToProhibitNewValueJump() 183 if (MII->getOpcode() == Hexagon::J2_call) in commonChecksToProhibitNewValueJump() 197 if (MII->getOpcode() == TargetOpcode::KILL || in commonChecksToProhibitNewValueJump() 198 MII->getOpcode() == TargetOpcode::PHI || in commonChecksToProhibitNewValueJump() 199 MII->getOpcode() == TargetOpcode::COPY) in commonChecksToProhibitNewValueJump() 206 if (MII->getOpcode() == Hexagon::LDriw_pred || in commonChecksToProhibitNewValueJump() 207 MII->getOpcode() == Hexagon::STriw_pred) in commonChecksToProhibitNewValueJump() 439 for (MachineBasicBlock::iterator MII = MBB->end(), E = MBB->begin(); in runOnMachineFunction() local 440 MII != E;) { in runOnMachineFunction() [all …]
|
D | HexagonVLIWPacketizer.h | 79 MachineBasicBlock::iterator &MII, 82 unsigned DepReg, MachineBasicBlock::iterator &MII, 87 MachineBasicBlock::iterator &MII, 90 unsigned DepReg, MachineBasicBlock::iterator &MII, 93 unsigned DepReg, MachineBasicBlock::iterator &MII);
|
/external/llvm/lib/CodeGen/ |
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() 240 MachineBasicBlock::instr_iterator MII = MBB.instr_begin(); in finalizeBundles() local 242 if (MII == MIE) in finalizeBundles() [all …]
|
D | OptimizePHIs.cpp | 160 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()
|
D | DeadMachineInstructionElim.cpp | 123 for (MachineBasicBlock::reverse_iterator MII = MBB.rbegin(), in runOnMachineFunction() local 124 MIE = MBB.rend(); MII != MIE; ) { in runOnMachineFunction() 125 MachineInstr *MI = &*MII; in runOnMachineFunction() 175 ++MII; in runOnMachineFunction()
|
D | LLVMTargetMachine.cpp | 52 MII = TheTarget.createMCInstrInfo(); in initAsmInfo() 207 const MCInstrInfo &MII = *getMCInstrInfo(); in addPassesToEmitFile() local 214 getTargetTriple(), MAI.getAssemblerDialect(), MAI, MII, MRI); in addPassesToEmitFile() 219 MCE = getTarget().createMCCodeEmitter(MII, MRI, *Context); in addPassesToEmitFile() 234 MCCodeEmitter *MCE = getTarget().createMCCodeEmitter(MII, MRI, *Context); in addPassesToEmitFile()
|
/external/llvm/lib/Target/WebAssembly/InstPrinter/ |
D | WebAssemblyInstPrinter.cpp | 36 const MCInstrInfo &MII, in WebAssemblyInstPrinter() argument 38 : MCInstPrinter(MAI, MII, MRI), ControlFlowCounter(0) {} in WebAssemblyInstPrinter() 54 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); in printInst() 141 assert((OpNo < MII.get(MI->getOpcode()).getNumOperands() || in printOperand() 142 MII.get(MI->getOpcode()).TSFlags == 0) && in printOperand() 147 else if (OpNo >= MII.get(MI->getOpcode()).getNumDefs()) in printOperand() 154 if (OpNo < MII.get(MI->getOpcode()).getNumDefs()) in printOperand() 157 assert((OpNo < MII.get(MI->getOpcode()).getNumOperands() || in printOperand() 158 (MII.get(MI->getOpcode()).TSFlags & in printOperand() 168 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); in printOperand() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | MLxExpansionPass.cpp | 247 MachineBasicBlock::iterator MII = MI; in ExpandFPMLxInstruction() 248 MII = llvm::prior(MII); in ExpandFPMLxInstruction() 249 MachineInstr &MI2 = *MII; in ExpandFPMLxInstruction() 250 MII = llvm::prior(MII); in ExpandFPMLxInstruction() 251 MachineInstr &MI1 = *MII; in ExpandFPMLxInstruction() 267 MachineBasicBlock::reverse_iterator MII = MBB.rbegin(), E = MBB.rend(); in ExpandFPMLxInstructions() local 268 while (MII != E) { in ExpandFPMLxInstructions() 269 MachineInstr *MI = &*MII; in ExpandFPMLxInstructions() 272 ++MII; in ExpandFPMLxInstructions() 280 ++MII; in ExpandFPMLxInstructions() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | VirtRegRewriter.cpp | 675 MachineBasicBlock::iterator &MII, in ReMaterialize() argument 686 TII->reMaterialize(MBB, MII, DestReg, 0, ReMatDefMI, *TRI); in ReMaterialize() 687 MachineInstr *NewMI = prior(MII); in ReMaterialize() 1020 static unsigned FindFreeRegister(MachineBasicBlock::iterator MII, in FindFreeRegister() argument 1033 if (MII == MBB.begin()) in FindFreeRegister() 1035 MachineInstr *PrevMI = prior(MII); in FindFreeRegister() 1036 MII = PrevMI; in FindFreeRegister() 1123 MachineBasicBlock::iterator &MII, 1129 bool OptimizeByUnfold(MachineBasicBlock::iterator &MII, 1135 bool CommuteToFoldReload(MachineBasicBlock::iterator &MII, [all …]
|
D | StackSlotColoring.cpp | 135 bool PropagateBackward(MachineBasicBlock::iterator MII, 138 bool PropagateForward(MachineBasicBlock::iterator MII, 185 for (MachineBasicBlock::iterator MII = MBB->begin(), EE = MBB->end(); in ScanForSpillSlotRefs() local 186 MII != EE; ++MII) { in ScanForSpillSlotRefs() 187 MachineInstr *MI = &*MII; in ScanForSpillSlotRefs() 495 bool StackSlotColoring::PropagateBackward(MachineBasicBlock::iterator MII, in PropagateBackward() argument 498 if (MII == MBB->begin()) in PropagateBackward() 503 while (--MII != MBB->begin()) { in PropagateBackward() 507 const MCInstrDesc &MCID = MII->getDesc(); in PropagateBackward() 508 for (unsigned i = 0, e = MII->getNumOperands(); i != e; ++i) { in PropagateBackward() [all …]
|
D | OptimizePHIs.cpp | 158 MII = MBB.begin(), E = MBB.end(); MII != E; ) { in OptimizeBB() local 159 MachineInstr *MI = &*MII++; in OptimizeBB() 181 if (&*MII == PhiMI) in OptimizeBB() 182 ++MII; in OptimizeBB()
|
D | PeepholeOptimizer.cpp | 420 MII = I->begin(), MIE = I->end(); MII != MIE; ) { in runOnMachineFunction() local 421 MachineInstr *MI = &*MII; in runOnMachineFunction() 427 ++MII; in runOnMachineFunction() 438 MII = First ? I->begin() : llvm::next(PMII); in runOnMachineFunction() 446 MII = First ? I->begin() : llvm::next(PMII); in runOnMachineFunction() 460 PMII = MII; in runOnMachineFunction() 461 ++MII; in runOnMachineFunction()
|
D | MachineLICM.cpp | 495 MII = BB->begin(), E = BB->end(); MII != E; ++MII) { in HoistRegionPostRA() local 496 MachineInstr *MI = &*MII; in HoistRegionPostRA() 542 MII = BB->begin(), E = BB->end(); MII != E; ++MII) { in AddToLiveIns() local 543 MachineInstr *MI = &*MII; in AddToLiveIns() 641 MII = BB->begin(), E = BB->end(); MII != E; ) { in HoistRegion() local 642 MachineBasicBlock::iterator NextMII = MII; ++NextMII; in HoistRegion() 643 MachineInstr *MI = &*MII; in HoistRegion() 646 MII = NextMII; in HoistRegion() 699 for (MachineBasicBlock::iterator MII = BB->begin(), E = BB->end(); in InitRegPressure() local 700 MII != E; ++MII) { in InitRegPressure() [all …]
|
D | DeadMachineInstructionElim.cpp | 124 for (MachineBasicBlock::reverse_iterator MII = MBB->rbegin(), in runOnMachineFunction() local 125 MIE = MBB->rend(); MII != MIE; ) { in runOnMachineFunction() 126 MachineInstr *MI = &*MII; in runOnMachineFunction() 195 ++MII; in runOnMachineFunction()
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonInstPrinter.cpp | 32 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() 90 if (HexagonMCInstrInfo::getExtendableOp(MII, *MI) == OpNo && in printOperand() 91 (HasExtender || HexagonMCInstrInfo::isConstExtended(MII, *MI))) in printOperand() 222 if (HasExtender || HexagonMCInstrInfo::isConstExtended(MII, *MI)) in printBrtarget() 223 if (HexagonMCInstrInfo::getExtendableOp(MII, *MI) == OpNo) in printBrtarget()
|
D | HexagonInstPrinter.h | 28 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/ |
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() 340 ++MII; in ExpandFPMLxInstructions() 348 ++MII; in ExpandFPMLxInstructions() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600Packetizer.cpp | 186 MachineInstr *MII = SUI->getInstr(), *MIJ = SUJ->getInstr(); in isLegalToPacketizeTogether() local 187 if (getSlot(*MII) == getSlot(*MIJ)) in isLegalToPacketizeTogether() 190 int OpI = TII->getOperandIdx(MII->getOpcode(), AMDGPU::OpName::pred_sel), in isLegalToPacketizeTogether() 192 unsigned PredI = (OpI > -1)?MII->getOperand(OpI).getReg():0, in isLegalToPacketizeTogether() 204 if (MII->getOperand(0).getReg() != MIJ->getOperand(0).getReg()) in isLegalToPacketizeTogether() 211 TII->definesAddressRegister(*MII) || TII->definesAddressRegister(*MIJ); in isLegalToPacketizeTogether() 213 TII->usesAddressRegister(*MII) || TII->usesAddressRegister(*MIJ); in isLegalToPacketizeTogether()
|
/external/llvm/lib/MC/MCDisassembler/ |
D | Disassembler.cpp | 55 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()
|
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()
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyPrepareForLiveIntervals.cpp | 124 for (auto MII = Entry.begin(), MIE = Entry.end(); MII != MIE; ) { in runOnMachineFunction() local 125 MachineInstr *MI = &*MII++; in runOnMachineFunction()
|
D | WebAssemblyOptimizeLiveIntervals.cpp | 94 for (auto MII = MF.begin()->begin(), MIE = MF.begin()->end(); MII != MIE; ) { in runOnMachineFunction() local 95 MachineInstr *MI = &*MII++; in runOnMachineFunction()
|