reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/DerivedTypes.h
  416   static ArrayType *get(Type *ElementType, uint64_t NumElements);

References

include/llvm/IR/Constants.h
  722     Type *Ty = ArrayType::get(ElementTy, NumElements);
lib/Analysis/ScalarEvolution.cpp
 3503   Type *CurTy = ArrayType::get(GEP->getSourceElementType(), 0);
lib/AsmParser/LLParser.cpp
 2820     Result = ArrayType::get(EltTy, Size);
 3188     ArrayType *ATy = ArrayType::get(Elts[0]->getType(), Elts.size());
lib/Bitcode/Reader/BitcodeReader.cpp
 1895       ResultTy = ArrayType::get(ResultTy, Record[0]);
lib/CodeGen/GlobalMerge.cpp
  473         Tys.push_back(ArrayType::get(Int8Ty, Padding));
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
20005   Constant *CA = ConstantArray::get(ArrayType::get(FPTy, 2), Elts);
lib/CodeGen/ShadowStackGCLowering.cpp
  125       ConstantArray::get(ArrayType::get(VoidPtr, NumMeta), Metadata)};
lib/CodeGen/SjLjEHPrepare.cpp
   87   doubleUnderDataTy = ArrayType::get(Int32Ty, 4);
   88   doubleUnderJBufTy = ArrayType::get(VoidPtrTy, 5);
lib/IR/AutoUpgrade.cpp
  862   Constant *NewInit = ConstantArray::get(ArrayType::get(EltTy, N), NewCtors);
lib/IR/Constants.cpp
 2562   Type *Ty = ArrayType::get(Type::getHalfTy(Context), Elts.size());
 2568   Type *Ty = ArrayType::get(Type::getFloatTy(Context), Elts.size());
 2574   Type *Ty = ArrayType::get(Type::getDoubleTy(Context), Elts.size());
lib/IR/Core.cpp
  744   return wrap(ArrayType::get(unwrap(ElementType), ElementCount));
 1400   return wrap(ConstantArray::get(ArrayType::get(unwrap(ElementTy), Length), V));
lib/LTO/LTO.cpp
  969         ArrayType::get(Type::getInt8Ty(RegularLTO.Ctx), I.second.Size);
