/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | DebugSymbolRVASubsection.h | 28 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 D | CGVTT.cpp | 45 llvm::ArrayType *ArrayType = llvm::ArrayType::get( in EmitVTTDefinition() local 101 llvm::Constant *Init = llvm::ConstantArray::get(ArrayType, VTTComponents); in EmitVTTDefinition() 131 llvm::ArrayType *ArrayType = llvm::ArrayType::get( in GetAddrOfVTT() local 136 Name, ArrayType, llvm::GlobalValue::ExternalLinkage, Align); in GetAddrOfVTT()
|
H A D | CGExprConstant.cpp | 66 Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity()); in getPadding() 71 llvm::Type *Ty = llvm::ArrayType::get(CGM.CharTy, ZeroSize.getQuantity()); in getZeroes() 329 if (isa<llvm::ArrayType>(CA->getType()) || in split() 396 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType, 414 if (llvm::ArrayType *ATy = dyn_cast<llvm::ArrayType>(DesiredTy)) { in buildFrom() 969 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType, in EmitArrayConstant() 995 llvm::ArrayType::get(CommonElementType, NonzeroLength), in EmitArrayConstant() 1005 FillerType = llvm::ArrayType::get(FillerType, TrailingZeroes); in EmitArrayConstant() 1018 llvm::ArrayType::get(CommonElementType, ArrayBound), Elements); in EmitArrayConstant() 1132 Ty = llvm::ArrayType::get(Ty, NumPadBytes); in VisitCastExpr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreLowerThreadLocal.cpp | 64 static ArrayType *createLoweredType(Type *OriginalType) { in createLoweredType() 65 return ArrayType::get(OriginalType, MaxThreads); in createLoweredType() 69 createLoweredInitializer(ArrayType *NewType, Constant *OriginalInitializer) { in createLoweredInitializer() 128 ArrayType *AT = dyn_cast<ArrayType>(Ty); in isZeroLengthArray() 143 ArrayType *NewType = createLoweredType(GV->getValueType()); in lowerGlobal()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SanitizerStats.cpp | 24 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 D | ModuleUtils.cpp | 65 ArrayType *AT = ArrayType::get(EltTy, CurrentCtors.size()); in appendToGlobalArray() 107 ArrayType *ATy = ArrayType::get(ArrayEltTy, Init.size()); in appendToUsedList() 131 Type *ArrayEltTy = cast<ArrayType>(GV->getValueType())->getElementType(); in removeFromUsedList() 140 ArrayType *ATy = ArrayType::get(ArrayEltTy, NewInit.size()); in removeFromUsedList() 374 ArrayType *FuncPtrTableTy = in lowerGlobalIFuncUsersAsGlobalCtor() 375 ArrayType::get(TableEntryTy, IFuncsToLower.size()); in lowerGlobalIFuncUsersAsGlobalCtor()
|
H A D | CtorUtils.cpp | 37 ArrayType *ATy = in removeGlobalCtors() 38 ArrayType::get(OldCA->getType()->getElementType(), CAList.size()); in removeGlobalCtors()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCtorDtorLowering.cpp | 83 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 createInitOrFiniKernel()
|
H A D | AMDGPULowerModuleLDSPass.cpp | 321 ArrayType *KernelOffsetsType = ArrayType::get(I32, Variables.size()); in getAddressesOfVariablesInKernel() 348 ArrayType *KernelOffsetsType = in buildLookupTable() 349 ArrayType::get(Type::getInt32Ty(Ctx), NumberVariables); in buildLookupTable() 351 ArrayType *AllKernelsOffsetsType = in buildLookupTable() 352 ArrayType::get(KernelOffsetsType, NumberKernels); in buildLookupTable() 853 auto emptyCharArray = ArrayType::get(Type::getInt8Ty(Ctx), 0); in buildRepresentativeDynamicLDSInstance() 893 auto emptyCharArray = ArrayType::get(Type::getInt8Ty(Ctx), 0); in lowerDynamicLDSVariables() 903 ArrayType *t = ArrayType::get(I32, newDynamicLDS.size()); in lowerDynamicLDSVariables() 1209 Type *ATy = ArrayType::get(Type::getInt8Ty(Ctx), Padding); in createLDSVariableReplacement()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | InstrOrderFile.cpp | 50 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/Transforms/Utils/ |
H A D | SanitizerStats.h | 45 ArrayType *StatTy; 49 ArrayType *makeModuleStatsArrayTy();
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 371 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 D | Constants.h | 428 ConstantArray(ArrayType *T, ArrayRef<Constant *> Val); 435 static Constant *get(ArrayType *T, ArrayRef<Constant *> V); 438 static Constant *getImpl(ArrayType *T, ArrayRef<Constant *> V); 443 inline ArrayType *getType() const { 444 return cast<ArrayType>(Value::getType()); 727 Type *Ty = ArrayType::get(ElementTy, NumElements); 751 inline ArrayType *getType() const { 752 return cast<ArrayType>(Value::getType());
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Type.cpp | 61 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 D | Constants.cpp | 1114 if (auto *AT = dyn_cast<ArrayType>(getType())) in getSequentialElement() 1124 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue() 1130 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue() 1137 if (auto *AT = dyn_cast<ArrayType>(Ty)) in getElementCount() 1149 if (ArrayType *ATy = dyn_cast<ArrayType>(getType())) in getSequentialElement() 1159 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue() 1165 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue() 1172 if (auto *AT = dyn_cast<ArrayType>(Ty)) in getNumElements() 1184 if (ArrayType *ATy = dyn_cast<ArrayType>(getType())) in getSequentialElement() 1194 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | TypeNodes.td | 62 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/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 53 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeLinearIndex() 106 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeValueVTs() 159 if (ArrayType *ATy = dyn_cast<ArrayType>(&Ty)) { in computeValueLLTs() 422 if (ArrayType *AT = dyn_cast<ArrayType>(T)) in indexReallyValid()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | StmtIterator.cpp | 26 while (const ArrayType *vt = dyn_cast<ArrayType>(t)) { in FindVA()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Program.cpp | 376 if (const auto ArrayType = Ty->getAsArrayTypeUnsafe()) { in createDescriptor() local 377 QualType ElemTy = ArrayType->getElementType(); in createDescriptor() 379 if (auto CAT = dyn_cast<ConstantArrayType>(ArrayType)) { in createDescriptor() 407 if (isa<IncompleteArrayType>(ArrayType) || in createDescriptor() 408 isa<VariableArrayType>(ArrayType)) { in createDescriptor()
|
/freebsd/contrib/llvm-project/llvm/lib/Linker/ |
H A D | IRMover.cpp | 188 } else if (auto *DArrTy = dyn_cast<ArrayType>(DstTy)) { in areTypesIsomorphic() 189 if (DArrTy->getNumElements() != cast<ArrayType>(SrcTy)->getNumElements()) in areTypesIsomorphic() 309 return *Entry = ArrayType::get(ElementTypes[0], in get() 310 cast<ArrayType>(Ty)->getNumElements()); in get() 802 ArrayType *DAT = cast<ArrayType>(DGV->getValueType()); in computeTypeMapping() 803 ArrayType *SAT = cast<ArrayType>(SGV.getValueType()); in computeTypeMapping() 879 unsigned NumElements = cast<ArrayType>(C->getType())->getNumElements(); in getArrayElements() 925 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getValueType())) in linkAppendingVarProto() 951 ArrayType *DstTy = cast<ArrayType>(DstGV->getValueType()); in linkAppendingVarProto() 973 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | CBufferDataLayout.cpp | 63 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/include/llvm/Support/ |
H A D | BinaryStreamArray.h | 160 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/lib/Frontend/Offloading/ |
H A D | Utility.cpp | 93 ConstantAggregateZero::get(ArrayType::get(getEntryTy(M), 0u)); in getOffloadEntryArray() 95 auto *EntryType = ArrayType::get(getEntryTy(M), 0); in getOffloadEntryArray()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | AArch64.cpp | 144 auto *AT = dyn_cast<llvm::ArrayType>(ST->getElementType(0)); in isScalarizableAsmOperand() 344 llvm::ArrayType::get(CGT.ConvertType(QualType(Base, 0)), Members)); in classifyArgumentType() 352 llvm::ArrayType::get(CGT.ConvertType(QualType(Base, 0)), Members), 0, in classifyArgumentType() 379 : llvm::ArrayType::get(BaseTy, Size / Alignment)); in classifyArgumentType() 452 return ABIArgInfo::getDirect(llvm::ArrayType::get(BaseTy, Size / 64)); in classifyReturnType() 554 if (llvm::ArrayType *ArrTy = dyn_cast<llvm::ArrayType>(BaseTy)) { in EmitAAPCSVAArg() 681 llvm::Type *HFATy = llvm::ArrayType::get(BaseTy, NumMembers); in EmitAAPCSVAArg()
|
/freebsd/sys/dev/hptrr/ |
H A D | hptintf.h | 496 HPT_U8 ArrayType; /* array type */ member 523 HPT_U8 ArrayType; /* array type */ member 545 HPT_U8 ArrayType; /* array type */ member 578 HPT_U8 ArrayType; /* array type */ member 958 HPT_U8 ArrayType; /* 1-level array type */ member 974 HPT_U8 ArrayType; /* 1-level array type */ member 996 HPT_U8 ArrayType; /* 1-level array type */ member
|