Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp68 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFMask()
85 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFHWMask()
101 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFLWMask()
119 unsigned NumElts = VT.getVectorNumElements(); in DecodeSHUFPMask()
141 unsigned NumElts = VT.getVectorNumElements(); in DecodeUNPCKHMask()
161 unsigned NumElts = VT.getVectorNumElements(); in DecodeUNPCKLMask()
182 unsigned HalfSize = VT.getVectorNumElements()/2; in DecodeVPERM2X128Mask()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp653 unsigned LoNumElts = LoVT.getVectorNumElements(); in SplitVecRes_BUILD_VECTOR()
694 DAG.getIntPtrConstant(IdxVal + LoVT.getVectorNumElements())); in SplitVecRes_EXTRACT_SUBVECTOR()
730 unsigned LoNumElts = Lo.getValueType().getVectorNumElements(); in SplitVecRes_INSERT_VECTOR_ELT()
833 LoVT.getVectorNumElements()); in SplitVecRes_SETCC()
837 DAG.getIntPtrConstant(InNVT.getVectorNumElements())); in SplitVecRes_SETCC()
842 DAG.getIntPtrConstant(InNVT.getVectorNumElements())); in SplitVecRes_SETCC()
862 LoVT.getVectorNumElements()); in SplitVecRes_UnaryOp()
866 DAG.getIntPtrConstant(InNVT.getVectorNumElements())); in SplitVecRes_UnaryOp()
898 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE()
1076 InVT.getVectorNumElements()); in SplitVecOp_UnaryOp()
[all …]
DLegalizeTypesGeneric.cpp78 assert(!(InVT.getVectorNumElements() & 1) && "Unsupported BITCAST"); in ExpandRes_BITCAST()
81 InVT.getVectorNumElements()/2); in ExpandRes_BITCAST()
85 DAG.getIntPtrConstant(InNVT.getVectorNumElements())); in ExpandRes_BITCAST()
170 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT()
310 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_BUILD_VECTOR()
350 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_INSERT_VECTOR_ELT()
387 unsigned NumElts = VT.getVectorNumElements(); in ExpandOp_SCALAR_TO_VECTOR()
461 unsigned NumElements = Cond.getValueType().getVectorNumElements(); in SplitRes_SELECT()
DLegalizeVectorOps.cpp327 unsigned NumElts = VT.getVectorNumElements(); in PromoteVectorOpINT_TO_FP()
362 unsigned NumElem = SrcVT.getVectorNumElements(); in ExpandLoad()
403 unsigned NumElem = StVT.getVectorNumElements(); in ExpandStore()
456 unsigned NumElem = VT.getVectorNumElements(); in ExpandSELECT()
595 unsigned NumElems = VT.getVectorNumElements(); in UnrollVSETCC()
DSelectionDAG.cpp490 for (unsigned i = 0, e = N->getValueType(0).getVectorNumElements(); in AddNodeIDCustom()
824 assert(N->getNumOperands() == N->getValueType(0).getVectorNumElements() && in VerifyNodeCommon()
1027 Ops.assign(VT.getVectorNumElements(), Result); in getConstant()
1069 Ops.assign(VT.getVectorNumElements(), Result); in getConstantFP()
1328 unsigned NElts = VT.getVectorNumElements(); in getVectorShuffle()
1376 if (Identity && NElts == N1.getValueType().getVectorNumElements()) in getVectorShuffle()
2547 VT.getVectorNumElements() == in getNode()
2548 Operand.getValueType().getVectorNumElements()) && in getNode()
2560 VT.getVectorNumElements() == in getNode()
2561 Operand.getValueType().getVectorNumElements()) && in getNode()
[all …]
DLegalizeTypes.cpp833 2*Lo.getValueType().getVectorNumElements() == in SetSplitVector()
834 Op.getValueType().getVectorNumElements() && in SetSplitVector()
877 unsigned NumElts = Op.getValueType().getVectorNumElements(); in BitConvertVectorToIntegerVector()
964 unsigned NumElements = InVT.getVectorNumElements(); in GetSplitDestVTs()
DSelectionDAGBuilder.cpp277 assert(PartVT.getVectorNumElements() > ValueVT.getVectorNumElements() && in getCopyFromPartsVector()
287 assert(PartVT.getVectorNumElements() == ValueVT.getVectorNumElements() && in getCopyFromPartsVector()
303 assert(ValueVT.getVectorNumElements() == 1 && in getCopyFromPartsVector()
306 if (ValueVT.getVectorNumElements() == 1 && in getCopyFromPartsVector()
460 PartVT.getVectorNumElements() > ValueVT.getVectorNumElements()) { in getCopyToPartsVector()
465 for (unsigned i = 0, e = ValueVT.getVectorNumElements(); i != e; ++i) in getCopyToPartsVector()
469 for (unsigned i = ValueVT.getVectorNumElements(), in getCopyToPartsVector()
470 e = PartVT.getVectorNumElements(); i != e; ++i) in getCopyToPartsVector()
482 PartVT.getVectorNumElements() == ValueVT.getVectorNumElements()) { in getCopyToPartsVector()
490 assert(ValueVT.getVectorNumElements() == 1 && in getCopyToPartsVector()
[all …]
DLegalizeIntegerTypes.cpp588 unsigned NumElts = InVT.getVectorNumElements(); in PromoteIntRes_TRUNCATE()
589 assert(NumElts == NVT.getVectorNumElements() && in PromoteIntRes_TRUNCATE()
901 unsigned NumElts = VecVT.getVectorNumElements(); in PromoteIntOp_BUILD_VECTOR()
2861 unsigned OutNumElems = OutVT.getVectorNumElements(); in PromoteIntRes_EXTRACT_SUBVECTOR()
2891 unsigned NumElts = VT.getVectorNumElements(); in PromoteIntRes_VECTOR_SHUFFLE()
2951 unsigned NumElem = N->getOperand(0).getValueType().getVectorNumElements(); in PromoteIntRes_CONCAT_VECTORS()
2952 unsigned NumOutElem = NOutVT.getVectorNumElements(); in PromoteIntRes_CONCAT_VECTORS()
3013 unsigned NumElem = Incoming->getValueType(0).getVectorNumElements(); in PromoteIntOp_CONCAT_VECTORS()
DLegalizeDAG.cpp184 unsigned NumMaskElts = VT.getVectorNumElements(); in ShuffleWithNarrowerEltType()
185 unsigned NumDestElts = NVT.getVectorNumElements(); in ShuffleWithNarrowerEltType()
623 unsigned NumElts = Vec.getValueType().getVectorNumElements(); in ExpandINSERT_VECTOR_ELT()
2816 if (Node->getOperand(0).getValueType().getVectorNumElements() == 1) in ExpandNode()
2872 unsigned int factor = NewVT.getVectorNumElements()/VT.getVectorNumElements(); in ExpandNode()
2877 for (unsigned i = 0; i < VT.getVectorNumElements(); ++i) { in ExpandNode()
2892 unsigned NumElems = VT.getVectorNumElements(); in ExpandNode()
3480 unsigned NumElem = VT.getVectorNumElements(); in ExpandNode()
DDAGCombiner.cpp1599 std::vector<SDValue> Ops(VT.getVectorNumElements(), El); in tryFoldToZero()
2379 unsigned NumElts = VT.getVectorNumElements(); in SimplifyBinOpWithSameOpcodeHands()
3675 ExtVT, VT.getVectorNumElements()); in visitSRA()
4431 N0VT.getVectorNumElements()); in visitSIGN_EXTEND()
4706 SmallVector<SDValue,8> OneOps(VT.getVectorNumElements(), in visitZERO_EXTEND()
4729 N0VT.getVectorNumElements()); in visitZERO_EXTEND()
4911 N0VT.getVectorNumElements()); in visitANY_EXTEND()
5274 unsigned NumElem = VecTy.getVectorNumElements(); in visitTRUNCATE()
5534 BV->getValueType(0).getVectorNumElements()); in ConstantFoldBITCASTofBUILD_VECTOR()
7680 unsigned NElts = VT.getVectorNumElements(); in visitINSERT_VECTOR_ELT()
[all …]
DTargetLowering.cpp653 unsigned NumElts = VT.getVectorNumElements(); in getVectorTypeBreakdownMVT()
822 unsigned NElts = VT.getVectorNumElements(); in computeRegisterProperties()
832 && SVT.getVectorNumElements() == NElts && in computeRegisterProperties()
849 SVT.getVectorNumElements() > NElts && in computeRegisterProperties()
874 unsigned NumElts = VT.getVectorNumElements(); in computeRegisterProperties()
923 unsigned NumElts = VT.getVectorNumElements(); in getVectorTypeBreakdown()
/external/llvm/include/llvm/CodeGen/
DValueTypes.h211 unsigned NElts = getVectorNumElements(); in isPow2VectorType()
221 unsigned NElts = getVectorNumElements(); in getPow2VectorType()
263 unsigned getVectorNumElements() const { in getVectorNumElements() function
499 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements()); in changeVectorElementTypeToInteger()
628 unsigned getVectorNumElements() const { in getVectorNumElements() function
631 return V.getVectorNumElements(); in getVectorNumElements()
683 unsigned NElts = getVectorNumElements(); in isPow2VectorType()
691 unsigned NElts = getVectorNumElements(); in getPow2VectorType()
DSelectionDAGNodes.h1127 return makeArrayRef(Mask, VT.getVectorNumElements());
1130 assert(Idx < getValueType(0).getVectorNumElements() && "Idx out of range!");
1138 for (unsigned i = 0, e = VT.getVectorNumElements(); i != e; ++i) {
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp324 elems = vtparts[i].getVectorNumElements(); in getPrototype()
352 elems = vtparts[i].getVectorNumElements(); in getPrototype()
419 elems = vtparts[i].getVectorNumElements(); in getPrototype()
535 elems = vtparts[j].getVectorNumElements(); in LowerCall()
568 elems = vtparts[j].getVectorNumElements(); in LowerCall()
616 elems = resvtparts[i].getVectorNumElements(); in LowerCall()
785 numelems = Ins[i].VT.getVectorNumElements(); in LowerCall()
838 unsigned NumSubElem = VVT.getVectorNumElements(); in LowerCONCAT_VECTORS()
1037 if (vtparts[j].isVector()) numElems = vtparts[j].getVectorNumElements(); in LowerFormalArguments()
1088 if (theValType.isVector()) numElems = theValType.getVectorNumElements(); in LowerReturn()
DNVPTXISelDAGToDAG.cpp176 unsigned num = SimpleVT.getVectorNumElements(); in SelectLoad()
365 unsigned num = SimpleVT.getVectorNumElements(); in SelectStore()
DNVPTXAsmPrinter.cpp312 elems = vtparts[i].getVectorNumElements(); in printReturnValStr()
340 elems = vtparts[i].getVectorNumElements(); in printReturnValStr()
1544 elems = vtparts[i].getVectorNumElements(); in emitFunctionParamList()
/external/llvm/lib/VMCore/
DConstantFold.cpp53 if (NumElts != CV->getType()->getVectorNumElements()) in BitCastConstantVector()
551 DestTy->getVectorNumElements() == V->getType()->getVectorNumElements()) { in ConstantFoldCastInstruction()
556 for (unsigned i = 0, e = V->getType()->getVectorNumElements(); i != e; ++i) { in ConstantFoldCastInstruction()
702 for (unsigned i = 0, e = V1->getType()->getVectorNumElements(); i != e;++i){ in ConstantFoldSelectInstruction()
712 if (Result.size() == V1->getType()->getVectorNumElements()) in ConstantFoldSelectInstruction()
751 if (Index >= Val->getType()->getVectorNumElements()) in ConstantFoldExtractElementInstruction()
767 for (unsigned i = 0, e = Val->getType()->getVectorNumElements(); i != e; ++i){ in ConstantFoldInsertElementInstruction()
784 unsigned MaskNumElts = Mask->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction()
794 unsigned SrcNumElts = V1->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction()
847 NumElts = AT->getVectorNumElements(); in ConstantFoldInsertValueInstruction()
[all …]
DValueTypes.cpp25 return getVectorVT(Context, IntTy, getVectorNumElements()); in changeExtendedVectorElementTypeToInteger()
102 return "v" + utostr(getVectorNumElements()) + in getEVTString()
DConstants.cpp1555 assert(C->getType()->getVectorNumElements()==DstTy->getVectorNumElements()&& in getPtrToInt()
1567 assert(C->getType()->getVectorNumElements()==DstTy->getVectorNumElements()&& in getIntToPtr()
1861 unsigned NElts = Mask->getType()->getVectorNumElements(); in getShuffleVector()
2113 return getType()->getVectorNumElements(); in getNumElements()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp73 VT.getVectorNumElements()/Factor); in Extract128BitVector()
883 if (!isPowerOf2_32(VT.getVectorNumElements())) in X86TargetLowering()
3287 unsigned NumElts = VT.getVectorNumElements(); in isPALIGNRMask()
3376 unsigned NumElems = VT.getVectorNumElements(); in isSHUFPMask()
3428 unsigned NumElems = VT.getVectorNumElements(); in isMOVHLPSMask()
3447 unsigned NumElems = VT.getVectorNumElements(); in isMOVHLPS_v_undef_Mask()
3464 unsigned NumElems = VT.getVectorNumElements(); in isMOVLPMask()
3486 unsigned NumElems = VT.getVectorNumElements(); in isMOVLHPSMask()
3553 unsigned NumElts = VT.getVectorNumElements(); in isUNPCKLMask()
3592 unsigned NumElts = VT.getVectorNumElements(); in isUNPCKHMask()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp27 for (unsigned i = 1, e = V->getType()->getVectorNumElements(); i != e; ++i) in CheapToScalarize()
86 unsigned LHSWidth = SVI->getOperand(0)->getType()->getVectorNumElements(); in FindScalarElement()
177 SVI->getOperand(0)->getType()->getVectorNumElements(); in visitExtractElementInst()
DInstCombineSelect.cpp135 if (CondTy->isVectorTy() && CondTy->getVectorNumElements() != in FoldSelectOpOp()
136 FI->getOperand(0)->getType()->getVectorNumElements()) in FoldSelectOpOp()
/external/llvm/include/llvm/
DType.h340 unsigned getVectorNumElements() const;
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp3898 unsigned NumElts = VT.getVectorNumElements(); in isVEXTMask()
3943 unsigned NumElts = VT.getVectorNumElements(); in isVREVMask()
3973 unsigned NumElts = VT.getVectorNumElements(); in isVTRNMask()
3991 unsigned NumElts = VT.getVectorNumElements(); in isVTRN_v_undef_Mask()
4006 unsigned NumElts = VT.getVectorNumElements(); in isVUZPMask()
4029 unsigned Half = VT.getVectorNumElements() / 2; in isVUZP_v_undef_Mask()
4053 unsigned NumElts = VT.getVectorNumElements(); in isVZIPMask()
4078 unsigned NumElts = VT.getVectorNumElements(); in isVZIP_v_undef_Mask()
4168 unsigned NumElts = VT.getVectorNumElements(); in LowerBUILD_VECTOR()
4294 unsigned NumElts = VT.getVectorNumElements(); in ReconstructShuffle()
[all …]
/external/llvm/include/llvm/Target/
DTargetLowering.h1979 unsigned NumElts = VT.getVectorNumElements(); in getTypeConversion()
2054 EVT NVT = EVT::getVectorVT(Context, EltVT, VT.getVectorNumElements() / 2); in getTypeConversion()

12