Home
last modified time | relevance | path

Searched refs:MMOs (Results 1 – 24 of 24) sorted by relevance

/external/llvm-project/llvm/unittests/CodeGen/
DMachineInstrTest.cpp265 SmallVector<MachineMemOperand *, 2> MMOs; in TEST() local
266 MMOs.push_back(MMO); in TEST()
276 MI->setMemRefs(*MF, MMOs); in TEST()
312 SmallVector<MachineMemOperand *, 2> MMOs; in TEST() local
313 MMOs.push_back(MMO); in TEST()
318 MI->setMemRefs(*MF, MMOs); in TEST()
323 MMOs.push_back(MMO); in TEST()
325 MI->setMemRefs(*MF, MMOs); in TEST()
349 SmallVector<MachineMemOperand *, 2> MMOs; in TEST() local
350 MMOs.push_back(MMO); in TEST()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineInstr.h142 ArrayRef<MachineMemOperand *> MMOs,
151 MMOs.size(), HasPreInstrSymbol + HasPostInstrSymbol,
154 ExtraInfo(MMOs.size(), HasPreInstrSymbol, HasPostInstrSymbol,
158 std::copy(MMOs.begin(), MMOs.end(),
1696 void setExtraInfo(MachineFunction &MF, ArrayRef<MachineMemOperand *> MMOs,
DMachineInstrBuilder.h199 setMemRefs(ArrayRef<MachineMemOperand *> MMOs) const { in setMemRefs() argument
200 MI->setMemRefs(*MF, MMOs); in setMemRefs()
DMachineFunction.h806 ArrayRef<MachineMemOperand *> MMOs, MCSymbol *PreInstrSymbol = nullptr,
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineInstr.h147 ArrayRef<MachineMemOperand *> MMOs,
156 MMOs.size(), HasPreInstrSymbol + HasPostInstrSymbol,
159 ExtraInfo(MMOs.size(), HasPreInstrSymbol, HasPostInstrSymbol,
163 std::copy(MMOs.begin(), MMOs.end(),
1824 void setExtraInfo(MachineFunction &MF, ArrayRef<MachineMemOperand *> MMOs,
DMachineInstrBuilder.h209 setMemRefs(ArrayRef<MachineMemOperand *> MMOs) const { in setMemRefs() argument
210 MI->setMemRefs(*MF, MMOs); in setMemRefs()
DMachineFunction.h894 ArrayRef<MachineMemOperand *> MMOs, MCSymbol *PreInstrSymbol = nullptr,
/external/llvm-project/llvm/lib/CodeGen/
DMachineInstr.cpp328 ArrayRef<MachineMemOperand *> MMOs, in setExtraInfo() argument
336 MMOs.size() + HasPreInstrSymbol + HasPostInstrSymbol + HasHeapAllocMarker; in setExtraInfo()
350 MMOs, PreInstrSymbol, PostInstrSymbol, HeapAllocMarker)); in setExtraInfo()
360 Info.set<EIIK_MMO>(MMOs[0]); in setExtraInfo()
372 ArrayRef<MachineMemOperand *> MMOs) { in setMemRefs() argument
373 if (MMOs.empty()) { in setMemRefs()
378 setExtraInfo(MF, MMOs, getPreInstrSymbol(), getPostInstrSymbol(), in setMemRefs()
384 SmallVector<MachineMemOperand *, 2> MMOs; in addMemOperand() local
385 MMOs.append(memoperands_begin(), memoperands_end()); in addMemOperand()
386 MMOs.push_back(MO); in addMemOperand()
[all …]
DMachineVerifier.cpp1439 ArrayRef<MachineMemOperand *> MMOs = MI->memoperands(); in verifyPreISelGenericInstruction() local
1440 if (MMOs.size() != 2) { in verifyPreISelGenericInstruction()
1445 if ((!MMOs[0]->isStore() || MMOs[0]->isLoad()) || in verifyPreISelGenericInstruction()
1446 (MMOs[1]->isStore() || !MMOs[1]->isLoad())) { in verifyPreISelGenericInstruction()
1451 if (MMOs[0]->getSize() != MMOs[1]->getSize()) in verifyPreISelGenericInstruction()
1462 if (DstPtrTy.getAddressSpace() != MMOs[0]->getAddrSpace()) in verifyPreISelGenericInstruction()
1464 if (SrcPtrTy.getAddressSpace() != MMOs[1]->getAddrSpace()) in verifyPreISelGenericInstruction()
1470 ArrayRef<MachineMemOperand *> MMOs = MI->memoperands(); in verifyPreISelGenericInstruction() local
1471 if (MMOs.size() != 1) { in verifyPreISelGenericInstruction()
1476 if ((!MMOs[0]->isStore() || MMOs[0]->isLoad())) { in verifyPreISelGenericInstruction()
[all …]
DMachineFunction.cpp489 ArrayRef<MachineMemOperand *> MMOs, MCSymbol *PreInstrSymbol, in createMIExtraInfo() argument
491 return MachineInstr::ExtraInfo::create(Allocator, MMOs, PreInstrSymbol, in createMIExtraInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineInstr.cpp320 ArrayRef<MachineMemOperand *> MMOs, in setExtraInfo() argument
328 MMOs.size() + HasPreInstrSymbol + HasPostInstrSymbol + HasHeapAllocMarker; in setExtraInfo()
342 MMOs, PreInstrSymbol, PostInstrSymbol, HeapAllocMarker)); in setExtraInfo()
352 Info.set<EIIK_MMO>(MMOs[0]); in setExtraInfo()
364 ArrayRef<MachineMemOperand *> MMOs) { in setMemRefs() argument
365 if (MMOs.empty()) { in setMemRefs()
370 setExtraInfo(MF, MMOs, getPreInstrSymbol(), getPostInstrSymbol(), in setMemRefs()
376 SmallVector<MachineMemOperand *, 2> MMOs; in addMemOperand() local
377 MMOs.append(memoperands_begin(), memoperands_end()); in addMemOperand()
378 MMOs.push_back(MO); in addMemOperand()
[all …]
DMachineFunction.cpp466 ArrayRef<MachineMemOperand *> MMOs, MCSymbol *PreInstrSymbol, in createMIExtraInfo() argument
468 return MachineInstr::ExtraInfo::create(Allocator, MMOs, PreInstrSymbol, in createMIExtraInfo()
/external/llvm/test/CodeGen/AArch64/
Darm64-csldst-mmo.ll7 ; Check that MMOs are added to epilogue calle-save restore loads so
/external/llvm-project/llvm/test/CodeGen/AArch64/
Darm64-csldst-mmo.ll7 ; Check that MMOs are added to epilogue calle-save restore loads so
/external/llvm/test/CodeGen/X86/
Dmisched-aa-mmos.ll3 ; This generates a decw instruction, which has two MMOs, and an alias SU edge
/external/llvm-project/llvm/test/CodeGen/X86/
Dmisched-aa-mmos.ll3 ; This generates a decw instruction, which has two MMOs, and an alias SU edge
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGSDNodes.cpp150 SmallVector<MachineMemOperand *, 2> MMOs; in CloneNodeWithValues() local
152 MMOs.assign(MN->memoperands_begin(), MN->memoperands_end()); in CloneNodeWithValues()
158 DAG->setNodeMemRefs(MN, MMOs); in CloneNodeWithValues()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGSDNodes.cpp150 SmallVector<MachineMemOperand *, 2> MMOs; in CloneNodeWithValues() local
152 MMOs.assign(MN->memoperands_begin(), MN->memoperands_end()); in CloneNodeWithValues()
158 DAG->setNodeMemRefs(MN, MMOs); in CloneNodeWithValues()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrInfo.cpp5365 extractLoadMMOs(ArrayRef<MachineMemOperand *> MMOs, MachineFunction &MF) { in extractLoadMMOs() argument
5368 for (MachineMemOperand *MMO : MMOs) { in extractLoadMMOs()
5386 extractStoreMMOs(ArrayRef<MachineMemOperand *> MMOs, MachineFunction &MF) { in extractStoreMMOs() argument
5389 for (MachineMemOperand *MMO : MMOs) { in extractStoreMMOs()
5498 auto MMOs = extractLoadMMOs(MI.memoperands(), MF); in unfoldMemoryOperand() local
5505 bool isAligned = !MMOs.empty() && MMOs.front()->getAlignment() >= Alignment; in unfoldMemoryOperand()
5513 MIB.setMemRefs(MMOs); in unfoldMemoryOperand()
5580 auto MMOs = extractStoreMMOs(MI.memoperands(), MF); in unfoldMemoryOperand() local
5582 bool isAligned = !MMOs.empty() && MMOs.front()->getAlignment() >= Alignment; in unfoldMemoryOperand()
5589 MIB.setMemRefs(MMOs); in unfoldMemoryOperand()
[all …]
DX86ISelLowering.cpp31490 SmallVector<MachineMemOperand *, 2> MMOs(MI.memoperands_begin(), in emitSetJmpShadowStackFix() local
31520 MIB.setMemRefs(MMOs); in emitSetJmpShadowStackFix()
31536 SmallVector<MachineMemOperand *, 2> MMOs(MI.memoperands_begin(), in emitEHSjLjSetJmp() local
31631 MIB.setMemRefs(MMOs); in emitEHSjLjSetJmp()
31692 SmallVector<MachineMemOperand *, 2> MMOs(MI.memoperands_begin(), in emitLongJmpShadowStackFix() local
31784 MIB.setMemRefs(MMOs); in emitLongJmpShadowStackFix()
31868 SmallVector<MachineMemOperand *, 2> MMOs(MI.memoperands_begin(), in emitEHSjLjLongJmp() local
31908 MIB.setMemRefs(MMOs); in emitEHSjLjLongJmp()
31922 MIB.setMemRefs(MMOs); in emitEHSjLjLongJmp()
31933 MIB.setMemRefs(MMOs); in emitEHSjLjLongJmp()
/external/llvm-project/llvm/lib/Target/X86/
DX86InstrInfo.cpp6121 extractLoadMMOs(ArrayRef<MachineMemOperand *> MMOs, MachineFunction &MF) { in extractLoadMMOs() argument
6124 for (MachineMemOperand *MMO : MMOs) { in extractLoadMMOs()
6142 extractStoreMMOs(ArrayRef<MachineMemOperand *> MMOs, MachineFunction &MF) { in extractStoreMMOs() argument
6145 for (MachineMemOperand *MMO : MMOs) { in extractStoreMMOs()
6254 auto MMOs = extractLoadMMOs(MI.memoperands(), MF); in unfoldMemoryOperand() local
6261 bool isAligned = !MMOs.empty() && MMOs.front()->getAlign() >= Alignment; in unfoldMemoryOperand()
6269 MIB.setMemRefs(MMOs); in unfoldMemoryOperand()
6336 auto MMOs = extractStoreMMOs(MI.memoperands(), MF); in unfoldMemoryOperand() local
6338 bool isAligned = !MMOs.empty() && MMOs.front()->getAlign() >= Alignment; in unfoldMemoryOperand()
6345 MIB.setMemRefs(MMOs); in unfoldMemoryOperand()
[all …]
DX86ISelLowering.cpp32799 SmallVector<MachineMemOperand *, 2> MMOs(MI.memoperands_begin(), in emitSetJmpShadowStackFix() local
32829 MIB.setMemRefs(MMOs); in emitSetJmpShadowStackFix()
32845 SmallVector<MachineMemOperand *, 2> MMOs(MI.memoperands_begin(), in emitEHSjLjSetJmp() local
32940 MIB.setMemRefs(MMOs); in emitEHSjLjSetJmp()
33001 SmallVector<MachineMemOperand *, 2> MMOs(MI.memoperands_begin(), in emitLongJmpShadowStackFix() local
33098 MIB.setMemRefs(MMOs); in emitLongJmpShadowStackFix()
33182 SmallVector<MachineMemOperand *, 2> MMOs(MI.memoperands_begin(), in emitEHSjLjLongJmp() local
33222 MIB.setMemRefs(MMOs); in emitEHSjLjLongJmp()
33236 MIB.setMemRefs(MMOs); in emitEHSjLjLongJmp()
33247 MIB.setMemRefs(MMOs); in emitEHSjLjLongJmp()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp1415 MachineSDNode::mmo_iterator MMOs = MF->allocateMemRefsArray(1); in SelectATOMIC_CMP_SWAP() local
1416 *MMOs = Mem->getMemOperand(); in SelectATOMIC_CMP_SWAP()
1417 CmpSwap->setMemRefs(MMOs, MMOs + 1); in SelectATOMIC_CMP_SWAP()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp6408 std::pair<MachineInstr::mmo_iterator, MachineInstr::mmo_iterator> MMOs = in unfoldMemoryOperand() local
6410 loadRegFromAddr(MF, Reg, AddrOps, RC, MMOs.first, MMOs.second, NewMIs); in unfoldMemoryOperand()
6475 std::pair<MachineInstr::mmo_iterator, MachineInstr::mmo_iterator> MMOs = in unfoldMemoryOperand() local
6477 storeRegToAddr(MF, Reg, true, AddrOps, DstRC, MMOs.first, MMOs.second, NewMIs); in unfoldMemoryOperand()
6522 MachineInstr::mmo_iterator> MMOs = in unfoldMemoryOperand() local
6525 if (!(*MMOs.first) && in unfoldMemoryOperand()
6533 bool isAligned = (*MMOs.first) && in unfoldMemoryOperand()
6534 (*MMOs.first)->getAlignment() >= Alignment; in unfoldMemoryOperand()
6540 cast<MachineSDNode>(Load)->setMemRefs(MMOs.first, MMOs.second); in unfoldMemoryOperand()
6567 MachineInstr::mmo_iterator> MMOs = in unfoldMemoryOperand() local
[all …]