Home
last modified time | relevance | path

Searched refs:MemOp (Results 1 – 25 of 61) sorted by relevance

123

/openbsd/gnu/llvm/llvm/lib/Target/M68k/AsmParser/
H A DM68kAsmParser.cpp129 MemOp, enumerator
138 M68kMemOp MemOp; member
301 return Kind == KindTy::MemOp && MemOp.Op == M68kMemOp::Kind::Reg; in isReg()
319 Op->MemOp = MemOp; in createMemOp()
712 M68kMemOp MemOp; in parseMemOp() local
791 MemOp.Size = 4; in parseMemOp()
792 MemOp.Scale = 1; in parseMemOp()
838 MemOp.RegMask = 0; in parseRegOrMoveMask()
842 (MemOp.Op == M68kMemOp::Kind::RegMask) && (MemOp.RegMask == 0); in parseRegOrMoveMask()
880 MemOp.RegMask = 1 << getRegisterIndex(MemOp.OuterReg); in parseRegOrMoveMask()
[all …]
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DPGOMemOPSizeOpt.cpp112 struct MemOp { struct
114 MemOp(MemIntrinsic *MI) : I(MI) {} in MemOp() argument
115 MemOp(CallInst *CI) : I(CI) {} in MemOp() function
118 MemOp clone() { in clone() argument
121 return MemOp(cast<CallInst>(asCI()->clone())); in clone()
205 WorkList.push_back(MemOp(&MI)); in visitMemIntrinsic()
213 WorkList.push_back(MemOp(&CI)); in visitCallInst()
224 std::vector<MemOp> WorkList;
227 bool perform(MemOp MO);
248 bool MemOPSizeOpt::perform(MemOp MO) { in perform()
[all …]
H A DInstrProfiling.cpp396 MemOp enumerator
595 CallType == ValueProfilingCallType::MemOp) && in getOrInsertValueProfilingCall()
659 getOrInsertValueProfilingCall(*M, *TLI, ValueProfilingCallType::MemOp), in lowerValueProfileInst()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86LegalizerInfo.cpp83 for (unsigned MemOp : {G_LOAD, G_STORE}) in X86LegalizerInfo()
131 for (unsigned MemOp : {G_LOAD, G_STORE}) { in setLegalizerInfo32bit()
133 LegacyInfo.setAction({MemOp, Ty}, LegacyLegalizeActions::Legal); in setLegalizerInfo32bit()
136 LegacyInfo.setAction({MemOp, 1, p0}, LegacyLegalizeActions::Legal); in setLegalizerInfo32bit()
225 for (unsigned MemOp : {G_LOAD, G_STORE}) in setLegalizerInfo64bit()
226 LegacyInfo.setAction({MemOp, s64}, LegacyLegalizeActions::Legal); in setLegalizerInfo64bit()
306 for (unsigned MemOp : {G_LOAD, G_STORE}) in setLegalizerInfoSSE1()
308 LegacyInfo.setAction({MemOp, Ty}, LegacyLegalizeActions::Legal); in setLegalizerInfoSSE1()
407 for (unsigned MemOp : {G_LOAD, G_STORE}) in setLegalizerInfoAVX()
409 LegacyInfo.setAction({MemOp, Ty}, LegacyLegalizeActions::Legal); in setLegalizerInfoAVX()
[all …]
H A DX86InstrFoldTables.h93 const X86MemoryFoldTableEntry *lookupUnfoldTable(unsigned MemOp);
H A DX86DomainReassignment.cpp564 int MemOp = X86II::getMemoryOperandNo(Desc.TSFlags); in buildClosure() local
565 if (MemOp != -1) in buildClosure()
566 MemOp += X86II::getOperandBias(Desc); in buildClosure()
568 if (OpIdx == MemOp) { in buildClosure()
H A DX86InstructionSelector.cpp551 auto &MemOp = **I.memoperands_begin(); in selectLoadStoreOp() local
552 if (MemOp.isAtomic()) { in selectLoadStoreOp()
558 if (!MemOp.isUnordered()) { in selectLoadStoreOp()
562 if (MemOp.getAlign() < Ty.getSizeInBits() / 8) { in selectLoadStoreOp()
568 unsigned NewOpc = getLoadStoreOp(Ty, RB, Opc, MemOp.getAlign()); in selectLoadStoreOp()
H A DX86InstrAVX512.td1788 (ins _.RC:$src2, _.MemOp:$src3),
2004 (ins _.RC:$src1, _.MemOp:$src2),
6830 (ins _.RC:$src2, _.MemOp:$src3),
6923 (ins _.RC:$src2, _.MemOp:$src3),
7019 (ins _.RC:$src2, _.MemOp:$src3),
7446 (ins _.RC:$src2, _.MemOp:$src3),
8043 string Alias = "", X86MemOperand MemOp = _Src.MemOp,
8063 (ins MemOp:$src),
8126 string Alias = "", X86MemOperand MemOp = _Src.MemOp,
8129 Alias, MemOp, MaskRC,
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp342 if (auto *MemOp = dyn_cast<MemSDNode>(Node)) in selectVLSEG() local
343 CurDAG->setNodeMemRefs(Load, {MemOp->getMemOperand()}); in selectVLSEG()
386 if (auto *MemOp = dyn_cast<MemSDNode>(Node)) in selectVLSEGFF() local
441 if (auto *MemOp = dyn_cast<MemSDNode>(Node)) in selectVLXSEG() local
481 if (auto *MemOp = dyn_cast<MemSDNode>(Node)) in selectVSSEG() local
523 if (auto *MemOp = dyn_cast<MemSDNode>(Node)) in selectVSXSEG() local
1440 if (auto *MemOp = dyn_cast<MemSDNode>(Node)) in Select() local
1482 if (auto *MemOp = dyn_cast<MemSDNode>(Node)) in Select() local
1515 if (auto *MemOp = dyn_cast<MemSDNode>(Node)) in Select() local
1640 if (auto *MemOp = dyn_cast<MemSDNode>(Node)) in Select() local
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp562 static void addMemoryOperands(MachineMemOperand *MemOp, in addMemoryOperands() argument
565 if (MemOp->isVolatile()) in addMemoryOperands()
567 if (MemOp->isNonTemporal()) in addMemoryOperands()
569 if (MemOp->getAlign().value()) in addMemoryOperands()
575 MIB.addImm(MemOp->getAlign().value()); in addMemoryOperands()
678 const MachineMemOperand *MemOp = *I.memoperands_begin(); in selectAtomicRMW() local
679 uint32_t Scope = static_cast<uint32_t>(getScope(MemOp->getSyncScopeID())); in selectAtomicRMW()
686 AtomicOrdering AO = MemOp->getSuccessOrdering(); in selectAtomicRMW()
723 const MachineMemOperand *MemOp = *I.memoperands_begin(); in selectAtomicCmpXchg() local
729 AtomicOrdering AO = MemOp->getSuccessOrdering(); in selectAtomicCmpXchg()
[all …]
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DMachineLICM.cpp409 for (const MachineMemOperand *MemOp : MI->memoperands()) { in InstructionStoresToFI() local
410 if (!MemOp->isStore() || !MemOp->getPseudoValue()) in InstructionStoresToFI()
413 dyn_cast<FixedStackPseudoSourceValue>(MemOp->getPseudoValue())) { in InstructionStoresToFI()
888 for (MachineMemOperand *MemOp : MI.memoperands()) in mayLoadFromGOTOrConstantPool()
889 if (const PseudoSourceValue *PSV = MemOp->getPseudoValue()) in mayLoadFromGOTOrConstantPool()
/openbsd/gnu/llvm/llvm/lib/Target/XCore/
H A DXCoreISelDAGToDAG.cpp160 MachineMemOperand *MemOp = in Select() local
163 CurDAG->setNodeMemRefs(cast<MachineSDNode>(node), {MemOp}); in Select()
/openbsd/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFISelLowering.h108 EVT getOptimalMemOpType(const MemOp &Op, in getOptimalMemOpType()
/openbsd/gnu/llvm/lldb/source/Plugins/Instruction/ARM64/
H A DEmulateInstructionARM64.h108 enum MemOp { MemOp_LOAD, MemOp_STORE, MemOp_PREFETCH, MemOp_NOP }; enum
H A DEmulateInstructionARM64.cpp708 MemOp memop = L == 1 ? MemOp_LOAD : MemOp_STORE; in EmulateLDPSTP()
949 MemOp memop; in EmulateLDRSTRImm()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp1587 CurDAG->setNodeMemRefs(cast<MachineSDNode>(Result), {MemOp}); in transferMemOperands()
2230 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VLd), {MemOp}); in SelectVLD()
2359 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VSt), {MemOp}); in SelectVST()
2383 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VStA), {MemOp}); in SelectVST()
2402 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VStB), {MemOp}); in SelectVST()
2515 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VLdLn), {MemOp}); in SelectVLDSTLane()
3063 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VLdDup), {MemOp}); in SelectVLDDup()
3677 MachineMemOperand *MemOp = ST->getMemOperand(); in Select() local
3737 MachineMemOperand *MemOp = in Select() local
4785 CurDAG->setNodeMemRefs(cast<MachineSDNode>(Ld), {MemOp}); in Select()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp134 MachineMemOperand *MemOp = LD->getMemOperand(); in INITIALIZE_PASS() local
165 CurDAG->setNodeMemRefs(L, {MemOp}); in INITIALIZE_PASS()
176 CurDAG->setNodeMemRefs(L, {MemOp}); in INITIALIZE_PASS()
350 MachineMemOperand *MemOp = cast<MemIntrinsicSDNode>(IntN)->getMemOperand(); in SelectBrevLdIntrinsic() local
351 CurDAG->setNodeMemRefs(Res, {MemOp}); in SelectBrevLdIntrinsic()
530 MachineMemOperand *MemOp = ST->getMemOperand(); in SelectIndexedStore() local
541 CurDAG->setNodeMemRefs(S, {MemOp}); in SelectIndexedStore()
548 CurDAG->setNodeMemRefs(S, {MemOp}); in SelectIndexedStore()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetLowering.h112 struct MemOp { struct
130 static MemOp Copy(uint64_t Size, bool DstAlignCanChange, Align DstAlign, argument
133 MemOp Op; argument
145 static MemOp Set(uint64_t Size, bool DstAlignCanChange, Align DstAlign, in Set() argument
147 MemOp Op; in Set()
1789 getOptimalMemOpType(const MemOp &Op, in getOptimalMemOpType()
1796 getOptimalMemOpLLT(const MemOp &Op, in getOptimalMemOpLLT()
3677 const MemOp &Op, unsigned DstAS, unsigned SrcAS,
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp118 struct MemOp { struct in __anon5990b74b0111::SystemZOperand
142 MemOp Mem;
283 const MemOp& getMem() const { in getMem()
741 const MemOp &Op = getMem(); in print()
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h459 const MemOp &Op, unsigned DstAS, unsigned SrcAS,
461 EVT getOptimalMemOpType(const MemOp &Op,
/openbsd/gnu/llvm/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h62 struct MemOp { struct
86 struct MemOp Mem;
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp1586 MachineMemOperand *MemOp = cast<MemSDNode>(N)->getMemOperand(); in tryIndexedLoad() local
1587 CurDAG->setNodeMemRefs(cast<MachineSDNode>(Res), {MemOp}); in tryIndexedLoad()
1630 MachineMemOperand *MemOp = MemIntr->getMemOperand(); in SelectLoad() local
1631 CurDAG->setNodeMemRefs(cast<MachineSDNode>(Ld), {MemOp}); in SelectLoad()
1815 CurDAG->setNodeMemRefs(cast<MachineSDNode>(St), {MemOp}); in SelectStore()
2036 CurDAG->setNodeMemRefs(cast<MachineSDNode>(St), {MemOp}); in SelectStoreLane()
2070 CurDAG->setNodeMemRefs(cast<MachineSDNode>(St), {MemOp}); in SelectPostStoreLane()
4242 MachineMemOperand *MemOp = in Select() local
4244 CurDAG->setNodeMemRefs(cast<MachineSDNode>(Ld), {MemOp}); in Select()
4263 MachineMemOperand *MemOp = in Select() local
[all …]
H A DAArch64ISelLowering.h648 EVT getOptimalMemOpType(const MemOp &Op,
651 LLT getOptimalMemOpLLT(const MemOp &Op,
/openbsd/gnu/llvm/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp862 SDValue MemOp; in LowerCCCCallTo() local
867 MemOp = DAG.getMemcpy( in LowerCCCCallTo()
873 MemOp = DAG.getStore(Chain, dl, Arg, PtrOff, MachinePointerInfo()); in LowerCCCCallTo()
876 MemOpChains.push_back(MemOp); in LowerCCCCallTo()
/openbsd/gnu/llvm/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp132 struct MemOp { struct
143 struct MemOp Mem;

123