lib/Linker/IRMover.cpp
  304     return *Entry = ArrayType::get(ElementTypes[0],
  915   ArrayType *NewType = ArrayType::get(EltTy, NewSize);
lib/Target/AArch64/AArch64StackTagging.cpp
  474           ? ArrayType::get(
  479       ArrayType::get(Type::getInt8Ty(F->getContext()), AlignedSize - Size);
lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp
  119       auto T = ArrayType::get(Type::getInt64Ty(C), 2);
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  795   Type *GVTy = ArrayType::get(I.getAllocatedType(), WorkGroupSize);
lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
  371     ImageSizeType = ArrayType::get(Int32Type, 3);
  372     ImageFormatType = ArrayType::get(Int32Type, 2);
lib/Target/XCore/XCoreLowerThreadLocal.cpp
   64   return ArrayType::get(OriginalType, MaxThreads);
lib/Transforms/Coroutines/CoroFrame.cpp
  380       return ArrayType::get(Type::getInt8Ty(Context), Padding);
  464       Types.push_back(ArrayType::get(Ty, Count));
lib/Transforms/Coroutines/CoroSplit.cpp
  828   auto *ArrTy = ArrayType::get(Part->getType(), Args.size());
lib/Transforms/IPO/DeadArgumentElimination.cpp
  820         NRetTy = ArrayType::get(RetTypes[0], RetTypes.size());
lib/Transforms/IPO/GlobalOpt.cpp
  848     GlobalType = ArrayType::get(AllocTy, NElements->getZExtValue());
 2617   ArrayType *ATy = ArrayType::get(Int8PtrTy, UsedArray.size());
lib/Transforms/IPO/LowerTypeTests.cpp
  392   ArrayType *Int8Arr0Ty = ArrayType::get(Type::getInt8Ty(M.getContext()), 0);
  839           ConstantAggregateZero::get(ArrayType::get(Int8Ty, Padding)));
 1232   return ArrayType::get(Int8Ty, getJumpTableEntrySize());
 1495       ArrayType::get(getJumpTableEntryType(), Functions.size());
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  198       Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue());
lib/Transforms/InstCombine/InstructionCombining.cpp
 2939         FilterType = ArrayType::get(FilterType->getElementType(),
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 2189       ArrayType::get(MetadataInitializers[0]->getType(), N);
 2279     Type *RightRedZoneTy = ArrayType::get(IRB.getInt8Ty(), RightRedzoneSize);
 2535                                            ArrayType::get(IRB.getInt8Ty(), 0));
 2938     Alloca = IRB.CreateAlloca(ArrayType::get(IRB.getInt8Ty(), L.FrameSize),
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  584     Type *ArgTLSTy = ArrayType::get(ShadowTy, 64);
  717     Type *ArgTLSTy = ArrayType::get(ShadowTy, 64);
 1019   return IRB.CreateConstGEP2_64(ArrayType::get(DFS.ShadowTy, 64),
 1617           auto *LabelVATy = ArrayType::get(DFSF.DFS.ShadowTy,
 1723       ArrayType *VarArgArrayTy = ArrayType::get(DFSF.DFS.ShadowTy, VarArgSize);
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  800         ArrayType::get(Type::getInt64Ty(*Ctx), Edges);
 1031         ArrayType::get(EmitFunctionCallArgsTy, CountersSize);
 1039         ArrayType::get(EmitArcsCallArgsTy, CountersSize);
 1075   auto *FileInfoArrayTy = ArrayType::get(FileInfoTy, FileInfos.size());
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  460                                      ArrayType::get(IRB.getInt8Ty(), 0));
 1193         AllocatedType = ArrayType::get(AllocatedType, ArraySize);
 1196           AllocatedType, ArrayType::get(Int8Ty, AlignedSize - Size));
 1350   Type *Int8Arr0Ty = ArrayType::get(Int8Ty, 0);
lib/Transforms/Instrumentation/InstrOrderFile.cpp
   76         ArrayType::get(Type::getInt64Ty(Ctx), INSTR_ORDER_FILE_BUFFER_SIZE);
   78     MapTy = ArrayType::get(Type::getInt8Ty(Ctx), NumFunctions);
lib/Transforms/Instrumentation/InstrProfiling.cpp
  778   ArrayType *CounterTy = ArrayType::get(Type::getInt64Ty(Ctx), NumCounters);
  801       ArrayType *ValuesTy = ArrayType::get(Type::getInt64Ty(Ctx), NS);
  819   auto *Int16ArrayTy = ArrayType::get(Int16Ty, IPVK_Last + 1);
  901   ArrayType *VNodesTy = ArrayType::get(VNodeTy, NumCounters);
lib/Transforms/Instrumentation/MemorySanitizer.cpp
  710       ArrayType::get(IRB.getInt64Ty(), kParamTLSSize / 8),
  711       ArrayType::get(IRB.getInt64Ty(), kRetvalTLSSize / 8),
  712       ArrayType::get(IRB.getInt64Ty(), kParamTLSSize / 8),
  713       ArrayType::get(IRB.getInt64Ty(), kParamTLSSize / 8), /* va_arg_origin */
  714       IRB.getInt64Ty(), ArrayType::get(OriginTy, kParamTLSSize / 4), OriginTy,
  769                         ArrayType::get(IRB.getInt64Ty(), kRetvalTLSSize / 8));
  775                         ArrayType::get(IRB.getInt64Ty(), kParamTLSSize / 8));
  779                         ArrayType::get(OriginTy, kParamTLSSize / 4));
  783                         ArrayType::get(IRB.getInt64Ty(), kParamTLSSize / 8));
  787                         ArrayType::get(OriginTy, kParamTLSSize / 4));
 1352       return ArrayType::get(getShadowTy(AT->getElementType()),
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  645   ArrayType *ArrayTy = ArrayType::get(Ty, NumElements);
  688       ConstantArray::get(ArrayType::get(IntptrPtrTy, N * 2), PCs));
  772       ArrayType *ArrayOfInt64Ty = ArrayType::get(Int64Ty, Initializers.size());
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  467   ArrayType *AT = ArrayType::get(V->getType(), ArraySize);
lib/Transforms/Scalar/SROA.cpp
 3537     return ArrayType::get(ElementTy, NumElements);
 4132     SliceTy = ArrayType::get(Type::getInt8Ty(*C), P.size());
