Home
last modified time | relevance | path

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

12345

/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp157 struct MemOp { struct
159 MemOp(MemIntrinsic *MI) : I(MI) {} in MemOp() function
160 MemOp(CallInst *CI) : I(CI) {} in MemOp() argument
163 MemOp clone() { in clone() argument
165 return MemOp(cast<MemIntrinsic>(MI->clone())); in clone()
166 return MemOp(cast<CallInst>(asCI()->clone())); in clone()
250 WorkList.push_back(MemOp(&MI)); in visitMemIntrinsic()
258 WorkList.push_back(MemOp(&CI)); in visitCallInst()
269 std::vector<MemOp> WorkList;
272 bool perform(MemOp MO);
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86LegalizerInfo.cpp81 for (unsigned MemOp : {G_LOAD, G_STORE}) in X86LegalizerInfo()
82 setLegalizeScalarToDifferentSizeStrategy(MemOp, 0, in X86LegalizerInfo()
125 for (unsigned MemOp : {G_LOAD, G_STORE}) { in setLegalizerInfo32bit()
127 setAction({MemOp, Ty}, Legal); in setLegalizerInfo32bit()
130 setAction({MemOp, 1, p0}, Legal); in setLegalizerInfo32bit()
215 for (unsigned MemOp : {G_LOAD, G_STORE}) in setLegalizerInfo64bit()
216 setAction({MemOp, s64}, Legal); in setLegalizerInfo64bit()
292 for (unsigned MemOp : {G_LOAD, G_STORE}) in setLegalizerInfoSSE1()
294 setAction({MemOp, Ty}, Legal); in setLegalizerInfoSSE1()
382 for (unsigned MemOp : {G_LOAD, G_STORE}) in setLegalizerInfoAVX()
[all …]
DX86InstrFoldTables.h93 const X86MemoryFoldTableEntry *lookupUnfoldTable(unsigned MemOp);
DX86DomainReassignment.cpp563 int MemOp = X86II::getMemoryOperandNo(Desc.TSFlags); in buildClosure() local
564 if (MemOp != -1) in buildClosure()
565 MemOp += X86II::getOperandBias(Desc); in buildClosure()
567 if (OpIdx == MemOp) { in buildClosure()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86LegalizerInfo.cpp76 for (unsigned MemOp : {G_LOAD, G_STORE}) in X86LegalizerInfo()
77 setLegalizeScalarToDifferentSizeStrategy(MemOp, 0, in X86LegalizerInfo()
131 for (unsigned MemOp : {G_LOAD, G_STORE}) { in setLegalizerInfo32bit()
133 setAction({MemOp, Ty}, Legal); in setLegalizerInfo32bit()
136 setAction({MemOp, 1, p0}, Legal); in setLegalizerInfo32bit()
222 for (unsigned MemOp : {G_LOAD, G_STORE}) in setLegalizerInfo64bit()
223 setAction({MemOp, s64}, Legal); in setLegalizerInfo64bit()
297 for (unsigned MemOp : {G_LOAD, G_STORE}) in setLegalizerInfoSSE1()
299 setAction({MemOp, Ty}, Legal); in setLegalizerInfoSSE1()
387 for (unsigned MemOp : {G_LOAD, G_STORE}) in setLegalizerInfoAVX()
[all …]
DX86InstrFoldTables.h93 const X86MemoryFoldTableEntry *lookupUnfoldTable(unsigned MemOp);
DX86DomainReassignment.cpp567 int MemOp = X86II::getMemoryOperandNo(Desc.TSFlags); in buildClosure() local
568 if (MemOp != -1) in buildClosure()
569 MemOp += X86II::getOperandBias(Desc); in buildClosure()
571 if (OpIdx == MemOp) { in buildClosure()
/external/llvm/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp153 MachineSDNode::mmo_iterator MemOp = MF->allocateMemRefsArray(1); in Select() local
154 MemOp[0] = in Select()
157 cast<MachineSDNode>(node)->setMemRefs(MemOp, MemOp + 1); in Select()
/external/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp301 MachineSDNode::mmo_iterator MemOp = MF->allocateMemRefsArray(1); in SelectIndexedLoad() local
302 MemOp[0] = LD->getMemOperand(); in SelectIndexedLoad()
333 L->setMemRefs(MemOp, MemOp+1); in SelectIndexedLoad()
344 L->setMemRefs(MemOp, MemOp+1); in SelectIndexedLoad()
595 MachineSDNode::mmo_iterator MemOp = MF->allocateMemRefsArray(1); in SelectIndexedStore() local
596 MemOp[0] = ST->getMemOperand(); in SelectIndexedStore()
607 S->setMemRefs(MemOp, MemOp + 1); in SelectIndexedStore()
614 S->setMemRefs(MemOp, MemOp + 1); in SelectIndexedStore()
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp1920 MachineSDNode::mmo_iterator MemOp = MF->allocateMemRefsArray(1); in SelectVLD() local
1921 MemOp[0] = cast<MemIntrinsicSDNode>(N)->getMemOperand(); in SelectVLD()
1922 cast<MachineSDNode>(VLd)->setMemRefs(MemOp, MemOp + 1); in SelectVLD()
1957 MachineSDNode::mmo_iterator MemOp = MF->allocateMemRefsArray(1); in SelectVST() local
1958 MemOp[0] = cast<MemIntrinsicSDNode>(N)->getMemOperand(); in SelectVST()
2045 cast<MachineSDNode>(VSt)->setMemRefs(MemOp, MemOp + 1); in SelectVST()
2069 cast<MachineSDNode>(VStA)->setMemRefs(MemOp, MemOp + 1); in SelectVST()
2088 cast<MachineSDNode>(VStB)->setMemRefs(MemOp, MemOp + 1); in SelectVST()
2105 MachineSDNode::mmo_iterator MemOp = MF->allocateMemRefsArray(1); in SelectVLDSTLane() local
2106 MemOp[0] = cast<MemIntrinsicSDNode>(N)->getMemOperand(); in SelectVLDSTLane()
[all …]
/external/llvm/lib/CodeGen/
DMachineLICM.cpp337 for (const MachineMemOperand *MemOp : MI->memoperands()) { in InstructionStoresToFI() local
338 if (!MemOp->isStore() || !MemOp->getPseudoValue()) in InstructionStoresToFI()
341 dyn_cast<FixedStackPseudoSourceValue>(MemOp->getPseudoValue())) { in InstructionStoresToFI()
847 for (MachineMemOperand *MemOp : MI.memoperands()) in mayLoadFromGOTOrConstantPool()
848 if (const PseudoSourceValue *PSV = MemOp->getPseudoValue()) in mayLoadFromGOTOrConstantPool()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp153 MachineMemOperand *MemOp = in Select() local
156 CurDAG->setNodeMemRefs(cast<MachineSDNode>(node), {MemOp}); in Select()
/external/llvm-project/llvm/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp153 MachineMemOperand *MemOp = in Select() local
156 CurDAG->setNodeMemRefs(cast<MachineSDNode>(node), {MemOp}); in Select()
/external/llvm-project/llvm/lib/CodeGen/
DMachineLICM.cpp418 for (const MachineMemOperand *MemOp : MI->memoperands()) { in InstructionStoresToFI() local
419 if (!MemOp->isStore() || !MemOp->getPseudoValue()) in InstructionStoresToFI()
422 dyn_cast<FixedStackPseudoSourceValue>(MemOp->getPseudoValue())) { in InstructionStoresToFI()
946 for (MachineMemOperand *MemOp : MI.memoperands()) in mayLoadFromGOTOrConstantPool()
947 if (const PseudoSourceValue *PSV = MemOp->getPseudoValue()) in mayLoadFromGOTOrConstantPool()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineLICM.cpp419 for (const MachineMemOperand *MemOp : MI->memoperands()) { in InstructionStoresToFI() local
420 if (!MemOp->isStore() || !MemOp->getPseudoValue()) in InstructionStoresToFI()
423 dyn_cast<FixedStackPseudoSourceValue>(MemOp->getPseudoValue())) { in InstructionStoresToFI()
933 for (MachineMemOperand *MemOp : MI.memoperands()) in mayLoadFromGOTOrConstantPool()
934 if (const PseudoSourceValue *PSV = MemOp->getPseudoValue()) in mayLoadFromGOTOrConstantPool()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFISelLowering.h102 EVT getOptimalMemOpType(const MemOp &Op, in getOptimalMemOpType()
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp1376 MachineSDNode::mmo_iterator MemOp = MF->allocateMemRefsArray(1); in SelectStoreLane() local
1377 MemOp[0] = cast<MemIntrinsicSDNode>(N)->getMemOperand(); in SelectStoreLane()
1378 cast<MachineSDNode>(St)->setMemRefs(MemOp, MemOp + 1); in SelectStoreLane()
1411 MachineSDNode::mmo_iterator MemOp = MF->allocateMemRefsArray(1); in SelectPostStoreLane() local
1412 MemOp[0] = cast<MemIntrinsicSDNode>(N)->getMemOperand(); in SelectPostStoreLane()
1413 cast<MachineSDNode>(St)->setMemRefs(MemOp, MemOp + 1); in SelectPostStoreLane()
2546 MachineSDNode::mmo_iterator MemOp = MF->allocateMemRefsArray(1); in SelectCMP_SWAP() local
2547 MemOp[0] = cast<MemSDNode>(N)->getMemOperand(); in SelectCMP_SWAP()
2548 cast<MachineSDNode>(CmpSwap)->setMemRefs(MemOp, MemOp + 1); in SelectCMP_SWAP()
2715 MachineSDNode::mmo_iterator MemOp = MF->allocateMemRefsArray(1); in Select() local
[all …]
/external/llvm-project/lldb/source/Plugins/Instruction/ARM64/
DEmulateInstructionARM64.h109 enum MemOp { MemOp_LOAD, MemOp_STORE, MemOp_PREFETCH, MemOp_NOP }; enum
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp1301 const MachineMemOperand *MemOp = *MMOIt; in tryCombineMemCpyFamily() local
1302 bool IsVolatile = MemOp->isVolatile(); in tryCombineMemCpyFamily()
1307 unsigned DstAlign = MemOp->getBaseAlignment(); in tryCombineMemCpyFamily()
1315 MemOp = *(++MMOIt); in tryCombineMemCpyFamily()
1316 SrcAlign = MemOp->getBaseAlignment(); in tryCombineMemCpyFamily()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp1517 MachineMemOperand *MemOp = cast<MemSDNode>(N)->getMemOperand(); in transferMemOperands() local
1518 CurDAG->setNodeMemRefs(cast<MachineSDNode>(Result), {MemOp}); in transferMemOperands()
2124 MachineMemOperand *MemOp = cast<MemIntrinsicSDNode>(N)->getMemOperand(); in SelectVLD() local
2125 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VLd), {MemOp}); in SelectVLD()
2162 MachineMemOperand *MemOp = cast<MemIntrinsicSDNode>(N)->getMemOperand(); in SelectVST() local
2251 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VSt), {MemOp}); in SelectVST()
2275 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VStA), {MemOp}); in SelectVST()
2294 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VStB), {MemOp}); in SelectVST()
2313 MachineMemOperand *MemOp = cast<MemIntrinsicSDNode>(N)->getMemOperand(); in SelectVLDSTLane() local
2404 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VLdLn), {MemOp}); in SelectVLDSTLane()
[all …]
/external/llvm/lib/Target/X86/
DX86InstrAVX512.td70 X86MemOperand MemOp = !cast<X86MemOperand>(TypeVariantName # Size # "mem");
446 (ins To.RC:$src1, From.MemOp:$src2, i32u8imm:$src3),
583 (ins To.MemOp:$dst, From.RC:$src1, i32u8imm:$idx),
592 (ins To.MemOp:$dst, To.KRCWM:$mask,
964 (ins _Src.MemOp:$src), OpcodeStr, "$src", "$src",
1085 (ins _.RC:$src2, _.MemOp:$src3),
1164 (ins IdxVT.RC:$src2, _.MemOp:$src3),
1258 (ins _.RC:$src1, _.MemOp:$src2),
1263 (ins _.KRCWM:$mask, _.RC:$src1, _.MemOp:$src2),
1272 (ins _.KRCWM:$mask, _.RC:$src1, _.MemOp:$src2),
[all …]
DX86ISelDAGToDAG.cpp2248 MachineSDNode::mmo_iterator MemOp = MF->allocateMemRefsArray(1); in Select() local
2249 MemOp[0] = LoadNode->getMemOperand(); in Select()
2250 CNode->setMemRefs(MemOp, MemOp + 1); in Select()
2674 MachineSDNode::mmo_iterator MemOp = MF->allocateMemRefsArray(2); in Select() local
2675 MemOp[0] = StoreNode->getMemOperand(); in Select()
2676 MemOp[1] = LoadNode->getMemOperand(); in Select()
2683 Result->setMemRefs(MemOp, MemOp + 2); in Select()
/external/llvm-project/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp1564 MachineMemOperand *MemOp = cast<MemSDNode>(N)->getMemOperand(); in transferMemOperands() local
1565 CurDAG->setNodeMemRefs(cast<MachineSDNode>(Result), {MemOp}); in transferMemOperands()
2174 MachineMemOperand *MemOp = cast<MemIntrinsicSDNode>(N)->getMemOperand(); in SelectVLD() local
2175 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VLd), {MemOp}); in SelectVLD()
2213 MachineMemOperand *MemOp = cast<MemIntrinsicSDNode>(N)->getMemOperand(); in SelectVST() local
2304 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VSt), {MemOp}); in SelectVST()
2328 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VStA), {MemOp}); in SelectVST()
2347 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VStB), {MemOp}); in SelectVST()
2367 MachineMemOperand *MemOp = cast<MemIntrinsicSDNode>(N)->getMemOperand(); in SelectVLDSTLane() local
2460 CurDAG->setNodeMemRefs(cast<MachineSDNode>(VLdLn), {MemOp}); in SelectVLDSTLane()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86Operand.h52 struct MemOp { struct
66 struct MemOp Mem;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp130 MachineMemOperand *MemOp = LD->getMemOperand(); in SelectIndexedLoad() local
161 CurDAG->setNodeMemRefs(L, {MemOp}); in SelectIndexedLoad()
172 CurDAG->setNodeMemRefs(L, {MemOp}); in SelectIndexedLoad()
346 MachineMemOperand *MemOp = cast<MemIntrinsicSDNode>(IntN)->getMemOperand(); in SelectBrevLdIntrinsic() local
347 CurDAG->setNodeMemRefs(Res, {MemOp}); in SelectBrevLdIntrinsic()
526 MachineMemOperand *MemOp = ST->getMemOperand(); in SelectIndexedStore() local
537 CurDAG->setNodeMemRefs(S, {MemOp}); in SelectIndexedStore()
544 CurDAG->setNodeMemRefs(S, {MemOp}); in SelectIndexedStore()

12345