Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp53 EVT VecVT = EVT::getEVT(VecTy); in isTypeForHVX() local
54 if (!VecVT.isSimple() || VecVT.getSizeInBits() <= 64) in isTypeForHVX()
56 if (ST.isHVXVectorType(VecVT.getSimpleVT())) in isTypeForHVX()
58 auto Action = TLI.getPreferredVectorAction(VecVT.getSimpleVT()); in isTypeForHVX()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp368 EVT VecVT = N->getValueType(0); in ExpandOp_BUILD_VECTOR() local
369 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_BUILD_VECTOR()
374 assert(OldVT == VecVT.getVectorElementType() && in ExpandOp_BUILD_VECTOR()
395 return DAG.getNode(ISD::BITCAST, dl, VecVT, NewVec); in ExpandOp_BUILD_VECTOR()
406 EVT VecVT = N->getValueType(0); in ExpandOp_INSERT_VECTOR_ELT() local
407 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_INSERT_VECTOR_ELT()
414 assert(OldEVT == VecVT.getVectorElementType() && in ExpandOp_INSERT_VECTOR_ELT()
437 return DAG.getNode(ISD::BITCAST, dl, VecVT, NewVec); in ExpandOp_INSERT_VECTOR_ELT()
DLegalizeVectorTypes.cpp1132 EVT VecVT = Vec.getValueType(); in SplitVecRes_INSERT_SUBVECTOR() local
1133 unsigned VecElems = VecVT.getVectorNumElements(); in SplitVecRes_INSERT_SUBVECTOR()
1153 SDValue StackPtr = DAG.CreateStackTemporary(VecVT); in SplitVecRes_INSERT_SUBVECTOR()
1158 SDValue SubVecPtr = TLI.getVectorElementPointer(DAG, StackPtr, VecVT, Idx); in SplitVecRes_INSERT_SUBVECTOR()
1159 Type *VecType = VecVT.getTypeForEVT(*DAG.getContext()); in SplitVecRes_INSERT_SUBVECTOR()
1360 EVT VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT, ResNE); in UnrollVectorOp_StrictFP() local
1361 return DAG.getBuildVector(VecVT, dl, Scalars); in UnrollVectorOp_StrictFP()
1432 EVT VecVT = Vec.getValueType(); in SplitVecRes_INSERT_VECTOR_ELT() local
1433 EVT EltVT = VecVT.getVectorElementType(); in SplitVecRes_INSERT_VECTOR_ELT()
1434 if (VecVT.getScalarSizeInBits() < 8) { in SplitVecRes_INSERT_VECTOR_ELT()
[all …]
DLegalizeDAG.cpp1330 EVT VecVT = Vec.getValueType(); in ExpandExtractFromVectorThroughStack() local
1334 StackPtr = DAG.CreateStackTemporary(VecVT); in ExpandExtractFromVectorThroughStack()
1339 StackPtr = TLI.getVectorElementPointer(DAG, StackPtr, VecVT, Idx); in ExpandExtractFromVectorThroughStack()
1349 VecVT.getVectorElementType()); in ExpandExtractFromVectorThroughStack()
1373 EVT VecVT = Vec.getValueType(); in ExpandInsertToVectorThroughStack() local
1374 SDValue StackPtr = DAG.CreateStackTemporary(VecVT); in ExpandInsertToVectorThroughStack()
1383 SDValue SubStackPtr = TLI.getVectorElementPointer(DAG, StackPtr, VecVT, Idx); in ExpandInsertToVectorThroughStack()
DDAGCombiner.cpp17061 EVT VecVT = VecOp.getValueType(); in visitEXTRACT_VECTOR_ELT() local
17073 return VecVT.isInteger() ? DAG.getAnyExtOrTrunc(Elt, DL, ScalarVT) : Elt; in visitEXTRACT_VECTOR_ELT()
17091 unsigned NumElts = VecVT.getVectorNumElements(); in visitEXTRACT_VECTOR_ELT()
17097 TLI.isTypeLegal(VecVT) && in visitEXTRACT_VECTOR_ELT()
17098 (VecOp.hasOneUse() || TLI.aggressivelyPreferBuildVectorSources(VecVT))) { in visitEXTRACT_VECTOR_ELT()
17113 if (IndexC && VecOp.getOpcode() == ISD::BITCAST && VecVT.isInteger() && in visitEXTRACT_VECTOR_ELT()
17133 unsigned VecEltBitWidth = VecVT.getScalarSizeInBits(); in visitEXTRACT_VECTOR_ELT()
17189 TLI.isOperationLegal(ISD::EXTRACT_VECTOR_ELT, VecVT) || in visitEXTRACT_VECTOR_ELT()
17190 TLI.isOperationExpand(ISD::VECTOR_SHUFFLE, VecVT)) { in visitEXTRACT_VECTOR_ELT()
17223 EVT ExtVT = VecVT.getVectorElementType(); in visitEXTRACT_VECTOR_ELT()
[all …]
DTargetLowering.cpp754 EVT VecVT = Vec.getValueType(); in SimplifyMultipleUseDemandedBits() local
755 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements()) && in SimplifyMultipleUseDemandedBits()
887 EVT VecVT = Vec.getValueType(); in SimplifyDemandedBits() local
892 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements())) { in SimplifyDemandedBits()
6985 EVT VecVT, in clampDynamicVectorIndex() argument
6991 unsigned NElts = VecVT.getVectorNumElements(); in clampDynamicVectorIndex()
7004 SDValue VecPtr, EVT VecVT, in getVectorElementPointer() argument
7010 EVT EltVT = VecVT.getVectorElementType(); in getVectorElementPointer()
7017 Index = clampDynamicVectorIndex(DAG, Index, VecVT, dl); in getVectorElementPointer()
DLegalizeFloatTypes.cpp2202 EVT VecVT = Vec->getValueType(0); in PromoteFloatRes_EXTRACT_VECTOR_ELT() local
2203 EVT EltVT = VecVT.getVectorElementType(); in PromoteFloatRes_EXTRACT_VECTOR_ELT()
2207 switch (getTypeAction(VecVT)) { in PromoteFloatRes_EXTRACT_VECTOR_ELT()
DSelectionDAG.cpp3248 EVT VecVT = InVec.getValueType(); in computeKnownBits() local
3249 const unsigned EltBitWidth = VecVT.getScalarSizeInBits(); in computeKnownBits()
3250 const unsigned NumSrcElts = VecVT.getVectorNumElements(); in computeKnownBits()
3898 EVT VecVT = InVec.getValueType(); in ComputeNumSignBits() local
3901 const unsigned NumSrcElts = VecVT.getVectorNumElements(); in ComputeNumSignBits()
9321 EVT VecVT = EVT::getVectorVT(*getContext(), EltVT, ResNE); in UnrollVectorOp() local
9322 return getBuildVector(VecVT, dl, Scalars); in UnrollVectorOp()
DLegalizeIntegerTypes.cpp1456 EVT VecVT = N->getValueType(0); in PromoteIntOp_BUILD_VECTOR() local
1457 unsigned NumElts = VecVT.getVectorNumElements(); in PromoteIntOp_BUILD_VECTOR()
1458 assert(!((NumElts & 1) && (!TLI.isTypeLegal(VecVT))) && in PromoteIntOp_BUILD_VECTOR()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp721 VecVT = MVT::getVectorVT(MVT::getIntegerVT(8), 16); in isVectorConstantLegal()
734 VecVT = MVT::getVectorVT(MVT::getIntegerVT(SplatBitSize), in isVectorConstantLegal()
747 VecVT = MVT::getVectorVT(MVT::getIntegerVT(SplatBitSize), in isVectorConstantLegal()
4998 EVT VecVT = Op0.getValueType(); in lowerEXTRACT_VECTOR_ELT() local
5003 unsigned Mask = VecVT.getVectorNumElements() - 1; in lowerEXTRACT_VECTOR_ELT()
5010 MVT IntVecVT = MVT::getVectorVT(IntVT, VecVT.getVectorNumElements()); in lowerEXTRACT_VECTOR_ELT()
5446 EVT VecVT, SDValue Op, in combineExtract() argument
5453 unsigned BytesPerElement = VecVT.getVectorElementType().getStoreSize(); in combineExtract()
5539 if (Op.getValueType() != VecVT) { in combineExtract()
5540 Op = DAG.getNode(ISD::BITCAST, DL, VecVT, Op); in combineExtract()
[all …]
DSystemZISelLowering.h615 SDValue combineExtract(const SDLoc &DL, EVT ElemVT, EVT VecVT, SDValue OrigOp,
695 MVT VecVT; member
DSystemZISelDAGToDAG.cpp1152 assert(VCI.VecVT.getSizeInBits() == 128 && "Expected a vector type"); in loadVectorConstant()
1158 SDValue Op = CurDAG->getNode(VCI.Opcode, DL, VCI.VecVT, Ops); in loadVectorConstant()
1160 if (VCI.VecVT == VT.getSimpleVT()) in loadVectorConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp3925 static unsigned int getVCmpInst(MVT VecVT, ISD::CondCode CC, in getVCmpInst() argument
3930 if (VecVT.isFloatingPoint()) { in getVCmpInst()
3953 if (VecVT == MVT::v4f32) in getVCmpInst()
3955 else if (VecVT == MVT::v2f64) in getVCmpInst()
3960 if (VecVT == MVT::v4f32) in getVCmpInst()
3962 else if (VecVT == MVT::v2f64) in getVCmpInst()
3967 if (VecVT == MVT::v4f32) in getVCmpInst()
3969 else if (VecVT == MVT::v2f64) in getVCmpInst()
3997 if (VecVT == MVT::v16i8) in getVCmpInst()
3999 else if (VecVT == MVT::v8i16) in getVCmpInst()
[all …]
DPPCISelLowering.cpp7973 EVT VecVT = Vec.getValueType(); in widenVec() local
7974 assert(VecVT.isVector() && "Expected a vector type."); in widenVec()
7975 assert(VecVT.getSizeInBits() < 128 && "Vector is already full width."); in widenVec()
7977 EVT EltVT = VecVT.getVectorElementType(); in widenVec()
7981 unsigned NumConcat = WideNumElts / VecVT.getVectorNumElements(); in widenVec()
7984 SDValue UndefVec = DAG.getUNDEF(VecVT); in widenVec()
8528 EVT VecVT = V->getValueType(0); in haveEfficientBuildVectorPattern() local
8529 bool RightType = VecVT == MVT::v2f64 || in haveEfficientBuildVectorPattern()
8530 (HasP8Vector && VecVT == MVT::v4f32) || in haveEfficientBuildVectorPattern()
8531 (HasDirectMove && (VecVT == MVT::v2i64 || VecVT == MVT::v4i32)); in haveEfficientBuildVectorPattern()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp3622 MVT VecVT = MVT::Other; in LowerFormalArguments() local
3627 VecVT = MVT::v16f32; in LowerFormalArguments()
3629 VecVT = MVT::v8f32; in LowerFormalArguments()
3631 VecVT = MVT::v4f32; in LowerFormalArguments()
3637 if (VecVT != MVT::Other) in LowerFormalArguments()
3638 RegParmTypes.push_back(VecVT); in LowerFormalArguments()
5139 EVT VecVT = VecOp.getValueType(); in shouldScalarizeBinop() local
5140 if (!isOperationLegalOrCustomOrPromote(Opc, VecVT)) in shouldScalarizeBinop()
5145 EVT ScalarVT = VecVT.getScalarType(); in shouldScalarizeBinop()
8249 MVT VecVT = MVT::getVectorVT(VecSVT, VT.getSizeInBits() / LoadSizeInBits); in EltsFromConsecutiveLoads() local
[all …]
DX86ISelDAGToDAG.cpp427 MVT VecVT = N->getOperand(0).getSimpleValueType(); in getExtractVEXTRACTImmediate() local
428 return getI8Imm((Index * VecVT.getScalarSizeInBits()) / VecWidth, DL); in getExtractVEXTRACTImmediate()
435 MVT VecVT = N->getSimpleValueType(0); in getInsertVINSERTImmediate() local
436 return getI8Imm((Index * VecVT.getScalarSizeInBits()) / VecWidth, DL); in getInsertVINSERTImmediate()
952 MVT VecVT = VT == MVT::f64 ? MVT::v2f64 : MVT::v4f32; in PreprocessISelDAG() local
954 SDValue Op0 = CurDAG->getNode(ISD::SCALAR_TO_VECTOR, dl, VecVT, in PreprocessISelDAG()
956 SDValue Op1 = CurDAG->getNode(ISD::SCALAR_TO_VECTOR, dl, VecVT, in PreprocessISelDAG()
961 EVT IntVT = EVT(VecVT).changeVectorElementTypeToInteger(); in PreprocessISelDAG()
973 Res = CurDAG->getNode(ISD::BITCAST, dl, VecVT, Res); in PreprocessISelDAG()
975 Res = CurDAG->getNode(N->getOpcode(), dl, VecVT, Op0, Op1); in PreprocessISelDAG()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp4788 EVT VecVT = Vec.getValueType(); in lowerINSERT_SUBVECTOR() local
4790 EVT EltVT = VecVT.getVectorElementType(); in lowerINSERT_SUBVECTOR()
4798 Vec = DAG.getNode(ISD::INSERT_VECTOR_ELT, SL, VecVT, Vec, Elt, in lowerINSERT_SUBVECTOR()
4809 EVT VecVT = Vec.getValueType(); in lowerINSERT_VECTOR_ELT() local
4810 EVT EltVT = VecVT.getVectorElementType(); in lowerINSERT_VECTOR_ELT()
4811 unsigned VecSize = VecVT.getSizeInBits(); in lowerINSERT_VECTOR_ELT()
4817 unsigned NumElts = VecVT.getVectorNumElements(); in lowerINSERT_VECTOR_ELT()
4845 return DAG.getNode(ISD::BITCAST, SL, VecVT, Concat); in lowerINSERT_VECTOR_ELT()
4859 DAG.getSplatBuildVector(VecVT, SL, InsVal)); in lowerINSERT_VECTOR_ELT()
4877 return DAG.getNode(ISD::BITCAST, SL, VecVT, BFI); in lowerINSERT_VECTOR_ELT()
[all …]
DAMDGPUISelLowering.h193 bool aggressivelyPreferBuildVectorSources(EVT VecVT) const override;
DR600ISelLowering.cpp697 EVT VecVT = Vector.getValueType(); in vectorToVerticalVector() local
698 EVT EltVT = VecVT.getVectorElementType(); in vectorToVerticalVector()
701 for (unsigned i = 0, e = VecVT.getVectorNumElements(); i != e; ++i) { in vectorToVerticalVector()
707 return DAG.getNode(AMDGPUISD::BUILD_VERTICAL_VECTOR, DL, VecVT, Args); in vectorToVerticalVector()
DAMDGPUISelLowering.cpp761 bool AMDGPUTargetLowering::aggressivelyPreferBuildVectorSources(EVT VecVT) const { in aggressivelyPreferBuildVectorSources()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp5699 EVT VecVT = EVT::getVectorVT( in CombineVMOVDRRCandidateWithVecOp() local
5702 SDValue BitCast = DAG.getNode(ISD::BITCAST, dl, VecVT, ExtractSrc); in CombineVMOVDRRCandidateWithVecOp()
7303 EVT VecVT = EVT::getVectorVT(*DAG.getContext(), IVT, NumElts); in LowerBUILD_VECTOR() local
7304 SDValue Val = DAG.getBuildVector(VecVT, dl, Ops); in LowerBUILD_VECTOR()
7354 EVT VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT, NumElts); in LowerBUILD_VECTOR() local
7358 SDValue Val = DAG.getNode(ARMISD::BUILD_VECTOR, dl, VecVT, Ops); in LowerBUILD_VECTOR()
8108 EVT VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT, NumElts); in LowerVECTOR_SHUFFLE() local
8109 V1 = DAG.getNode(ISD::BITCAST, dl, VecVT, V1); in LowerVECTOR_SHUFFLE()
8110 V2 = DAG.getNode(ISD::BITCAST, dl, VecVT, V2); in LowerVECTOR_SHUFFLE()
8121 SDValue Val = DAG.getNode(ARMISD::BUILD_VECTOR, dl, VecVT, Ops); in LowerVECTOR_SHUFFLE()
[all …]
DARMISelDAGToDAG.cpp3728 EVT VecVT = N->getValueType(0); in Select() local
3729 EVT EltVT = VecVT.getVectorElementType(); in Select()
3730 unsigned NumElts = VecVT.getVectorNumElements(); in Select()
3734 N, createDRegPairNode(VecVT, N->getOperand(0), N->getOperand(1))); in Select()
3740 N, createSRegPairNode(VecVT, N->getOperand(0), N->getOperand(1))); in Select()
3745 createQuadSRegsNode(VecVT, N->getOperand(0), N->getOperand(1), in Select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5095 EVT VecVT; in LowerFCOPYSIGN() local
5101 VecVal1 = DAG.getTargetInsertSubreg(Idx, DL, VecVT, in LowerFCOPYSIGN()
5102 DAG.getUNDEF(VecVT), In1); in LowerFCOPYSIGN()
5103 VecVal2 = DAG.getTargetInsertSubreg(Idx, DL, VecVT, in LowerFCOPYSIGN()
5104 DAG.getUNDEF(VecVT), In2); in LowerFCOPYSIGN()
5106 VecVal1 = DAG.getNode(ISD::BITCAST, DL, VecVT, In1); in LowerFCOPYSIGN()
5107 VecVal2 = DAG.getNode(ISD::BITCAST, DL, VecVT, In2); in LowerFCOPYSIGN()
5112 VecVT = (VT == MVT::v2f32 ? MVT::v2i32 : MVT::v4i32); in LowerFCOPYSIGN()
5116 VecVT = MVT::v2i64; in LowerFCOPYSIGN()
5125 VecVT = (VT == MVT::v4f16 ? MVT::v4i16 : MVT::v8i16); in LowerFCOPYSIGN()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h2595 virtual bool aggressivelyPreferBuildVectorSources(EVT VecVT) const { in aggressivelyPreferBuildVectorSources() argument
4178 SDValue getVectorElementPointer(SelectionDAG &DAG, SDValue VecPtr, EVT VecVT,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp2586 EVT VecVT = EVT::getVectorVT(F->getContext(), LoadVT, NumElts); in LowerFormalArguments() local
2593 DAG.getLoad(VecVT, dl, Root, VecAddr, in LowerFormalArguments()