Home
last modified time | relevance | path

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

123456789

/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGVTT.cpp45 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()
118 llvm::ArrayType *ArrayType = in GetAddrOfVTT() local
119 llvm::ArrayType::get(CGM.Int8PtrTy, Builder.getVTTComponents().size()); in GetAddrOfVTT()
123 Name, ArrayType, llvm::GlobalValue::ExternalLinkage, Align); in GetAddrOfVTT()
H A DCGExprConstant.cpp63 Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity()); in getPadding()
68 llvm::Type *Ty = llvm::ArrayType::get(CGM.CharTy, ZeroSize.getQuantity()); in getZeroes()
326 if (isa<llvm::ArrayType>(CA->getType()) || in split()
393 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType,
411 if (llvm::ArrayType *ATy = dyn_cast<llvm::ArrayType>(DesiredTy)) { in buildFrom()
928 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType, in EmitArrayConstant()
954 llvm::ArrayType::get(CommonElementType, NonzeroLength), in EmitArrayConstant()
964 FillerType = llvm::ArrayType::get(FillerType, TrailingZeroes); in EmitArrayConstant()
977 llvm::ArrayType::get(CommonElementType, ArrayBound), Elements); in EmitArrayConstant()
1074 Ty = llvm::ArrayType::get(Ty, NumPadBytes); in VisitCastExpr()
[all …]
/netbsd-src/external/apache2/llvm/dist/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;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp25 StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2); in SanitizerStatReport()
32 ArrayType *SanitizerStatReport::makeModuleStatsArrayTy() { in makeModuleStatsArrayTy()
33 return ArrayType::get(StatTy, Inits.size()); in makeModuleStatsArrayTy()
47 ArrayType *StatTy = ArrayType::get(Int8PtrTy, 2); in create()
H A DModuleUtils.cpp57 ArrayType *AT = ArrayType::get(EltTy, CurrentCtors.size()); in appendToGlobalArray()
100 ArrayType *ATy = ArrayType::get(Int8PtrTy, Init.size()); in appendToUsedList()
H A DCtorUtils.cpp36 ArrayType *ATy = in removeGlobalCtors()
37 ArrayType::get(OldCA->getType()->getElementType(), CAList.size()); in removeGlobalCtors()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp65 static ArrayType *createLoweredType(Type *OriginalType) { in createLoweredType()
66 return ArrayType::get(OriginalType, MaxThreads); in createLoweredType()
70 createLoweredInitializer(ArrayType *NewType, Constant *OriginalInitializer) { in createLoweredInitializer()
126 ArrayType *AT = dyn_cast<ArrayType>(Ty); in isZeroLengthArray()
141 ArrayType *NewType = createLoweredType(GV->getValueType()); in lowerGlobal()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DInstrOrderFile.cpp61 ArrayType *BufferTy;
62 ArrayType *MapTy;
76 ArrayType::get(Type::getInt64Ty(Ctx), INSTR_ORDER_FILE_BUFFER_SIZE); in createOrderFileData()
78 MapTy = ArrayType::get(Type::getInt8Ty(Ctx), NumFunctions); in createOrderFileData()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDerivedTypes.h359 class ArrayType : public Type {
365 ArrayType(Type *ElType, uint64_t NumEl);
368 ArrayType(const ArrayType &) = delete;
369 ArrayType &operator=(const ArrayType &) = delete;
375 static ArrayType *get(Type *ElementType, uint64_t NumElements);
387 return cast<ArrayType>(this)->getNumElements(); in getArrayNumElements()
H A DConstants.h411 ConstantArray(ArrayType *T, ArrayRef<Constant *> Val);
418 static Constant *get(ArrayType *T, ArrayRef<Constant *> V);
421 static Constant *getImpl(ArrayType *T, ArrayRef<Constant *> V);
426 inline ArrayType *getType() const {
427 return cast<ArrayType>(Value::getType());
711 Type *Ty = ArrayType::get(ElementTy, NumElements);
735 inline ArrayType *getType() const {
736 return cast<ArrayType>(Value::getType());
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DSanitizerStats.h45 ArrayType *StatTy;
49 ArrayType *makeModuleStatsArrayTy();
/netbsd-src/external/apache2/llvm/dist/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;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DType.cpp106 if (auto *ATy = dyn_cast<ArrayType>(this)) { in isEmptyTy()
167 if (auto *ATy = dyn_cast<ArrayType>(this)) in isSizedDerivedType()
591 ArrayType::ArrayType(Type *ElType, uint64_t NumEl) in ArrayType() function in ArrayType
598 ArrayType *ArrayType::get(Type *ElementType, uint64_t NumElements) { in get()
602 ArrayType *&Entry = in get()
606 Entry = new (pImpl->Alloc) ArrayType(ElementType, NumElements); in get()
610 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType()
H A DConstants.cpp1084 if (auto *AT = dyn_cast<ArrayType>(getType())) in getSequentialElement()
1094 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue()
1100 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue()
1107 if (auto *AT = dyn_cast<ArrayType>(Ty)) in getElementCount()
1119 if (ArrayType *ATy = dyn_cast<ArrayType>(getType())) in getSequentialElement()
1129 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue()
1135 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue()
1142 if (auto *AT = dyn_cast<ArrayType>(Ty)) in getNumElements()
1154 if (ArrayType *ATy = dyn_cast<ArrayType>(getType())) in getSequentialElement()
1164 if (isa<ArrayType>(getType()) || isa<VectorType>(getType())) in getElementValue()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DProgram.cpp127 QualType Ty = ASTCtx.getIncompleteArrayType(ElemTy, ArrayType::Normal, 0); in getOrCreateDummy()
306 if (auto ArrayType = Ty->getAsArrayTypeUnsafe()) { in createDescriptor() local
307 QualType ElemTy = ArrayType->getElementType(); in createDescriptor()
309 if (auto CAT = dyn_cast<ConstantArrayType>(ArrayType)) { in createDescriptor()
336 if (isa<IncompleteArrayType>(ArrayType)) { in createDescriptor()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DAnalysis.cpp56 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeLinearIndex()
105 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeValueVTs()
150 if (ArrayType *ATy = dyn_cast<ArrayType>(&Ty)) { in computeValueLLTs()
388 if (ArrayType *AT = dyn_cast<ArrayType>(T)) in indexReallyValid()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Linker/
H A DIRMover.cpp177 } else if (auto *DArrTy = dyn_cast<ArrayType>(DstTy)) { in areTypesIsomorphic()
178 if (DArrTy->getNumElements() != cast<ArrayType>(SrcTy)->getNumElements()) in areTypesIsomorphic()
298 return *Entry = ArrayType::get(ElementTypes[0], in get()
299 cast<ArrayType>(Ty)->getNumElements()); in get()
768 ArrayType *DAT = cast<ArrayType>(DGV->getValueType()); in computeTypeMapping()
769 ArrayType *SAT = cast<ArrayType>(SGV.getValueType()); in computeTypeMapping()
845 unsigned NumElements = cast<ArrayType>(C->getType())->getNumElements(); in getArrayElements()
887 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getValueType())) in linkAppendingVarProto()
913 ArrayType *DstTy = cast<ArrayType>(DstGV->getValueType()); in linkAppendingVarProto()
935 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmtIterator.cpp26 while (const ArrayType *vt = dyn_cast<ArrayType>(t)) { in FindVA()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp77 ArrayType *ATy = in removeFromUsedList()
78 ArrayType::get(Type::getInt8PtrTy(M.getContext()), Init.size()); in removeFromUsedList()
191 Type *ATy = ArrayType::get(Type::getInt8Ty(Ctx), Padding); in runOnModule()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DBinaryStreamArray.h158 typedef VarStreamArray<ValueType, Extractor> ArrayType; typedef
161 VarStreamArrayIterator(const ArrayType &Array, const Extractor &E, in VarStreamArrayIterator()
248 const ArrayType *Array{nullptr};
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp124 return cast<ArrayType>(C->getType())->getNumElements() == 1; in IsNullTerminatedString()
261 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { in getKindForGlobal()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp138 Types.push_back(cast<ArrayType>(Ty)->getElementType()); in isLeakCheckerRoot()
147 if (isa<StructType>(InnerTy) || isa<ArrayType>(InnerTy) || in isLeakCheckerRoot()
446 return isa<ArrayType>(T) || isa<VectorType>(T); in IsSRASequential()
449 if (ArrayType *AT = dyn_cast<ArrayType>(T)) in GetSRASequentialNumElements()
454 if (ArrayType *AT = dyn_cast<ArrayType>(T)) in GetSRASequentialElementType()
898 GlobalType = ArrayType::get(AllocTy, NElements->getZExtValue()); in OptimizeGlobalAddressOfMalloc()
2063 if (ArrayType *ATy = dyn_cast<ArrayType>(Init->getType())) in EvaluateStoreInto()
2077 return ConstantArray::get(cast<ArrayType>(Init->getType()), Elts); in EvaluateStoreInto()
2186 else if (ArrayType *ArrTy = dyn_cast<ArrayType>(CurrentInitTy)) in BatchCommitValueTo()
2199 else if (auto *ATy = dyn_cast<ArrayType>(Ty)) in BatchCommitValueTo()
[all …]
H A DDeadArgumentElimination.cpp335 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) in NumRetVals()
350 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) in getRetComponentType()
825 assert(isa<ArrayType>(RetTy) && "unexpected multi-value return"); in RemoveDeadStuffFromFunction()
826 NRetTy = ArrayType::get(RetTypes[0], RetTypes.size()); in RemoveDeadStuffFromFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp242 if (isa<ArrayType>(GType)) { in isGlobalInSmallSection()
308 const ArrayType *ATy = cast<const ArrayType>(Ty); in getSmallestAddressableSize()
/netbsd-src/external/apache2/llvm/dist/clang/utils/ABITest/
H A DTypeGen.py118 class ArrayType(Type): class
309 return ArrayType(N, True, self.typeGen.get(T), self.sizes[S])
323 return ArrayType(N, false, self.typeGen.get(T), self.sizes[S])
351 return ArrayType(N, False, self.typeGen.get(T), size)

123456789