Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A 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 …]
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZOperators.td425 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i16;
428 return cast<MemIntrinsicSDNode>(N)->getMemoryVT() == MVT::i32;
496 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
499 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
502 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
511 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
514 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
517 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
525 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
528 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
[all …]
H A DSystemZISelDAGToDAG.cpp984 if (Load->getMemoryVT() == MVT::i32 && in tryRISBGZero()
1075 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG()
1149 if (Load->getMemoryVT().getSizeInBits() != in tryGather()
1173 if (Store->getMemoryVT().getSizeInBits() != Value.getValueSizeInBits()) in tryScatter()
1300 EVT MemVT = StoreNode->getMemoryVT(); in tryFoldLoadStoreIntoMemOperand()
1366 if (Load->getMemoryVT() != Store->getMemoryVT()) in canUseBlockOperation()
1384 uint64_t Size = Load->getMemoryVT().getStoreSize(); in canUseBlockOperation()
1400 uint64_t Size = Load->getMemoryVT().getStoreSize(); in storeLoadCanUseMVC()
H A DSystemZISelLowering.cpp1774 unsigned NumBits = Load->getMemoryVT().getStoreSizeInBits(); in adjustSubwordCmp()
1822 Load->getMemoryVT(), Load->getAlignment(), in adjustSubwordCmp()
1840 if (Load->getMemoryVT() == MVT::i8) in isNaturalMemoryOperand()
3413 Node->getMemoryVT(), Node->getMemOperand()); in lowerATOMIC_LOAD()
3421 Node->getBasePtr(), Node->getMemoryVT(), in lowerATOMIC_STORE()
3439 EVT NarrowVT = Node->getMemoryVT(); in lowerATOMIC_LOAD_OP()
3510 EVT MemVT = Node->getMemoryVT(); in lowerATOMIC_LOAD_SUB()
3554 EVT NarrowVT = Node->getMemoryVT(); in lowerATOMIC_CMP_SWAP()
3655 Node->getMemoryVT(), Node->getMemOperand()); in lowerPREFETCH()
5415 EVT MemVT = SN->getMemoryVT(); in combineSTORE()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86InstrFragmentsSIMD.td708 return St->getAlignment() >= St->getMemoryVT().getStoreSize();
714 return Ld->getAlignment() >= Ld->getMemoryVT().getStoreSize();
770 Ld->getAlignment() >= Ld->getMemoryVT().getStoreSize();
1045 return cast<MaskedStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i8;
1050 return cast<MaskedStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i16;
1055 return cast<MaskedStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i32;
1072 return cast<TruncSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i8;
1077 return cast<TruncUSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i8;
1082 return cast<TruncSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i16;
1087 return cast<TruncUSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i16;
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp417 if (allowsMisalignedMemoryAccesses(LD->getMemoryVT(), in LowerLOAD()
424 LD->getMemoryVT().getTypeForEVT(*DAG.getContext())); in LowerLOAD()
499 if (allowsMisalignedMemoryAccesses(ST->getMemoryVT(), in LowerSTORE()
505 ST->getMemoryVT().getTypeForEVT(*DAG.getContext())); in LowerSTORE()
958 if (N->getMemoryVT() == MVT::i32) { in LowerATOMIC_LOAD()
966 if (N->getMemoryVT() == MVT::i16) { in LowerATOMIC_LOAD()
974 if (N->getMemoryVT() == MVT::i8) in LowerATOMIC_LOAD()
989 if (N->getMemoryVT() == MVT::i32) { in LowerATOMIC_STORE()
996 if (N->getMemoryVT() == MVT::i16) { in LowerATOMIC_STORE()
1004 if (N->getMemoryVT() == MVT::i8) in LowerATOMIC_STORE()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp307 EVT VT = LD->getMemoryVT(); in isValidIndexedLoad()
334 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedLoad()
363 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedBinOp()
/freebsd-12.1/contrib/llvm/lib/Target/AVR/
H A DAVRISelDAGToDAG.cpp108 MVT VT = cast<MemSDNode>(Op)->getMemoryVT().getSimpleVT(); in SelectAddr()
125 MVT VT = LD->getMemoryVT().getSimpleVT(); in selectIndexedLoad()
372 MVT VT = LD->getMemoryVT().getSimpleVT(); in select()
H A DAVRISelLowering.cpp782 VT = LD->getMemoryVT(); in getPreIndexedAddressParts()
790 VT = ST->getMemoryVT(); in getPreIndexedAddressParts()
838 VT = LD->getMemoryVT(); in getPostIndexedAddressParts()
842 VT = ST->getMemoryVT(); in getPostIndexedAddressParts()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp205 N->getMemoryVT(), ResVT, in PromoteIntRes_Atomic0()
217 N->getMemoryVT(), in PromoteIntRes_Atomic1()
575 N->getMemoryVT(), dl, Ops, in PromoteIntRes_MGATHER()
2385 if (N->getMemoryVT().bitsLE(NVT)) { in ExpandIntRes_LOAD()
2386 EVT MemVT = N->getMemoryVT(); in ExpandIntRes_LOAD()
2415 N->getMemoryVT().getSizeInBits() - NVT.getSizeInBits(); in ExpandIntRes_LOAD()
2433 EVT MemVT = N->getMemoryVT(); in ExpandIntRes_LOAD()
3136 EVT VT = cast<AtomicSDNode>(N)->getMemoryVT(); in ExpandIntRes_ATOMIC_LOAD()
3477 if (N->getMemoryVT().bitsLE(NVT)) { in ExpandIntOp_STORE()
3491 N->getMemoryVT().getSizeInBits() - NVT.getSizeInBits(); in ExpandIntOp_STORE()
[all …]
H A DDAGCombiner.cpp12547 VT = LD->getMemoryVT(); in canFoldInAddressingMode()
12552 VT = ST->getMemoryVT(); in canFoldInAddressingMode()
12596 VT = LD->getMemoryVT(); in CombineToPreIndexedLoadStore()
12604 VT = ST->getMemoryVT(); in CombineToPreIndexedLoadStore()
12821 VT = LD->getMemoryVT(); in CombineToPostIndexedLoadStore()
12829 VT = ST->getMemoryVT(); in CombineToPostIndexedLoadStore()
14048 EVT VT = LD->getMemoryVT(); in TransformFPLoadStorePair()
14368 LoadVT = Ld->getMemoryVT(); in getStoreMergeCandidates()
15254 if (Ld->getBasePtr() == Ptr && ST->getMemoryVT() == Ld->getMemoryVT() && in visitSTORE()
15267 ST->getMemoryVT() == ST1->getMemoryVT()) { in visitSTORE()
[all …]
H A DLegalizeVectorTypes.cpp1307 EVT MemoryVT = LD->getMemoryVT(); in SplitVecRes_LOAD()
1360 EVT MemoryVT = MLD->getMemoryVT(); in SplitVecRes_MLOAD()
1422 EVT MemoryVT = MGT->getMemoryVT(); in SplitVecRes_MGATHER()
2005 EVT MemoryVT = MGT->getMemoryVT(); in SplitVecOp_MGATHER()
2061 EVT MemoryVT = N->getMemoryVT(); in SplitVecOp_MSTORE()
2123 EVT MemoryVT = N->getMemoryVT(); in SplitVecOp_MSCATTER()
2182 EVT MemoryVT = N->getMemoryVT(); in SplitVecOp_STORE()
4169 EVT LdVT = LD->getMemoryVT(); in GenWidenVectorLoads()
4320 EVT LdVT = LD->getMemoryVT(); in GenWidenVectorExtLoads()
4373 EVT StVT = ST->getMemoryVT(); in GenWidenVectorStores()
[all …]
H A DLegalizeVectorOps.cpp244 if (LD->getMemoryVT().isVector() && ExtType != ISD::NON_EXTLOAD) { in LegalizeOp()
248 LD->getMemoryVT())) { in LegalizeOp()
271 EVT StVT = ST->getMemoryVT(); in LegalizeOp()
587 EVT SrcVT = LD->getMemoryVT(); in ExpandLoad()
H A DSelectionDAGDumper.cpp634 OS << " from " << LD->getMemoryVT().getEVTString(); in print_details()
646 OS << ", trunc to " << ST->getMemoryVT().getEVTString(); in print_details()
H A DLegalizeFloatTypes.cpp652 NewL = DAG.getLoad(L->getAddressingMode(), ISD::NON_EXTLOAD, L->getMemoryVT(), in SoftenFloatRes_LOAD()
654 L->getPointerInfo(), L->getMemoryVT(), L->getAlignment(), in SoftenFloatRes_LOAD()
1023 Val = BitConvertToInteger(DAG.getNode(ISD::FP_ROUND, dl, ST->getMemoryVT(), in SoftenFloatOp_STORE()
1441 assert(LD->getMemoryVT().bitsLE(NVT) && "Float type not round?"); in ExpandFloatRes_LOAD()
1444 LD->getMemoryVT(), LD->getMemOperand()); in ExpandFloatRes_LOAD()
1725 assert(ST->getMemoryVT().bitsLE(NVT) && "Float type not round?"); in ExpandFloatOp_STORE()
1732 ST->getMemoryVT(), ST->getMemOperand()); in ExpandFloatOp_STORE()
H A DLegalizeDAG.cpp491 EVT MemVT = ST->getMemoryVT(); in LegalizeStoreOps()
527 EVT StVT = ST->getMemoryVT(); in LegalizeStoreOps()
604 EVT MemVT = ST->getMemoryVT(); in LegalizeStoreOps()
665 EVT MemVT = LD->getMemoryVT(); in LegalizeLoadOps()
708 EVT SrcVT = LD->getMemoryVT(); in LegalizeLoadOps()
855 EVT MemVT = LD->getMemoryVT(); in LegalizeLoadOps()
2722 ISD::ATOMIC_CMP_SWAP, dl, cast<AtomicSDNode>(Node)->getMemoryVT(), VTs, in ExpandNode()
2732 cast<AtomicSDNode>(Node)->getMemoryVT(), in ExpandNode()
2745 ISD::ATOMIC_CMP_SWAP, dl, cast<AtomicSDNode>(Node)->getMemoryVT(), VTs, in ExpandNode()
2753 EVT AtomicType = cast<AtomicSDNode>(Node)->getMemoryVT(); in ExpandNode()
[all …]
H A DTargetLowering.cpp2307 MinBits = LN0->getMemoryVT().getSizeInBits(); in SimplifySetCC()
2311 MinBits = LN0->getMemoryVT().getSizeInBits(); in SimplifySetCC()
2389 origWidth = Lod->getMemoryVT().getSizeInBits(); in SimplifySetCC()
4744 EVT SrcVT = LD->getMemoryVT(); in scalarizeVectorLoad()
4784 EVT StVT = ST->getMemoryVT(); in scalarizeVectorStore()
4858 EVT LoadedVT = LD->getMemoryVT(); in expandUnalignedLoad()
5016 EVT MemVT = ST->getMemoryVT(); in expandUnalignedStore()
5039 EVT StoredVT = ST->getMemoryVT(); in expandUnalignedStore()
5103 assert(ST->getMemoryVT().isInteger() && in expandUnalignedStore()
5104 !ST->getMemoryVT().isVector() && in expandUnalignedStore()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsISelDAGToDAG.cpp249 cast<MemSDNode>(Node)->getMemoryVT().getSizeInBits() / 8 <= in Select()
/freebsd-12.1/contrib/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 …]
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp1147 if (Store->getMemoryVT() == MVT::i8) { in lowerPrivateTruncStore()
1150 } else if (Store->getMemoryVT() == MVT::i16) { in lowerPrivateTruncStore()
1163 EVT MemVT = Store->getMemoryVT(); in lowerPrivateTruncStore()
1238 EVT MemVT = StoreNode->getMemoryVT(); in LowerSTORE()
1386 EVT MemVT = Load->getMemoryVT(); in lowerPrivateExtLoad()
1441 EVT MemVT = LoadNode->getMemoryVT(); in LowerLOAD()
1500 EVT MemVT = LoadNode->getMemoryVT(); in LowerLOAD()
1802 if (LoadNode->getMemoryVT().getScalarType() != MVT::i32 || !ISD::isNON_EXTLoad(LoadNode)) in constBufferLoad()
H A DAMDGPUInstructions.td391 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
395 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
399 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i32;
H A DSIInstrInfo.td293 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
297 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
301 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i8;
305 return cast<LoadSDNode>(N)->getMemoryVT() == MVT::i16;
356 return cast<StoreSDNode>(N)->getMemoryVT() == MVT::i8;
361 return cast<StoreSDNode>(N)->getMemoryVT() == MVT::i16;
/freebsd-12.1/contrib/llvm/include/llvm/Target/
H A DTargetSelectionDAG.td695 // cast<LoadSDNode>(N)->getMemoryVT() == MVT::<VT>;
696 // cast<StoreSDNode>(N)->getMemoryVT() == MVT::<VT>;
698 // cast<LoadSDNode>(N)->getMemoryVT().getScalarType() == MVT::<VT>;
699 // cast<StoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::<VT>;
1103 return St->getAlignment() >= St->getMemoryVT().getStoreSize();
1109 return St->getAlignment() < St->getMemoryVT().getStoreSize();
1121 return Ld->getAlignment() >= Ld->getMemoryVT().getStoreSize();
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp72 EVT LoadedVT = LD->getMemoryVT(); in SelectIndexedLoad()
471 EVT StoredVT = ST->getMemoryVT(); in SelectIndexedStore()
1458 if (L->getMemoryVT().getSizeInBits() > 32) in DetectUseSxtw()
1559 return N->getAlignment() >= N->getMemoryVT().getStoreSize(); in isAlignedMemNode()
1564 switch (N->getMemoryVT().getStoreSize()) { in isSmallStackStore()
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp863 Record *MemoryVT = getMemoryVT(); in getPredCode()
888 !isSignExtLoad() && !isZeroExtLoad() && getMemoryVT() == nullptr && in getPredCode()
909 getMemoryVT() == nullptr && getScalarMemoryVT() == nullptr) in getPredCode()
922 if (getMemoryVT() == nullptr && !isAtomicOrderingMonotonic() && in getPredCode()
963 Record *MemoryVT = getMemoryVT(); in getPredCode()
1149 Record *TreePredicateFn::getMemoryVT() const { in getMemoryVT() function in TreePredicateFn
1239 if (getMemoryVT()) in getCodeToRunOnSDNode()

123