Home
last modified time | relevance | path

Searched refs:MOP (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRegUnits.cpp46 for (const MachineOperand &MOP : MI.operands()) { in stepBackward() local
47 if (MOP.isReg()) { in stepBackward()
48 if (MOP.isDef() && MOP.getReg().isPhysical()) in stepBackward()
49 removeReg(MOP.getReg()); in stepBackward()
53 if (MOP.isRegMask()) { in stepBackward()
54 removeRegsNotPreserved(MOP.getRegMask()); in stepBackward()
60 for (const MachineOperand &MOP : MI.operands()) { in stepBackward() local
61 if (!MOP.isReg() || !MOP.readsReg()) in stepBackward()
64 if (MOP.getReg().isPhysical()) in stepBackward()
65 addReg(MOP.getReg()); in stepBackward()
[all …]
H A DLivePhysRegs.cpp46 for (const MachineOperand &MOP : phys_regs_and_masks(MI)) { in removeDefs() local
47 if (MOP.isRegMask()) { in removeDefs()
48 removeRegsInMask(MOP); in removeDefs()
52 if (MOP.isDef()) in removeDefs()
53 removeReg(MOP.getReg()); in removeDefs()
59 for (const MachineOperand &MOP : phys_regs_and_masks(MI)) { in addUses() local
60 if (!MOP.isReg() || !MOP.readsReg()) in addUses()
62 addReg(MOP.getReg()); in addUses()
H A DMachineOutliner.cpp1147 for (MachineOperand &MOP : MI->operands()) { in outline()
1149 if (!MOP.isReg()) in outline()
1152 if (MOP.isDef()) { in outline()
1154 DefRegs.insert(MOP.getReg()); in outline()
1155 if (UseRegs.count(MOP.getReg()) && in outline()
1156 !InstrUseRegs.count(MOP.getReg())) in outline()
1159 UseRegs.erase(MOP.getReg()); in outline()
1160 } else if (!MOP.isUndef()) { in outline()
1163 UseRegs.insert(MOP.getReg()); in outline()
1164 InstrUseRegs.insert(MOP.getReg()); in outline()
H A DTargetInstrInfo.cpp2180 for (const MachineOperand &MOP : MI.operands()) { in getOutliningType() local
2185 assert(!MOP.isTargetIndex() && "This isn't used quite yet!"); in getOutliningType()
2188 assert(!MOP.isCFIIndex() && "CFI instructions handled elsewhere!"); in getOutliningType()
2191 assert(!MOP.isFI() && "FrameIndex instructions should be gone by now!"); in getOutliningType()
2193 if (MOP.isMBB() || MOP.isBlockAddress() || MOP.isCPI() || MOP.isJTI()) in getOutliningType()
H A DMachineCSE.cpp307 for (const auto &MOP : llvm::enumerate(MI->operands())) { in hasLivePhysRegDefUses() local
308 const MachineOperand &MO = MOP.value(); in hasLivePhysRegDefUses()
323 PhysDefs.emplace_back(MOP.index(), Reg); in hasLivePhysRegDefUses()
H A DLiveIntervals.cpp1166 for (MachineOperand &MOP : mi_bundle_ops(*KillMI)) in handleMoveDown()
1167 if (MOP.isReg() && MOP.isUse()) in handleMoveDown()
1168 MOP.setIsKill(false); in handleMoveDown()
H A DMachineVerifier.cpp3047 for (const MachineOperand &MOP : MI->uses()) { in checkLiveness() local
3048 if (!MOP.isReg() || !MOP.isImplicit()) in checkLiveness()
3051 if (!MOP.getReg().isPhysical()) in checkLiveness()
3054 if (MOP.getReg() != Reg && in checkLiveness()
3056 return llvm::is_contained(TRI->regunits(MOP.getReg()), in checkLiveness()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp942 bool isDef = any_of(I.operands(), [DefReg, TRI](MachineOperand &MOP) { in forAllMIsUntilDef() argument
943 return MOP.isReg() && MOP.isDef() && !MOP.isDebug() && MOP.getReg() && in forAllMIsUntilDef()
944 TRI->regsOverlap(MOP.getReg(), DefReg); in forAllMIsUntilDef()
957 for (const MachineOperand &MOP : phys_regs_and_masks(MI)) in updateDefinedRegisters() local
958 if (MOP.isReg() && MOP.isKill()) in updateDefinedRegisters()
959 Units.removeReg(MOP.getReg()); in updateDefinedRegisters()
961 for (const MachineOperand &MOP : phys_regs_and_masks(MI)) in updateDefinedRegisters() local
962 if (MOP.isReg() && !MOP.isKill()) in updateDefinedRegisters()
963 Units.addReg(MOP.getReg()); in updateDefinedRegisters()
1036 MachineOperand &MOP = MI.getOperand(OpIdx); in mergePairedInsns() local
[all …]
H A DAArch64ExpandPseudoInsts.cpp807 const MachineOperand &MOP = MBBI->getOperand(RegMaskStartIdx); in createCallWithOps() local
808 assert(MOP.isReg() && "can only add register operands"); in createCallWithOps()
810 MOP.getReg(), /*Def=*/false, /*Implicit=*/true, /*isKill=*/false, in createCallWithOps()
811 /*isDead=*/false, /*isUndef=*/MOP.isUndef())); in createCallWithOps()
H A DAArch64InstrInfo.cpp9691 for (const MachineOperand &MOP : MI.operands()) { in getOutliningTypeImpl() local
9694 assert(!MOP.isCFIIndex()); in getOutliningTypeImpl()
9697 if (MOP.isReg() && !MOP.isImplicit() && in getOutliningTypeImpl()
9698 (MOP.getReg() == AArch64::LR || MOP.getReg() == AArch64::W30)) in getOutliningTypeImpl()
9725 for (const MachineOperand &MOP : MI.operands()) { in getOutliningTypeImpl() local
9726 if (MOP.isGlobal()) { in getOutliningTypeImpl()
9727 Callee = dyn_cast<Function>(MOP.getGlobal()); in getOutliningTypeImpl()
H A DAArch64SchedNeoverseN1.td35 // stages. A MOP can be split into one or more micro-ops further down the
H A DAArch64SchedNeoverseV1.td39 // stages. A MOP can be split into one or more micro-ops further down the
H A DAArch64SchedNeoverseN2.td29 // stages. A MOP can be split into two micro-ops further down the pipeline
H A DAArch64SchedNeoverseN3.td29 // A MOP can be split into two Micro-OPerations (µOPs) further down the pipeline
H A DAArch64SchedNeoverseV2.td35 // stages. A MOP can be split into two micro-ops further down the pipeline
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveRegUnits.h168 auto Pred = [](const MachineOperand &MOP) { in phys_regs_and_masks()
169 return MOP.isRegMask() || in phys_regs_and_masks()
170 (MOP.isReg() && !MOP.isDebug() && MOP.getReg().isPhysical()); in phys_regs_and_masks()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMachOPlatform.h98 unique_function<std::unique_ptr<MaterializationUnit>(MachOPlatform &MOP,
103 buildSimpleMachOHeaderMU(MachOPlatform &MOP, HeaderOptions Opts);
388 SimpleMachOHeaderMU(MachOPlatform &MOP, SymbolStringPtr HeaderStartSymbol,
398 MachOPlatform &MOP; variable
413 createHeaderInterface(MachOPlatform &MOP,
419 MachOPlatform::buildSimpleMachOHeaderMU(MachOPlatform &MOP, in buildSimpleMachOHeaderMU() argument
421 return std::make_unique<SimpleMachOHeaderMU>(MOP, MOP.MachOHeaderStartSymbol, in buildSimpleMachOHeaderMU()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMachOPlatform.cpp96 std::unique_ptr<jitlink::LinkGraph> createPlatformGraph(MachOPlatform &MOP, in createPlatformGraph() argument
98 auto &ES = MOP.getExecutionSession(); in createPlatformGraph()
113 MachOPlatform &MOP, StringRef PlatformJDName, in MachOPlatformCompleteBootstrapMaterializationUnit() argument
122 MOP(MOP), PlatformJDName(PlatformJDName),
137 auto G = createPlatformGraph(MOP, "<OrcRTCompleteBootstrap>"); in materialize()
173 MOP.getObjectLinkingLayer().emit(std::move(R), std::move(G)); in materialize()
179 MachOPlatform &MOP; member in __anon04a50ca90111::MachOPlatformCompleteBootstrapMaterializationUnit
1742 jitlink::Block &createHeaderBlock(MachOPlatform &MOP, in createHeaderBlock() argument
1747 getMachOHeaderInfoFromTriple(MOP.getExecutionSession().getTargetTriple()); in createHeaderBlock()
1790 SimpleMachOHeaderMU::SimpleMachOHeaderMU(MachOPlatform &MOP, in SimpleMachOHeaderMU() argument
[all …]
H A DELFNixPlatform.cpp41 std::unique_ptr<jitlink::LinkGraph> createPlatformGraph(ELFNixPlatform &MOP, in createPlatformGraph() argument
43 auto &ES = MOP.getExecutionSession(); in createPlatformGraph()
54 ELFNixPlatform &MOP, StringRef PlatformJDName, in ELFNixPlatformCompleteBootstrapMaterializationUnit() argument
61 MOP(MOP), PlatformJDName(PlatformJDName),
75 auto G = createPlatformGraph(MOP, "<OrcRTCompleteBootstrap>"); in materialize()
107 MOP.getObjectLinkingLayer().emit(std::move(R), std::move(G)); in materialize()
113 ELFNixPlatform &MOP; member in __anonddf342a70111::ELFNixPlatformCompleteBootstrapMaterializationUnit
H A DCOFFPlatform.cpp135 createHeaderInterface(COFFPlatform &MOP, in createHeaderInterface() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizer.cpp397 static void widenCImmType(MachineOperand &MOP) { in widenCImmType() argument
398 const ConstantInt *CImmVal = MOP.getCImm(); in widenCImmType()
403 MOP.setCImm(ConstantInt::get(CImmVal->getType()->getContext(), in widenCImmType()
523 for (auto &MOP : MI.operands()) { in generateAssignInstrs() local
524 if (MOP.isReg()) in generateAssignInstrs()
525 widenScalarType(MOP.getReg(), MRI); in generateAssignInstrs()
526 else if (MOP.isCImm()) in generateAssignInstrs()
527 widenCImmType(MOP); in generateAssignInstrs()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerHelper.h492 bool matchConstantOp(const MachineOperand &MOP, int64_t C) const;
496 bool matchConstantFPOp(const MachineOperand &MOP, double C) const;
/freebsd/usr.bin/units/
H A Ddefinitions.units459 MOP macaupataca
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2901 bool CombinerHelper::matchConstantOp(const MachineOperand &MOP, in matchConstantOp() argument
2903 if (!MOP.isReg()) in matchConstantOp()
2905 auto *MI = MRI.getVRegDef(MOP.getReg()); in matchConstantOp()
2911 bool CombinerHelper::matchConstantFPOp(const MachineOperand &MOP, in matchConstantFPOp() argument
2913 if (!MOP.isReg()) in matchConstantFPOp()
2916 if (!mi_match(MOP.getReg(), MRI, m_GFCstOrSplat(MaybeCst))) in matchConstantFPOp()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp6177 for (const MachineOperand &MOP : MI.operands()) { in getOutliningTypeImpl() local
6178 if (MOP.isGlobal()) { in getOutliningTypeImpl()
6179 Callee = dyn_cast<Function>(MOP.getGlobal()); in getOutliningTypeImpl()

12