Home
last modified time | relevance | path

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

12

/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp150 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST()
156 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BUILD_VECTOR()
166 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_CONVERT_RNDSAT()
178 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_EXTRACT_SUBVECTOR()
183 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND()
199 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_INSERT_VECTOR_ELT()
211 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_LOAD()
216 N->getMemoryVT().getVectorElementType(), in ScalarizeVecRes_LOAD()
228 EVT DestVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_UnaryOp()
234 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_InregOp()
[all …]
DLegalizeTypesGeneric.cpp80 EVT InNVT = EVT::getVectorVT(*DAG.getContext(), InVT.getVectorElementType(), in ExpandRes_BITCAST()
205 EVT OldEltVT = OldVec.getValueType().getVectorElementType(); in ExpandRes_EXTRACT_VECTOR_ELT()
349 assert(OldVT == VecVT.getVectorElementType() && in ExpandOp_BUILD_VECTOR()
391 assert(OldEVT == VecVT.getVectorElementType() && in ExpandOp_INSERT_VECTOR_ELT()
419 assert(VT.getVectorElementType() == N->getOperand(0).getValueType() && in ExpandOp_SCALAR_TO_VECTOR()
493 assert(Cond.getValueType().getVectorElementType() == MVT::i1 && in SplitRes_SELECT()
DLegalizeTypes.cpp756 Op.getValueType().getVectorElementType().getSizeInBits() && in SetScalarizedVector()
831 assert(Lo.getValueType().getVectorElementType() == in SetSplitVector()
832 Op.getValueType().getVectorElementType() && in SetSplitVector()
875 unsigned EltWidth = Op.getValueType().getVectorElementType().getSizeInBits(); in BitConvertVectorToIntegerVector()
967 InVT.getVectorElementType(), NumElements/2); in GetSplitDestVTs()
DLegalizeVectorOps.cpp353 EVT EltVT = VT.getVectorElementType(); in PromoteVectorOpINT_TO_FP()
746 EVT EltVT = VT.getVectorElementType(); in UnrollVSETCC()
748 EVT TmpEltVT = LHS.getValueType().getVectorElementType(); in UnrollVSETCC()
DLegalizeIntegerTypes.cpp918 N->getValueType(0).getVectorElementType().getSizeInBits() && in PromoteIntOp_BUILD_VECTOR()
948 N->getValueType(0).getVectorElementType().getSizeInBits() && in PromoteIntOp_INSERT_VECTOR_ELT()
2878 EVT NOutVTElem = NOutVT.getVectorElementType(); in PromoteIntRes_EXTRACT_SUBVECTOR()
2891 InVT.getVectorElementType(), N->getOperand(0), Index); in PromoteIntRes_EXTRACT_SUBVECTOR()
2926 EVT NOutVTElem = NOutVT.getVectorElementType(); in PromoteIntRes_BUILD_VECTOR()
2950 EVT NOutVTElem = NOutVT.getVectorElementType(); in PromoteIntRes_SCALAR_TO_VECTOR()
2964 EVT InElemTy = OutVT.getVectorElementType(); in PromoteIntRes_CONCAT_VECTORS()
2965 EVT OutElemTy = NOutVT.getVectorElementType(); in PromoteIntRes_CONCAT_VECTORS()
2992 EVT NOutVTElem = NOutVT.getVectorElementType(); in PromoteIntRes_INSERT_VECTOR_ELT()
3020 EVT RetSclrTy = N->getValueType(0).getVectorElementType(); in PromoteIntOp_CONCAT_VECTORS()
[all …]
DSelectionDAG.cpp123 unsigned EltSize = N->getValueType(0).getVectorElementType().getSizeInBits(); in isBuildVectorAllOnes()
811 EVT EltVT = N->getValueType(0).getVectorElementType(); in VerifyNodeCommon()
1307 assert(VT.getVectorElementType() == N1.getValueType().getVectorElementType() in getVectorShuffle()
2632 (VT.getVectorElementType() == Operand.getValueType() || in getNode()
2633 (VT.getVectorElementType().isInteger() && in getNode()
2635 VT.getVectorElementType().bitsLE(Operand.getValueType()))) && in getNode()
3071 assert(VT.getVectorElementType() == N1.getValueType().getVectorElementType() && in getNode()
3421 MVT EltVT = (VT.getVectorElementType() == MVT::f32) ? MVT::i32 : MVT::i64; in getMemsetStringVal()
6099 EVT EltVT = VT.getVectorElementType(); in UnrollVectorOp()
6118 EVT OperandEltVT = OperandVT.getVectorElementType(); in UnrollVectorOp()
[all …]
DLegalizeDAG.cpp585 EVT EltVT = VT.getVectorElementType(); in PerformInsertVectorEltInMemory()
620 EVT EltVT = Vec.getValueType().getVectorElementType(); in ExpandINSERT_VECTOR_ELT()
1381 Vec.getValueType().getVectorElementType().getSizeInBits()/8; in ExpandExtractFromVectorThroughStack()
1397 Vec.getValueType().getVectorElementType(), in ExpandExtractFromVectorThroughStack()
1423 Vec.getValueType().getVectorElementType().getSizeInBits()/8; in ExpandInsertToVectorThroughStack()
1451 EVT EltVT = VT.getVectorElementType(); in ExpandVectorBuildThroughStack()
1739 Node->getValueType(0).getVectorElementType(), in ExpandSCALAR_TO_VECTOR()
1755 EVT EltVT = VT.getVectorElementType(); in ExpandBUILD_VECTOR()
3013 EVT EltVT = VT.getVectorElementType(); in ExpandNode()
DDAGCombiner.cpp1613 SDValue El = DAG.getConstant(0, VT.getVectorElementType()); in tryFoldToZero()
2533 unsigned BitWidth = VT.getVectorElementType().getSizeInBits(); in visitAND()
3071 EVT EltVT = VT.isVector() ? VT.getVectorElementType() : VT; in visitOR()
4753 EVT EltVT = VT.getVectorElementType(); in visitZERO_EXTEND()
5374 EVT BuildVectEltTy = BuildVect.getValueType().getVectorElementType(); in visitTRUNCATE()
5375 EVT TruncVecEltTy = VT.getVectorElementType(); in visitTRUNCATE()
5434 VT.getVectorElementType(), in visitTRUNCATE()
5527 EVT DestEltVT = N->getValueType(0).getVectorElementType(); in visitBITCAST()
5666 EVT SrcEltVT = BV->getValueType(0).getVectorElementType(); in ConstantFoldBITCASTofBUILD_VECTOR()
8510 EVT ExtVT = VT.getVectorElementType(); in visitEXTRACT_VECTOR_ELT()
[all …]
DSelectionDAGBuilder.cpp279 if (PartEVT.getVectorElementType() == ValueVT.getVectorElementType()) { in getCopyFromPartsVector()
321 ValueVT.getVectorElementType() != PartEVT) { in getCopyFromPartsVector()
484 PartEVT.getVectorElementType() == ValueVT.getVectorElementType() && in getCopyToPartsVector()
486 EVT ElementVT = PartVT.getVectorElementType(); in getCopyToPartsVector()
505 PartEVT.getVectorElementType().bitsGE( in getCopyToPartsVector()
506 ValueVT.getVectorElementType()) && in getCopyToPartsVector()
3039 EVT EltVT = VT.getVectorElementType(); in visitShuffleVector()
/external/llvm/include/llvm/CodeGen/
DValueTypes.h249 return MVT::getVectorVT(getVectorElementType(), Pow2NElts); in getPow2VectorType()
255 return isVector() ? getVectorElementType() : *this; in getScalarType()
258 MVT getVectorElementType() const { in getVectorElementType() function
602 MVT EltTy = getSimpleVT().getVectorElementType(); in changeVectorElementTypeToInteger()
730 return isVector() ? getVectorElementType() : *this; in getScalarType()
735 EVT getVectorElementType() const { in getVectorElementType() function
738 return V.getVectorElementType(); in getVectorElementType()
809 return EVT::getVectorVT(Context, getVectorElementType(), Pow2NElts); in getPow2VectorType()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp294 elemtype = vtparts[i].getVectorElementType(); in getPrototype()
322 elemtype = vtparts[i].getVectorElementType(); in getPrototype()
389 elemtype = vtparts[i].getVectorElementType(); in getPrototype()
505 elemtype = vtparts[j].getVectorElementType(); in LowerCall()
538 elemtype = vtparts[j].getVectorElementType(); in LowerCall()
586 elemtype = resvtparts[i].getVectorElementType(); in LowerCall()
754 elemtype = Ins[i].VT.getVectorElementType(); in LowerCall()
804 EVT EltVT = VVT.getVectorElementType(); in LowerCONCAT_VECTORS()
906 EVT EltVT = ValVT.getVectorElementType(); in LowerSTOREVector()
1166 if (tmpvt.isVector()) tmpvt = tmpvt.getVectorElementType(); in LowerFormalArguments()
[all …]
DNVPTXAsmPrinter.cpp355 elemtype = vtparts[i].getVectorElementType(); in printReturnValStr()
383 elemtype = vtparts[i].getVectorElementType(); in printReturnValStr()
1595 elemtype = vtparts[i].getVectorElementType(); in emitFunctionParamList()
/external/llvm/lib/IR/
DValueTypes.cpp24 EVT IntTy = getIntegerVT(Context, getVectorElementType().getSizeInBits()); in changeExtendedVectorElementTypeToInteger()
111 getVectorElementType().getEVTString(); in getEVTString()
DConstantFold.cpp743 return UndefValue::get(Val->getType()->getVectorElementType()); in ConstantFoldExtractElementInstruction()
745 return Constant::getNullValue(Val->getType()->getVectorElementType()); in ConstantFoldExtractElementInstruction()
748 return UndefValue::get(Val->getType()->getVectorElementType()); in ConstantFoldExtractElementInstruction()
754 return UndefValue::get(Val->getType()->getVectorElementType()); in ConstantFoldExtractElementInstruction()
787 Type *EltTy = V1->getType()->getVectorElementType(); in ConstantFoldShuffleVectorInstruction()
DConstants.cpp1273 return getNullValue(this->getType()->getVectorElementType()); in getSplatValue()
1907 Type *ReqTy = Val->getType()->getVectorElementType(); in getExtractElement()
1915 assert(Elt->getType() == Val->getType()->getVectorElementType() && in getInsertElement()
1939 Type *EltTy = V1->getType()->getVectorElementType(); in getShuffleVector()
/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp67 unsigned Offset = Imm * (VT.getVectorElementType().getSizeInBits() / 8); in DecodePALIGNRMask()
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp782 MVT EltTy = VT.getVectorElementType(); in getVectorTypeBreakdownMVT()
957 MVT EltVT = VT.getVectorElementType(); in computeRegisterProperties()
967 if (SVT.getVectorElementType().getSizeInBits() > EltVT.getSizeInBits() in computeRegisterProperties()
984 if (SVT.getVectorElementType() == EltVT && in computeRegisterProperties()
1074 EVT EltTy = VT.getVectorElementType(); in getVectorTypeBreakdown()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp103 MVT ElemTy = VT.getVectorElementType(); in addTypeForNEON()
3225 if (Op.getValueType().getVectorElementType() == MVT::i32) { in LowerVectorFP_TO_INT()
3226 if (Op.getOperand(0).getValueType().getVectorElementType() == MVT::f32) in LowerVectorFP_TO_INT()
3265 if (Op.getOperand(0).getValueType().getVectorElementType() == MVT::i32) { in LowerVectorINT_TO_FP()
3266 if (VT.getVectorElementType() == MVT::f32) in LowerVectorINT_TO_FP()
3691 if (VT.getVectorElementType() == MVT::i32) in LowerCTPOP()
4162 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVREVMask()
4192 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVTRNMask()
4210 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVTRN_v_undef_Mask()
4225 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVUZPMask()
[all …]
/external/llvm/include/llvm/IR/
DType.h361 Type *getVectorElementType() const { return getSequentialElementType(); } in getVectorElementType() function
/external/llvm/include/llvm/Target/
DTargetLowering.h1464 SVT.getVectorElementType(), in getTypeConversion()
1467 return LegalizeKind(LA, SVT.getVectorElementType()); in getTypeConversion()
1492 EVT EltVT = VT.getVectorElementType(); in getTypeConversion()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp70 EVT ElVT = VT.getVectorElementType(); in Extract128BitVector()
115 EVT ElVT = VT.getVectorElementType(); in Insert128BitVector()
3824 if (VT.getVectorElementType().getSizeInBits() < 32) in isMOVLMask()
4054 unsigned ElSize = VT.getVectorElementType().getSizeInBits(); in isVEXTRACTF128Index()
4072 unsigned ElSize = VT.getVectorElementType().getSizeInBits(); in isVINSERTF128Index()
4161 unsigned EltSize = VT.getVectorElementType().getSizeInBits() >> 3; in getShufflePALIGNRImmediate()
4192 MVT ElVT = VecVT.getVectorElementType(); in getExtractVEXTRACTF128Immediate()
4209 MVT ElVT = VecVT.getVectorElementType(); in getInsertVINSERTF128Immediate()
4573 EVT EltVT = SrcVT.getVectorElementType(); in PromoteSplat()
4703 return DAG.getUNDEF(VT.getVectorElementType()); in getShuffleScalarElt()
[all …]
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp393 if (Type.getVectorElementType().getSizeInBits() in EnforceSmallerThan()
394 >= OtherType.getVectorElementType().getSizeInBits()) { in EnforceSmallerThan()
551 IVT = IVT.getVectorElementType(); in EnforceVectorEltTypeIs()
568 if (EVT(TypeVec[i]).getVectorElementType().getSimpleVT().SimpleTy != VT) { in EnforceVectorEltTypeIs()
597 IVT = IVT.getVectorElementType(); in EnforceVectorSubVectorTypeIs()
603 IVT = IVT.getVectorElementType(); in EnforceVectorSubVectorTypeIs()
DIntrinsicEmitter.cpp342 return EncodeFixedValueType(VVT.getVectorElementType(). in EncodeFixedType()
/external/llvm/lib/Target/R600/
DR600ISelLowering.cpp753 EVT ElemVT = ValueVT.getVectorElementType(); in LowerSTORE()
886 EVT ElemVT = VT.getVectorElementType(); in LowerLOAD()
DSIISelLowering.cpp121 NewArg.VT = Arg.VT.getVectorElementType(); in LowerFormalArguments()

12