Home
last modified time | relevance | path

Searched refs:MIs (Results 1 – 11 of 11) sorted by relevance

/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DInstructionSelectorImpl.h63 bool NoFPException = !State.MIs[0]->getDesc().mayRaiseFPException(); in executeMatchTable()
65 const uint16_t Flags = State.MIs[0]->getFlags(); in executeMatchTable()
113 MachineOperand &MO = State.MIs[InsnID]->getOperand(OpIdx); in executeMatchTable()
130 if ((size_t)NewInsnID < State.MIs.size()) in executeMatchTable()
131 State.MIs[NewInsnID] = NewMI; in executeMatchTable()
133 assert((size_t)NewInsnID == State.MIs.size() && in executeMatchTable()
135 State.MIs.push_back(NewMI); in executeMatchTable()
166 assert(State.MIs[InsnID] != nullptr && "Used insn before defined"); in executeMatchTable()
167 unsigned Opcode = State.MIs[InsnID]->getOpcode(); in executeMatchTable()
189 assert(State.MIs[InsnID] != nullptr && "Used insn before defined"); in executeMatchTable()
[all …]
H A DInstructionSelector.h477 RecordedMIVector MIs; member
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVMakeCompressible.cpp225 SmallVectorImpl<MachineInstr *> &MIs) { in analyzeCompressibleUses() argument
247 MIs.push_back(&MI); in analyzeCompressibleUses()
264 if (MIs.size() < 2 || (RegImm.Imm != 0 && MIs.size() < 3)) in analyzeCompressibleUses()
351 SmallVector<MachineInstr *, 8> MIs; in runOnMachineFunction() local
352 Register NewReg = analyzeCompressibleUses(MI, RegImm, MIs); in runOnMachineFunction()
381 for (MachineInstr *UpdateMI : MIs) in runOnMachineFunction()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600OptimizeVectorRegisters.cpp236 std::vector<MachineInstr *> &MIs = It.second; in RemoveMI() local
237 MIs.erase(llvm::find(MIs, MI), MIs.end()); in RemoveMI()
240 std::vector<MachineInstr *> &MIs = It.second; in RemoveMI() local
241 MIs.erase(llvm::find(MIs, MI), MIs.end()); in RemoveMI()
298 std::vector<MachineInstr *> &MIs = in tryMergeUsingFreeSlot() local
300 CompatibleRSI = PreviousRegSeq[MIs.back()]; in tryMergeUsingFreeSlot()
H A DR600InstrInfo.h142 bool fitsReadPortLimitations(const std::vector<MachineInstr *> &MIs,
H A DR600ControlFlowFinalizer.cpp463 void CounterPropagateAddr(const std::set<MachineInstr *> &MIs, in CounterPropagateAddr() argument
465 for (MachineInstr *MI : MIs) { in CounterPropagateAddr()
H A DR600InstrInfo.cpp582 R600InstrInfo::fitsConstReadLimitations(const std::vector<MachineInstr *> &MIs) in fitsConstReadLimitations()
586 for (MachineInstr *MI : MIs) { in fitsConstReadLimitations()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DVirtRegMap.cpp449 SmallVector<MachineInstr *, 2> MIs({&MI}); in expandCopyBundle() local
458 MIs.push_back(&*I); in expandCopyBundle()
460 MachineInstr *FirstMI = MIs.back(); in expandCopyBundle()
476 for (int E = MIs.size(), PrevE = E; E > 1; PrevE = E) { in expandCopyBundle()
478 if (!anyRegsAlias(MIs[I], ArrayRef(MIs).take_front(E), TRI)) { in expandCopyBundle()
480 std::swap(MIs[I], MIs[E - 1]); in expandCopyBundle()
491 for (MachineInstr *BundledMI : llvm::reverse(MIs)) { in expandCopyBundle()
H A DMachineInstr.cpp407 ArrayRef<const MachineInstr *> MIs) { in cloneMergedMemRefs() argument
409 if (MIs.empty()) { in cloneMergedMemRefs()
413 if (MIs.size() == 1) { in cloneMergedMemRefs()
414 cloneMemRefs(MF, *MIs[0]); in cloneMergedMemRefs()
420 if (MIs[0]->memoperands_empty()) { in cloneMergedMemRefs()
428 assert(&MF == MIs[0]->getMF() && in cloneMergedMemRefs()
430 MergedMMOs.append(MIs[0]->memoperands_begin(), MIs[0]->memoperands_end()); in cloneMergedMemRefs()
432 for (const MachineInstr &MI : make_pointee_range(MIs.slice(1))) { in cloneMergedMemRefs()
439 if (hasIdenticalMMOs(MIs[0]->memoperands(), MI.memoperands())) in cloneMergedMemRefs()
/openbsd-src/gnu/llvm/llvm/docs/
H A DCodeGenerator.rst527 Conceptually a MI bundle is a MI with a number of other MIs nested within:
566 MachineBasicBlock and MachineInstr. All the MIs (including top level and nested
567 ones) are stored as sequential list of MIs. The "bundled" MIs are marked with
569 to represent the start of a bundle. It's legal to mix BUNDLE MIs with individual
570 MIs that are not inside bundles nor represent bundles.
573 methods have been taught to correctly handle bundles and MIs inside bundles.
574 The MachineBasicBlock iterator has been modified to skip over bundled MIs to
577 over all of the MIs in a MachineBasicBlock, including those which are nested
580 the bundled MIs.
584 specifically, the pass which determines what MIs should be bundled
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineInstr.h1818 ArrayRef<const MachineInstr *> MIs);