Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp106 static unsigned adjustForEndian(const DataLayout &DL, unsigned VectorWidth, in adjustForEndian() argument
108 return DL.isBigEndian() ? VectorWidth - 1 - Idx : Idx; in adjustForEndian()
173 unsigned VectorWidth = cast<FixedVectorType>(VecType)->getNumElements(); in scalarizeMaskedLoad() local
179 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in scalarizeMaskedLoad()
194 if (VectorWidth != 1) { in scalarizeMaskedLoad()
195 Type *SclrMaskTy = Builder.getIntNTy(VectorWidth); in scalarizeMaskedLoad()
199 for (unsigned Idx = 0; Idx < VectorWidth; ++Idx) { in scalarizeMaskedLoad()
208 if (VectorWidth != 1) { in scalarizeMaskedLoad()
210 VectorWidth, adjustForEndian(DL, VectorWidth, Idx))); in scalarizeMaskedLoad()
212 Builder.getIntN(VectorWidth, 0)); in scalarizeMaskedLoad()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp210 int VectorWidth = in IsSafeActiveMask() local
212 if (VectorWidth != 2 && VectorWidth != 4 && VectorWidth != 8 && in IsSafeActiveMask()
213 VectorWidth != 16) in IsSafeActiveMask()
250 if (VectorWidth != StepValue) { in IsSafeActiveMask()
252 << " doesn't match vector width " << VectorWidth << "\n"); in IsSafeActiveMask()
270 (ConstElemCount->getZExtValue() + VectorWidth - 1) / VectorWidth; in IsSafeActiveMask()
294 auto *VW = SE->getSCEV(ConstantInt::get(TripCount->getType(), VectorWidth)); in IsSafeActiveMask()
298 SE->getSCEV(ConstantInt::get(TripCount->getType(), VectorWidth - 1))); in IsSafeActiveMask()
311 dbgs() << "ARM TP: - VecWidth = " << VectorWidth << "\n"; in IsSafeActiveMask()
351 if (BaseC->getAPInt().urem(VectorWidth) == 0) in IsSafeActiveMask()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp610 int VectorWidth = VT.getSizeInBits(); in group2Shuffle() local
613 int Lane = (VectorWidth / 128 > 0) ? VectorWidth / 128 : 1; in group2Shuffle()
H A DX86MCInstLower.cpp1935 unsigned VectorWidth = in addConstantComments() local
1938 printConstant(C, VectorWidth, CS); in addConstantComments()
1956 unsigned VectorWidth = in addConstantComments() local
1959 printConstant(C, VectorWidth, CS); in addConstantComments()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1589 unsigned VectorWidth = 0; in translateGetElementPtr() local
1595 VectorWidth = cast<FixedVectorType>(VT)->getNumElements(); in translateGetElementPtr()
1597 WantSplatVector = VectorWidth > 1; in translateGetElementPtr()
1604 .buildSplatBuildVector(LLT::fixed_vector(VectorWidth, PtrTy), in translateGetElementPtr()
1607 PtrIRTy = FixedVectorType::get(PtrIRTy, VectorWidth); in translateGetElementPtr()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2697 const SDLoc &DL, unsigned VectorWidth) { in extractSubVector() argument
2700 unsigned Factor = VT.getSizeInBits() / VectorWidth; in extractSubVector()
2705 unsigned ElemsPerChunk = VectorWidth / ElVT.getSizeInBits(); in extractSubVector()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td3269 let Args = [UnsignedArgument<"VectorWidth">];
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp6129 if (unsigned VectorWidth = getContext().BuiltinInfo.getRequiredVectorWidth(BuiltinID)) in EmitBuiltinExpr() local
6130 LargestVectorWidth = std::max(LargestVectorWidth, VectorWidth); in EmitBuiltinExpr()