Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZOperators.td505 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
508 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
511 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
516 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
520 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
524 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
602 return cast<MemSDNode>(N)->getMemoryVT() == MVT::i8;
605 return cast<MemSDNode>(N)->getMemoryVT() == MVT::i16;
608 return cast<MemSDNode>(N)->getMemoryVT() == MVT::i32;
611 return cast<MemSDNode>(N)->getMemoryVT() == MVT::i64;
[all …]
H A DSystemZISelDAGToDAG.cpp1033 if (Load->getMemoryVT() == MVT::i32 && in tryRISBGZero()
1127 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG()
1260 if (Load->getMemoryVT().getSizeInBits() != in tryGather()
1284 if (Store->getMemoryVT().getSizeInBits() != Value.getValueSizeInBits()) in tryScatter()
1412 EVT MemVT = StoreNode->getMemoryVT(); in tryFoldLoadStoreIntoMemOperand()
1478 if (Load->getMemoryVT() != Store->getMemoryVT()) in canUseBlockOperation()
1496 uint64_t Size = Load->getMemoryVT().getStoreSize(); in canUseBlockOperation()
1512 uint64_t Size = Load->getMemoryVT().getStoreSize(); in storeLoadCanUseMVC()
1530 return !LoadA->isVolatile() && LoadA->getMemoryVT() == LoadB->getMemoryVT() && in storeLoadCanUseBlockBinary()
1538 TypeSize StoreSize = MemAccess->getMemoryVT().getStoreSize(); in storeLoadIsAligned()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrAtomics.td292 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
298 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
304 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
310 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
333 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
339 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
345 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
351 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
375 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
382 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrFragmentsSIMD.td1010 return St->getAlign() >= St->getMemoryVT().getStoreSize();
1021 return Ld->getAlign() >= Ld->getMemoryVT().getStoreSize();
1094 Ld->getAlign() >= Ld->getMemoryVT().getStoreSize();
1132 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 2;
1137 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 4;
1142 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 8;
1147 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 8;
1152 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 1;
1157 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 2;
1162 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 4;
[all …]
H A DX86InstrFragments.td564 return Ld->getAlign() >= Ld->getMemoryVT().getStoreSize();
569 Ld->getAlign() >= Ld->getMemoryVT().getStoreSize();
607 if (LD->getMemoryVT() == MVT::i32)
824 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f32;
828 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f64;
832 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f80;
836 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f32;
839 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f64;
842 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f80;
862 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
[all …]
H A DX86InstrFPStack.td
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp824 OS << " from " << LD->getMemoryVT(); in print_details()
836 OS << ", trunc to " << ST->getMemoryVT(); in print_details()
856 OS << " from " << MLd->getMemoryVT(); in print_details()
871 OS << ", trunc to " << MSt->getMemoryVT(); in print_details()
893 OS << " from " << MGather->getMemoryVT(); in print_details()
905 OS << ", trunc to " << MScatter->getMemoryVT(); in print_details()
925 OS << " from " << A->getMemoryVT(); in print_details()
H A DDAGCombiner.cpp1132 EVT VT = LoadStore->getMemoryVT(); in reassociationCanBreakAddressingModePattern()
1172 EVT VT = LoadStore->getMemoryVT(); in reassociationCanBreakAddressingModePattern()
1199 EVT VT = LoadStore->getMemoryVT(); in reassociationCanBreakAddressingModePattern()
1490 EVT MemVT = LD->getMemoryVT(); in PromoteOperand()
1727 EVT MemVT = LD->getMemoryVT(); in PromoteLoad()
2413 VT = LD->getMemoryVT(); in canFoldInAddressingMode()
2418 VT = ST->getMemoryVT(); in canFoldInAddressingMode()
2423 VT = LD->getMemoryVT(); in canFoldInAddressingMode()
2428 VT = ST->getMemoryVT(); in canFoldInAddressingMode()
6810 EVT LoadedVT = LoadN->getMemoryVT(); in isAndLoadExtLoad()
[all …]
H A DLegalizeVectorTypes.cpp465 N->getPointerInfo(), N->getMemoryVT().getVectorElementType(), in ScalarizeVecRes_LOAD()
999 N->getMemoryVT().getVectorElementType(), N->getBaseAlign(), in ScalarizeVecOp_STORE()
2114 EVT MemoryVT = LD->getMemoryVT(); in SplitVecRes_LOAD()
2164 EVT MemoryVT = LD->getMemoryVT(); in SplitVecRes_VP_LOAD()
2245 DAG.GetDependentSplitDestVTs(SLD->getMemoryVT(), LoVT, &HiIsEmpty); in SplitVecRes_VP_STRIDED_LOAD()
2338 EVT MemoryVT = MLD->getMemoryVT(); in SplitVecRes_MLOAD()
2415 EVT MemoryVT = N->getMemoryVT(); in SplitVecRes_Gather()
3960 EVT MemoryVT = N->getMemoryVT(); in SplitVecOp_VP_STORE()
4026 N->getMemoryVT(), LoData.getValueType(), &HiIsEmpty); in SplitVecOp_VP_STRIDED_STORE()
4113 EVT MemoryVT = N->getMemoryVT(); in SplitVecOp_MSTORE()
[all …]
H A DLegalizeIntegerTypes.cpp407 DAG.getAtomicLoad(ExtType, SDLoc(N), N->getMemoryVT(), ResVT, in PromoteIntRes_Atomic0()
419 N->getMemoryVT(), in PromoteIntRes_Atomic1()
442 ISD::ATOMIC_CMP_SWAP_WITH_SUCCESS, SDLoc(N), N->getMemoryVT(), VTs, in PromoteIntRes_AtomicCmpSwap()
471 N->getOpcode(), SDLoc(N), N->getMemoryVT(), VTs, N->getChain(), in PromoteIntRes_AtomicCmpSwap()
972 N->getMemoryVT(), N->getMemOperand()); in PromoteIntRes_LOAD()
989 N->getMask(), N->getVectorLength(), N->getMemoryVT(), in PromoteIntRes_VP_LOAD()
1008 N->getMemoryVT(), N->getMemOperand(), in PromoteIntRes_MLOAD()
1031 N->getMemoryVT(), dl, Ops, in PromoteIntRes_MGATHER()
2200 return DAG.getAtomic(N->getOpcode(), SDLoc(N), N->getMemoryVT(), in PromoteIntOp_ATOMIC_STORE()
2463 N->getMemoryVT(), N->getMemOperand()); in PromoteIntOp_STORE()
[all …]
H A DSelectionDAG.cpp825 ID.AddInteger(LD->getMemoryVT().getRawBits()); in AddNodeIDCustom()
833 ID.AddInteger(ST->getMemoryVT().getRawBits()); in AddNodeIDCustom()
841 ID.AddInteger(ELD->getMemoryVT().getRawBits()); in AddNodeIDCustom()
849 ID.AddInteger(EST->getMemoryVT().getRawBits()); in AddNodeIDCustom()
857 ID.AddInteger(SLD->getMemoryVT().getRawBits()); in AddNodeIDCustom()
864 ID.AddInteger(SST->getMemoryVT().getRawBits()); in AddNodeIDCustom()
871 ID.AddInteger(EG->getMemoryVT().getRawBits()); in AddNodeIDCustom()
879 ID.AddInteger(ES->getMemoryVT().getRawBits()); in AddNodeIDCustom()
887 ID.AddInteger(MLD->getMemoryVT().getRawBits()); in AddNodeIDCustom()
895 ID.AddInteger(MST->getMemoryVT().getRawBits()); in AddNodeIDCustom()
[all …]
H A DLegalizeDAG.cpp510 EVT MemVT = ST->getMemoryVT(); in LegalizeStoreOps()
544 EVT StVT = ST->getMemoryVT(); in LegalizeStoreOps()
621 EVT MemVT = ST->getMemoryVT(); in LegalizeStoreOps()
681 EVT MemVT = LD->getMemoryVT(); in LegalizeLoadOps()
731 EVT SrcVT = LD->getMemoryVT(); in LegalizeLoadOps()
876 EVT MemVT = LD->getMemoryVT(); in LegalizeLoadOps()
3184 ISD::ATOMIC_CMP_SWAP, dl, cast<AtomicSDNode>(Node)->getMemoryVT(), VTs, in ExpandNode()
3194 ISD::ATOMIC_SWAP, dl, cast<AtomicSDNode>(Node)->getMemoryVT(), in ExpandNode()
3206 ISD::ATOMIC_CMP_SWAP, dl, cast<AtomicSDNode>(Node)->getMemoryVT(), VTs, in ExpandNode()
3214 EVT AtomicType = cast<AtomicSDNode>(Node)->getMemoryVT(); in ExpandNode()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp309 EVT VT = LD->getMemoryVT(); in isValidIndexedLoad()
334 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedLoad()
363 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedBinOp()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetSelectionDAG.td1038 // cast<LoadSDNode>(N)->getMemoryVT() == MVT::<VT>;
1039 // cast<StoreSDNode>(N)->getMemoryVT() == MVT::<VT>;
1041 // cast<LoadSDNode>(N)->getMemoryVT().getScalarType() == MVT::<VT>;
1042 // cast<StoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::<VT>;
1549 return St->getAlign() >= St->getMemoryVT().getStoreSize();
1555 return St->getAlignment() < St->getMemoryVT().getStoreSize();
1567 return Ld->getAlign() >= Ld->getMemoryVT().getStoreSize();
2056 MGN->getMemoryVT().getScalarType() == MVT::i8;
2063 MGN->getMemoryVT().getScalarType() == MVT::i16;
2070 MGN->getMemoryVT().getScalarType() == MVT::i32;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelDAGToDAG.cpp123 MVT VT = cast<MemSDNode>(Op)->getMemoryVT().getSimpleVT(); in SelectAddr()
145 MVT VT = LD->getMemoryVT().getSimpleVT(); in selectIndexedLoad()
386 MVT VT = LD->getMemoryVT().getSimpleVT(); in select()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp1022 const EVT LoadedEVT = LD->getMemoryVT(); in tryLoad()
1094 const EVT MemEVT = LD->getMemoryVT(); in tryLoadVector()
1173 const EVT LoadedEVT = LD->getMemoryVT(); in tryLDG()
1259 MVT::getIntegerVT(LD->getMemoryVT().getSizeInBits() / NumElts).SimpleTy; in tryLDU()
1311 const EVT StoreVT = ST->getMemoryVT(); in tryStore()
1362 const EVT StoreVT = ST->getMemoryVT(); in tryStoreVector()
1453 EVT MemVT = Mem->getMemoryVT(); in tryLoadParam()
1634 MVT::SimpleValueType MemTy = Mem->getMemoryVT().getSimpleVT().SimpleTy; in tryStoreParam()
1654 Opcode = pickOpcodeForVT(Mem->getMemoryVT().getSimpleVT().SimpleTy, in tryStoreParam()
1676 MVT::SimpleValueType MemTy = Mem->getMemoryVT().getSimpleVT().SimpleTy; in tryStoreParam()
H A DNVPTXISelLowering.cpp2636 MemSD->getMemoryVT(), MemSD->getMemOperand()); in LowerTcgen05St()
3115 EVT MemVT = Load->getMemoryVT(); in LowerLOAD()
3152 EVT VT = Store->getMemoryVT(); in LowerSTORE()
3179 const EVT MemVT = N->getMemoryVT(); in LowerSTOREVector()
3260 N->getMemoryVT(), N->getMemOperand()); in LowerSTOREVector()
5017 EVT MemVT = LD->getMemoryVT(); in combineUnpackingMovIntoLoad()
5115 MemVT = ST->getMemoryVT(); in combinePackingMovIntoStore()
5125 MemVT = ST->getMemoryVT(); in combinePackingMovIntoStore()
5290 EVT MemVT = Mem->getMemoryVT(); in PerformANDCombine()
5863 const EVT MemVT = LD->getMemoryVT(); in replaceLoadVector()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp381 assert(LD->getMemoryVT() == MVT::i32 && "Unexpected load EVT"); in LowerLOAD()
384 LD->getMemoryVT(), *LD->getMemOperand())) in LowerLOAD()
454 assert(ST->getMemoryVT() == MVT::i32 && "Unexpected store EVT"); in LowerSTORE()
457 ST->getMemoryVT(), *ST->getMemOperand())) in LowerSTORE()
1658 ST->getMemoryVT(), in PerformDAGCombine()
1665 unsigned StoreBits = ST->getMemoryVT().getStoreSizeInBits(); in PerformDAGCombine()
1671 if (LD->hasNUsesOfValue(1, 0) && ST->getMemoryVT() == LD->getMemoryVT() && in PerformDAGCombine()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp122 if (const Record *VT = P.getMemoryVT()) in explainPredicates()
219 if (Predicate.isLoad() && Predicate.getMemoryVT()) in isTrivialOperatorNode()
222 if (Predicate.isStore() && Predicate.getMemoryVT()) in isTrivialOperatorNode()
239 if (Predicate.isAtomic() && Predicate.getMemoryVT()) in isTrivialOperatorNode()
587 MVTToLLT(getValueType(Predicate.getMemoryVT())); in getMemSizeBitsFromPredicate()
641 if (Predicate.getMemoryVT() != nullptr) { in addBuiltinPredicates()
679 if (Predicate.getMemoryVT() != nullptr) { in addBuiltinPredicates()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelDAGToDAG.cpp262 cast<MemSDNode>(Node)->getMemoryVT().getStoreSize()) && in Select()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.cpp1153 bool Byte = N->getMemoryVT() == MVT::i8; in prepareTS1AM()
1172 bool Byte = cast<AtomicSDNode>(Op)->getMemoryVT() == MVT::i8; in finalizeTS1AM()
1187 if (N->getMemoryVT() == MVT::i8) { in lowerATOMIC_SWAP()
1211 SDValue TS1AM = DAG.getAtomic(VEISD::TS1AM, DL, N->getMemoryVT(), in lowerATOMIC_SWAP()
1221 if (N->getMemoryVT() == MVT::i16) { in lowerATOMIC_SWAP()
1231 SDValue TS1AM = DAG.getAtomic(VEISD::TS1AM, DL, N->getMemoryVT(), in lowerATOMIC_SWAP()
1369 EVT MemVT = LdNode->getMemoryVT(); in lowerLoadI1()
1420 EVT MemVT = LdNode->getMemoryVT(); in lowerLOAD()
1493 EVT MemVT = StNode->getMemoryVT(); in lowerStoreI1()
1533 EVT MemVT = StNode->getMemoryVT(); in lowerSTORE()
H A DVECustomDAG.cpp248 return MemN->getMemoryVT(); in getIdiomaticVectorType()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp1027 if (Store->getMemoryVT() == MVT::i8) { in lowerPrivateTruncStore()
1030 } else if (Store->getMemoryVT() == MVT::i16) { in lowerPrivateTruncStore()
1043 EVT MemVT = Store->getMemoryVT(); in lowerPrivateTruncStore()
1117 EVT MemVT = StoreNode->getMemoryVT(); in LowerSTORE()
1270 EVT MemVT = Load->getMemoryVT(); in lowerPrivateExtLoad()
1324 EVT MemVT = LoadNode->getMemoryVT(); in LowerLOAD()
1680 if (LoadNode->getMemoryVT().getScalarType() != MVT::i32 || !ISD::isNON_EXTLoad(LoadNode)) in constBufferLoad()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp81 EVT LoadedVT = LD->getMemoryVT(); in INITIALIZE_PASS()
481 EVT StoredVT = ST->getMemoryVT(); in SelectIndexedStore()
1631 if (L->getMemoryVT().getSizeInBits() > 32) in DetectUseSxtw()
1741 return N->getAlign().value() >= N->getMemoryVT().getStoreSize(); in isAlignedMemNode()
1746 switch (N->getMemoryVT().getStoreSize()) { in isSmallStackStore()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenDAGPatterns.cpp917 if (!isLoad() && !isStore() && !isAtomic() && getMemoryVT()) in getPredCode()
937 !isSignExtLoad() && !isZeroExtLoad() && getMemoryVT() == nullptr && in getPredCode()
959 getMemoryVT() == nullptr && getScalarMemoryVT() == nullptr && in getPredCode()
973 if (getMemoryVT() == nullptr && getAddressSpaces() == nullptr && in getPredCode()
1042 if (const Record *MemoryVT = getMemoryVT()) in getPredCode()
1266 const Record *TreePredicateFn::getMemoryVT() const { in getMemoryVT() function in TreePredicateFn
1386 if (getMemoryVT()) in getCodeToRunOnSDNode()

123