Home
last modified time | relevance | path

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

12345678910>>...12

/external/llvm-project/llvm/lib/CodeGen/
DMachineFunction.cpp441 const MachineMemOperand *MMO, MachinePointerInfo &PtrInfo, uint64_t Size) { in getMachineMemOperand() argument
443 PtrInfo, MMO->getFlags(), Size, MMO->getBaseAlign(), AAMDNodes(), nullptr, in getMachineMemOperand()
444 MMO->getSyncScopeID(), MMO->getOrdering(), MMO->getFailureOrdering()); in getMachineMemOperand()
448 MachineFunction::getMachineMemOperand(const MachineMemOperand *MMO, in getMachineMemOperand() argument
450 const MachinePointerInfo &PtrInfo = MMO->getPointerInfo(); in getMachineMemOperand()
455 ? commonAlignment(MMO->getBaseAlign(), Offset) in getMachineMemOperand()
456 : MMO->getBaseAlign(); in getMachineMemOperand()
461 MachineMemOperand(PtrInfo.getWithOffset(Offset), MMO->getFlags(), Size, in getMachineMemOperand()
462 Alignment, MMO->getAAInfo(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand()
463 MMO->getOrdering(), MMO->getFailureOrdering()); in getMachineMemOperand()
[all …]
/external/llvm-project/llvm/test/TableGen/
Daddress-space-patfrags.td66 // GISEL-NEXT: GIM_CheckMemorySizeEqualToLLT, /*MI*/0, /*MMO*/0, /*OpIdx*/0,
67 // GISEL-NEXT: GIM_CheckMemoryAddressSpace, /*MI*/0, /*MMO*/0, /*NumAddrSpace*/2, /*AddrSpace*/123,…
68 // GISEL-NEXT: GIM_CheckMemorySizeEqualTo, /*MI*/0, /*MMO*/0, /*Size*/4,
92 // GISEL-NEXT: GIM_CheckMemorySizeEqualToLLT, /*MI*/0, /*MMO*/0, /*OpIdx*/0,
93 // GISEL-NEXT: GIM_CheckMemoryAddressSpace, /*MI*/0, /*MMO*/0, /*NumAddrSpace*/1, /*AddrSpace*/999,
94 // GISEL-NEXT: GIM_CheckMemoryAlignment, /*MI*/0, /*MMO*/0, /*MinAlign*/2,
95 // GISEL-NEXT: GIM_CheckMemorySizeEqualTo, /*MI*/0, /*MMO*/0, /*Size*/4,
114 // GISEL-NEXT: GIM_CheckMemorySizeLessThanLLT, /*MI*/0, /*MMO*/0, /*OpIdx*/0,
127 // GISEL-NEXT: GIM_CheckMemorySizeEqualToLLT, /*MI*/0, /*MMO*/0, /*OpIdx*/0,
137 // GISEL-NEXT: GIM_CheckMemorySizeLessThanLLT, /*MI*/0, /*MMO*/0, /*OpIdx*/0,
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp362 MachineMemOperand &MMO) { in buildLoad() argument
363 return buildLoadInstr(TargetOpcode::G_LOAD, Res, Addr, MMO); in buildLoad()
369 MachineMemOperand &MMO) { in buildLoadInstr() argument
376 MIB.addMemOperand(&MMO); in buildLoadInstr()
382 MachineMemOperand &MMO) { in buildStore() argument
389 MIB.addMemOperand(&MMO); in buildStore()
737 Register NewVal, MachineMemOperand &MMO) { in buildAtomicCmpXchgWithSuccess() argument
759 .addMemOperand(&MMO); in buildAtomicCmpXchgWithSuccess()
765 MachineMemOperand &MMO) { in buildAtomicCmpXchg() argument
784 .addMemOperand(&MMO); in buildAtomicCmpXchg()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineFunction.cpp426 MachineFunction::getMachineMemOperand(const MachineMemOperand *MMO, in getMachineMemOperand() argument
428 const MachinePointerInfo &PtrInfo = MMO->getPointerInfo(); in getMachineMemOperand()
433 ? MinAlign(MMO->getBaseAlignment(), Offset) in getMachineMemOperand()
434 : MMO->getBaseAlignment(); in getMachineMemOperand()
437 MachineMemOperand(PtrInfo.getWithOffset(Offset), MMO->getFlags(), Size, in getMachineMemOperand()
438 Align, AAMDNodes(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand()
439 MMO->getOrdering(), MMO->getFailureOrdering()); in getMachineMemOperand()
443 MachineFunction::getMachineMemOperand(const MachineMemOperand *MMO, in getMachineMemOperand() argument
445 MachinePointerInfo MPI = MMO->getValue() ? in getMachineMemOperand()
446 MachinePointerInfo(MMO->getValue(), MMO->getOffset()) : in getMachineMemOperand()
[all …]
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp340 MachineMemOperand *MMO = in buildLoad() local
342 return buildLoad(Dst, Addr, *MMO); in buildLoad()
348 MachineMemOperand &MMO) { in buildLoadInstr() argument
355 MIB.addMemOperand(&MMO); in buildLoadInstr()
378 MachineMemOperand &MMO) { in buildStore() argument
385 MIB.addMemOperand(&MMO); in buildStore()
399 MachineMemOperand *MMO = in buildStore() local
401 return buildStore(Val, Addr, *MMO); in buildStore()
766 Register NewVal, MachineMemOperand &MMO) { in buildAtomicCmpXchgWithSuccess() argument
788 .addMemOperand(&MMO); in buildAtomicCmpXchgWithSuccess()
[all …]
/external/llvm-project/llvm/lib/Target/Mips/
DMipsPreLegalizerCombiner.cpp50 auto MMO = *MI.memoperands_begin(); in combine() local
53 if (!isPowerOf2_64(MMO->getSize())) in combine()
55 bool isUnaligned = MMO->getAlign() < MMO->getSize(); in combine()
DMipsCallLowering.cpp101 MachineMemOperand *&MMO) override;
115 MachineMemOperand *MMO; in buildLoad() local
116 Register Addr = getStackAddress(VA, MMO); in buildLoad()
117 return MIRBuilder.buildLoad(Res, Addr, *MMO); in buildLoad()
172 MachineMemOperand *&MMO) { in getStackAddress() argument
184 MMO = in getStackAddress()
224 MachineMemOperand *&MMO) override;
259 MachineMemOperand *&MMO) { in getStackAddress() argument
276 MMO = in getStackAddress()
284 MachineMemOperand *MMO; in assignValueToAddress() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstrInfo.cpp32 bool AMDGPUInstrInfo::isUniformMMO(const MachineMemOperand *MMO) { in isUniformMMO() argument
33 const Value *Ptr = MMO->getValue(); in isUniformMMO()
42 if (MMO->getAddrSpace() == AMDGPUAS::CONSTANT_ADDRESS_32BIT) in isUniformMMO()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInstrInfo.cpp31 bool AMDGPUInstrInfo::isUniformMMO(const MachineMemOperand *MMO) { in isUniformMMO() argument
32 const Value *Ptr = MMO->getValue(); in isUniformMMO()
41 if (MMO->getAddrSpace() == AMDGPUAS::CONSTANT_ADDRESS_32BIT) in isUniformMMO()
/external/llvm-project/llvm/lib/Target/Sparc/
DSparcInstrInfo.cpp404 MachineMemOperand *MMO = MF->getMachineMemOperand( in storeRegToStackSlot() local
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()
423 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
428 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
443 MachineMemOperand *MMO = MF->getMachineMemOperand( in loadRegFromStackSlot() local
449 .addMemOperand(MMO); in loadRegFromStackSlot()
452 .addMemOperand(MMO); in loadRegFromStackSlot()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcInstrInfo.cpp404 MachineMemOperand *MMO = MF->getMachineMemOperand( in storeRegToStackSlot() local
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()
423 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
428 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
443 MachineMemOperand *MMO = MF->getMachineMemOperand( in loadRegFromStackSlot() local
449 .addMemOperand(MMO); in loadRegFromStackSlot()
452 .addMemOperand(MMO); in loadRegFromStackSlot()
[all …]
/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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h721 MachineMemOperand &MMO);
733 const SrcOp &Addr, MachineMemOperand &MMO);
745 MachineMemOperand &MMO);
985 MachineMemOperand &MMO);
1003 MachineMemOperand &MMO);
1020 MachineMemOperand &MMO);
1035 Register Val, MachineMemOperand &MMO);
1050 Register Val, MachineMemOperand &MMO);
1065 Register Val, MachineMemOperand &MMO);
1080 Register Val, MachineMemOperand &MMO);
[all …]
DInstructionSelectorImpl.h332 for (const auto &MMO : State.MIs[InsnID]->memoperands()) in executeMatchTable() local
333 if (MMO->getOrdering() != Ordering) in executeMatchTable()
350 for (const auto &MMO : State.MIs[InsnID]->memoperands()) in executeMatchTable() local
351 if (!isAtLeastOrStrongerThan(MMO->getOrdering(), Ordering)) in executeMatchTable()
368 for (const auto &MMO : State.MIs[InsnID]->memoperands()) in executeMatchTable() local
369 if (!isStrongerThan(Ordering, MMO->getOrdering())) in executeMatchTable()
390 const MachineMemOperand *MMO in executeMatchTable() local
392 const unsigned MMOAddrSpace = MMO->getAddrSpace(); in executeMatchTable()
426 MachineMemOperand *MMO in executeMatchTable() local
432 if (MMO->getAlignment() < MinAlign && handleReject() == RejectAndGiveUp) in executeMatchTable()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1293 MachineMemOperand *MMO;
1297 EVT memvt, MachineMemOperand *MMO);
1299 bool readMem() const { return MMO->isLoad(); }
1300 bool writeMem() const { return MMO->isStore(); }
1304 return MMO->getBaseAlignment();
1307 return MMO->getAlignment();
1335 int64_t getSrcValueOffset() const { return MMO->getOffset(); }
1338 AAMDNodes getAAInfo() const { return MMO->getAAInfo(); }
1341 const MDNode *getRanges() const { return MMO->getRanges(); }
1344 SyncScope::ID getSyncScopeID() const { return MMO->getSyncScopeID(); }
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1241 MachineMemOperand *MMO;
1245 EVT memvt, MachineMemOperand *MMO);
1247 bool readMem() const { return MMO->isLoad(); }
1248 bool writeMem() const { return MMO->isStore(); }
1251 Align getOriginalAlign() const { return MMO->getBaseAlign(); }
1252 Align getAlign() const { return MMO->getAlign(); }
1255 return MMO->getBaseAlign().value();
1258 unsigned getAlignment() const { return MMO->getAlign().value(); }
1285 int64_t getSrcValueOffset() const { return MMO->getOffset(); }
1288 AAMDNodes getAAInfo() const { return MMO->getAAInfo(); }
[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 …]
/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()
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430InstrInfo.cpp46 MachineMemOperand *MMO = MF.getMachineMemOperand( in storeRegToStackSlot() local
54 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
58 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
73 MachineMemOperand *MMO = MF.getMachineMemOperand( in loadRegFromStackSlot() local
81 .addImm(0).addMemOperand(MMO); in loadRegFromStackSlot()
85 .addImm(0).addMemOperand(MMO); in loadRegFromStackSlot()
/external/llvm-project/llvm/lib/Target/MSP430/
DMSP430InstrInfo.cpp46 MachineMemOperand *MMO = MF.getMachineMemOperand( in storeRegToStackSlot() local
54 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
58 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
73 MachineMemOperand *MMO = MF.getMachineMemOperand( in loadRegFromStackSlot() local
81 .addImm(0).addMemOperand(MMO); in loadRegFromStackSlot()
85 .addImm(0).addMemOperand(MMO); in loadRegFromStackSlot()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h818 MachineMemOperand &MMO) { in buildLoad() argument
819 return buildLoadInstr(TargetOpcode::G_LOAD, Res, Addr, MMO); in buildLoad()
840 const SrcOp &Addr, MachineMemOperand &MMO);
860 MachineMemOperand &MMO);
1127 MachineMemOperand &MMO);
1145 MachineMemOperand &MMO);
1162 MachineMemOperand &MMO);
1177 Register Val, MachineMemOperand &MMO);
1192 Register Val, MachineMemOperand &MMO);
1207 Register Val, MachineMemOperand &MMO);
[all …]
DInstructionSelectorImpl.h387 for (const auto &MMO : State.MIs[InsnID]->memoperands()) in executeMatchTable() local
388 if (MMO->getOrdering() != Ordering) in executeMatchTable()
405 for (const auto &MMO : State.MIs[InsnID]->memoperands()) in executeMatchTable() local
406 if (!isAtLeastOrStrongerThan(MMO->getOrdering(), Ordering)) in executeMatchTable()
423 for (const auto &MMO : State.MIs[InsnID]->memoperands()) in executeMatchTable() local
424 if (!isStrongerThan(Ordering, MMO->getOrdering())) in executeMatchTable()
445 const MachineMemOperand *MMO in executeMatchTable() local
447 const unsigned MMOAddrSpace = MMO->getAddrSpace(); in executeMatchTable()
481 MachineMemOperand *MMO in executeMatchTable() local
487 if (MMO->getAlign() < MinAlign && handleReject() == RejectAndGiveUp) in executeMatchTable()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.h1185 const MachineMemOperand &MMO) const override;
1545 MachineMemOperand *MMO) in X86StoreSDNode() argument
1546 :MemSDNode(Opcode, Order, dl, VTs, MemVT, MMO) {} in X86StoreSDNode()
1563 MachineMemOperand *MMO) in X86MaskedStoreSDNode() argument
1564 : MemSDNode(Opcode, Order, dl, VTs, MemVT, MMO) {} in X86MaskedStoreSDNode()
1580 SDVTList VTs, EVT MemVT, MachineMemOperand *MMO) in TruncSStoreSDNode() argument
1581 : X86StoreSDNode(X86ISD::VTRUNCSTORES, Order, dl, VTs, MemVT, MMO) {} in TruncSStoreSDNode()
1592 SDVTList VTs, EVT MemVT, MachineMemOperand *MMO) in TruncUSStoreSDNode() argument
1593 : X86StoreSDNode(X86ISD::VTRUNCSTOREUS, Order, dl, VTs, MemVT, MMO) {} in TruncUSStoreSDNode()
1605 MachineMemOperand *MMO) in MaskedTruncSStoreSDNode() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonStoreWidening.cpp96 bool instrAliased(InstrGroup &Stores, const MachineMemOperand &MMO);
171 const MachineMemOperand &MMO) { in instrAliased() argument
172 if (!MMO.getValue()) in instrAliased()
175 MemoryLocation L(MMO.getValue(), MMO.getSize(), MMO.getAAInfo()); in instrAliased()
405 const MachineMemOperand &MMO = getStoreTarget(MI); in createWideStores() local
409 unsigned NBits = MMO.getSize()*8; in createWideStores()

12345678910>>...12