Home
last modified time | relevance | path

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

123

/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp66 unsigned NumElts = VT.getVectorNumElements(); in DecodePALIGNRMask()
86 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFMask()
103 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFHWMask()
119 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFLWMask()
137 unsigned NumElts = VT.getVectorNumElements(); in DecodeSHUFPMask()
159 unsigned NumElts = VT.getVectorNumElements(); in DecodeUNPCKHMask()
179 unsigned NumElts = VT.getVectorNumElements(); in DecodeUNPCKLMask()
200 unsigned HalfSize = VT.getVectorNumElements()/2; in DecodeVPERM2X128Mask()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp412 assert(N->getValueType(0).getVectorNumElements() == 1 && in ScalarizeVecOp_EXTEND()
674 unsigned LoNumElts = LoVT.getVectorNumElements(); in SplitVecRes_BUILD_VECTOR()
715 DAG.getConstant(IdxVal + LoVT.getVectorNumElements(), in SplitVecRes_EXTRACT_SUBVECTOR()
752 unsigned LoNumElts = Lo.getValueType().getVectorNumElements(); in SplitVecRes_INSERT_VECTOR_ELT()
856 LoVT.getVectorNumElements()); in SplitVecRes_SETCC()
860 DAG.getConstant(InNVT.getVectorNumElements(), in SplitVecRes_SETCC()
866 DAG.getConstant(InNVT.getVectorNumElements(), in SplitVecRes_SETCC()
887 LoVT.getVectorNumElements()); in SplitVecRes_UnaryOp()
891 DAG.getConstant(InNVT.getVectorNumElements(), in SplitVecRes_UnaryOp()
924 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE()
[all …]
DLegalizeTypesGeneric.cpp78 assert(!(InVT.getVectorNumElements() & 1) && "Unsupported BITCAST"); in ExpandRes_BITCAST()
81 InVT.getVectorNumElements()/2); in ExpandRes_BITCAST()
85 DAG.getConstant(InNVT.getVectorNumElements(), in ExpandRes_BITCAST()
206 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT()
342 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_BUILD_VECTOR()
382 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_INSERT_VECTOR_ELT()
420 unsigned NumElts = VT.getVectorNumElements(); in ExpandOp_SCALAR_TO_VECTOR()
494 unsigned NumElements = Cond.getValueType().getVectorNumElements(); in SplitRes_SELECT()
DLegalizeVectorOps.cpp352 unsigned NumElts = VT.getVectorNumElements(); in PromoteVectorOpINT_TO_FP()
387 unsigned NumElem = SrcVT.getVectorNumElements(); in ExpandLoad()
392 if (SrcVT.getVectorNumElements() > 1 && !SrcEltVT.isByteSized()) { in ExpandLoad()
533 unsigned NumElem = StVT.getVectorNumElements(); in ExpandStore()
586 unsigned NumElem = VT.getVectorNumElements(); in ExpandSELECT()
750 unsigned NumElems = VT.getVectorNumElements(); in UnrollVSETCC()
DSelectionDAG.cpp472 for (unsigned i = 0, e = N->getValueType(0).getVectorNumElements(); in AddNodeIDCustom()
805 assert(N->getNumOperands() == N->getValueType(0).getVectorNumElements() && in VerifyNodeCommon()
1008 Ops.assign(VT.getVectorNumElements(), Result); in getConstant()
1050 Ops.assign(VT.getVectorNumElements(), Result); in getConstantFP()
1313 unsigned NElts = VT.getVectorNumElements(); in getVectorShuffle()
1361 if (Identity && NElts == N1.getValueType().getVectorNumElements()) in getVectorShuffle()
2536 VT.getVectorNumElements() == in getNode()
2537 Operand.getValueType().getVectorNumElements()) && in getNode()
2549 VT.getVectorNumElements() == in getNode()
2550 Operand.getValueType().getVectorNumElements()) && in getNode()
[all …]
DLegalizeTypes.cpp836 2*Lo.getValueType().getVectorNumElements() == in SetSplitVector()
837 Op.getValueType().getVectorNumElements() && in SetSplitVector()
880 unsigned NumElts = Op.getValueType().getVectorNumElements(); in BitConvertVectorToIntegerVector()
968 unsigned NumElements = InVT.getVectorNumElements(); in GetSplitDestVTs()
/external/llvm/lib/CodeGen/
DBasicTargetTransformInfo.cpp196 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getScalarizationOverhead()
251 unsigned Num = Ty->getVectorNumElements(); in getArithmeticInstrCost()
336 unsigned Num = Dst->getVectorNumElements(); in getCastInstrCost()
384 unsigned Num = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
424 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements()); in getIntrinsicInstrCost()
429 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements()); in getIntrinsicInstrCost()
483 unsigned Num = RetTy->getVectorNumElements(); in getIntrinsicInstrCost()
DTargetLoweringBase.cpp784 unsigned NumElts = VT.getVectorNumElements(); in getVectorTypeBreakdownMVT()
961 unsigned NElts = VT.getVectorNumElements(); in computeRegisterProperties()
971 && SVT.getVectorNumElements() == NElts && in computeRegisterProperties()
988 SVT.getVectorNumElements() > NElts && in computeRegisterProperties()
1013 unsigned NumElts = VT.getVectorNumElements(); in computeRegisterProperties()
1058 unsigned NumElts = VT.getVectorNumElements(); in getVectorTypeBreakdown()
/external/llvm/include/llvm/CodeGen/
DValueTypes.h237 unsigned NElts = getVectorNumElements(); in isPow2VectorType()
247 unsigned NElts = getVectorNumElements(); in getPow2VectorType()
301 unsigned getVectorNumElements() const { in getVectorNumElements() function
607 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements()); in changeVectorElementTypeToInteger()
746 unsigned getVectorNumElements() const { in getVectorNumElements() function
749 return V.getVectorNumElements(); in getVectorNumElements()
801 unsigned NElts = getVectorNumElements(); in isPow2VectorType()
809 unsigned NElts = getVectorNumElements(); in getPow2VectorType()
/external/llvm/test/Transforms/InstCombine/
Dvector-type.ll2 ; Type::getVectorNumElements without checking first if the type was a vector.
/external/llvm/lib/IR/
DConstantFold.cpp53 if (NumElts != CV->getType()->getVectorNumElements()) in BitCastConstantVector()
552 DestTy->getVectorNumElements() == V->getType()->getVectorNumElements()) { in ConstantFoldCastInstruction()
557 for (unsigned i = 0, e = V->getType()->getVectorNumElements(); i != e; ++i) { in ConstantFoldCastInstruction()
705 for (unsigned i = 0, e = V1->getType()->getVectorNumElements(); i != e;++i){ in ConstantFoldSelectInstruction()
715 if (Result.size() == V1->getType()->getVectorNumElements()) in ConstantFoldSelectInstruction()
754 if (Index >= Val->getType()->getVectorNumElements()) in ConstantFoldExtractElementInstruction()
770 for (unsigned i = 0, e = Val->getType()->getVectorNumElements(); i != e; ++i){ in ConstantFoldInsertElementInstruction()
787 unsigned MaskNumElts = Mask->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction()
797 unsigned SrcNumElts = V1->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction()
850 NumElts = Agg->getType()->getVectorNumElements(); in ConstantFoldInsertValueInstruction()
[all …]
DValueTypes.cpp25 return getVectorVT(Context, IntTy, getVectorNumElements()); in changeExtendedVectorElementTypeToInteger()
110 return "v" + utostr(getVectorNumElements()) + in getEVTString()
DConstants.cpp1637 assert(C->getType()->getVectorNumElements()==DstTy->getVectorNumElements()&& in getPtrToInt()
1649 assert(C->getType()->getVectorNumElements()==DstTy->getVectorNumElements()&& in getIntToPtr()
1843 ReqTy->getVectorNumElements() == in getGetElementPtr()
1844 Idxs[i]->getType()->getVectorNumElements()) && in getGetElementPtr()
1943 unsigned NElts = Mask->getType()->getVectorNumElements(); in getShuffleVector()
2206 return getType()->getVectorNumElements(); in getNumElements()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp29 for (unsigned i = 1, e = V->getType()->getVectorNumElements(); i != e; ++i) in CheapToScalarize()
88 unsigned LHSWidth = SVI->getOperand(0)->getType()->getVectorNumElements(); in FindScalarElement()
261 SVI->getOperand(0)->getType()->getVectorNumElements(); in visitExtractElementInst()
632 NewOps[0]->getType()->getVectorNumElements()); in BuildNew()
708 bool NeedsRebuild = (Mask.size() != I->getType()->getVectorNumElements()); in EvaluateInDifferentElementOrder()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp88 for (unsigned j = 0, je = VT.getVectorNumElements(); j != je; ++j) { in ComputePTXValueVTs()
386 elems = vtparts[i].getVectorNumElements(); in getPrototype()
558 elems = vtparts[j].getVectorNumElements(); in LowerCall()
599 unsigned NumElts = ObjectVT.getVectorNumElements(); in LowerCall()
789 elems = vtparts[j].getVectorNumElements(); in LowerCall()
931 unsigned NumElts = ObjectVT.getVectorNumElements(); in LowerCall()
1126 unsigned NumSubElem = VVT.getVectorNumElements(); in LowerCONCAT_VECTORS()
1233 unsigned NumElts = ValVT.getVectorNumElements(); in LowerSTOREVector()
1502 unsigned NumElts = ObjectVT.getVectorNumElements(); in LowerFormalArguments()
1811 numElems = TheValType.getVectorNumElements(); in LowerReturn()
[all …]
DNVPTXISelLowering.h107 return MVT::getVectorVT(MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp532 unsigned Width = LT.second.getVectorNumElements(); in getVectorInstrCost()
548 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getScalarizationOverhead()
562 unsigned NumElem = VTy->getVectorNumElements(); in getMemoryOpCost()
DX86ISelLowering.cpp70 VT.getVectorNumElements()/Factor); in ExtractSubVector()
971 if (!isPowerOf2_32(VT.getVectorNumElements())) in resetOperationActions()
3609 unsigned NumElts = VT.getVectorNumElements(); in isPALIGNRMask()
3698 unsigned NumElems = VT.getVectorNumElements(); in isSHUFPMask()
3750 unsigned NumElems = VT.getVectorNumElements(); in isMOVHLPSMask()
3769 unsigned NumElems = VT.getVectorNumElements(); in isMOVHLPS_v_undef_Mask()
3786 unsigned NumElems = VT.getVectorNumElements(); in isMOVLPMask()
3808 unsigned NumElems = VT.getVectorNumElements(); in isMOVLHPSMask()
3875 unsigned NumElts = VT.getVectorNumElements(); in isUNPCKLMask()
3912 unsigned NumElts = VT.getVectorNumElements(); in isUNPCKHMask()
[all …]
/external/llvm/lib/Target/R600/
DAMDILISelLowering.cpp338 EVT IVT = genIntType(32, DVT.isVector() ? DVT.getVectorNumElements() : 1); in LowerSIGN_EXTEND_INREG()
402 } else if (OVT.getVectorNumElements() == 2) { in LowerSDIV24()
405 } else if (OVT.getVectorNumElements() == 4) { in LowerSDIV24()
DSIISelLowering.cpp173 unsigned NumElements = ParamType->getVectorNumElements(); in LowerFormalArguments()
246 unsigned NumElements = ParamType->getVectorNumElements(); in LowerFormalArguments()
257 NumElements = Arg.VT.getVectorNumElements() - NumElements; in LowerFormalArguments()
331 return MVT::getVectorVT(MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DAMDILISelLowering.cpp433 EVT IVT = genIntType(32, DVT.isVector() ? DVT.getVectorNumElements() : 1); in LowerSIGN_EXTEND_INREG()
500 } else if (OVT.getVectorNumElements() == 2) { in LowerSDIV24()
503 } else if (OVT.getVectorNumElements() == 4) { in LowerSDIV24()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILISelLowering.cpp433 EVT IVT = genIntType(32, DVT.isVector() ? DVT.getVectorNumElements() : 1); in LowerSIGN_EXTEND_INREG()
500 } else if (OVT.getVectorNumElements() == 2) { in LowerSDIV24()
503 } else if (OVT.getVectorNumElements() == 4) { in LowerSDIV24()
/external/llvm/lib/Analysis/
DCostModel.cpp207 unsigned NumVecElems = VecTypOp0->getVectorNumElements(); in getInstructionCost()
/external/llvm/include/llvm/IR/
DType.h362 unsigned getVectorNumElements() const;
/external/llvm/include/llvm/Target/
DTargetLowering.h1441 SVT.getVectorNumElements()/2)); in getTypeConversion()
1467 unsigned NumElts = VT.getVectorNumElements(); in getTypeConversion()
1547 EVT NVT = EVT::getVectorVT(Context, EltVT, VT.getVectorNumElements() / 2); in getTypeConversion()

123