Home
last modified time | relevance | path

Searched refs:VectorWidth (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp146 unsigned VectorWidth = EI.getVectorOperandType()->getNumElements(); in visitExtractElementInst() local
149 assert(IndexVal < VectorWidth); in visitExtractElementInst()
154 if (EI.getOperand(0)->hasOneUse() && VectorWidth != 1) { in visitExtractElementInst()
155 APInt UndefElts(VectorWidth, 0); in visitExtractElementInst()
156 APInt DemandedMask(VectorWidth, 0); in visitExtractElementInst()
170 if (VT->getNumElements() == VectorWidth) in visitExtractElementInst()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1178 unsigned VectorWidth = VecType->getNumElements(); in ScalarizeMaskedLoad() local
1186 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in ScalarizeMaskedLoad()
1204 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in ScalarizeMaskedLoad()
1320 unsigned VectorWidth = VecType->getNumElements(); in ScalarizeMaskedStore() local
1323 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in ScalarizeMaskedStore()
1335 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in ScalarizeMaskedStore()
1429 unsigned VectorWidth = VecType->getNumElements(); in ScalarizeMaskedGather() local
1435 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in ScalarizeMaskedGather()
1455 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in ScalarizeMaskedGather()
1559 unsigned VectorWidth = Src->getType()->getVectorNumElements(); in ScalarizeMaskedScatter() local
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp2981 unsigned VectorWidth = I.getType()->isVectorTy() ? in visitGetElementPtr() local
2984 if (VectorWidth && !N.getValueType().isVector()) { in visitGetElementPtr()
2985 MVT VT = MVT::getVectorVT(N.getValueType().getSimpleVT(), VectorWidth); in visitGetElementPtr()
2986 SmallVector<SDValue, 16> Ops(VectorWidth, N); in visitGetElementPtr()
3020 SDValue OffsVal = VectorWidth ? in visitGetElementPtr()
3021 DAG.getConstant(Offs, dl, MVT::getVectorVT(PtrTy, VectorWidth)) : in visitGetElementPtr()
3030 if (!IdxN.getValueType().isVector() && VectorWidth) { in visitGetElementPtr()
3031 MVT VT = MVT::getVectorVT(IdxN.getValueType().getSimpleVT(), VectorWidth); in visitGetElementPtr()
3032 SmallVector<SDValue, 16> Ops(VectorWidth, IdxN); in visitGetElementPtr()