Home
last modified time | relevance | path

Searched refs:ElementCount (Results 1 – 25 of 88) sorted by relevance

1234

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationPlanner.h182 ElementCount Width;
186 VectorizationFactor(ElementCount Width, InstructionCost Cost) in VectorizationFactor()
191 return {ElementCount::getFixed(1), 0}; in Disabled()
209 ElementCount FixedVF;
210 ElementCount ScalableVF;
213 : FixedVF(ElementCount::getFixed(0)), in FixedScalableVFPair()
214 ScalableVF(ElementCount::getScalable(0)) {} in FixedScalableVFPair()
215 FixedScalableVFPair(const ElementCount &Max) : FixedScalableVFPair() { in FixedScalableVFPair()
218 FixedScalableVFPair(const ElementCount &FixedVF, in FixedScalableVFPair()
219 const ElementCount &ScalableVF) in FixedScalableVFPair()
[all …]
H A DLoopVectorize.cpp460 OptimizationRemarkEmitter *ORE, ElementCount VecWidth, in InnerLoopVectorizer()
511 unsigned UF, ElementCount VF, bool IsPtrLoopInvariant,
802 ElementCount VF;
891 ElementCount::getFixed(1), UnrollFactor, LVL, CM, in InnerLoopUnroller()
906 ElementCount MainLoopVF = ElementCount::getFixed(0);
908 ElementCount EpilogueVF = ElementCount::getFixed(0);
919 : MainLoopVF(ElementCount::getFixed(MVF)), MainLoopUF(MUF), in EpilogueLoopVectorizationInfo()
920 EpilogueVF(ElementCount::getFixed(EVF)), EpilogueUF(EUF) { in EpilogueLoopVectorizationInfo()
1109 static Value *createStepForVF(IRBuilder<> &B, Constant *Step, ElementCount VF) { in createStepForVF()
1120 Value *getRuntimeVF(IRBuilder<> &B, Type *Ty, ElementCount VF) { in getRuntimeVF()
[all …]
H A DLoopVectorizationLegality.cpp121 getWidth() == ElementCount::getFixed(1) && getInterleave() == 1; in LoopVectorizeHints()
205 if (getWidth() == ElementCount::getFixed(1)) in vectorizeAnalysisPassName()
586 ElementCount WidestFixedVF, WidestScalableVF; in isTLIScalarize()
588 for (ElementCount VF = ElementCount::getFixed(2); in isTLIScalarize()
589 ElementCount::isKnownLE(VF, WidestFixedVF); VF *= 2) in isTLIScalarize()
591 for (ElementCount VF = ElementCount::getScalable(1); in isTLIScalarize()
592 ElementCount::isKnownLE(VF, WidestScalableVF); VF *= 2) in isTLIScalarize()
H A DVPlan.h67 Value *getRuntimeVF(IRBuilder<> &B, Type *Ty, ElementCount VF);
74 const ElementCount Start;
77 ElementCount End;
83 VFRange(const ElementCount &Start, const ElementCount &End) in VFRange()
127 static VPLane getLastLaneForVF(const ElementCount &VF) { in getLastLaneForVF()
148 Value *getAsRuntimeExpr(IRBuilder<> &Builder, const ElementCount &VF) const;
157 unsigned mapToCacheIndex(const ElementCount &VF) const { in mapToCacheIndex()
170 static unsigned getNumCachedLanes(const ElementCount &VF) { in getNumCachedLanes()
195 VPTransformState(ElementCount VF, unsigned UF, LoopInfo *LI, in VPTransformState()
202 ElementCount VF;
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DTypeSize.h380 class ElementCount;
381 template <> struct LinearPolyBaseTypeTraits<ElementCount> {
386 class ElementCount : public LinearPolySize<ElementCount> {
388 ElementCount() : LinearPolySize(LinearPolySize::getNull()) {}
390 ElementCount(const LinearPolySize<ElementCount> &V) : LinearPolySize(V) {}
504 template <> struct DenseMapInfo<ElementCount> {
505 static inline ElementCount getEmptyKey() {
506 return ElementCount::getScalable(~0U);
508 static inline ElementCount getTombstoneKey() {
509 return ElementCount::getFixed(~0U - 1);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DInjectTLIMappings.cpp43 static void addVariantDeclaration(CallInst &CI, const ElementCount &VF, in addVariantDeclaration()
93 auto AddVariantDecl = [&](const ElementCount &VF) { in addMappingsFromTLI()
110 ElementCount WidestFixedVF, WidestScalableVF; in addMappingsFromTLI()
113 for (ElementCount VF = ElementCount::getFixed(2); in addMappingsFromTLI()
114 ElementCount::isKnownLE(VF, WidestFixedVF); VF *= 2) in addMappingsFromTLI()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h31 ElementCount VectorizationFactor;
156 bool isFunctionVectorizable(StringRef F, const ElementCount &VF) const { in isFunctionVectorizable()
166 StringRef getVectorizedFunction(StringRef F, const ElementCount &VF) const;
194 void getWidestVF(StringRef ScalarF, ElementCount &FixedVF,
195 ElementCount &Scalable) const;
315 bool isFunctionVectorizable(StringRef F, const ElementCount &VF) const { in isFunctionVectorizable()
321 StringRef getVectorizedFunction(StringRef F, const ElementCount &VF) const { in getVectorizedFunction()
407 void getWidestVF(StringRef ScalarF, ElementCount &FixedVF, in getWidestVF()
408 ElementCount &ScalableVF) const { in getWidestVF()
H A DVectorUtils.h102 return VFShape::get(CI, ElementCount::getFixed(1), in getScalarShape()
110 static VFShape get(const CallInst &CI, ElementCount EC, bool HasGlobalPred) { in get()
189 unsigned numArgs, ElementCount VF);
301 inline Type *ToVectorTy(Type *Scalar, ElementCount EC) { in ToVectorTy()
308 return ToVectorTy(Scalar, ElementCount::getFixed(VF)); in ToVectorTy()
/netbsd-src/sys/external/bsd/acpica/dist/dispatcher/
H A Ddspkginit.c97 UINT32 ElementCount, in AcpiDsBuildInternalPackageObj() argument
161 ((ACPI_SIZE) ElementCount + 1) * sizeof (void *)); in AcpiDsBuildInternalPackageObj()
169 ObjDesc->Package.Count = ElementCount; in AcpiDsBuildInternalPackageObj()
199 for (i = 0; Arg && (i < ElementCount); i++) in AcpiDsBuildInternalPackageObj()
327 i, ElementCount)); in AcpiDsBuildInternalPackageObj()
329 else if (i < ElementCount) in AcpiDsBuildInternalPackageObj()
341 ACPI_GET_FUNCTION_NAME, i, ElementCount)); in AcpiDsBuildInternalPackageObj()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DReturnPointerRangeChecker.cpp58 DefinedOrUnknownSVal ElementCount = getDynamicElementCount( in checkPreStmt() local
63 if (Idx == ElementCount) in checkPreStmt()
66 ProgramStateRef StInBound = state->assumeInBound(Idx, ElementCount, true); in checkPreStmt()
67 ProgramStateRef StOutBound = state->assumeInBound(Idx, ElementCount, false); in checkPreStmt()
H A DArrayBoundChecker.cpp58 DefinedOrUnknownSVal ElementCount = getDynamicElementCount( in checkLocation() local
61 ProgramStateRef StInBound = state->assumeInBound(Idx, ElementCount, true); in checkLocation()
62 ProgramStateRef StOutBound = state->assumeInBound(Idx, ElementCount, false); in checkLocation()
H A DUndefResultChecker.cpp54 DefinedOrUnknownSVal ElementCount = getDynamicElementCount( in isArrayIndexOutOfBounds() local
56 ProgramStateRef StInBound = state->assumeInBound(Idx, ElementCount, true); in isArrayIndexOutOfBounds()
57 ProgramStateRef StOutBound = state->assumeInBound(Idx, ElementCount, false); in isArrayIndexOutOfBounds()
H A DCheckPlacementNew.cpp82 SVal ElementCount = C.getSVal(SizeExpr); in getExtentSizeOfNewTarget() local
83 if (auto ElementCountNL = ElementCount.getAs<NonLoc>()) { in getExtentSizeOfNewTarget()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DValueTypes.h84 static EVT getVectorVT(LLVMContext &Context, EVT VT, ElementCount EC) { in getVectorVT()
315 ElementCount getVectorElementCount() const { in getVectorElementCount()
433 ElementCount NElts = getVectorElementCount(); in getPow2VectorType()
435 NElts = ElementCount::get(NewMinCount, NElts.isScalable()); in getPow2VectorType()
485 ElementCount EC);
502 ElementCount getExtendedVectorElementCount() const LLVM_READONLY;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp107 ElementCount VF = ElementCount::getFixed(0); in replaceWithCallToVeclib()
124 ElementCount NumElements = VectorArgTy->getElementCount(); in replaceWithCallToVeclib()
H A DExpandVectorPredication.cpp149 ElementCount ElemCount);
192 ElementCount ElemCount) { in convertEVLToMask()
261 ElementCount StaticElemCount = VPI.getStaticVectorLength(); in discardEVLParameter()
299 ElementCount ElemCount = VPI.getStaticVectorLength(); in foldEVLIntoMask()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DVFABIDemangling.cpp292 const ElementCount EC = VecTys[0]->getElementCount(); in verifyAllVectorsHaveSameWidth()
303 ElementCount getECFromSignature(FunctionType *Signature) { in getECFromSignature()
313 return ElementCount::getFixed(/*Min=*/1); in getECFromSignature()
444 const ElementCount EC = getECFromSignature(F->getFunctionType()); in tryDemangleForVFABI()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DDynamicExtent.cpp52 SVal ElementCount = in getDynamicElementCount() local
55 return ElementCount.castAs<DefinedOrUnknownSVal>(); in getDynamicElementCount()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Vectorize/
H A DLoopVectorizationLegality.h125 ElementCount getWidth() const { in getWidth()
126 return ElementCount::get(Width.Value, in getWidth()
168 ElementCount EC = getWidth(); in allowReordering()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDerivedTypes.h427 static VectorType *get(Type *ElementType, ElementCount EC);
432 ElementCount::get(NumElements, Scalable)); in get()
517 inline ElementCount getElementCount() const;
629 inline ElementCount VectorType::getElementCount() const { in getElementCount()
630 return ElementCount::get(ElementQuantity, isa<ScalableVectorType>(this)); in getElementCount()
H A DIntrinsics.h150 ElementCount Vector_Width;
205 Result.Vector_Width = ElementCount::get(Width, IsScalable); in getVector()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIChecker.cpp164 DefinedOrUnknownSVal ElementCount = getDynamicElementCount( in allRegionsUsedByWait() local
168 ElementCount.getAs<nonloc::ConcreteInt>()->getValue(); in allRegionsUsedByWait()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/Utils/
H A DTFUtils.h70 size_t getElementCount() const { return ElementCount; } in getElementCount()
90 size_t ElementCount = 0; variable
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DIntrinsicInst.cpp284 ElementCount VPIntrinsic::getStaticVectorLength() const { in getStaticVectorLength()
285 auto GetVectorLengthOfType = [](const Type *T) -> ElementCount { in getStaticVectorLength()
385 ElementCount EC = getStaticVectorLength(); in canIgnoreVectorLengthParam()
/netbsd-src/sys/external/bsd/acpica/dist/namespace/
H A Dnsrepair2.c680 UINT32 ElementCount; in AcpiNsRepair_PRT() local
687 ElementCount = PackageObject->Package.Count; in AcpiNsRepair_PRT()
691 for (Index = 0; Index < ElementCount; Index++, TopObjectList++) in AcpiNsRepair_PRT()

1234