/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | PatternInit.cpp | 65 auto *ArrTy = cast<llvm::ArrayType>(Ty); in initializationPatternFor() local 67 ArrTy->getNumElements(), in initializationPatternFor() 68 initializationPatternFor(CGM, ArrTy->getElementType())); in initializationPatternFor() 69 return llvm::ConstantArray::get(ArrTy, Element); in initializationPatternFor()
|
H A D | CGCall.cpp | 3064 if (const auto *ArrTy = in EmitFunctionProlog() local 3070 if (ArrTy->getSizeModifier() == ArraySizeModifier::Static) { in EmitFunctionProlog() 3071 QualType ETy = ArrTy->getElementType(); in EmitFunctionProlog() 3075 uint64_t ArrSize = ArrTy->getZExtSize(); in EmitFunctionProlog() 3089 } else if (const auto *ArrTy = in EmitFunctionProlog() local 3094 if (ArrTy->getSizeModifier() == ArraySizeModifier::Static) { in EmitFunctionProlog() 3095 QualType ETy = ArrTy->getElementType(); in EmitFunctionProlog()
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | Value.cpp | 138 if (const auto *ArrTy = in Value() local 140 DtorTy = ArrTy->getElementType(); in Value() 143 ArrSize *= ArrTy->getSize(); in Value() 144 ArrTy = llvm::dyn_cast<ConstantArrayType>( in Value() 145 ArrTy->getElementType().getTypePtr()); in Value() 146 } while (ArrTy); in Value()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PaddingChecker.cpp | 115 const ArrayType *ArrTy = VD->getType()->getAsArrayTypeUnsafe(); in visitVariable() local 116 if (ArrTy == nullptr) in visitVariable() 119 if (const ConstantArrayType *CArrTy = dyn_cast<ConstantArrayType>(ArrTy)) in visitVariable() 123 const RecordType *RT = ArrTy->getElementType()->getAs<RecordType>(); in visitVariable()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILResource.cpp | 61 if (auto *ArrTy = dyn_cast<ArrayType>(GV->getValueType())) in ResourceBase() local 62 RangeSize = ArrTy->getNumElements(); in ResourceBase()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Operator.h | 354 while (ArrayType *ArrTy = dyn_cast<ArrayType>(Ty)) 355 Ty = ArrTy->getElementType();
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | AArch64.cpp | 554 if (llvm::ArrayType *ArrTy = dyn_cast<llvm::ArrayType>(BaseTy)) { in EmitAAPCSVAArg() local 555 BaseTy = ArrTy->getElementType(); in EmitAAPCSVAArg() 556 NumRegs = ArrTy->getNumElements(); in EmitAAPCSVAArg()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DataLayout.cpp | 970 if (auto *ArrTy = dyn_cast<ArrayType>(ElemTy)) { in getGEPIndexForOffset() local 971 ElemTy = ArrTy->getElementType(); in getGEPIndexForOffset()
|
H A D | Attributes.cpp | 2093 while (ArrayType *ArrTy = dyn_cast<ArrayType>(Ty)) in isNoFPClassCompatibleType() local 2094 Ty = ArrTy->getElementType(); in isNoFPClassCompatibleType()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 622 auto *ArrTy = cast<ArrayType>(C->getType()); in getConstantValue() local 623 Type *ElemTy = ArrTy->getElementType(); in getConstantValue() 624 unsigned int elemNum = ArrTy->getNumElements(); in getConstantValue()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVEmitIntrinsics.cpp | 543 } else if (auto *ArrTy = dyn_cast<ArrayType>(OrigTy)) { in deduceNestedTypeHelper() local 545 Type *OpTy = ArrTy->getElementType(); in deduceNestedTypeHelper() 556 Type *NewTy = ArrayType::get(Ty, ArrTy->getNumElements()); in deduceNestedTypeHelper()
|
H A D | SPIRVInstructionSelector.cpp | 848 SPIRVType *ArrTy = GR.getOrCreateSPIRVArrayType(ValTy, Num, I, TII); in selectMemOperation() local 849 Register Const = GR.getOrCreateConstIntArray(Val, Num, I, ArrTy, TII); in selectMemOperation() 851 ArrTy, I, TII, SPIRV::StorageClass::UniformConstant); in selectMemOperation()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroSplit.cpp | 1612 auto *ArrTy = ArrayType::get(Part->getType(), Args.size()); in setCoroInfo() local 1614 auto *ConstVal = ConstantArray::get(ArrTy, Args); in setCoroInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerBufferFatPointers.cpp | 324 if (auto *ArrTy = dyn_cast<ArrayType>(Ty)) in remapTypeImpl() local 325 return *Entry = ArrayType::get(ElementTypes[0], ArrTy->getNumElements()); in remapTypeImpl()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Type.cpp | 1212 QualType ArrTy = VisitConstantArrayType(T); in VisitArrayParameterType() local 1213 if (ArrTy.isNull()) in VisitArrayParameterType() 1216 return Ctx.getArrayParameterType(ArrTy); in VisitArrayParameterType()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateDeduction.cpp | 4274 auto *ArrTy = S.Context.getAsArrayType(AdjustedParamType); in DeduceFromInitializerList() local 4275 if (ArrTy) in DeduceFromInitializerList() 4276 ElTy = ArrTy->getElementType(); in DeduceFromInitializerList() 4303 if (auto *DependentArrTy = dyn_cast_or_null<DependentSizedArrayType>(ArrTy)) { in DeduceFromInitializerList()
|
H A D | SemaExpr.cpp | 16536 QualType ArrTy = Context.getStringLiteralArrayType(Context.CharTy, 0); in ActOnSourceLocExpr() local 16538 Context.getPointerType(ArrTy->getAsArrayTypeUnsafe()->getElementType()); in ActOnSourceLocExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 4142 if (ArrayType *ArrTy = dyn_cast<ArrayType>(Ty)) { in stripAggregateTypeWrapping() local 4143 InnerTy = ArrTy->getElementType(); in stripAggregateTypeWrapping()
|