Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A 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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86InstrFragmentsSIMD.td831 return St->getAlignment() >= St->getMemoryVT().getStoreSize();
837 return Ld->getAlignment() >= Ld->getMemoryVT().getStoreSize();
893 Ld->getAlignment() >= Ld->getMemoryVT().getStoreSize();
931 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 4;
936 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 8;
941 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 8;
946 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 1;
951 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 2;
956 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 4;
961 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 8;
[all …]
H A DX86InstrFPStack.td48 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f32;
52 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f64;
56 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f80;
60 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f32;
63 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f64;
66 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f80;
70 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
73 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
76 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
81 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A 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 …]
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp699 OS << " from " << LD->getMemoryVT().getEVTString(); in print_details()
711 OS << ", trunc to " << ST->getMemoryVT().getEVTString(); in print_details()
731 OS << " from " << MLd->getMemoryVT().getEVTString(); in print_details()
746 OS << ", trunc to " << MSt->getMemoryVT().getEVTString(); in print_details()
768 OS << " from " << MGather->getMemoryVT().getEVTString(); in print_details()
780 OS << ", trunc to " << MScatter->getMemoryVT().getEVTString(); in print_details()
H A DLegalizeIntegerTypes.cpp263 N->getMemoryVT(), ResVT, in PromoteIntRes_Atomic0()
275 N->getMemoryVT(), in PromoteIntRes_Atomic1()
298 ISD::ATOMIC_CMP_SWAP_WITH_SUCCESS, SDLoc(N), N->getMemoryVT(), VTs, in PromoteIntRes_AtomicCmpSwap()
327 N->getOpcode(), SDLoc(N), N->getMemoryVT(), VTs, N->getChain(), in PromoteIntRes_AtomicCmpSwap()
689 N->getMemoryVT(), N->getMemOperand()); in PromoteIntRes_LOAD()
704 N->getMemoryVT(), N->getMemOperand(), in PromoteIntRes_MLOAD()
726 N->getMemoryVT(), dl, Ops, in PromoteIntRes_MGATHER()
1642 return DAG.getAtomic(N->getOpcode(), SDLoc(N), N->getMemoryVT(), in PromoteIntOp_ATOMIC_STORE()
1826 N->getMemoryVT(), N->getMemOperand()); in PromoteIntOp_STORE()
1851 N->getOffset(), Mask, N->getMemoryVT(), in PromoteIntOp_MSTORE()
[all …]
H A DDAGCombiner.cpp1038 EVT VT = LoadStore->getMemoryVT(); in reassociationCanBreakAddressingModePattern()
1212 EVT MemVT = LD->getMemoryVT(); in PromoteOperand()
1449 EVT MemVT = LD->getMemoryVT(); in PromoteLoad()
2053 VT = LD->getMemoryVT(); in canFoldInAddressingMode()
2058 VT = ST->getMemoryVT(); in canFoldInAddressingMode()
2063 VT = LD->getMemoryVT(); in canFoldInAddressingMode()
2068 VT = ST->getMemoryVT(); in canFoldInAddressingMode()
5199 EVT LoadedVT = LoadN->getMemoryVT(); in isAndLoadExtLoad()
5246 EVT LdStMemVT = LDST->getMemoryVT(); in isLegalNarrowLdSt()
5297 Load->getMemoryVT().getSizeInBits() < MemVT.getSizeInBits() + ShAmt) in isLegalNarrowLdSt()
[all …]
H A DLegalizeVectorTypes.cpp362 N->getPointerInfo(), N->getMemoryVT().getVectorElementType(), in ScalarizeVecRes_LOAD()
800 N->getMemoryVT().getVectorElementType(), N->getOriginalAlign(), in ScalarizeVecOp_STORE()
1693 EVT MemoryVT = LD->getMemoryVT(); in SplitVecRes_LOAD()
1755 EVT MemoryVT = MLD->getMemoryVT(); in SplitVecRes_MLOAD()
1825 EVT MemoryVT = MGT->getMemoryVT(); in SplitVecRes_MGATHER()
2528 EVT MemoryVT = MGT->getMemoryVT(); in SplitVecOp_MGATHER()
2602 EVT MemoryVT = N->getMemoryVT(); in SplitVecOp_MSTORE()
2661 EVT MemoryVT = N->getMemoryVT(); in SplitVecOp_MSCATTER()
2721 EVT MemoryVT = N->getMemoryVT(); in SplitVecOp_STORE()
4020 if (!LD->getMemoryVT().isByteSized()) { in WidenVecRes_LOAD()
[all …]
H A DLegalizeDAG.cpp510 EVT MemVT = ST->getMemoryVT(); in LegalizeStoreOps()
544 EVT StVT = ST->getMemoryVT(); in LegalizeStoreOps()
620 EVT MemVT = ST->getMemoryVT(); in LegalizeStoreOps()
681 EVT MemVT = LD->getMemoryVT(); in LegalizeLoadOps()
723 EVT SrcVT = LD->getMemoryVT(); in LegalizeLoadOps()
866 EVT MemVT = LD->getMemoryVT(); in LegalizeLoadOps()
2753 ISD::ATOMIC_CMP_SWAP, dl, cast<AtomicSDNode>(Node)->getMemoryVT(), VTs, in ExpandNode()
2763 cast<AtomicSDNode>(Node)->getMemoryVT(), in ExpandNode()
2776 ISD::ATOMIC_CMP_SWAP, dl, cast<AtomicSDNode>(Node)->getMemoryVT(), VTs, in ExpandNode()
2784 EVT AtomicType = cast<AtomicSDNode>(Node)->getMemoryVT(); in ExpandNode()
[all …]
H A DLegalizeFloatTypes.cpp698 NewL = DAG.getLoad(L->getAddressingMode(), ISD::NON_EXTLOAD, L->getMemoryVT(), in SoftenFloatRes_LOAD()
700 L->getPointerInfo(), L->getMemoryVT(), in SoftenFloatRes_LOAD()
1045 Val = BitConvertToInteger(DAG.getNode(ISD::FP_ROUND, dl, ST->getMemoryVT(), in SoftenFloatOp_STORE()
1620 assert(LD->getMemoryVT().bitsLE(NVT) && "Float type not round?"); in ExpandFloatRes_LOAD()
1623 LD->getMemoryVT(), LD->getMemOperand()); in ExpandFloatRes_LOAD()
1980 assert(ST->getMemoryVT().bitsLE(NVT) && "Float type not round?"); in ExpandFloatOp_STORE()
1987 ST->getMemoryVT(), ST->getMemOperand()); in ExpandFloatOp_STORE()
H A DLegalizeVectorOps.cpp260 if (LD->getMemoryVT().isVector() && ExtType != ISD::NON_EXTLOAD) { in LegalizeOp()
264 LD->getMemoryVT())) { in LegalizeOp()
290 EVT StVT = ST->getMemoryVT(); in LegalizeOp()
H A DSelectionDAG.cpp673 ID.AddInteger(LD->getMemoryVT().getRawBits()); in AddNodeIDCustom()
680 ID.AddInteger(ST->getMemoryVT().getRawBits()); in AddNodeIDCustom()
687 ID.AddInteger(MLD->getMemoryVT().getRawBits()); in AddNodeIDCustom()
694 ID.AddInteger(MST->getMemoryVT().getRawBits()); in AddNodeIDCustom()
701 ID.AddInteger(MG->getMemoryVT().getRawBits()); in AddNodeIDCustom()
708 ID.AddInteger(MS->getMemoryVT().getRawBits()); in AddNodeIDCustom()
730 ID.AddInteger(AT->getMemoryVT().getRawBits()); in AddNodeIDCustom()
3245 EVT VT = LD->getMemoryVT(); in computeKnownBits()
3559 cast<AtomicSDNode>(Op)->getMemoryVT().getScalarSizeInBits(); in computeKnownBits()
4162 Tmp = cast<AtomicSDNode>(Op)->getMemoryVT().getScalarSizeInBits(); in ComputeNumSignBits()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp303 EVT VT = LD->getMemoryVT(); in isValidIndexedLoad()
330 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedLoad()
359 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedBinOp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A 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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A 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()
H A DAVRISelLowering.cpp884 VT = LD->getMemoryVT(); in getPreIndexedAddressParts()
892 VT = ST->getMemoryVT(); in getPreIndexedAddressParts()
940 VT = LD->getMemoryVT(); in getPostIndexedAddressParts()
944 VT = ST->getMemoryVT(); in getPostIndexedAddressParts()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp843 EVT LoadedVT = LD->getMemoryVT(); in tryLoad()
1000 EVT LoadedVT = MemSD->getMemoryVT(); in tryLoadVector()
1267 EVT EltVT = Mem->getMemoryVT(); in tryLDGLDU()
1710 EVT StoreVT = ST->getMemoryVT(); in tryStore()
1879 EVT StoreVT = MemSD->getMemoryVT(); in tryStoreVector()
2117 EVT MemVT = Mem->getMemoryVT(); in tryLoadParam()
2209 Opcode = pickOpcodeForVT(Mem->getMemoryVT().getSimpleVT().SimpleTy, in tryStoreRetval()
2216 Opcode = pickOpcodeForVT(Mem->getMemoryVT().getSimpleVT().SimpleTy, in tryStoreRetval()
2223 Opcode = pickOpcodeForVT(Mem->getMemoryVT().getSimpleVT().SimpleTy, in tryStoreRetval()
2288 Opcode = pickOpcodeForVT(Mem->getMemoryVT().getSimpleVT().SimpleTy, in tryStoreParam()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsISelDAGToDAG.cpp299 cast<MemSDNode>(Node)->getMemoryVT().getSizeInBits() / 8 <= in Select()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/
H A DVEISelLowering.cpp1105 bool Byte = N->getMemoryVT() == MVT::i8; in prepareTS1AM()
1124 bool Byte = cast<AtomicSDNode>(Op)->getMemoryVT() == MVT::i8; in finalizeTS1AM()
1139 if (N->getMemoryVT() == MVT::i8) { in lowerATOMIC_SWAP()
1162 SDValue TS1AM = DAG.getAtomic(VEISD::TS1AM, DL, N->getMemoryVT(), in lowerATOMIC_SWAP()
1172 if (N->getMemoryVT() == MVT::i16) { in lowerATOMIC_SWAP()
1181 SDValue TS1AM = DAG.getAtomic(VEISD::TS1AM, DL, N->getMemoryVT(), in lowerATOMIC_SWAP()
1314 EVT MemVT = LdNode->getMemoryVT(); in lowerLOAD()
1368 EVT MemVT = StNode->getMemoryVT(); in lowerSTORE()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp1058 if (Store->getMemoryVT() == MVT::i8) { in lowerPrivateTruncStore()
1061 } else if (Store->getMemoryVT() == MVT::i16) { in lowerPrivateTruncStore()
1074 EVT MemVT = Store->getMemoryVT(); in lowerPrivateTruncStore()
1148 EVT MemVT = StoreNode->getMemoryVT(); in LowerSTORE()
1300 EVT MemVT = Load->getMemoryVT(); in lowerPrivateExtLoad()
1354 EVT MemVT = LoadNode->getMemoryVT(); in LowerLOAD()
1712 if (LoadNode->getMemoryVT().getScalarType() != MVT::i32 || !ISD::isNON_EXTLoad(LoadNode)) in constBufferLoad()
H A DAMDGPUISelDAGToDAG.cpp431 if (LdHi->getMemoryVT() == MVT::i8) { in matchLoadD16FromBuildVector()
435 assert(LdHi->getMemoryVT() == MVT::i16); in matchLoadD16FromBuildVector()
440 Ops, LdHi->getMemoryVT(), in matchLoadD16FromBuildVector()
459 if (LdLo->getMemoryVT() == MVT::i8) { in matchLoadD16FromBuildVector()
463 assert(LdLo->getMemoryVT() == MVT::i16); in matchLoadD16FromBuildVector()
474 Ops, LdLo->getMemoryVT(), in matchLoadD16FromBuildVector()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Target/
H A DTargetSelectionDAG.td841 // cast<LoadSDNode>(N)->getMemoryVT() == MVT::<VT>;
842 // cast<StoreSDNode>(N)->getMemoryVT() == MVT::<VT>;
844 // cast<LoadSDNode>(N)->getMemoryVT().getScalarType() == MVT::<VT>;
845 // cast<StoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::<VT>;
1291 return St->getAlignment() >= St->getMemoryVT().getStoreSize();
1297 return St->getAlignment() < St->getMemoryVT().getStoreSize();
1309 return Ld->getAlignment() >= Ld->getMemoryVT().getStoreSize();
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp71 EVT LoadedVT = LD->getMemoryVT(); in SelectIndexedLoad()
470 EVT StoredVT = ST->getMemoryVT(); in SelectIndexedStore()
1479 if (L->getMemoryVT().getSizeInBits() > 32) in DetectUseSxtw()
1580 return N->getAlignment() >= N->getMemoryVT().getStoreSize(); in isAlignedMemNode()
1585 switch (N->getMemoryVT().getStoreSize()) { in isSmallStackStore()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp902 Record *MemoryVT = getMemoryVT(); in getPredCode()
927 !isSignExtLoad() && !isZeroExtLoad() && getMemoryVT() == nullptr && in getPredCode()
949 getMemoryVT() == nullptr && getScalarMemoryVT() == nullptr && in getPredCode()
963 if (getMemoryVT() == nullptr && !isAtomicOrderingMonotonic() && in getPredCode()
1029 Record *MemoryVT = getMemoryVT(); in getPredCode()
1217 Record *TreePredicateFn::getMemoryVT() const { in getMemoryVT() function in TreePredicateFn
1323 if (getMemoryVT()) in getCodeToRunOnSDNode()

123