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.td476 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
479 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
482 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
487 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
491 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
495 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
558 return cast<MemSDNode>(N)->getMemoryVT() == MVT::i8;
561 return cast<MemSDNode>(N)->getMemoryVT() == MVT::i16;
564 return cast<MemSDNode>(N)->getMemoryVT() == MVT::i32;
567 return cast<MemSDNode>(N)->getMemoryVT() == MVT::i64;
[all …]
H A DSystemZISelDAGToDAG.cpp1023 if (Load->getMemoryVT() == MVT::i32 && in tryRISBGZero()
1117 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG()
1249 if (Load->getMemoryVT().getSizeInBits() != in tryGather()
1273 if (Store->getMemoryVT().getSizeInBits() != Value.getValueSizeInBits()) in tryScatter()
1401 EVT MemVT = StoreNode->getMemoryVT(); in tryFoldLoadStoreIntoMemOperand()
1467 if (Load->getMemoryVT() != Store->getMemoryVT()) in canUseBlockOperation()
1485 uint64_t Size = Load->getMemoryVT().getStoreSize(); in canUseBlockOperation()
1501 uint64_t Size = Load->getMemoryVT().getStoreSize(); in storeLoadCanUseMVC()
1519 return !LoadA->isVolatile() && LoadA->getMemoryVT() == LoadB->getMemoryVT() && in storeLoadCanUseBlockBinary()
1527 TypeSize StoreSize = MemAccess->getMemoryVT().getStoreSize(); in storeLoadIsAligned()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrFragmentsSIMD.td859 return St->getAlign() >= St->getMemoryVT().getStoreSize();
865 return Ld->getAlign() >= Ld->getMemoryVT().getStoreSize();
933 Ld->getAlign() >= Ld->getMemoryVT().getStoreSize();
971 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 2;
976 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 4;
981 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 8;
986 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 8;
991 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 1;
996 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 2;
1001 return cast<MemIntrinsicSDNode>(N)->getMemoryVT().getStoreSize() == 4;
[all …]
H A DX86InstrFragments.td538 return Ld->getAlign() >= Ld->getMemoryVT().getStoreSize();
543 Ld->getAlign() >= Ld->getMemoryVT().getStoreSize();
581 if (LD->getMemoryVT() == MVT::i32)
795 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f32;
799 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f64;
803 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f80;
807 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f32;
810 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f64;
813 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::f80;
817 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
[all …]
H A DX86InstrFPStack.td
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrAtomics.td288 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
294 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
300 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
306 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
329 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
335 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
341 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
347 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i64;
371 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i8;
378 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp779 OS << " from " << LD->getMemoryVT(); in print_details()
791 OS << ", trunc to " << ST->getMemoryVT(); in print_details()
811 OS << " from " << MLd->getMemoryVT(); in print_details()
826 OS << ", trunc to " << MSt->getMemoryVT(); in print_details()
848 OS << " from " << MGather->getMemoryVT(); in print_details()
860 OS << ", trunc to " << MScatter->getMemoryVT(); in print_details()
880 OS << " from " << A->getMemoryVT(); in print_details()
H A DDAGCombiner.cpp1112 EVT VT = LoadStore->getMemoryVT(); in reassociationCanBreakAddressingModePattern()
1152 EVT VT = LoadStore->getMemoryVT(); in reassociationCanBreakAddressingModePattern()
1179 EVT VT = LoadStore->getMemoryVT(); in reassociationCanBreakAddressingModePattern()
1433 EVT MemVT = LD->getMemoryVT(); in PromoteOperand()
1670 EVT MemVT = LD->getMemoryVT(); in PromoteLoad()
2331 VT = LD->getMemoryVT(); in canFoldInAddressingMode()
2336 VT = ST->getMemoryVT(); in canFoldInAddressingMode()
2341 VT = LD->getMemoryVT(); in canFoldInAddressingMode()
2346 VT = ST->getMemoryVT(); in canFoldInAddressingMode()
6425 EVT LoadedVT = LoadN->getMemoryVT(); in isAndLoadExtLoad()
[all …]
H A DLegalizeVectorTypes.cpp457 N->getPointerInfo(), N->getMemoryVT().getVectorElementType(), in ScalarizeVecRes_LOAD()
951 N->getMemoryVT().getVectorElementType(), N->getOriginalAlign(), in ScalarizeVecOp_STORE()
2039 EVT MemoryVT = LD->getMemoryVT(); in SplitVecRes_LOAD()
2089 EVT MemoryVT = LD->getMemoryVT(); in SplitVecRes_VP_LOAD()
2170 DAG.GetDependentSplitDestVTs(SLD->getMemoryVT(), LoVT, &HiIsEmpty); in SplitVecRes_VP_STRIDED_LOAD()
2263 EVT MemoryVT = MLD->getMemoryVT(); in SplitVecRes_MLOAD()
2340 EVT MemoryVT = N->getMemoryVT(); in SplitVecRes_Gather()
3650 EVT MemoryVT = N->getMemoryVT(); in SplitVecOp_VP_STORE()
3716 N->getMemoryVT(), LoData.getValueType(), &HiIsEmpty); in SplitVecOp_VP_STRIDED_STORE()
3803 EVT MemoryVT = N->getMemoryVT(); in SplitVecOp_MSTORE()
[all...]
H A DLegalizeIntegerTypes.cpp370 N->getMemoryVT(), ResVT, in PromoteIntRes_Atomic0()
402 N->getMemoryVT(), in PromoteIntRes_Atomic1()
425 ISD::ATOMIC_CMP_SWAP_WITH_SUCCESS, SDLoc(N), N->getMemoryVT(), VTs, in PromoteIntRes_AtomicCmpSwap()
454 N->getOpcode(), SDLoc(N), N->getMemoryVT(), VTs, N->getChain(), in PromoteIntRes_AtomicCmpSwap()
950 N->getMemoryVT(), N->getMemOperand()); in PromoteIntRes_LOAD()
969 N->getMemoryVT(), N->getMemOperand(), in PromoteIntRes_MLOAD()
992 N->getMemoryVT(), dl, Ops, in PromoteIntRes_MGATHER()
2135 return DAG.getAtomic(N->getOpcode(), SDLoc(N), N->getMemoryVT(), in PromoteIntOp_ATOMIC_STORE()
2361 N->getMemoryVT(), N->getMemOperand()); in PromoteIntOp_STORE()
2382 N->getOffset(), Mask, N->getMemoryVT(), in PromoteIntOp_MSTORE()
[all …]
H A DSelectionDAG.cpp800 ID.AddInteger(LD->getMemoryVT().getRawBits()); in AddNodeIDCustom()
808 ID.AddInteger(ST->getMemoryVT().getRawBits()); in AddNodeIDCustom()
816 ID.AddInteger(ELD->getMemoryVT().getRawBits()); in AddNodeIDCustom()
824 ID.AddInteger(EST->getMemoryVT().getRawBits()); in AddNodeIDCustom()
832 ID.AddInteger(SLD->getMemoryVT().getRawBits()); in AddNodeIDCustom()
839 ID.AddInteger(SST->getMemoryVT().getRawBits()); in AddNodeIDCustom()
846 ID.AddInteger(EG->getMemoryVT().getRawBits()); in AddNodeIDCustom()
854 ID.AddInteger(ES->getMemoryVT().getRawBits()); in AddNodeIDCustom()
862 ID.AddInteger(MLD->getMemoryVT().getRawBits()); in AddNodeIDCustom()
870 ID.AddInteger(MST->getMemoryVT().getRawBits()); in AddNodeIDCustom()
[all …]
H A DLegalizeDAG.cpp500 EVT MemVT = ST->getMemoryVT(); in LegalizeStoreOps()
534 EVT StVT = ST->getMemoryVT(); in LegalizeStoreOps()
611 EVT MemVT = ST->getMemoryVT(); in LegalizeStoreOps()
672 EVT MemVT = LD->getMemoryVT(); in LegalizeLoadOps()
714 EVT SrcVT = LD->getMemoryVT(); in LegalizeLoadOps()
859 EVT MemVT = LD->getMemoryVT(); in LegalizeLoadOps()
3154 ISD::ATOMIC_CMP_SWAP, dl, cast<AtomicSDNode>(Node)->getMemoryVT(), VTs, in ExpandNode()
3164 ISD::ATOMIC_SWAP, dl, cast<AtomicSDNode>(Node)->getMemoryVT(), in ExpandNode()
3176 ISD::ATOMIC_CMP_SWAP, dl, cast<AtomicSDNode>(Node)->getMemoryVT(), VTs, in ExpandNode()
3184 EVT AtomicType = cast<AtomicSDNode>(Node)->getMemoryVT(); in ExpandNode()
[all …]
H A DLegalizeFloatTypes.cpp864 NewL = DAG.getLoad(L->getAddressingMode(), ISD::NON_EXTLOAD, L->getMemoryVT(), in SoftenFloatRes_LOAD()
866 L->getPointerInfo(), L->getMemoryVT(), in SoftenFloatRes_LOAD()
1246 DAG.getNode(ISD::FP_ROUND, dl, ST->getMemoryVT(), Val, in SoftenFloatOp_STORE()
1262 assert(ST->getMemoryVT() == VT && "truncating atomic store not handled"); in SoftenFloatOp_ATOMIC_STORE()
1928 assert(LD->getMemoryVT().bitsLE(NVT) && "Float type not round?"); in ExpandFloatRes_LOAD()
1931 LD->getMemoryVT(), LD->getMemOperand()); in ExpandFloatRes_LOAD()
2288 assert(ST->getMemoryVT().bitsLE(NVT) && "Float type not round?"); in ExpandFloatOp_STORE()
2295 ST->getMemoryVT(), ST->getMemOperand()); in ExpandFloatOp_STORE()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp313 EVT VT = LD->getMemoryVT(); in isValidIndexedLoad()
338 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedLoad()
367 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedBinOp()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetSelectionDAG.td979 // cast<LoadSDNode>(N)->getMemoryVT() == MVT::<VT>;
980 // cast<StoreSDNode>(N)->getMemoryVT() == MVT::<VT>;
982 // cast<LoadSDNode>(N)->getMemoryVT().getScalarType() == MVT::<VT>;
983 // cast<StoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::<VT>;
1460 return St->getAlign() >= St->getMemoryVT().getStoreSize();
1466 return St->getAlignment() < St->getMemoryVT().getStoreSize();
1478 return Ld->getAlign() >= Ld->getMemoryVT().getStoreSize();
1871 MGN->getMemoryVT().getScalarType() == MVT::i8;
1878 MGN->getMemoryVT().getScalarType() == MVT::i16;
1885 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/XCore/
H A DXCoreISelLowering.cpp408 assert(LD->getMemoryVT() == MVT::i32 && "Unexpected load EVT"); in LowerLOAD()
411 LD->getMemoryVT(), *LD->getMemOperand())) in LowerLOAD()
481 assert(ST->getMemoryVT() == MVT::i32 && "Unexpected store EVT"); in LowerSTORE()
484 ST->getMemoryVT(), *ST->getMemOperand())) in LowerSTORE()
1687 ST->getMemoryVT(), in PerformDAGCombine()
1694 unsigned StoreBits = ST->getMemoryVT().getStoreSizeInBits(); in PerformDAGCombine()
1700 if (LD->hasNUsesOfValue(1, 0) && ST->getMemoryVT() == LD->getMemoryVT() && in PerformDAGCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp909 EVT LoadedVT = LD->getMemoryVT(); in tryLoad()
1054 EVT LoadedVT = MemSD->getMemoryVT(); in tryLoadVector()
1307 EVT EltVT = Mem->getMemoryVT(); in tryLDGLDU()
1691 EVT StoreVT = ST->getMemoryVT(); in tryStore()
1850 EVT StoreVT = MemSD->getMemoryVT(); in tryStoreVector()
2071 EVT MemVT = Mem->getMemoryVT(); in tryLoadParam()
2160 Opcode = pickOpcodeForVT(Mem->getMemoryVT().getSimpleVT().SimpleTy, in tryStoreRetval()
2181 Opcode = pickOpcodeForVT(Mem->getMemoryVT().getSimpleVT().SimpleTy, in tryStoreRetval()
2187 Opcode = pickOpcodeForVT(Mem->getMemoryVT().getSimpleVT().SimpleTy, in tryStoreRetval()
2345 MVT::SimpleValueType MemTy = Mem->getMemoryVT().getSimpleVT().SimpleTy; in tryStoreParam()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp123 if (Record *VT = P.getMemoryVT()) in explainPredicates()
220 if (Predicate.isLoad() && Predicate.getMemoryVT()) in isTrivialOperatorNode()
237 if (Predicate.isAtomic() && Predicate.getMemoryVT()) in isTrivialOperatorNode()
562 MVTToLLT(getValueType(Predicate.getMemoryVT())); in getMemSizeBitsFromPredicate()
614 if (Predicate.getMemoryVT() != nullptr) { in addBuiltinPredicates()
652 if (Predicate.getMemoryVT() != nullptr) { in addBuiltinPredicates()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelDAGToDAG.cpp307 cast<MemSDNode>(Node)->getMemoryVT().getStoreSize()) && in Select()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.cpp1164 bool Byte = N->getMemoryVT() == MVT::i8; in prepareTS1AM()
1183 bool Byte = cast<AtomicSDNode>(Op)->getMemoryVT() == MVT::i8; in finalizeTS1AM()
1198 if (N->getMemoryVT() == MVT::i8) { in lowerATOMIC_SWAP()
1221 SDValue TS1AM = DAG.getAtomic(VEISD::TS1AM, DL, N->getMemoryVT(), in lowerATOMIC_SWAP()
1231 if (N->getMemoryVT() == MVT::i16) { in lowerATOMIC_SWAP()
1240 SDValue TS1AM = DAG.getAtomic(VEISD::TS1AM, DL, N->getMemoryVT(), in lowerATOMIC_SWAP()
1378 EVT MemVT = LdNode->getMemoryVT(); in lowerLoadI1()
1429 EVT MemVT = LdNode->getMemoryVT(); in lowerLOAD()
1502 EVT MemVT = StNode->getMemoryVT(); in lowerStoreI1()
1542 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.cpp1023 if (Store->getMemoryVT() == MVT::i8) { in lowerPrivateTruncStore()
1026 } else if (Store->getMemoryVT() == MVT::i16) { in lowerPrivateTruncStore()
1039 EVT MemVT = Store->getMemoryVT(); in lowerPrivateTruncStore()
1113 EVT MemVT = StoreNode->getMemoryVT(); in LowerSTORE()
1266 EVT MemVT = Load->getMemoryVT(); in lowerPrivateExtLoad()
1320 EVT MemVT = LoadNode->getMemoryVT(); in LowerLOAD()
1675 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()
480 EVT StoredVT = ST->getMemoryVT(); in SelectIndexedStore()
1630 if (L->getMemoryVT().getSizeInBits() > 32) in DetectUseSxtw()
1731 return N->getAlign().value() >= N->getMemoryVT().getStoreSize(); in isAlignedMemNode()
1736 switch (N->getMemoryVT().getStoreSize()) { in isSmallStackStore()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenDAGPatterns.cpp914 Record *MemoryVT = getMemoryVT(); in getPredCode()
939 !isSignExtLoad() && !isZeroExtLoad() && getMemoryVT() == nullptr && in getPredCode()
964 getMemoryVT() == nullptr && getScalarMemoryVT() == nullptr && in getPredCode()
978 if (getMemoryVT() == nullptr && !isAtomicOrderingMonotonic() && in getPredCode()
1046 Record *MemoryVT = getMemoryVT(); in getPredCode()
1257 Record *TreePredicateFn::getMemoryVT() const { in getMemoryVT() function in TreePredicateFn
1363 if (getMemoryVT()) in getCodeToRunOnSDNode()

123