/external/swiftshader/third_party/LLVM/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 47 void DecodeMOVHLPSMask(unsigned NElts, in DecodeMOVHLPSMask() argument 49 for (unsigned i = NElts/2; i != NElts; ++i) in DecodeMOVHLPSMask() 50 ShuffleMask.push_back(NElts+i); in DecodeMOVHLPSMask() 52 for (unsigned i = NElts/2; i != NElts; ++i) in DecodeMOVHLPSMask() 57 void DecodeMOVLHPSMask(unsigned NElts, in DecodeMOVLHPSMask() argument 59 for (unsigned i = 0; i != NElts/2; ++i) in DecodeMOVLHPSMask() 62 for (unsigned i = 0; i != NElts/2; ++i) in DecodeMOVLHPSMask() 63 ShuffleMask.push_back(NElts+i); in DecodeMOVLHPSMask() 66 void DecodePSHUFMask(unsigned NElts, unsigned Imm, in DecodePSHUFMask() argument 68 for (unsigned i = 0; i != NElts; ++i) { in DecodePSHUFMask() [all …]
|
D | X86ShuffleDecode.h | 33 void DecodeMOVHLPSMask(unsigned NElts, 37 void DecodeMOVLHPSMask(unsigned NElts, 40 void DecodePSHUFMask(unsigned NElts, unsigned Imm, 49 void DecodePUNPCKLBWMask(unsigned NElts, 52 void DecodePUNPCKLWDMask(unsigned NElts, 55 void DecodePUNPCKLDQMask(unsigned NElts, 58 void DecodePUNPCKLQDQMask(unsigned NElts, 64 void DecodePUNPCKHMask(unsigned NElts, 67 void DecodeSHUFPSMask(unsigned NElts, unsigned Imm, 70 void DecodeUNPCKHPMask(unsigned NElts, [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.cpp | 127 unsigned NElts = LT.second.isVector() ? in getArithmeticInstrCost() local 137 return get64BitInstrCost() * LT.first * NElts; in getArithmeticInstrCost() 140 return getFullRateInstrCost() * LT.first * NElts; in getArithmeticInstrCost() 149 return 2 * getFullRateInstrCost() * LT.first * NElts; in getArithmeticInstrCost() 152 return LT.first * NElts * getFullRateInstrCost(); in getArithmeticInstrCost() 158 return (4 * QuarterRateCost + (2 * 2) * FullRateCost) * LT.first * NElts; in getArithmeticInstrCost() 162 return QuarterRateCost * NElts * LT.first; in getArithmeticInstrCost() 168 return LT.first * NElts * get64BitInstrCost(); in getArithmeticInstrCost() 171 return LT.first * NElts * getFullRateInstrCost(); in getArithmeticInstrCost() 185 return LT.first * Cost * NElts; in getArithmeticInstrCost() [all …]
|
D | AMDGPUISelLowering.cpp | 2103 unsigned NElts = VT.getVectorNumElements(); in LowerSIGN_EXTEND_INREG() local 2105 DAG.ExtractVectorElements(Src, Args, 0, NElts); in LowerSIGN_EXTEND_INREG() 2108 for (unsigned I = 0; I < NElts; ++I) in LowerSIGN_EXTEND_INREG()
|
D | R600ISelLowering.cpp | 2025 unsigned NElts = VT.getVectorNumElements(); in PerformDAGCombine() local 2026 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType())); in PerformDAGCombine()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | ValueTypes.h | 165 unsigned NElts = getVectorNumElements(); in isPow2VectorType() local 166 return !(NElts & (NElts - 1)); in isPow2VectorType() 175 unsigned NElts = getVectorNumElements(); in getPow2VectorType() local 176 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType() 639 unsigned NElts = getVectorNumElements(); in isPow2VectorType() local 640 return !(NElts & (NElts - 1)); in isPow2VectorType() 647 unsigned NElts = getVectorNumElements(); in getPow2VectorType() local 648 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType()
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 60 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { in DecodeMOVHLPSMask() argument 61 for (unsigned i = NElts / 2; i != NElts; ++i) in DecodeMOVHLPSMask() 62 ShuffleMask.push_back(NElts + i); in DecodeMOVHLPSMask() 64 for (unsigned i = NElts / 2; i != NElts; ++i) in DecodeMOVHLPSMask() 69 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { in DecodeMOVLHPSMask() argument 70 for (unsigned i = 0; i != NElts / 2; ++i) in DecodeMOVLHPSMask() 73 for (unsigned i = 0; i != NElts / 2; ++i) in DecodeMOVLHPSMask() 74 ShuffleMask.push_back(NElts + i); in DecodeMOVLHPSMask()
|
D | X86ShuffleDecode.h | 40 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask); 44 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask);
|
/external/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 315 unsigned NElts = getVectorNumElements(); in isPow2VectorType() local 316 return !(NElts & (NElts - 1)); in isPow2VectorType() 323 unsigned NElts = getVectorNumElements(); in getPow2VectorType() local 324 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType()
|
D | MachineValueType.h | 292 unsigned NElts = getVectorNumElements(); in isPow2VectorType() local 293 return !(NElts & (NElts - 1)); in isPow2VectorType() 302 unsigned NElts = getVectorNumElements(); in getPow2VectorType() local 303 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType()
|
/external/llvm/include/llvm/ADT/ |
D | STLExtras.h | 329 auto NElts = End - Start; 330 if (NElts <= 1) return; 331 qsort(&*Start, NElts, sizeof(*Start), get_array_pod_sort_comparator(*Start)); 342 auto NElts = End - Start; 343 if (NElts <= 1) return; 344 qsort(&*Start, NElts, sizeof(*Start),
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCVSXSwapRemoval.cpp | 818 unsigned NElts; in handleSpecialSwappables() local 826 case PPC::VSPLTB: NElts = 16; break; in handleSpecialSwappables() 827 case PPC::VSPLTH: NElts = 8; break; in handleSpecialSwappables() 829 case PPC::XXSPLTW: NElts = 4; break; in handleSpecialSwappables() 838 EltNo = (EltNo + NElts / 2) % NElts; in handleSpecialSwappables()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 59 unsigned NElts = SVI->getType()->getNumElements(); in getShuffleMask() local 61 return std::vector<int>(NElts, 0); in getShuffleMask() 63 return std::vector<int>(NElts, -1); in getShuffleMask()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 2325 unsigned NElts = BVN->getNumOperands(); in isCommonSplatElement() local 2328 for (unsigned i = 1, e = NElts; i != e; ++i) { in isCommonSplatElement() 2408 unsigned NElts = BVN->getNumOperands(); in LowerBUILD_VECTOR() local 2446 for (unsigned i = 0, e = NElts; i != e; ++i) { in LowerBUILD_VECTOR() 2465 unsigned EltSize = Size / NElts; in LowerBUILD_VECTOR() 2470 for (unsigned i = 0, e = NElts; i != e; ++i) { in LowerBUILD_VECTOR() 2473 unsigned OpIdx = NElts - i - 1; in LowerBUILD_VECTOR() 2501 for (unsigned i = 0, e = NElts; i != e; ++i) { in LowerBUILD_VECTOR() 2504 unsigned OpIdx = NElts - i - 1; in LowerBUILD_VECTOR() 2537 unsigned NElts = Op.getNumOperands(); in LowerCONCAT_VECTORS() local [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 1235 int NElts = M.size(); in commuteShuffle() local 1236 for (int i = 0; i != NElts; ++i) { in commuteShuffle() 1237 if (M[i] >= NElts) in commuteShuffle() 1238 M[i] -= NElts; in commuteShuffle() 1240 M[i] += NElts; in commuteShuffle() 1258 unsigned NElts = VT.getVectorNumElements(); in getVectorShuffle() local 1260 for (unsigned i = 0; i != NElts; ++i) { in getVectorShuffle() 1261 assert(Mask[i] < (int)(NElts * 2) && "Index out of range"); in getVectorShuffle() 1268 for (unsigned i = 0; i != NElts; ++i) in getVectorShuffle() 1269 if (MaskVec[i] >= (int)NElts) MaskVec[i] -= NElts; in getVectorShuffle() [all …]
|
D | TargetLowering.cpp | 836 unsigned NElts = VT.getVectorNumElements(); in computeRegisterProperties() local 837 if (NElts != 1) { in computeRegisterProperties() 849 && SVT.getVectorNumElements() == NElts && in computeRegisterProperties() 866 SVT.getVectorNumElements() > NElts && in computeRegisterProperties()
|
D | DAGCombiner.cpp | 6800 unsigned NElts = VT.getVectorNumElements(); in visitINSERT_VECTOR_ELT() local 6801 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType())); in visitINSERT_VECTOR_ELT()
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringBase.cpp | 1394 unsigned NElts = VT.getVectorNumElements(); in computeRegisterProperties() local 1406 SVT.getVectorNumElements() == NElts && isTypeLegal(SVT)) { in computeRegisterProperties() 1423 && SVT.getVectorNumElements() > NElts && isTypeLegal(SVT)) { in computeRegisterProperties() 1454 ValueTypeActions.setTypeAction(VT, NElts == 1 ? TypeScalarizeVector in computeRegisterProperties()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 1488 int NElts = Mask.size(); in getVectorShuffle() local 1489 assert(all_of(Mask, [&](int M) { return M < (NElts * 2); }) && in getVectorShuffle() 1498 for (int i = 0; i != NElts; ++i) in getVectorShuffle() 1499 if (MaskVec[i] >= NElts) MaskVec[i] -= NElts; in getVectorShuffle() 1514 for (int i = 0; i < NElts; ++i) { in getVectorShuffle() 1515 if (MaskVec[i] < Offset || MaskVec[i] >= (Offset + NElts)) in getVectorShuffle() 1532 BlendSplat(N2BV, NElts); in getVectorShuffle() 1538 for (int i = 0; i != NElts; ++i) { in getVectorShuffle() 1539 if (MaskVec[i] >= NElts) { in getVectorShuffle() 1564 for (int i = 0; i != NElts; ++i) { in getVectorShuffle() [all …]
|
D | LegalizeDAG.cpp | 4386 for (unsigned I = 1, NElts = OVT.getVectorNumElements(); I != NElts; ++I) in PromoteNode() local
|
D | DAGCombiner.cpp | 12233 unsigned NElts = VT.getVectorNumElements(); in visitINSERT_VECTOR_ELT() local 12234 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType())); in visitINSERT_VECTOR_ELT()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 1496 unsigned NElts; in canReuseExtract() local 1499 NElts = canMapToVector(Vec->getType(), DL); in canReuseExtract() 1500 if (!NElts) in canReuseExtract() 1507 NElts = Vec->getType()->getVectorNumElements(); in canReuseExtract() 1510 if (NElts != VL.size()) in canReuseExtract()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Constants.cpp | 1719 unsigned NElts = cast<VectorType>(Mask->getType())->getNumElements(); in getShuffleVector() local 1721 Type *ShufTy = VectorType::get(EltTy, NElts); in getShuffleVector()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 2050 unsigned NElts = Mask->getType()->getVectorNumElements(); in getShuffleVector() local 2052 Type *ShufTy = VectorType::get(EltTy, NElts); in getShuffleVector()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 5870 unsigned NElts = VTy->getNumElements(); in VisitCastExpr() local 5893 SmallVector<APValue, 4> Elts(NElts, Val); in VisitCastExpr() 5911 for (unsigned i = 0; i < NElts; i++) { in VisitCastExpr() 5920 for (unsigned i = 0; i < NElts; i++) { in VisitCastExpr()
|