lib/Transforms/Utils/CtorUtils.cpp
   37       ArrayType::get(OldCA->getType()->getElementType(), CAList.size());
lib/Transforms/Utils/ModuleUtils.cpp
   54   ArrayType *AT = ArrayType::get(EltTy, CurrentCtors.size());
   95   ArrayType *ATy = ArrayType::get(Int8PtrTy, Init.size());
lib/Transforms/Utils/SanitizerStats.cpp
   25   StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2);
   33   return ArrayType::get(StatTy, Inits.size());
   47   ArrayType *StatTy = ArrayType::get(Int8PtrTy, 2);
lib/Transforms/Utils/SimplifyCFG.cpp
 5079   ArrayType *ArrayTy = ArrayType::get(ValueType, TableSize);
tools/bugpoint/CrashDebugger.cpp
  229   auto *NewValTy = ArrayType::get(NewValElemTy, Used.size());
tools/bugpoint/ExtractFunction.cpp
  240       ArrayType::get(ArrayElts[0]->getType(), ArrayElts.size()), ArrayElts);
tools/clang/lib/CodeGen/BackendUtil.cpp
 1680   ArrayType *ATy = ArrayType::get(UsedElementType, UsedArray.size());
tools/clang/lib/CodeGen/CGBlocks.cpp
  743     elementTypes.push_back(llvm::ArrayType::get(CGM.Int8Ty,
  761       elementTypes.push_back(llvm::ArrayType::get(CGM.Int8Ty,
 2791       llvm::ArrayType::get(Int8Ty, (varOffset - size).getQuantity());
tools/clang/lib/CodeGen/CGBuiltin.cpp
10033                                           llvm::ArrayType::get(Int32Ty, 1));
10106                                             llvm::ArrayType::get(Int32Ty, 1));
tools/clang/lib/CodeGen/CGDecl.cpp
 1014       auto *PadTy = llvm::ArrayType::get(Int8Ty, CurOff - SizeSoFar);
 1030     auto *PadTy = llvm::ArrayType::get(Int8Ty, TotalSize - SizeSoFar);
 1068       auto *ArrayTy = llvm::ArrayType::get(NewElemTy, Size);
tools/clang/lib/CodeGen/CGException.cpp
  866       llvm::ArrayType::get(!filterTypes.empty() ?
tools/clang/lib/CodeGen/CGExpr.cpp
  821       llvm::Type *HashTable = llvm::ArrayType::get(IntPtrTy, CacheSize);
tools/clang/lib/CodeGen/CGExprConstant.cpp
   62       Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity());
   67     llvm::Type *Ty = llvm::ArrayType::get(CGM.Int8Ty, ZeroSize.getQuantity());
  942           llvm::ArrayType::get(CommonElementType, NonzeroLength),
  952     FillerType = llvm::ArrayType::get(FillerType, TrailingZeroes);
  965         llvm::ArrayType::get(CommonElementType, ArrayBound), Elements);
 1060           Ty = llvm::ArrayType::get(Ty, NumPadBytes);
 1684           llvm::ArrayType::get(CGM.Int8Ty, (outerSize - innerSize) / 8))
 2137       llvm::ArrayType *AType = llvm::ArrayType::get(CommonElementType,
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1329     llvm::ArrayType *ProtocolArrayTy = llvm::ArrayType::get(ProtocolPtrTy,
tools/clang/lib/CodeGen/CGObjCMac.cpp
 1957   llvm::Type *PTy = llvm::ArrayType::get(CGM.IntTy, 0);
 3325   llvm::ArrayType *AT = llvm::ArrayType::get(ObjCTypes.Int8PtrTy,
 5679       "struct._prop_list_t", IntTy, IntTy, llvm::ArrayType::get(PropertyTy, 0));
 5711                                llvm::ArrayType::get(MethodDescriptionTy, 0));
 5743                           llvm::ArrayType::get(ProtocolTy, 0));
 5835                                       llvm::ArrayType::get(Int8PtrTy, 0));
 5852   llvm::Type *StackPtrTy = llvm::ArrayType::get(CGM.Int8PtrTy, 4);
 5856       llvm::ArrayType::get(CGM.Int32Ty, SetJmpBufferSize), StackPtrTy);
 5868                                llvm::ArrayType::get(MethodTy, 0));
 5907                                llvm::ArrayType::get(ProtocolnfABIPtrTy, 0));
 5930                                llvm::ArrayType::get(IvarnfABITy, 0));
 6063     llvm::ConstantArray::get(llvm::ArrayType::get(ObjCTypes.Int8PtrTy,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1262   KmpCriticalNameTy = llvm::ArrayType::get(CGM.Int32Ty, /*NumElements*/ 8);
 8606           llvm::ArrayType::get(CGM.Int64Ty, ConstSizes.size()), ConstSizes);
 8634           llvm::ArrayType::get(CGM.VoidPtrTy, Info.NumberOfPtrs),
 8647           llvm::ArrayType::get(CGM.VoidPtrTy, Info.NumberOfPtrs),
 8656             llvm::ArrayType::get(CGM.Int64Ty, Info.NumberOfPtrs),
 8678         llvm::ArrayType::get(CGM.VoidPtrTy, Info.NumberOfPtrs),
 8682         llvm::ArrayType::get(CGM.VoidPtrTy, Info.NumberOfPtrs),
 8687         llvm::ArrayType::get(CGM.Int64Ty, Info.NumberOfPtrs), Info.SizesArray,
 8690         llvm::ArrayType::get(CGM.Int64Ty, Info.NumberOfPtrs),
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 3212     auto *Ty = llvm::ArrayType::get(CGM.Int32Ty, WarpSize);
tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
  130         (llvm::Type *)llvm::ArrayType::get(Type, NumBytes.getQuantity());
tools/clang/lib/CodeGen/CGVTT.cpp
   48     llvm::ArrayType::get(Int8PtrTy, Builder.getVTTComponents().size());
  120     llvm::ArrayType::get(CGM.Int8PtrTy, Builder.getVTTComponents().size());
tools/clang/lib/CodeGen/CGVTables.cpp
  733     tys.push_back(llvm::ArrayType::get(CGM.Int8PtrTy, layout.getVTableSize(i)));
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1914   llvm::ArrayType *ATy = llvm::ArrayType::get(CGM.Int8PtrTy, UsedArray.size());
 2165   llvm::Constant *Array = llvm::ConstantArray::get(llvm::ArrayType::get(
 4643     Ty = llvm::ArrayType::get(Ty, 0);
 5724     llvm::ConstantArray::get(llvm::ArrayType::get(Int8Ty, 8), Field3)
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  588     ResultType = llvm::ArrayType::get(ResultType, 0);
  602     ResultType = llvm::ArrayType::get(EltTy, A->getSize().getZExtValue());
  684         llvm::ArrayType::get(CGM.Int8Ty, (atomicSize - valueSize) / 8)
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp
  253   auto type = llvm::ArrayType::get(eltTy, elts.size());
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
 1416       llvm::ArrayType::get(FunctionRecordTy, FunctionRecords.size());
 1451     auto NamesArrTy = llvm::ArrayType::get(llvm::Type::getInt8PtrTy(Ctx),
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  348     llvm::ArrayType *VDispMapTy = llvm::ArrayType::get(CGM.IntTy, Map.size());
  455         llvm::ArrayType::get(CGM.Int8Ty, TypeInfoString.size() + 1)};
  709         llvm::ArrayType::get(CTType, NumEntries) // CatchableTypes
 2056       llvm::ArrayType::get(CGM.IntTy, 1 + VBT.ObjectWithVPtr->getNumVBases());
 2118     llvm::ArrayType::get(CGM.IntTy, Offsets.size());
 3631   auto *ArrType = llvm::ArrayType::get(PtrType, Classes.size() + 1);
 4180   llvm::ArrayType *AT = llvm::ArrayType::get(CTType, NumEntries);
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
  274     auto *Ty = llvm::ArrayType::get(Int8Ty, Size);
tools/clang/lib/CodeGen/SwiftCallingConv.cpp
  570       auto padding = llvm::ArrayType::get(llvm::Type::getInt8Ty(ctx),
tools/clang/lib/CodeGen/TargetInfo.cpp
   58   return ABIArgInfo::getDirect(llvm::ArrayType::get(IntType, NumElements));
 1862     Ty = llvm::ArrayType::get(Ty, NumBytes.getQuantity());
 4763       llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members);
 4786         CoerceTy = llvm::ArrayType::get(RegTy, NumRegs);
 4829       llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members);
 5172         llvm::ArrayType::get(CGT.ConvertType(QualType(Base, 0)), Members));
 5195       return ABIArgInfo::getDirect(llvm::ArrayType::get(BaseTy, Size / 64));
 5245       return ABIArgInfo::getDirect(llvm::ArrayType::get(BaseTy, Size / 64));
 5438     llvm::Type *HFATy = llvm::ArrayType::get(BaseTy, NumMembers);
 5852       llvm::Type *Ty = llvm::ArrayType::get(NewVecTy, Members);
 5923         llvm::ArrayType::get(CGT.ConvertType(QualType(Base, 0)), Members);
 5976   return ABIArgInfo::getDirect(llvm::ArrayType::get(ElemTy, SizeRegs));
 6168         llvm::ArrayType::get(Int32Ty, llvm::alignTo(Size, 32) / 32);
 6407   return ABIArgInfo::getDirect(llvm::ArrayType::get(IntType, NumElements));
 7796         return ABIArgInfo::getDirect(llvm::ArrayType::get(I32Ty, 2));
 7867       return ABIArgInfo::getDirect(llvm::ArrayType::get(I32Ty, 2));
 9471     CoerceElts.push_back(llvm::ArrayType::get(
 9498     CoerceElts.push_back(llvm::ArrayType::get(
 9614       return ABIArgInfo::getDirect(llvm::ArrayType::get(
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
  191         ConstantAggregateZero::get(ArrayType::get(getEntryTy(), 0u));
  225         ArrayType::get(getDeviceImageTy(), ImagesInits.size()), ImagesInits);
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
 1466       NewArrayType = ArrayType::get(NewArrayType, UnsignedDimSize);
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp
  466         llvm::ArrayType::get(Builder.getInt8Ty(), /* Length */ 23);
tools/polly/lib/CodeGen/PerfMonitor.cpp
   53   ArrayType *Ty = ArrayType::get(ST, V.size());
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
  187   auto T = ArrayType::get(Builder.getInt32Ty(), ToPrint.size() * 2);
unittests/ExecutionEngine/Orc/OrcTestCommon.h
  188   return StructType::get(ArrayType::get(Type::getInt32Ty(Context), 256));
unittests/FuzzMutate/OperationsTest.cpp
   94       ConstantArray::get(ArrayType::get(i32->getType(), 2), {i32, i32});
  338   Type *ZeroSizedArrayTy = ArrayType::get(Int64Ty, 0);
  339   Type *ArrayTy = ArrayType::get(Int64Ty, 4);
unittests/IR/ConstantsTest.cpp
  329   ArrayType *ArrayTy = ArrayType::get(IntTy, 2);
  424     ArrayType *ArrayTy = ArrayType::get(T, 2);
  433     ArrayType *ArrayTy = ArrayType::get(T, 2);
unittests/IR/InstructionsTest.cpp
  662   Type *ArrTy = ArrayType::get(ArrayType::get(ElementTy, 64), 64);
  662   Type *ArrTy = ArrayType::get(ArrayType::get(ElementTy, 64), 64);
unittests/Linker/LinkModulesTest.cpp
   40     AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3);
  112   ArrayType *AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3);