/openbsd-src/gnu/llvm/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;
|
/openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGVTT.cpp | 45 llvm::ArrayType *ArrayType = in EmitVTTDefinition() local 46 llvm::ArrayType::get(CGM.Int8PtrTy, Builder.getVTTComponents().size()); in EmitVTTDefinition() 90 llvm::Constant *Init = llvm::ConstantArray::get(ArrayType, VTTComponents); in EmitVTTDefinition() 115 llvm::ArrayType *ArrayType = in GetAddrOfVTT() local 116 llvm::ArrayType::get(CGM.Int8PtrTy, Builder.getVTTComponents().size()); in GetAddrOfVTT() 120 Name, ArrayType, llvm::GlobalValue::ExternalLinkage, Align); in GetAddrOfVTT()
|
H A D | CGExprConstant.cpp | 64 Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity()); in getPadding() 69 llvm::Type *Ty = llvm::ArrayType::get(CGM.CharTy, ZeroSize.getQuantity()); in getZeroes() 327 if (isa<llvm::ArrayType>(CA->getType()) || in split() 394 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType, 412 if (llvm::ArrayType *ATy = dyn_cast<llvm::ArrayType>(DesiredTy)) { in buildFrom() 948 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType, in EmitArrayConstant() 974 llvm::ArrayType::get(CommonElementType, NonzeroLength), in EmitArrayConstant() 984 FillerType = llvm::ArrayType::get(FillerType, TrailingZeroes); in EmitArrayConstant() 997 llvm::ArrayType::get(CommonElementType, ArrayBound), Elements); in EmitArrayConstant() 1094 Ty = llvm::ArrayType::get(Ty, NumPadBytes); in VisitCastExpr() [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | SanitizerStats.cpp | 24 StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2); in SanitizerStatReport() 31 ArrayType *SanitizerStatReport::makeModuleStatsArrayTy() { in makeModuleStatsArrayTy() 32 return ArrayType::get(StatTy, Inits.size()); in makeModuleStatsArrayTy() 46 ArrayType *StatTy = ArrayType::get(Int8PtrTy, 2); in create()
|
H A D | ModuleUtils.cpp | 60 ArrayType *AT = ArrayType::get(EltTy, CurrentCtors.size()); in appendToGlobalArray() 102 ArrayType *ATy = ArrayType::get(ArrayEltTy, Init.size()); in appendToUsedList() 126 Type *ArrayEltTy = cast<ArrayType>(GV->getValueType())->getElementType(); in removeFromUsedList() 135 ArrayType *ATy = ArrayType::get(ArrayEltTy, NewInit.size()); in removeFromUsedList() 397 ArrayType *FuncPtrTableTy = in lowerGlobalIFuncUsersAsGlobalCtor() 398 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()
|
/openbsd-src/gnu/llvm/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() 125 ArrayType *AT = dyn_cast<ArrayType>(Ty); in isZeroLengthArray() 140 ArrayType *NewType = createLoweredType(GV->getValueType()); in lowerGlobal()
|
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
H A D | InstrOrderFile.cpp | 53 ArrayType *BufferTy; 54 ArrayType *MapTy; 68 ArrayType::get(Type::getInt64Ty(Ctx), INSTR_ORDER_FILE_BUFFER_SIZE); in createOrderFileData() 70 MapTy = ArrayType::get(Type::getInt8Ty(Ctx), NumFunctions); in createOrderFileData()
|
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
H A D | SanitizerStats.h | 45 ArrayType *StatTy; 49 ArrayType *makeModuleStatsArrayTy();
|
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 357 class ArrayType : public Type { 363 ArrayType(Type *ElType, uint64_t NumEl); 366 ArrayType(const ArrayType &) = delete; 367 ArrayType &operator=(const ArrayType &) = delete; 373 static ArrayType *get(Type *ElementType, uint64_t NumElements); 385 return cast<ArrayType>(this)->getNumElements(); in getArrayNumElements()
|
H A D | Constants.h | 413 ConstantArray(ArrayType *T, ArrayRef<Constant *> Val); 420 static Constant *get(ArrayType *T, ArrayRef<Constant *> V); 423 static Constant *getImpl(ArrayType *T, ArrayRef<Constant *> V); 428 inline ArrayType *getType() const { 429 return cast<ArrayType>(Value::getType()); 712 Type *Ty = ArrayType::get(ElementTy, NumElements); 736 inline ArrayType *getType() const { 737 return cast<ArrayType>(Value::getType());
|
/openbsd-src/gnu/llvm/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;
|
/openbsd-src/gnu/llvm/clang/lib/AST/ |
H A D | StmtIterator.cpp | 26 while (const ArrayType *vt = dyn_cast<ArrayType>(t)) { in FindVA()
|
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 53 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeLinearIndex() 102 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeValueVTs() 147 if (ArrayType *ATy = dyn_cast<ArrayType>(&Ty)) { in computeValueLLTs() 410 if (ArrayType *AT = dyn_cast<ArrayType>(T)) in indexReallyValid()
|
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/ |
H A D | Program.cpp | 145 QualType Ty = ASTCtx.getIncompleteArrayType(ElemTy, ArrayType::Normal, 0); in getOrCreateDummy() 323 if (auto ArrayType = Ty->getAsArrayTypeUnsafe()) { in createDescriptor() local 324 QualType ElemTy = ArrayType->getElementType(); in createDescriptor() 326 if (auto CAT = dyn_cast<ConstantArrayType>(ArrayType)) { in createDescriptor() 354 if (isa<IncompleteArrayType>(ArrayType)) { in createDescriptor()
|
/openbsd-src/gnu/llvm/llvm/lib/IR/ |
H A D | Type.cpp | 147 if (auto *ATy = dyn_cast<ArrayType>(this)) { in isEmptyTy() 208 if (auto *ATy = dyn_cast<ArrayType>(this)) in isSizedDerivedType() 633 ArrayType::ArrayType(Type *ElType, uint64_t NumEl) in ArrayType() function in ArrayType 640 ArrayType *ArrayType::get(Type *ElementType, uint64_t NumElements) { in get() 644 ArrayType *&Entry = in get() 648 Entry = new (pImpl->Alloc) ArrayType(ElementType, NumElements); in get() 652 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType()
|
H A D | Constants.cpp | 1071 if (auto *AT = dyn_cast<ArrayType>(getType())) in getSequentialElement() 1081 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue() 1087 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue() 1094 if (auto *AT = dyn_cast<ArrayType>(Ty)) in getElementCount() 1106 if (ArrayType *ATy = dyn_cast<ArrayType>(getType())) in getSequentialElement() 1116 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue() 1122 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue() 1129 if (auto *AT = dyn_cast<ArrayType>(Ty)) in getNumElements() 1141 if (ArrayType *ATy = dyn_cast<ArrayType>(getType())) in getSequentialElement() 1151 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue() [all …]
|
/openbsd-src/gnu/llvm/clang/tools/clang-linker-wrapper/ |
H A D | OffloadWrapper.cpp | 169 ConstantAggregateZero::get(ArrayType::get(getEntryTy(M), 0u)); in createBinDesc() 205 ArrayType::get(getDeviceImageTy(M), ImagesInits.size()), ImagesInits); in createBinDesc() 334 ConstantAggregateZero::get(ArrayType::get(getEntryTy(M), 0u)); in createFatbinDesc() 393 new GlobalVariable(M, ArrayType::get(getEntryTy(M), 0), in createRegisterGlobalsFunction() 400 new GlobalVariable(M, ArrayType::get(getEntryTy(M), 0), in createRegisterGlobalsFunction() 499 ArrayType::get(getEntryTy(M), 0), EntriesE, in createRegisterGlobalsFunction() 504 ArrayType::get(getEntryTy(M), 0), EntriesB, in createRegisterGlobalsFunction()
|
/openbsd-src/gnu/llvm/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()
|
/openbsd-src/gnu/llvm/llvm/lib/Linker/ |
H A D | IRMover.cpp | 187 } 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() 793 ArrayType *DAT = cast<ArrayType>(DGV->getValueType()); in computeTypeMapping() 794 ArrayType *SAT = cast<ArrayType>(SGV.getValueType()); in computeTypeMapping() 870 unsigned NumElements = cast<ArrayType>(C->getType())->getNumElements(); in getArrayElements() 916 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getValueType())) in linkAppendingVarProto() 942 ArrayType *DstTy = cast<ArrayType>(DstGV->getValueType()); in linkAppendingVarProto() 964 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto()
|
/openbsd-src/gnu/llvm/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};
|
/openbsd-src/gnu/llvm/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 122 return cast<ArrayType>(C->getType())->getNumElements() == 1; in IsNullTerminatedString() 266 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { in getKindForGlobal()
|
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/ |
H A D | PDBSymbolTypeArray.h | 20 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::ArrayType)
|
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
H A D | DeadArgumentElimination.cpp | 339 if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) in numRetVals() 353 if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) in getRetComponentType() 812 assert(isa<ArrayType>(RetTy) && "unexpected multi-value return"); in removeDeadStuffFromFunction() 813 NRetTy = ArrayType::get(RetTypes[0], RetTypes.size()); in removeDeadStuffFromFunction()
|
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetObjectFile.cpp | 241 if (isa<ArrayType>(GType)) { in isGlobalInSmallSection() 307 const ArrayType *ATy = cast<const ArrayType>(Ty); in getSmallestAddressableSize()
|