Searched refs:ElementCount (Results 1 - 25 of 48) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeSize.h28 class ElementCount { class in namespace:llvm
34 ElementCount() = default;
36 ElementCount(unsigned Min, bool Scalable) function in class:llvm::ElementCount
39 ElementCount operator*(unsigned RHS) {
42 ElementCount operator/(unsigned RHS) {
47 bool operator==(const ElementCount& RHS) const {
50 bool operator!=(const ElementCount& RHS) const {
56 ElementCount NextPowerOf2() const {
57 return ElementCount(llvm::NextPowerOf2(Min), Scalable);
249 template <> struct DenseMapInfo<ElementCount> {
[all...]
H A DMachineValueType.h739 ElementCount getVectorElementCount() const {
1209 static MVT getVectorVT(MVT VT, ElementCount EC) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundChecker.cpp58 DefinedOrUnknownSVal ElementCount = getDynamicElementCount( local
61 ProgramStateRef StInBound = state->assumeInBound(Idx, ElementCount, true);
62 ProgramStateRef StOutBound = state->assumeInBound(Idx, ElementCount, false);
H A DReturnPointerRangeChecker.cpp58 DefinedOrUnknownSVal ElementCount = getDynamicElementCount(
61 ProgramStateRef StInBound = state->assumeInBound(Idx, ElementCount, true);
62 ProgramStateRef StOutBound = state->assumeInBound(Idx, ElementCount, false);
H A DUndefResultChecker.cpp54 DefinedOrUnknownSVal ElementCount = getDynamicElementCount( local
56 ProgramStateRef StInBound = state->assumeInBound(Idx, ElementCount, true);
57 ProgramStateRef StOutBound = state->assumeInBound(Idx, ElementCount, false);
H A DCheckPlacementNew.cpp82 SVal ElementCount = C.getSVal(SizeExpr); local
83 if (auto ElementCountNL = ElementCount.getAs<NonLoc>()) {
H A DMallocChecker.cpp1452 SVal ElementCount; local
1456 ElementCount = C.getSVal(SizeExpr);
1464 ElementCount = svalBuilder.makeIntVal(1, true);
1473 if (ElementCount.getAs<NonLoc>()) {
1476 // size in Bytes = ElementCount*TypeSize
1478 State, BO_Mul, ElementCount.castAs<NonLoc>(),
/freebsd-13-stable/sys/contrib/dev/acpica/components/dispatcher/
H A Ddspkginit.c178 * ElementCount - Number of elements in the package - this is
205 UINT32 ElementCount,
269 ((ACPI_SIZE) ElementCount + 1) * sizeof (void *));
277 ObjDesc->Package.Count = ElementCount;
307 for (i = 0; Arg && (i < ElementCount); i++)
435 i, ElementCount));
437 else if (i < ElementCount)
449 ACPI_GET_FUNCTION_NAME, i, ElementCount));
202 AcpiDsBuildInternalPackageObj( ACPI_WALK_STATE *WalkState, ACPI_PARSE_OBJECT *Op, UINT32 ElementCount, ACPI_OPERAND_OBJECT **ObjDescPtr) argument
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h84 static EVT getVectorVT(LLVMContext &Context, EVT VT, ElementCount EC) {
296 // Given a (possibly scalable) vector type, return the ElementCount
297 ElementCount getVectorElementCount() const {
400 ElementCount NElts = getVectorElementCount();
451 ElementCount EC);
468 ElementCount getExtendedVectorElementCount() const LLVM_READONLY;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DVFABIDemangling.cpp292 const ElementCount EC = VecTys[0]->getElementCount();
302 // elements, i.e. same ElementCount.Min.
303 ElementCount getECFromSignature(FunctionType *Signature) {
313 return ElementCount(/*Min=*/1, /*Scalable=*/false);
435 // terms of VectorizationFactor or ElementCount. In particular, we
444 const ElementCount EC = getECFromSignature(F->getFunctionType());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DIntrinsicInst.cpp181 ElementCount VPIntrinsic::getStaticVectorLength() const {
182 auto GetVectorLengthOfType = [](const Type *T) -> ElementCount {
271 ElementCount EC = getStaticVectorLength();
H A DType.cpp128 ElementCount EC = VTy->getElementCount();
600 VectorType *VectorType::get(Type *ElementType, ElementCount EC) {
622 ElementCount EC(NumElts, false);
644 ElementCount EC(MinNumElts, true);
H A DCore.cpp678 unsigned ElementCount, LLVMBool Packed) {
679 ArrayRef<Type*> Tys(unwrap(ElementTypes), ElementCount); local
684 unsigned ElementCount, LLVMBool Packed) {
686 ElementCount, Packed);
703 unsigned ElementCount, LLVMBool Packed) {
704 ArrayRef<Type*> Tys(unwrap(ElementTypes), ElementCount); local
750 LLVMTypeRef LLVMArrayType(LLVMTypeRef ElementType, unsigned ElementCount) { argument
751 return wrap(ArrayType::get(unwrap(ElementType), ElementCount));
758 LLVMTypeRef LLVMVectorType(LLVMTypeRef ElementType, unsigned ElementCount) { argument
759 return wrap(FixedVectorType::get(unwrap(ElementType), ElementCount));
677 LLVMStructTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed) argument
683 LLVMStructType(LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed) argument
702 LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed) argument
[all...]
H A DInstructions.cpp3332 ElementCount SrcEC = SrcIsVec ? cast<VectorType>(SrcTy)->getElementCount()
3333 : ElementCount(0, false);
3334 ElementCount DstEC = DstIsVec ? cast<VectorType>(DstTy)->getElementCount()
3335 : ElementCount(0, false);
3393 return SrcEC == ElementCount(1, false);
3395 return DstEC == ElementCount(1, false);
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIChecker.cpp164 DefinedOrUnknownSVal ElementCount = getDynamicElementCount( local
168 ElementCount.getAs<nonloc::ConcreteInt>()->getValue();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h427 ElementCount EC = getElementCount();
445 static VectorType *get(Type *ElementType, ElementCount EC);
541 /// Return an ElementCount instance to represent the (possibly scalable)
543 inline ElementCount getElementCount() const;
657 inline ElementCount VectorType::getElementCount() const {
658 return ElementCount(ElementQuantity, isa<ScalableVectorType>(this));
H A DIntrinsics.h137 ElementCount Vector_Width;
H A DConstants.h526 static Constant *getSplat(ElementCount EC, Constant *Elt);
H A DIntrinsicInst.h237 ElementCount getStaticVectorLength() const;
/freebsd-13-stable/sys/contrib/dev/acpica/components/namespace/
H A Dnsrepair2.c778 UINT32 ElementCount; local
785 ElementCount = PackageObject->Package.Count;
789 for (Index = 0; Index < ElementCount; Index++, TopObjectList++)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp352 // ceil(ElementCount / VectorWidth) >= TripCount
353 // by rounding up ElementCount up:
354 // ((ElementCount + (VectorWidth - 1)) / VectorWidth
356 // (((ElementCount + (VectorWidth - 1)) / VectorWidth) - TripCount
384 // (((ElementCount + (VectorWidth - 1)) / VectorWidth) - TripCount
388 // ElementCount + (VectorWidth - 1)
391 // this expression. But since ElementCount uses the same variables as the
411 // (((ElementCount + (VectorWidth - 1)) / VectorWidth) - TripCount,
416 // where Ceil = ElementCount + (VW-1) / VW. If Ceil and TC are runtime
434 // ElementCount
435 auto *ElementCount = SE->getAddExpr(BTC, One); local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp50 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT VT, ElementCount EC) {
125 ElementCount EC = cast<VectorType>(LLVMTy)->getElementCount();
135 ElementCount EVT::getExtendedVectorElementCount() const {
H A DTargetLoweringBase.cpp855 ElementCount NumElts = VT.getVectorElementCount();
862 if (VT.getVectorElementCount() == ElementCount(1, true))
953 ElementCount EC = VT.getVectorElementCount();
1269 ElementCount EC = VT.getVectorElementCount();
1404 ElementCount EltCnt = VT.getVectorElementCount();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1282 unsigned ElementCount, LLVMBool Packed);
1289 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, unsigned ElementCount,
1312 unsigned ElementCount, LLVMBool Packed);
1405 LLVMTypeRef LLVMArrayType(LLVMTypeRef ElementType, unsigned ElementCount);
1444 LLVMTypeRef LLVMVectorType(LLVMTypeRef ElementType, unsigned ElementCount);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DVectorUtils.h109 static VFShape get(const CallInst &CI, ElementCount EC, bool HasGlobalPred) {

Completed in 338 milliseconds

12