Home
last modified time | relevance | path

Searched refs:MMO (Results 1 – 25 of 83) sorted by relevance

1234

/external/llvm/lib/Target/Sparc/
DSparcInstrInfo.cpp401 MachineMemOperand *MMO = MF->getMachineMemOperand( in storeRegToStackSlot() local
408 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
411 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
414 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
417 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
420 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
425 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
440 MachineMemOperand *MMO = MF->getMachineMemOperand( in loadRegFromStackSlot() local
446 .addMemOperand(MMO); in loadRegFromStackSlot()
449 .addMemOperand(MMO); in loadRegFromStackSlot()
[all …]
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1018 MachineMemOperand *MMO;
1022 EVT MemoryVT, MachineMemOperand *MMO);
1024 bool readMem() const { return MMO->isLoad(); }
1025 bool writeMem() const { return MMO->isStore(); }
1029 return MMO->getBaseAlignment();
1032 return MMO->getAlignment();
1056 int64_t getSrcValueOffset() const { return MMO->getOffset(); }
1059 AAMDNodes getAAInfo() const { return MMO->getAAInfo(); }
1062 const MDNode *getRanges() const { return MMO->getRanges(); }
1069 MachineMemOperand *getMemOperand() const { return MMO; }
[all …]
DSelectionDAG.h862 SDValue Cmp, SDValue Swp, MachineMemOperand *MMO,
874 SDValue Ptr, SDValue Val, MachineMemOperand *MMO,
880 SDValue Chain, SDValue Ptr, MachineMemOperand *MMO,
887 MachineMemOperand *MMO, AtomicOrdering SuccessOrdering,
892 MachineMemOperand *MMO, AtomicOrdering Ordering,
907 MachineMemOperand *MMO);
921 MachineMemOperand *MMO);
929 MachineMemOperand *MMO);
940 EVT MemVT, MachineMemOperand *MMO);
948 MachineMemOperand *MMO);
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAGNodes.h889 MachineMemOperand *MMO;
893 MachineMemOperand *MMO);
896 unsigned NumOps, EVT MemoryVT, MachineMemOperand *MMO);
898 bool readMem() const { return MMO->isLoad(); }
899 bool writeMem() const { return MMO->isStore(); }
903 return MMO->getBaseAlignment();
906 return MMO->getAlignment();
929 const Value *getSrcValue() const { return MMO->getValue(); }
930 int64_t getSrcValueOffset() const { return MMO->getOffset(); }
933 const MDNode *getTBAAInfo() const { return MMO->getTBAAInfo(); }
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineInstr.cpp386 void MachineMemOperand::refineAlignment(const MachineMemOperand *MMO) { in refineAlignment() argument
389 assert(MMO->getFlags() == getFlags() && "Flags mismatch!"); in refineAlignment()
390 assert(MMO->getSize() == getSize() && "Size mismatch!"); in refineAlignment()
392 if (MMO->getBaseAlignment() >= getBaseAlignment()) { in refineAlignment()
395 ((Log2_32(MMO->getBaseAlignment()) + 1) << MOMaxBits); in refineAlignment()
398 PtrInfo = MMO->PtrInfo; in refineAlignment()
408 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineMemOperand &MMO) { in operator <<() argument
409 assert((MMO.isLoad() || MMO.isStore()) && in operator <<()
412 if (MMO.isVolatile()) in operator <<()
415 if (MMO.isLoad()) in operator <<()
[all …]
DTargetInstrInfoImpl.cpp166 const MachineMemOperand *&MMO, in hasLoadFromStackSlot() argument
176 MMO = *o; in hasLoadFromStackSlot()
184 const MachineMemOperand *&MMO, in hasStoreToStackSlot() argument
194 MMO = *o; in hasStoreToStackSlot()
298 MachineMemOperand *MMO = in foldMemoryOperand() local
303 NewMI->addMemOperand(MF, MMO); in foldMemoryOperand()
DMachineFunction.cpp206 MachineFunction::getMachineMemOperand(const MachineMemOperand *MMO, in getMachineMemOperand() argument
209 MachineMemOperand(MachinePointerInfo(MMO->getValue(), in getMachineMemOperand()
210 MMO->getOffset()+Offset), in getMachineMemOperand()
211 MMO->getFlags(), Size, in getMachineMemOperand()
212 MMO->getBaseAlignment(), 0); in getMachineMemOperand()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DThumb1InstrInfo.cpp62 MachineMemOperand *MMO = in storeRegToStackSlot() local
70 .addFrameIndex(FI).addImm(0).addMemOperand(MMO)); in storeRegToStackSlot()
91 MachineMemOperand *MMO = in loadRegFromStackSlot() local
98 .addFrameIndex(FI).addImm(0).addMemOperand(MMO)); in loadRegFromStackSlot()
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430InstrInfo.cpp45 MachineMemOperand *MMO = in storeRegToStackSlot() local
55 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
59 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
74 MachineMemOperand *MMO = in loadRegFromStackSlot() local
83 .addReg(DestReg).addFrameIndex(FrameIdx).addImm(0).addMemOperand(MMO); in loadRegFromStackSlot()
86 .addReg(DestReg).addFrameIndex(FrameIdx).addImm(0).addMemOperand(MMO); in loadRegFromStackSlot()
/external/llvm/lib/Target/MSP430/
DMSP430InstrInfo.cpp47 MachineMemOperand *MMO = MF.getMachineMemOperand( in storeRegToStackSlot() local
55 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
59 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
74 MachineMemOperand *MMO = MF.getMachineMemOperand( in loadRegFromStackSlot() local
82 .addImm(0).addMemOperand(MMO); in loadRegFromStackSlot()
86 .addImm(0).addMemOperand(MMO); in loadRegFromStackSlot()
/external/llvm/lib/Target/ARM/
DThumb1InstrInfo.cpp87 MachineMemOperand *MMO = MF.getMachineMemOperand( in storeRegToStackSlot() local
92 .addFrameIndex(FI).addImm(0).addMemOperand(MMO)); in storeRegToStackSlot()
113 MachineMemOperand *MMO = MF.getMachineMemOperand( in loadRegFromStackSlot() local
117 .addFrameIndex(FI).addImm(0).addMemOperand(MMO)); in loadRegFromStackSlot()
DThumb2InstrInfo.cpp134 MachineMemOperand *MMO = MF.getMachineMemOperand( in storeRegToStackSlot() local
143 .addFrameIndex(FI).addImm(0).addMemOperand(MMO)); in storeRegToStackSlot()
159 MIB.addFrameIndex(FI).addImm(0).addMemOperand(MMO); in storeRegToStackSlot()
174 MachineMemOperand *MMO = MF.getMachineMemOperand( in loadRegFromStackSlot() local
184 .addFrameIndex(FI).addImm(0).addMemOperand(MMO)); in loadRegFromStackSlot()
201 MIB.addFrameIndex(FI).addImm(0).addMemOperand(MMO); in loadRegFromStackSlot()
DARMInstrInfo.cpp127 MachineMemOperand *MMO = MBB.getParent()->getMachineMemOperand( in expandLoadStackGuard() local
129 MIB.addMemOperand(MMO); in expandLoadStackGuard()
/external/llvm/lib/Target/Hexagon/
DHexagonStoreWidening.cpp86 bool instrAliased(InstrGroup &Stores, const MachineMemOperand &MMO);
169 const MachineMemOperand &MMO) { in instrAliased() argument
170 if (!MMO.getValue()) in instrAliased()
173 MemoryLocation L(MMO.getValue(), MMO.getSize(), MMO.getAAInfo()); in instrAliased()
411 const MachineMemOperand &MMO = getStoreTarget(MI); in createWideStores() local
415 unsigned NBits = MMO.getSize()*8; in createWideStores()
/external/llvm/lib/Target/SystemZ/
DSystemZInstrBuilder.h38 MachineMemOperand *MMO = MF.getMachineMemOperand( in addFrameReference() local
41 return MIB.addFrameIndex(FI).addImm(Offset).addReg(0).addMemOperand(MMO); in addFrameReference()
/external/llvm/lib/CodeGen/
DMachineFunction.cpp310 MachineFunction::getMachineMemOperand(const MachineMemOperand *MMO, in getMachineMemOperand() argument
312 if (MMO->getValue()) in getMachineMemOperand()
314 MachineMemOperand(MachinePointerInfo(MMO->getValue(), in getMachineMemOperand()
315 MMO->getOffset()+Offset), in getMachineMemOperand()
316 MMO->getFlags(), Size, in getMachineMemOperand()
317 MMO->getBaseAlignment()); in getMachineMemOperand()
319 MachineMemOperand(MachinePointerInfo(MMO->getPseudoValue(), in getMachineMemOperand()
320 MMO->getOffset()+Offset), in getMachineMemOperand()
321 MMO->getFlags(), Size, in getMachineMemOperand()
322 MMO->getBaseAlignment()); in getMachineMemOperand()
DImplicitNullChecks.cpp195 for (auto *MMO : MI->memoperands()) { in rememberInstruction() local
197 if (!MMO->isUnordered()) { in rememberInstruction()
227 for (auto *MMO : MI->memoperands()) in isSafeToHoist() local
228 if (!MMO->isUnordered()) in isSafeToHoist()
DMachineInstr.cpp523 void MachineMemOperand::refineAlignment(const MachineMemOperand *MMO) { in refineAlignment() argument
526 assert(MMO->getFlags() == getFlags() && "Flags mismatch!"); in refineAlignment()
527 assert(MMO->getSize() == getSize() && "Size mismatch!"); in refineAlignment()
529 if (MMO->getBaseAlignment() >= getBaseAlignment()) { in refineAlignment()
531 BaseAlignLog2 = Log2_32(MMO->getBaseAlignment()) + 1; in refineAlignment()
534 PtrInfo = MMO->PtrInfo; in refineAlignment()
1559 return any_of(memoperands(), [](const MachineMemOperand *MMO) { in hasOrderedMemoryRef() argument
1560 return !MMO->isUnordered(); in hasOrderedMemoryRef()
1581 for (MachineMemOperand *MMO : memoperands()) { in isInvariantLoad()
1582 if (MMO->isVolatile()) return false; in isInvariantLoad()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4800 MachineMemOperand *MMO, in getAtomic() argument
4807 ID.AddInteger(MMO->getPointerInfo().getAddrSpace()); in getAtomic()
4810 cast<AtomicSDNode>(E)->refineAlignment(MMO); in getAtomic()
4815 VTList, MemVT, MMO, SuccessOrdering, in getAtomic()
4826 MachineMemOperand *MMO, AtomicOrdering Ordering, in getAtomic() argument
4828 return getAtomic(Opcode, dl, MemVT, VTList, Ops, MMO, Ordering, in getAtomic()
4852 MachineMemOperand *MMO = in getAtomicCmpSwap() local
4855 return getAtomicCmpSwap(Opcode, dl, MemVT, VTs, Chain, Ptr, Cmp, Swp, MMO, in getAtomicCmpSwap()
4862 MachineMemOperand *MMO, in getAtomicCmpSwap() argument
4871 return getAtomic(Opcode, dl, MemVT, VTs, Ops, MMO, in getAtomicCmpSwap()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZInstrBuilder.h117 MachineMemOperand *MMO =
123 .addMemOperand(MMO);
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetInstrInfo.h141 const MachineMemOperand *&MMO, in hasLoadFromStackSlot() argument
171 const MachineMemOperand *&MMO, in hasStoreToStackSlot() argument
744 const MachineMemOperand *&MMO,
747 const MachineMemOperand *&MMO,
/external/llvm/lib/Target/XCore/
DXCoreInstrInfo.cpp367 MachineMemOperand *MMO = MF->getMachineMemOperand( in storeRegToStackSlot() local
375 .addMemOperand(MMO); in storeRegToStackSlot()
389 MachineMemOperand *MMO = MF->getMachineMemOperand( in loadRegFromStackSlot() local
396 .addMemOperand(MMO); in loadRegFromStackSlot()
/external/llvm/lib/Target/AVR/
DAVRInstrInfo.cpp116 MachineMemOperand *MMO = MF.getMachineMemOperand( in storeRegToStackSlot() local
134 .addMemOperand(MMO); in storeRegToStackSlot()
150 MachineMemOperand *MMO = MF.getMachineMemOperand( in loadRegFromStackSlot() local
169 .addMemOperand(MMO); in loadRegFromStackSlot()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3857 MachineMemOperand *MMO = in getAtomic() local
3860 return getAtomic(Opcode, dl, MemVT, Chain, Ptr, Cmp, Swp, MMO, in getAtomic()
3867 SDValue Swp, MachineMemOperand *MMO, in getAtomic() argument
3882 cast<AtomicSDNode>(E)->refineAlignment(MMO); in getAtomic()
3886 Ptr, Cmp, Swp, MMO, Ordering, in getAtomic()
3916 MachineMemOperand *MMO = in getAtomic() local
3920 return getAtomic(Opcode, dl, MemVT, Chain, Ptr, Val, MMO, in getAtomic()
3927 MachineMemOperand *MMO, in getAtomic() argument
3954 cast<AtomicSDNode>(E)->refineAlignment(MMO); in getAtomic()
3958 Ptr, Val, MMO, in getAtomic()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrBuilder.h159 MachineMemOperand *MMO = variable
164 .addMemOperand(MMO);

1234