Home
last modified time | relevance | path

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

12345

/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/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetSelectionDAG.td614 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i1;
617 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
620 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
623 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
626 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::f32;
629 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::f64;
633 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i1;
636 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
639 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
642 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
[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-7.0/llvm/lib/Target/AArch64/
DAArch64InstrAtomics.td207 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
211 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
215 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
219 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
240 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
244 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
248 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
252 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
274 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
279 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstrFragmentsSIMD.td676 return St->getAlignment() >= St->getMemoryVT().getStoreSize();
682 return Ld->getAlignment() >= Ld->getMemoryVT().getStoreSize() &&
721 Ld->getAlignment() >= Ld->getMemoryVT().getStoreSize();
992 return cast<MaskedStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i8;
997 return cast<MaskedStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i16;
1002 return cast<MaskedStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i32;
1019 return cast<TruncSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i8;
1024 return cast<TruncUSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i8;
1029 return cast<TruncSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i16;
1034 return cast<TruncUSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i16;
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZOperators.td492 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
495 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
498 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
507 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
510 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
513 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
521 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
524 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
527 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
534 return Load->getAlignment() >= Load->getMemoryVT().getStoreSize();
[all …]
DSystemZISelDAGToDAG.cpp987 if (Load->getMemoryVT() == MVT::i32 && in tryRISBGZero()
1078 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG()
1152 if (Load->getMemoryVT().getSizeInBits() != in tryGather()
1176 if (Store->getMemoryVT().getSizeInBits() != Value.getValueSizeInBits()) in tryScatter()
1303 EVT MemVT = StoreNode->getMemoryVT(); in tryFoldLoadStoreIntoMemOperand()
1372 if (Load->getMemoryVT() != Store->getMemoryVT()) in canUseBlockOperation()
1390 uint64_t Size = Load->getMemoryVT().getStoreSize(); in canUseBlockOperation()
1406 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp417 assert(LD->getMemoryVT() == MVT::i32 && "Unexpected load EVT"); in LowerLOAD()
418 if (allowsMisalignedMemoryAccesses(LD->getMemoryVT(), in LowerLOAD()
425 LD->getMemoryVT().getTypeForEVT(*DAG.getContext())); in LowerLOAD()
499 assert(ST->getMemoryVT() == MVT::i32 && "Unexpected store EVT"); in LowerSTORE()
500 if (allowsMisalignedMemoryAccesses(ST->getMemoryVT(), in LowerSTORE()
506 ST->getMemoryVT().getTypeForEVT(*DAG.getContext())); in LowerSTORE()
959 if (N->getMemoryVT() == MVT::i32) { in LowerATOMIC_LOAD()
967 if (N->getMemoryVT() == MVT::i16) { in LowerATOMIC_LOAD()
975 if (N->getMemoryVT() == MVT::i8) in LowerATOMIC_LOAD()
990 if (N->getMemoryVT() == MVT::i32) { in LowerATOMIC_STORE()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp307 EVT VT = LD->getMemoryVT(); in isValidIndexedLoad()
334 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedLoad()
363 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedBinOp()
/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/lib/Target/XCore/
DXCoreISelLowering.cpp397 assert(LD->getMemoryVT() == MVT::i32 && "Unexpected load EVT"); in LowerLOAD()
398 if (allowsUnalignedMemoryAccesses(LD->getMemoryVT())) in LowerLOAD()
402 getABITypeAlignment(LD->getMemoryVT().getTypeForEVT(*DAG.getContext())); in LowerLOAD()
497 assert(ST->getMemoryVT() == MVT::i32 && "Unexpected store EVT"); in LowerSTORE()
498 if (allowsUnalignedMemoryAccesses(ST->getMemoryVT())) { in LowerSTORE()
502 getABITypeAlignment(ST->getMemoryVT().getTypeForEVT(*DAG.getContext())); in LowerSTORE()
1479 allowsUnalignedMemoryAccesses(ST->getMemoryVT()) || in PerformDAGCombine()
1485 unsigned StoreBits = ST->getMemoryVT().getStoreSizeInBits(); in PerformDAGCombine()
1490 ST->getMemoryVT().getTypeForEVT(*DCI.DAG.getContext())); in PerformDAGCombine()
1497 if (LD->hasNUsesOfValue(1, 0) && ST->getMemoryVT() == LD->getMemoryVT() && in PerformDAGCombine()
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp307 EVT VT = LD->getMemoryVT(); in isValidIndexedLoad()
334 MVT VT = LD->getMemoryVT().getSimpleVT(); in SelectIndexedLoad()
363 MVT VT = LD->getMemoryVT().getSimpleVT(); in SelectIndexedBinOp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/
DAVRISelDAGToDAG.cpp108 MVT VT = cast<MemSDNode>(Op)->getMemoryVT().getSimpleVT(); in SelectAddr()
125 MVT VT = LD->getMemoryVT().getSimpleVT(); in selectIndexedLoad()
374 MVT VT = LD->getMemoryVT().getSimpleVT(); in select()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUInstructions.td259 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
275 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
291 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
351 return AN->getMemoryVT() == MVT::i32 &&
359 return AN->getMemoryVT() == MVT::i64 &&
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp195 N->getMemoryVT(), ResVT, in PromoteIntRes_Atomic0()
207 N->getMemoryVT(), in PromoteIntRes_Atomic1()
230 ISD::ATOMIC_CMP_SWAP_WITH_SUCCESS, SDLoc(N), N->getMemoryVT(), VTs, in PromoteIntRes_AtomicCmpSwap()
243 N->getOpcode(), SDLoc(N), N->getMemoryVT(), VTs, N->getChain(), in PromoteIntRes_AtomicCmpSwap()
476 N->getMemoryVT(), N->getMemOperand()); in PromoteIntRes_LOAD()
490 N->getMask(), ExtSrc0, N->getMemoryVT(), in PromoteIntRes_MLOAD()
508 N->getMemoryVT(), dl, Ops, in PromoteIntRes_MGATHER()
1039 return DAG.getAtomic(N->getOpcode(), SDLoc(N), N->getMemoryVT(), in PromoteIntOp_ATOMIC_STORE()
1210 N->getMemoryVT(), N->getMemOperand()); in PromoteIntOp_STORE()
1249 N->getMemoryVT(), N->getMemOperand(), in PromoteIntOp_MSTORE()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp189 N->getMemoryVT(), ResVT, in PromoteIntRes_Atomic0()
202 N->getMemoryVT(), in PromoteIntRes_Atomic1()
226 ISD::ATOMIC_CMP_SWAP_WITH_SUCCESS, SDLoc(N), N->getMemoryVT(), VTs, in PromoteIntRes_AtomicCmpSwap()
240 N->getOpcode(), SDLoc(N), N->getMemoryVT(), VTs, N->getChain(), in PromoteIntRes_AtomicCmpSwap()
482 N->getMemoryVT(), N->getMemOperand()); in PromoteIntRes_LOAD()
496 N->getMask(), ExtSrc0, N->getMemoryVT(), in PromoteIntRes_MLOAD()
514 N->getMemoryVT(), dl, Ops, in PromoteIntRes_MGATHER()
997 return DAG.getAtomic(N->getOpcode(), SDLoc(N), N->getMemoryVT(), in PromoteIntOp_ATOMIC_STORE()
1177 N->getMemoryVT(), N->getMemOperand()); in PromoteIntOp_STORE()
1217 N->getMemoryVT(), N->getMemOperand(), in PromoteIntOp_MSTORE()
[all …]
DDAGCombiner.cpp959 EVT MemVT = LD->getMemoryVT(); in PromoteOperand()
1184 EVT MemVT = LD->getMemoryVT(); in PromoteLoad()
3017 LoadedVT = LoadN->getMemoryVT(); in isAndLoadExtLoad()
3185 Load->getMemoryVT()); in visitAND()
3191 Constant.zextOrTrunc(Load->getMemoryVT().getScalarType().getSizeInBits()); in visitAND()
3209 Load->getOffset(), Load->getMemoryVT(), in visitAND()
3307 EVT MemVT = LN0->getMemoryVT(); in visitAND()
3327 EVT MemVT = LN0->getMemoryVT(); in visitAND()
5355 EVT MemoryVT = MSC->getMemoryVT(); in visitMSCATTER()
5417 EVT MemoryVT = MST->getMemoryVT(); in visitMSTORE()
[all …]
DLegalizeVectorOps.cpp205 if (LD->getMemoryVT().isVector() && ExtType != ISD::NON_EXTLOAD) in LegalizeOp()
207 LD->getMemoryVT())) { in LegalizeOp()
232 EVT StVT = ST->getMemoryVT(); in LegalizeOp()
497 EVT SrcVT = LD->getMemoryVT(); in ExpandLoad()
641 EVT StVT = ST->getMemoryVT(); in ExpandStore()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp169 N->getMemoryVT(), ResVT, in PromoteIntRes_Atomic0()
182 N->getMemoryVT(), in PromoteIntRes_Atomic1()
196 N->getMemoryVT(), N->getChain(), N->getBasePtr(), in PromoteIntRes_Atomic2()
419 N->getMemoryVT(), N->isVolatile(), in PromoteIntRes_LOAD()
844 return DAG.getAtomic(N->getOpcode(), N->getDebugLoc(), N->getMemoryVT(), in PromoteIntOp_ATOMIC_STORE()
1037 N->getMemoryVT(), in PromoteIntOp_STORE()
1168 MVT VT = cast<AtomicSDNode>(Node)->getMemoryVT().getSimpleVT(); in ExpandAtomic()
1785 if (N->getMemoryVT().bitsLE(NVT)) { in ExpandIntRes_LOAD()
1786 EVT MemVT = N->getMemoryVT(); in ExpandIntRes_LOAD()
1814 N->getMemoryVT().getSizeInBits() - NVT.getSizeInBits(); in ExpandIntRes_LOAD()
[all …]
DDAGCombiner.cpp687 EVT MemVT = LD->getMemoryVT(); in PromoteOperand()
911 EVT MemVT = LD->getMemoryVT(); in PromoteLoad()
2374 EVT MemVT = LN0->getMemoryVT(); in visitAND()
2396 EVT MemVT = LN0->getMemoryVT(); in visitAND()
2431 EVT LoadedVT = LN0->getMemoryVT(); in visitAND()
4049 EVT MemVT = LN0->getMemoryVT(); in visitSIGN_EXTEND()
4086 LN0->getMemoryVT(), in visitSIGN_EXTEND()
4289 LN0->getMemoryVT(), in visitZERO_EXTEND()
4314 EVT MemVT = LN0->getMemoryVT(); in visitZERO_EXTEND()
4506 EVT MemVT = LN0->getMemoryVT(); in visitANY_EXTEND()
[all …]
DLegalizeDAG.cpp392 if (ST->getMemoryVT().isFloatingPoint() || in ExpandUnalignedStore()
393 ST->getMemoryVT().isVector()) { in ExpandUnalignedStore()
405 EVT StoredVT = ST->getMemoryVT(); in ExpandUnalignedStore()
464 assert(ST->getMemoryVT().isInteger() && in ExpandUnalignedStore()
465 !ST->getMemoryVT().isVector() && in ExpandUnalignedStore()
468 EVT NewStoredVT = ST->getMemoryVT().getHalfSizedIntegerVT(*DAG.getContext()); in ExpandUnalignedStore()
501 EVT LoadedVT = LD->getMemoryVT(); in ExpandUnalignedLoad()
1147 if (!TLI.allowsUnalignedMemoryAccesses(LD->getMemoryVT())) { in LegalizeOp()
1148 Type *Ty = LD->getMemoryVT().getTypeForEVT(*DAG.getContext()); in LegalizeOp()
1188 EVT SrcVT = LD->getMemoryVT(); in LegalizeOp()
[all …]
/external/llvm/lib/Target/Mips/
DMipsISelDAGToDAG.cpp226 cast<MemSDNode>(Node)->getMemoryVT().getSizeInBits() / 8 <= in Select()

12345