/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | ScalarizeMaskedMemIntrin.cpp | 153 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedLoad() local 161 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in scalarizeMaskedLoad() 179 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in scalarizeMaskedLoad() 295 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedStore() local 298 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in scalarizeMaskedStore() 310 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in scalarizeMaskedStore() 404 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedGather() local 410 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in scalarizeMaskedGather() 429 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in scalarizeMaskedGather() 531 unsigned VectorWidth = Src->getType()->getVectorNumElements(); in scalarizeMaskedScatter() local [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 150 unsigned VectorWidth = EI.getVectorOperandType()->getNumElements(); in visitExtractElementInst() local 154 if (IndexVal >= VectorWidth) in visitExtractElementInst() 160 if (EI.getOperand(0)->hasOneUse() && VectorWidth != 1) { in visitExtractElementInst() 161 APInt UndefElts(VectorWidth, 0); in visitExtractElementInst() 162 APInt DemandedMask(VectorWidth, 0); in visitExtractElementInst() 180 if (VT->getNumElements() == VectorWidth) in visitExtractElementInst()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 161 unsigned VectorWidth = EI.getVectorOperandType()->getNumElements(); in visitExtractElementInst() local 164 assert(IndexVal < VectorWidth); in visitExtractElementInst() 169 if (EI.getOperand(0)->hasOneUse() && VectorWidth != 1) { in visitExtractElementInst() 170 APInt UndefElts(VectorWidth, 0); in visitExtractElementInst() 171 APInt DemandedMask(VectorWidth, 0); in visitExtractElementInst() 185 if (VT->getNumElements() == VectorWidth) in visitExtractElementInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86InterleavedAccess.cpp | 609 int VectorWidth = VT.getSizeInBits(); in group2Shuffle() local 612 int Lane = (VectorWidth / 128 > 0) ? VectorWidth / 128 : 1; in group2Shuffle()
|
D | X86ISelLowering.cpp | 5393 const SDLoc &dl, unsigned VectorWidth) { in concatSubVectors() argument 5394 SDValue V = insertSubVector(DAG.getUNDEF(VT), V1, 0, DAG, dl, VectorWidth); in concatSubVectors() 5395 return insertSubVector(V, V2, NumElems / 2, DAG, dl, VectorWidth); in concatSubVectors()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 184 unsigned VectorWidth = EI.getVectorOperandType()->getNumElements(); in visitExtractElementInst() local 187 if (!IdxC->getValue().ule(VectorWidth)) in visitExtractElementInst() 195 if (EI.getOperand(0)->hasOneUse() && VectorWidth != 1) { in visitExtractElementInst() 196 APInt UndefElts(VectorWidth, 0); in visitExtractElementInst() 197 APInt DemandedMask(VectorWidth, 0); in visitExtractElementInst() 211 if (VT->getNumElements() == VectorWidth) in visitExtractElementInst()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1216 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedLoad() local 1224 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in scalarizeMaskedLoad() 1242 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in scalarizeMaskedLoad() 1358 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedStore() local 1361 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in scalarizeMaskedStore() 1373 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in scalarizeMaskedStore() 1467 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedGather() local 1473 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in scalarizeMaskedGather() 1493 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in scalarizeMaskedGather() 1597 unsigned VectorWidth = Src->getType()->getVectorNumElements(); in scalarizeMaskedScatter() local [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 3291 unsigned VectorWidth = I.getType()->isVectorTy() ? in visitGetElementPtr() local 3294 if (VectorWidth && !N.getValueType().isVector()) { in visitGetElementPtr() 3296 EVT VT = EVT::getVectorVT(Context, N.getValueType(), VectorWidth); in visitGetElementPtr() 3297 SmallVector<SDValue, 16> Ops(VectorWidth, N); in visitGetElementPtr() 3335 SDValue OffsVal = VectorWidth ? in visitGetElementPtr() 3336 DAG.getConstant(Offs, dl, MVT::getVectorVT(PtrTy, VectorWidth)) : in visitGetElementPtr() 3352 if (!IdxN.getValueType().isVector() && VectorWidth) { in visitGetElementPtr() 3353 MVT VT = MVT::getVectorVT(IdxN.getValueType().getSimpleVT(), VectorWidth); in visitGetElementPtr() 3354 SmallVector<SDValue, 16> Ops(VectorWidth, IdxN); in visitGetElementPtr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 3472 unsigned VectorWidth = I.getType()->isVectorTy() ? in visitGetElementPtr() local 3475 if (VectorWidth && !N.getValueType().isVector()) { in visitGetElementPtr() 3477 EVT VT = EVT::getVectorVT(Context, N.getValueType(), VectorWidth); in visitGetElementPtr() 3516 SDValue OffsVal = VectorWidth ? in visitGetElementPtr() 3517 DAG.getConstant(Offs, dl, EVT::getVectorVT(Context, IdxTy, VectorWidth)) : in visitGetElementPtr() 3533 if (!IdxN.getValueType().isVector() && VectorWidth) { in visitGetElementPtr() 3534 EVT VT = EVT::getVectorVT(*Context, IdxN.getValueType(), VectorWidth); in visitGetElementPtr()
|