Home
last modified time | relevance | path

Searched refs:isFixedLengthVector (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DMachineValueType.h126 bool isFixedLengthVector() const { in isFixedLengthVector() function
133 return (isFixedLengthVector() && getFixedSizeInBits() == 16); in is16BitVector()
138 return (isFixedLengthVector() && getFixedSizeInBits() == 32); in is32BitVector()
143 return (isFixedLengthVector() && getFixedSizeInBits() == 64); in is64BitVector()
148 return (isFixedLengthVector() && getFixedSizeInBits() == 128); in is128BitVector()
153 return (isFixedLengthVector() && getFixedSizeInBits() == 256); in is256BitVector()
158 return (isFixedLengthVector() && getFixedSizeInBits() == 512); in is512BitVector()
163 return (isFixedLengthVector() && getFixedSizeInBits() == 1024); in is1024BitVector()
168 return (isFixedLengthVector() && getFixedSizeInBits() == 2048); in is2048BitVector()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp1991 if (VT.isFixedLengthVector() && !isTypeLegal(VT)) in shouldFoldSelectWithIdentityConstant()
2562 (VT.isFixedLengthVector() && VT.getVectorElementType() == MVT::i1); in mergeStoresAfterLegalization()
2608 assert(VT.isFixedLengthVector() && "Expected a fixed length vector type!"); in useRVVForFixedLengthVectorVT()
2685 assert(((VT.isFixedLengthVector() && TLI.isTypeLegal(VT)) || in getContainerForFixedLengthVector()
2732 assert(V.getValueType().isFixedLengthVector() && in convertToScalableVector()
2742 assert(VT.isFixedLengthVector() && in convertFromScalableVector()
2806 if (VecVT.isFixedLengthVector()) in getDefaultVLOps()
2965 if (DstVT.isFixedLengthVector()) { in lowerFP_TO_INT_SAT()
3000 if (DstVT.isFixedLengthVector()) in lowerFP_TO_INT_SAT()
3050 if (VT.isFixedLengthVector()) { in lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND()
[all...]
H A DRISCVTargetTransformInfo.cpp80 if (!VT.isFixedLengthVector()) in getRISCVInstructionCost()
87 if (!VT.isFixedLengthVector()) in getRISCVInstructionCost()
374 if (Mask.size() >= 2 && LT.second.isFixedLengthVector()) { in getShuffleCost()
400 if (LT.second.isFixedLengthVector() && LT.first == 1 && in getShuffleCost()
415 if (LT.second.isFixedLengthVector() && LT.first == 1 && in getShuffleCost()
436 LT.second.isFixedLengthVector() && in getShuffleCost()
490 SubLT.second.isValid() && SubLT.second.isFixedLengthVector()) { in getShuffleCost()
593 if (LT.second.isFixedLengthVector()) in getShuffleCost()
597 if (LT.second.isFixedLengthVector() && in getShuffleCost()
1626 if (LT.second.isFixedLengthVector()) { in getVectorInstrCost()
H A DRISCVTargetTransformInfo.h227 if (DataTypeVT.isFixedLengthVector() && !ST->useRVVForFixedLengthVectors()) in isLegalMaskedLoadStore()
252 if (DataTypeVT.isFixedLengthVector() && !ST->useRVVForFixedLengthVectors()) in isLegalMaskedGatherScatter()
H A DRISCVISelDAGToDAG.cpp2163 (VT.isFixedLengthVector() && SrcVT.isFixedLengthVector())) { in Select()
2180 if (SubVecVT.isFixedLengthVector()) { in Select()
2191 if (VT.isFixedLengthVector()) in Select()
2243 if (VT.isFixedLengthVector()) { in Select()
2247 if (InVT.isFixedLengthVector()) in Select()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h177 bool isFixedLengthVector() const { in isFixedLengthVector() function
178 return isSimple() ? V.isFixedLengthVector() in isFixedLengthVector()
H A DSDPatternMatch.h299 return ValueType_match{[](EVT VT) { return VT.isFixedLengthVector(); }, P}; in m_FixedVectorVT()
302 return ValueType_match{[](EVT VT) { return VT.isFixedLengthVector(); }, in m_FixedVectorVT()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Subtarget.h391 if (!useSVEForFixedLengthVectors() || !VT.isFixedLengthVector()) in useSVEForFixedLengthVectors()
H A DAArch64ISelLowering.cpp237 return VT.isFixedLengthVector() || in isPackedVectorType()
1986 assert(VT.isFixedLengthVector() && "Expected fixed length vector type!"); in addTypeForFixedLengthSVE()
4993 if (!VT.isFixedLengthVector() || VT.getVectorNumElements() != 2 || !C) in getConstantLaneNumOfExtractHalfOperand()
6070 if (VT.isFixedLengthVector()) { in LowerINTRINSIC_WO_CHAIN()
6107 return DataVT.isFixedLengthVector() || DataVT.getVectorMinNumElements() > 2; in shouldRemoveExtendFromGSIndex()
6231 if (VT.isFixedLengthVector()) { in LowerMGATHER()
6319 if (VT.isFixedLengthVector()) { in LowerMSCATTER()
7097 if (!VT.isFixedLengthVector() || !VT.isSimple()) in useSVEForFixedLengthVectorVT()
7252 return VT.isFixedLengthVector() || in isPassedInFPR()
9959 if (VT.isFixedLengthVector() && in LowerFCOPYSIGN()
[all …]
H A DAArch64TargetTransformInfo.cpp2796 if (SrcTy.isFixedLengthVector() && DstTy.isFixedLengthVector() && in getCastInstrCost()
2964 if (LT.second.isFixedLengthVector()) { in getVectorInstrCostHelper()
4124 if (IsExtractSubvector && LT.second.isFixedLengthVector()) in getShuffleCost()
4150 if (!Mask.empty() && LT.second.isFixedLengthVector() && in getShuffleCost()
4160 if (LT.second.isFixedLengthVector() && in getShuffleCost()
4298 if (Kind == TTI::SK_InsertSubvector && LT.second.isFixedLengthVector() && in getShuffleCost()
H A DAArch64ISelDAGToDAG.cpp4430 if (VT.isFixedLengthVector() || InVT.isScalableVector()) in trySelectCastFixedLengthToScalableVector()
4459 if (VT.isScalableVector() || InVT.isFixedLengthVector()) in trySelectCastScalableToFixedLengthVector()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DSveEmitter.cpp100 bool isFixedLengthVector() const { return isVector() && !IsScalable; } in isFixedLengthVector() function in __anone51b860d0111::SVEType
497 if (isFixedLengthVector()) in builtin_str()
531 if (isFixedLengthVector()) in str()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3078 APInt DemandedElts = VT.isFixedLengthVector() in getValidShiftAmount()
3099 APInt DemandedElts = VT.isFixedLengthVector() in getValidMinimumShiftAmount()
3120 APInt DemandedElts = VT.isFixedLengthVector() in getValidMaximumShiftAmount()
3135 APInt DemandedElts = VT.isFixedLengthVector() in computeKnownBits()
3164 assert((!Op.getValueType().isFixedLengthVector() || in computeKnownBits()
4446 APInt DemandedElts = VT.isFixedLengthVector() in ComputeNumSignBits()
6593 if (NumOps == 2 && VT.isFixedLengthVector() && VT.isInteger() && in FoldConstantArithmetic()
7186 if (N2C && N1.getValueType().isFixedLengthVector() && in getNode()
7195 N1.getOperand(0).getValueType().isFixedLengthVector()) { in getNode()
7208 N1.getValueType().isFixedLengthVector()) && in getNode()
[all …]
H A DLegalizeVectorOps.cpp1168 TLI.getOperationAction(VT.isFixedLengthVector() ? ISD::BUILD_VECTOR in ExpandSELECT()
1506 bool IsFixedLen = MaskVT.isFixedLengthVector(); in ExpandVP_MERGE()
H A DDAGCombiner.cpp344 APInt DemandedElts = VT.isFixedLengthVector() in SimplifyDemandedBits()
4525 if (VT.isFixedLengthVector()) { in visitMUL()
13312 if ((LegalOperations || VT.isFixedLengthVector() || in tryToFoldExtOfLoad()
21985 if (!VT.isFixedLengthVector() || in combineInsertEltToLoad()
22081 if (IndexC && VT.isFixedLengthVector() && in visitINSERT_VECTOR_ELT()
22593 if (IndexC && VecVT.isFixedLengthVector() && in visitEXTRACT_VECTOR_ELT()
22602 VecVT.isFixedLengthVector()) && in visitEXTRACT_VECTOR_ELT()
24454 if (!WideBVT.isFixedLengthVector()) in narrowExtractedVectorBinOp()
24628 if (!NarrowVT.isFixedLengthVector() || !WideVT.isFixedLengthVector()) in foldExtractSubvectorFromShuffleVector()
24805 InsSubVT.isFixedLengthVector() && NVT.isFixedLengthVector() && in visitEXTRACT_SUBVECTOR()
[all …]
H A DTargetLowering.cpp662 APInt DemandedElts = VT.isFixedLengthVector() in SimplifyDemandedBits()
937 APInt DemandedElts = VT.isFixedLengthVector() in SimplifyMultipleUseDemandedBits()
1115 assert((!VT.isFixedLengthVector() || NumElts == VT.getVectorNumElements()) && in SimplifyDemandedBits()
2427 unsigned InElts = SrcVT.isFixedLengthVector() ? SrcVT.getVectorNumElements() : 1; in SimplifyDemandedBits()
2472 unsigned InElts = SrcVT.isFixedLengthVector() ? SrcVT.getVectorNumElements() : 1; in SimplifyDemandedBits()
2535 unsigned InElts = SrcVT.isFixedLengthVector() ? SrcVT.getVectorNumElements() : 1; in SimplifyDemandedBits()
3003 unsigned NumElts = VT.isFixedLengthVector() ? VT.getVectorNumElements() : 1; in getKnownUndefForVectorBinop()
10110 assert(!(SubEC.isScalable() && VecVT.isFixedLengthVector()) && in clampDynamicVectorIndex()
H A DLegalizeVectorTypes.cpp3505 assert(SubVT.isFixedLengthVector() && in SplitVecOp_EXTRACT_SUBVECTOR()
6806 else if (VT.isScalableVector() && SubVT.isFixedLengthVector()) { in WidenVecOp_INSERT_SUBVECTOR()
H A DSelectionDAGBuilder.cpp12441 if (OutVT.isFixedLengthVector()) { in visitVectorDeinterleave()
12466 if (OutVT.isFixedLengthVector()) { in visitVectorInterleave()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp2197 if (LoadVT.isFixedLengthVector() && BitcastVT.isFixedLengthVector() && in isLoadBitCastBeneficial()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp954 if (VT.isFixedLengthVector()) { in getPreferredVectorAction()
2814 SrcVT.isFixedLengthVector() && SrcVT.getScalarType() == MVT::i1) { in performBitcastCombine()
2853 if (FromVT.isFixedLengthVector() && in performSETCCCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp835 if (SrcTy.isFixedLengthVector()) in getCastInstrCost()
845 SrcTy.isFixedLengthVector()) { in getCastInstrCost()
H A DARMISelLowering.cpp15658 if (!VecVT.isFixedLengthVector() || in PerformInsertSubvectorCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp22525 if (Src.getValueType().isFixedLengthVector() && in MatchVectorAllEqualTest()