Home
last modified time | relevance | path

Searched refs:getMemoryVT (Results 1 – 25 of 156) sorted by relevance

1234567

/external/llvm/include/llvm/Target/
DTargetSelectionDAG.td727 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i1;
730 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
733 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
736 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
739 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::f32;
742 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::f64;
746 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i1;
749 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
752 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
755 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
[all …]
/external/llvm-project/llvm/unittests/CodeGen/
DSelectionDAGAddressAnalysisTest.cpp111 cast<StoreSDNode>(Store)->getMemoryVT().getStoreSize()); in TEST_F()
143 cast<StoreSDNode>(Store0)->getMemoryVT().getStoreSize()); in TEST_F()
145 cast<StoreSDNode>(Store1)->getMemoryVT().getStoreSize()); in TEST_F()
177 cast<StoreSDNode>(Store0)->getMemoryVT().getStoreSize()); in TEST_F()
179 cast<StoreSDNode>(Store1)->getMemoryVT().getStoreSize()); in TEST_F()
204 cast<StoreSDNode>(Store)->getMemoryVT().getStoreSize()); in TEST_F()
212 cast<StoreSDNode>(GStore)->getMemoryVT().getStoreSize()); in TEST_F()
247 cast<StoreSDNode>(Store0)->getMemoryVT().getStoreSize()); in TEST_F()
249 cast<StoreSDNode>(Store1)->getMemoryVT().getStoreSize()); in TEST_F()
290 cast<StoreSDNode>(Store0)->getMemoryVT().getStoreSize()); in TEST_F()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64InstrAtomics.td206 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
210 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
214 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
218 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
239 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
243 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
247 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
251 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
273 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
278 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrAtomics.td206 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
212 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
218 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
224 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
247 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
253 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
259 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
265 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
289 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
296 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
[all …]
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64InstrAtomics.td206 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
212 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
218 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
224 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
247 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
253 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
259 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
265 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
289 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
296 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrFragmentsSIMD.td824 return St->getAlignment() >= St->getMemoryVT().getStoreSize();
830 return Ld->getAlignment() >= Ld->getMemoryVT().getStoreSize();
886 Ld->getAlignment() >= Ld->getMemoryVT().getStoreSize();
1007 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 4;
1012 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 8;
1017 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 8;
1022 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 1;
1027 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 2;
1032 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 4;
1037 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 8;
[all …]
DX86InstrFPStack.td51 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f32;
55 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f64;
59 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f80;
63 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f32;
66 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f64;
69 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f80;
73 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
76 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
79 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
83 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86InstrFragmentsSIMD.td835 return St->getAlignment() >= St->getMemoryVT().getStoreSize();
841 return Ld->getAlignment() >= Ld->getMemoryVT().getStoreSize();
897 Ld->getAlignment() >= Ld->getMemoryVT().getStoreSize();
935 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 4;
940 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 8;
945 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 8;
950 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 1;
955 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 2;
960 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 4;
965 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 8;
[all …]
DX86InstrFPStack.td44 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f32;
48 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f64;
52 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f80;
56 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f32;
59 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f64;
62 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f80;
66 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
69 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
72 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
77 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZOperators.td458 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
461 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
464 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
469 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
473 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
477 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
529 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
532 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
535 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
544 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
[all …]
DSystemZISelDAGToDAG.cpp995 if (Load->getMemoryVT() == MVT::i32 && in tryRISBGZero()
1086 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG()
1189 if (Load->getMemoryVT().getSizeInBits() != in tryGather()
1213 if (Store->getMemoryVT().getSizeInBits() != Value.getValueSizeInBits()) in tryScatter()
1341 EVT MemVT = StoreNode->getMemoryVT(); in tryFoldLoadStoreIntoMemOperand()
1407 if (Load->getMemoryVT() != Store->getMemoryVT()) in canUseBlockOperation()
1425 uint64_t Size = Load->getMemoryVT().getStoreSize(); in canUseBlockOperation()
1441 uint64_t Size = Load->getMemoryVT().getStoreSize(); in storeLoadCanUseMVC()
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZOperators.td463 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
466 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
469 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
474 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
478 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
482 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
534 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
537 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
540 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
549 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
[all …]
DSystemZISelDAGToDAG.cpp999 if (Load->getMemoryVT() == MVT::i32 && in tryRISBGZero()
1090 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG()
1193 if (Load->getMemoryVT().getSizeInBits() != in tryGather()
1217 if (Store->getMemoryVT().getSizeInBits() != Value.getValueSizeInBits()) in tryScatter()
1345 EVT MemVT = StoreNode->getMemoryVT(); in tryFoldLoadStoreIntoMemOperand()
1411 if (Load->getMemoryVT() != Store->getMemoryVT()) in canUseBlockOperation()
1429 uint64_t Size = Load->getMemoryVT().getStoreSize(); in canUseBlockOperation()
1445 uint64_t Size = Load->getMemoryVT().getStoreSize(); in storeLoadCanUseMVC()
1463 return !LoadA->isVolatile() && LoadA->getMemoryVT() == LoadB->getMemoryVT() && in storeLoadCanUseBlockBinary()
1470 TypeSize StoreSize = MemAccess->getMemoryVT().getStoreSize(); in storeLoadIsAligned()
/external/llvm/lib/Target/SystemZ/
DSystemZOperators.td405 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
408 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
411 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
420 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
423 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
426 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
434 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
437 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
440 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
447 return Load->getAlignment() >= Load->getMemoryVT().getStoreSize();
[all …]
DSystemZISelDAGToDAG.cpp1040 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG()
1115 if (Load->getMemoryVT().getSizeInBits() != in tryGather()
1139 if (Store->getMemoryVT().getSizeInBits() != in tryScatter()
1171 if (Load->getMemoryVT() != Store->getMemoryVT()) in canUseBlockOperation()
1189 uint64_t Size = Load->getMemoryVT().getStoreSize(); in canUseBlockOperation()
1205 uint64_t Size = Load->getMemoryVT().getStoreSize(); in storeLoadCanUseMVC()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp424 assert(LD->getMemoryVT() == MVT::i32 && "Unexpected load EVT"); in LowerLOAD()
425 if (allowsMisalignedMemoryAccesses(LD->getMemoryVT(), in LowerLOAD()
432 LD->getMemoryVT().getTypeForEVT(*DAG.getContext())); in LowerLOAD()
507 assert(ST->getMemoryVT() == MVT::i32 && "Unexpected store EVT"); in LowerSTORE()
508 if (allowsMisalignedMemoryAccesses(ST->getMemoryVT(), in LowerSTORE()
514 ST->getMemoryVT().getTypeForEVT(*DAG.getContext())); in LowerSTORE()
973 if (N->getMemoryVT() == MVT::i32) { in LowerATOMIC_LOAD()
981 if (N->getMemoryVT() == MVT::i16) { in LowerATOMIC_LOAD()
989 if (N->getMemoryVT() == MVT::i8) in LowerATOMIC_LOAD()
1004 if (N->getMemoryVT() == MVT::i32) { in LowerATOMIC_STORE()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp304 EVT VT = LD->getMemoryVT(); in isValidIndexedLoad()
331 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedLoad()
360 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedBinOp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp303 EVT VT = LD->getMemoryVT(); in isValidIndexedLoad()
330 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedLoad()
359 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedBinOp()
/external/llvm-project/llvm/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp303 EVT VT = LD->getMemoryVT(); in isValidIndexedLoad()
330 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedLoad()
359 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedBinOp()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp690 OS << " from " << LD->getMemoryVT().getEVTString(); in print_details()
702 OS << ", trunc to " << ST->getMemoryVT().getEVTString(); in print_details()
722 OS << " from " << MLd->getMemoryVT().getEVTString(); in print_details()
737 OS << ", trunc to " << MSt->getMemoryVT().getEVTString(); in print_details()
759 OS << " from " << MGather->getMemoryVT().getEVTString(); in print_details()
771 OS << ", trunc to " << MScatter->getMemoryVT().getEVTString(); in print_details()
/external/llvm-project/llvm/test/TableGen/
Daddress-space-patfrags.td59 // SDAG-NEXT: if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
86 // SDAG-NEXT: if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp416 assert(LD->getMemoryVT() == MVT::i32 && "Unexpected load EVT"); in LowerLOAD()
419 LD->getMemoryVT(), *LD->getMemOperand())) in LowerLOAD()
490 assert(ST->getMemoryVT() == MVT::i32 && "Unexpected store EVT"); in LowerSTORE()
493 ST->getMemoryVT(), *ST->getMemOperand())) in LowerSTORE()
944 if (N->getMemoryVT() == MVT::i32) { in LowerATOMIC_LOAD()
952 if (N->getMemoryVT() == MVT::i16) { in LowerATOMIC_LOAD()
960 if (N->getMemoryVT() == MVT::i8) in LowerATOMIC_LOAD()
975 if (N->getMemoryVT() == MVT::i32) { in LowerATOMIC_STORE()
982 if (N->getMemoryVT() == MVT::i16) { in LowerATOMIC_STORE()
990 if (N->getMemoryVT() == MVT::i8) in LowerATOMIC_STORE()
[all …]
/external/llvm-project/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp416 assert(LD->getMemoryVT() == MVT::i32 && "Unexpected load EVT"); in LowerLOAD()
419 LD->getMemoryVT(), *LD->getMemOperand())) in LowerLOAD()
489 assert(ST->getMemoryVT() == MVT::i32 && "Unexpected store EVT"); in LowerSTORE()
492 ST->getMemoryVT(), *ST->getMemOperand())) in LowerSTORE()
943 if (N->getMemoryVT() == MVT::i32) { in LowerATOMIC_LOAD()
951 if (N->getMemoryVT() == MVT::i16) { in LowerATOMIC_LOAD()
959 if (N->getMemoryVT() == MVT::i8) in LowerATOMIC_LOAD()
974 if (N->getMemoryVT() == MVT::i32) { in LowerATOMIC_STORE()
981 if (N->getMemoryVT() == MVT::i16) { in LowerATOMIC_STORE()
989 if (N->getMemoryVT() == MVT::i8) in LowerATOMIC_STORE()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRISelDAGToDAG.cpp107 MVT VT = cast<MemSDNode>(Op)->getMemoryVT().getSimpleVT(); in SelectAddr()
124 MVT VT = LD->getMemoryVT().getSimpleVT(); in selectIndexedLoad()
371 MVT VT = LD->getMemoryVT().getSimpleVT(); in select()
/external/llvm-project/llvm/lib/Target/AVR/
DAVRISelDAGToDAG.cpp107 MVT VT = cast<MemSDNode>(Op)->getMemoryVT().getSimpleVT(); in SelectAddr()
124 MVT VT = LD->getMemoryVT().getSimpleVT(); in selectIndexedLoad()
368 MVT VT = LD->getMemoryVT().getSimpleVT(); in select()

1234567