Home
last modified time | relevance | path

Searched refs:ArrayType (Results 1 – 25 of 247) sorted by relevance

12345678910

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugSymbolRVASubsection.h28 using ArrayType = FixedStreamArray<support::ulittle32_t>;
36 ArrayType::Iterator begin() const { return RVAs.begin(); } in begin()
37 ArrayType::Iterator end() const { return RVAs.end(); } in end()
42 ArrayType RVAs;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTT.cpp45 llvm::ArrayType *ArrayType = llvm::ArrayType::get( in EmitVTTDefinition() local
87 llvm::Constant *Init = llvm::ConstantArray::get(ArrayType, VTTComponents); in EmitVTTDefinition()
117 llvm::ArrayType *ArrayType = llvm::ArrayType::get( in GetAddrOfVTT() local
122 Name, ArrayType, llvm::GlobalValue::ExternalLinkage, Align); in GetAddrOfVTT()
H A DCGExprConstant.cpp65 Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity()); in getPadding()
328 if (isa<llvm::ArrayType>(CA->getType()) || in split()
395 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType,
413 if (llvm::ArrayType *ATy = dyn_cast<llvm::ArrayType>(DesiredTy)) { in buildFrom()
975 llvm::ArrayType::get(CommonElementType, NonzeroLength), in EmitArrayConstant()
985 FillerType = llvm::ArrayType::get(FillerType, TrailingZeroes); in EmitArrayConstant()
1095 Ty = llvm::ArrayType::get(Ty, NumPadBytes); in VisitCastExpr()
1287 llvm::ArrayType *Desired = in EmitArrayInitialization()
2209 llvm::ArrayType *Desired = in tryEmitPrivate()
2376 llvm::ArrayType *ATy = in EmitNullConstant()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp24 StatTy = ArrayType::get(PointerType::getUnqual(M->getContext()), 2); in SanitizerStatReport()
31 ArrayType *SanitizerStatReport::makeModuleStatsArrayTy() { in makeModuleStatsArrayTy()
32 return ArrayType::get(StatTy, Inits.size()); in makeModuleStatsArrayTy()
47 ArrayType *StatTy = ArrayType::get(PtrTy, 2); in create()
H A DModuleUtils.cpp64 ArrayType *AT = ArrayType::get(EltTy, CurrentCtors.size()); in appendToGlobalArray()
106 ArrayType *ATy = ArrayType::get(ArrayEltTy, Init.size()); in appendToUsedList()
130 Type *ArrayEltTy = cast<ArrayType>(GV->getValueType())->getElementType(); in removeFromUsedList()
139 ArrayType *ATy = ArrayType::get(ArrayEltTy, NewInit.size()); in removeFromUsedList()
371 ArrayType *FuncPtrTableTy = in lowerGlobalIFuncUsersAsGlobalCtor()
372 ArrayType::get(TableEntryTy, IFuncsToLower.size()); in lowerGlobalIFuncUsersAsGlobalCtor()
H A DCtorUtils.cpp37 ArrayType *ATy = in removeGlobalCtors()
38 ArrayType::get(OldCA->getType()->getElementType(), CAList.size()); in removeGlobalCtors()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp64 static ArrayType *createLoweredType(Type *OriginalType) { in createLoweredType()
65 return ArrayType::get(OriginalType, MaxThreads); in createLoweredType()
69 createLoweredInitializer(ArrayType *NewType, Constant *OriginalInitializer) { in createLoweredInitializer()
125 ArrayType *AT = dyn_cast<ArrayType>(Ty); in isZeroLengthArray()
140 ArrayType *NewType = createLoweredType(GV->getValueType()); in lowerGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCtorDtorLowering.cpp83 ArrayType::get(PtrTy, 0), [&]() { in createInitOrFiniCalls()
85 M, ArrayType::get(PtrTy, 0), in createInitOrFiniCalls()
94 ArrayType::get(PtrTy, 0), [&]() { in createInitOrFiniCalls()
96 M, ArrayType::get(PtrTy, 0), in createInitOrFiniCalls()
120 ArrayType::get(IRB.getPtrTy(), 0), Begin, in createInitOrFiniCalls()
H A DAMDGPULowerModuleLDSPass.cpp485 ArrayType *KernelOffsetsType = ArrayType::get(I32, Variables.size()); in getAddressesOfVariablesInKernel()
513 ArrayType *KernelOffsetsType = in buildLookupTable()
514 ArrayType::get(Type::getInt32Ty(Ctx), NumberVariables); in buildLookupTable()
516 ArrayType *AllKernelsOffsetsType = in buildLookupTable()
517 ArrayType::get(KernelOffsetsType, NumberKernels); in buildLookupTable()
1018 auto emptyCharArray = ArrayType::get(Type::getInt8Ty(Ctx), 0); in buildRepresentativeDynamicLDSInstance()
1103 auto emptyCharArray = ArrayType::get(Type::getInt8Ty(Ctx), 0); in lowerDynamicLDSVariables()
1113 ArrayType *t = ArrayType::get(I32, newDynamicLDS.size()); in lowerDynamicLDSVariables()
1419 Type *ATy = ArrayType::get(Type::getInt8Ty(Ctx), Padding); in createLDSVariableReplacement()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSanitizerStats.h45 ArrayType *StatTy;
49 ArrayType *makeModuleStatsArrayTy();
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrOrderFile.cpp50 ArrayType *BufferTy;
51 ArrayType *MapTy;
65 ArrayType::get(Type::getInt64Ty(Ctx), INSTR_ORDER_FILE_BUFFER_SIZE); in createOrderFileData()
67 MapTy = ArrayType::get(Type::getInt8Ty(Ctx), NumFunctions); in createOrderFileData()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h371 class ArrayType : public Type {
377 ArrayType(Type *ElType, uint64_t NumEl);
380 ArrayType(const ArrayType &) = delete;
381 ArrayType &operator=(const ArrayType &) = delete;
387 static ArrayType *get(Type *ElementType, uint64_t NumElements);
399 return cast<ArrayType>(this)->getNumElements(); in getArrayNumElements()
H A DConstants.h412 ConstantArray(ArrayType *T, ArrayRef<Constant *> Val);
419 static Constant *get(ArrayType *T, ArrayRef<Constant *> V);
422 static Constant *getImpl(ArrayType *T, ArrayRef<Constant *> V);
427 inline ArrayType *getType() const {
428 return cast<ArrayType>(Value::getType());
711 Type *Ty = ArrayType::get(ElementTy, NumElements);
735 inline ArrayType *getType() const {
736 return cast<ArrayType>(Value::getType());
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp61 if (const auto *ATy = dyn_cast<ArrayType>(this)) in isScalableTy()
150 if (auto *ATy = dyn_cast<ArrayType>(this)) { in isEmptyTy()
221 if (auto *ATy = dyn_cast<ArrayType>(this)) in isSizedDerivedType()
640 ArrayType::ArrayType(Type *ElType, uint64_t NumEl) in ArrayType() function in ArrayType
647 ArrayType *ArrayType::get(Type *ElementType, uint64_t NumElements) { in get()
651 ArrayType *&Entry = in get()
655 Entry = new (pImpl->Alloc) ArrayType(ElementType, NumElements); in get()
659 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType()
H A DConstants.cpp1057 if (auto *AT = dyn_cast<ArrayType>(getType())) in getSequentialElement()
1080 if (auto *AT = dyn_cast<ArrayType>(Ty)) in getElementCount()
1092 if (ArrayType *ATy = dyn_cast<ArrayType>(getType())) in getSequentialElement()
1115 if (auto *AT = dyn_cast<ArrayType>(Ty)) in getNumElements()
1127 if (ArrayType *ATy = dyn_cast<ArrayType>(getType())) in getSequentialElement()
2635 if (ArrayType *ATy = dyn_cast<ArrayType>(getType())) in getElementType()
2661 if (ArrayType *AT = dyn_cast<ArrayType>(getType())) in getNumElements()
2692 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) in getImpl()
2719 if (isa<ArrayType>(Ty)) { in getImpl()
2775 Type *Ty = ArrayType::get(ElementType, Elts.size()); in getFP()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td62 def ArrayType : TypeNode<Type, 1>;
63 def ConstantArrayType : TypeNode<ArrayType>;
64 def IncompleteArrayType : TypeNode<ArrayType>;
65 def VariableArrayType : TypeNode<ArrayType>;
66 def DependentSizedArrayType : TypeNode<ArrayType>, AlwaysDependent;
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtIterator.cpp26 while (const ArrayType *vt = dyn_cast<ArrayType>(t)) { in FindVA()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp53 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeLinearIndex()
103 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeValueVTs()
196 if (ArrayType *ATy = dyn_cast<ArrayType>(&Ty)) { in computeValueLLTs()
459 if (ArrayType *AT = dyn_cast<ArrayType>(T)) in indexReallyValid()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DCBufferDataLayout.cpp63 if (isa<StructType>(EltTy) || isa<ArrayType>(EltTy)) in applyRowAlign()
76 } else if (auto *AT = dyn_cast<ArrayType>(Ty)) { in getTypeAllocSize()
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp187 } else if (auto *DArrTy = dyn_cast<ArrayType>(DstTy)) { in areTypesIsomorphic()
188 if (DArrTy->getNumElements() != cast<ArrayType>(SrcTy)->getNumElements()) in areTypesIsomorphic()
308 return *Entry = ArrayType::get(ElementTypes[0], in get()
309 cast<ArrayType>(Ty)->getNumElements()); in get()
800 ArrayType *DAT = cast<ArrayType>(DGV->getValueType()); in computeTypeMapping()
801 ArrayType *SAT = cast<ArrayType>(SGV.getValueType()); in computeTypeMapping()
877 unsigned NumElements = cast<ArrayType>(C->getType())->getNumElements(); in getArrayElements()
923 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getValueType())) in linkAppendingVarProto()
949 ArrayType *DstTy = cast<ArrayType>(DstGV->getValueType()); in linkAppendingVarProto()
971 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAArch64.cpp150 auto *AT = dyn_cast<llvm::ArrayType>(ST->getElementType(0)); in isScalarizableAsmOperand()
328 llvm::ArrayType::get(CGT.ConvertType(QualType(Base, 0)), Members)); in classifyArgumentType()
336 llvm::ArrayType::get(CGT.ConvertType(QualType(Base, 0)), Members), 0, in classifyArgumentType()
363 : llvm::ArrayType::get(BaseTy, Size / Alignment)); in classifyArgumentType()
436 return ABIArgInfo::getDirect(llvm::ArrayType::get(BaseTy, Size / 64)); in classifyReturnType()
537 if (llvm::ArrayType *ArrTy = dyn_cast<llvm::ArrayType>(BaseTy)) { in EmitAAPCSVAArg()
663 llvm::Type *HFATy = llvm::ArrayType::get(BaseTy, NumMembers); in EmitAAPCSVAArg()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp325 if (const auto ArrayType = Ty->getAsArrayTypeUnsafe()) { in createDescriptor() local
326 QualType ElemTy = ArrayType->getElementType(); in createDescriptor()
328 if (auto CAT = dyn_cast<ConstantArrayType>(ArrayType)) { in createDescriptor()
356 if (isa<IncompleteArrayType>(ArrayType)) { in createDescriptor()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/
H A DUtility.cpp86 ConstantAggregateZero::get(ArrayType::get(getEntryTy(M), 0u)); in getOffloadEntryArray()
88 auto *EntryType = ArrayType::get(getEntryTy(M), 0); in getOffloadEntryArray()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamArray.h160 typedef VarStreamArray<ValueType, Extractor> ArrayType; typedef
163 VarStreamArrayIterator(const ArrayType &Array, const Extractor &E, in VarStreamArrayIterator()
245 const ArrayType *Array{nullptr};
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/BTF/
H A DBTF.h316 struct ArrayType final : CommonType,
317 private TrailingObjects<ArrayType, BTFArray> {

12345678910