| /freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | ArrayList.h | 105 using ArrayTy = std::array<T, ItemsGroupSize>; member 108 ArrayTy Items; 123 typename ArrayTy::iterator begin() { return Items.begin(); } in begin() 124 typename ArrayTy::iterator end() { return Items.begin() + getItemsCount(); } in end()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MsgPackDocument.h | 43 typedef std::vector<DocNode> ArrayTy; typedef 60 ArrayTy *Array; 264 ArrayTy::iterator begin() { return Array->begin(); } in begin() 265 ArrayTy::iterator end() { return Array->end(); } in end() 282 std::vector<std::unique_ptr<DocNode::ArrayTy>> Arrays; 399 Arrays.push_back(std::unique_ptr<DocNode::ArrayTy>(new DocNode::ArrayTy)); in getArrayNode()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CastSizeChecker.cpp | 66 if (const ConstantArrayType *ArrayTy = in evenFlexibleArraySize() local 69 if (ArrayTy->getSize() == 1 && TypeSize > FlexSize) in evenFlexibleArraySize() 71 else if (ArrayTy->getSize() != 0) in evenFlexibleArraySize()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Delinearization.cpp | 506 auto *ArrayTy = dyn_cast<ArrayType>(Ty); in getIndexExpressionsFromGEP() local 507 if (!ArrayTy) { in getIndexExpressionsFromGEP() 515 Sizes.push_back(ArrayTy->getNumElements()); in getIndexExpressionsFromGEP() 517 Ty = ArrayTy->getElementType(); in getIndexExpressionsFromGEP()
|
| H A D | ValueTracking.cpp | 5665 ArrayType *ArrayTy = nullptr; in getConstantDataArrayInfo() local 5689 ArrayTy = ArrayInit->getType(); in getConstantDataArrayInfo() 5706 ArrayTy = dyn_cast<ArrayType>(Init->getType()); in getConstantDataArrayInfo() 5709 uint64_t NumElts = ArrayTy->getArrayNumElements(); in getConstantDataArrayInfo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Bitcode/ |
| H A D | BitcodeConvenience.h | 261 template <typename BufferTy, typename ArrayTy> 263 unsigned code, const ArrayTy &array) { in emit() 291 template <typename T, typename ArrayTy> 292 static void read(ArrayRef<T> buffer, ArrayTy &array) { in read()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/BinaryFormat/ |
| H A D | MsgPackDocument.cpp | 255 DocNode::ArrayTy::iterator ArrayIt; 276 {Node, Node.getMap().begin(), DocNode::ArrayTy::iterator(), true}); in writeToBlob()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 748 const auto *ArrayTy = in VisitMemRegionVal() local 757 if (ArrayTy) { in VisitMemRegionVal() 759 QualType ElemTy = ArrayTy->getElementType(); in VisitMemRegionVal() 814 if (ArrayTy) { in VisitMemRegionVal() 819 QualType ElemTy = ArrayTy->getElementType(); in VisitMemRegionVal()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 633 if (auto *ArrayTy = dyn_cast<ArrayType>(AllocaTy)) { in tryPromoteAllocaToVector() local 634 if (VectorType::isValidElementType(ArrayTy->getElementType()) && in tryPromoteAllocaToVector() 635 ArrayTy->getNumElements() > 0) in tryPromoteAllocaToVector() 636 VectorTy = FixedVectorType::get(ArrayTy->getElementType(), in tryPromoteAllocaToVector() 637 ArrayTy->getNumElements()); in tryPromoteAllocaToVector()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 698 ArrayType *ArrayTy = ArrayType::get(Ty, NumElements); in CreateFunctionLocalArrayInSection() local 700 *CurModule, ArrayTy, false, GlobalVariable::PrivateLinkage, in CreateFunctionLocalArrayInSection() 701 Constant::getNullValue(ArrayTy), "__sancov_gen_"); in CreateFunctionLocalArrayInSection()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constants.h | 698 template <typename ArrayTy> 699 static Constant *get(LLVMContext &Context, ArrayTy &Elts) {
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExpr.cpp | 147 auto *ArrayTy = cast<llvm::ArrayType>(Result.getElementType()); in CreateMemTemp() local 148 auto *VectorTy = llvm::FixedVectorType::get(ArrayTy->getElementType(), in CreateMemTemp() 149 ArrayTy->getNumElements()); in CreateMemTemp() 2061 auto *ArrayTy = dyn_cast<llvm::ArrayType>(Addr.getElementType()); in MaybeConvertMatrixAddress() local 2062 if (ArrayTy && IsVector) { in MaybeConvertMatrixAddress() 2063 auto *VectorTy = llvm::FixedVectorType::get(ArrayTy->getElementType(), in MaybeConvertMatrixAddress() 2070 auto *ArrayTy = llvm::ArrayType::get( in MaybeConvertMatrixAddress() local 2074 return Addr.withElementType(ArrayTy); in MaybeConvertMatrixAddress() 4443 QualType ArrayTy = BaseTy->isPointerType() in EmitOMPArraySectionExpr() local 4446 if (auto *VAT = C.getAsVariableArrayType(ArrayTy)) { in EmitOMPArraySectionExpr() [all …]
|
| H A D | CGExprConstant.cpp | 2176 const ArrayType *ArrayTy = CGM.getContext().getAsArrayType(DestType); in tryEmitPrivate() local 2184 ArrayTy->getElementType()); in tryEmitPrivate() 2199 Value.getArrayInitializedElt(I), ArrayTy->getElementType()); in tryEmitPrivate()
|
| H A D | CGDecl.cpp | 1099 if (auto *ArrayTy = dyn_cast<llvm::ArrayType>(OrigTy)) { in constWithPadding() local 1101 uint64_t Size = ArrayTy->getNumElements(); in constWithPadding() 1104 llvm::Type *ElemTy = ArrayTy->getElementType(); in constWithPadding()
|
| H A D | CGOpenMPRuntime.cpp | 664 const ArrayType *ArrayTy = Type->getAsArrayTypeUnsafe(); in EmitOMPAggregateInit() local 665 llvm::Value *NumElements = CGF.emitArrayLength(ArrayTy, ElementTy, DestAddr); in EmitOMPAggregateInit() 4722 const ArrayType *ArrayTy = Type->getAsArrayTypeUnsafe(); in EmitOMPAggregateReduction() local 4723 llvm::Value *NumElements = CGF.emitArrayLength(ArrayTy, ElementTy, LHSAddr); in EmitOMPAggregateReduction() 11135 QualType ArrayTy = C.getConstantArrayType(KmpDimTy, Size, nullptr, in emitDoacrossInit() local 11138 Address DimsAddr = CGF.CreateMemTemp(ArrayTy, "dims"); in emitDoacrossInit() 11139 CGF.EmitNullInitialization(DimsAddr, ArrayTy); in emitDoacrossInit() 11187 QualType ArrayTy = CGM.getContext().getConstantArrayType( in EmitDoacrossOrdered() local 11189 Address CntAddr = CGF.CreateMemTemp(ArrayTy, ".cnt.addr"); in EmitDoacrossOrdered()
|
| H A D | CodeGenFunction.h | 2965 const ArrayType *ArrayTy,
|
| H A D | CGStmtOpenMP.cpp | 701 const ArrayType *ArrayTy = OriginalType->getAsArrayTypeUnsafe(); in EmitOMPAggregateAssign() local 702 llvm::Value *NumElements = emitArrayLength(ArrayTy, ElementTy, DestAddr); in EmitOMPAggregateAssign()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 1543 unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy); 1552 uint64_t LLVMGetArrayLength2(LLVMTypeRef ArrayTy);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Core.cpp | 876 unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy) { in LLVMGetArrayLength() argument 877 return unwrap<ArrayType>(ArrayTy)->getNumElements(); in LLVMGetArrayLength() 880 uint64_t LLVMGetArrayLength2(LLVMTypeRef ArrayTy) { in LLVMGetArrayLength2() argument 881 return unwrap<ArrayType>(ArrayTy)->getNumElements(); in LLVMGetArrayLength2()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 1624 auto *ArrayTy = ArrayType::get(VT->getElementType(), VT->getNumElements()); in getNonAliasingPointer() local 1626 Builder.CreateAlloca(ArrayTy, Load->getPointerAddressSpace()); in getNonAliasingPointer()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 2932 QualType ArrayTy = PVD->getOriginalType(); in BuildCXXForRangeStmt() local 2934 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt() 2936 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
|
| H A D | SemaChecking.cpp | 17990 const ConstantArrayType *ArrayTy = in CheckArrayAccess() local 17997 ArrayTy == nullptr ? nullptr : ArrayTy->getElementType().getTypePtr(); in CheckArrayAccess() 18094 llvm::APInt size = ArrayTy->getSize(); in CheckArrayAccess() 18151 PDiag(DiagID) << toString(index, 10, true) << ArrayTy->desugar() in CheckArrayAccess()
|
| H A D | SemaDeclCXX.cpp | 14765 const ConstantArrayType *ArrayTy = S.Context.getAsConstantArrayType(T); in buildSingleCopyAssignRecursively() local 14766 if (!ArrayTy) { in buildSingleCopyAssignRecursively() 14821 buildSingleCopyAssignRecursively(S, Loc, ArrayTy->getElementType(), in buildSingleCopyAssignRecursively() 14830 = ArrayTy->getSize().zextOrTrunc(S.Context.getTypeSize(SizeType)); in buildSingleCopyAssignRecursively()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyCFG.cpp | 6271 ArrayType *ArrayTy = ArrayType::get(ValueType, TableSize); in SwitchLookupTable() local 6272 Constant *Initializer = ConstantArray::get(ArrayTy, TableContents); in SwitchLookupTable() 6274 Array = new GlobalVariable(M, ArrayTy, /*isConstant=*/true, in SwitchLookupTable()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 5401 ArrayType *ArrayTy = ArrayType::get(DimTy, NonContigInfo.Dims[I]); in emitNonContiguousDescriptor() local 5403 Builder.CreateAlloca(ArrayTy, /* ArraySize = */ nullptr, "dims"); in emitNonContiguousDescriptor()
|