Searched refs:ArrType (Results 1 – 5 of 5) sorted by relevance
102 if (ArrayType *ArrType = dyn_cast<ArrayType>(T)) in isMultiDimensionalArray() local103 return isa<ArrayType>(ArrType->getElementType()); in isMultiDimensionalArray()202 ArrayType *ArrType = cast<ArrayType>(AI.getAllocatedType()); in visitAllocaInst() local204 auto [TotalElements, BaseType] = getElementCountAndType(ArrType); in visitAllocaInst()432 ArrayType *ArrType = cast<ArrayType>(OrigType); in flattenGlobalArrays() local434 DXILFlattenArraysVisitor::getElementCountAndType(ArrType); in flattenGlobalArrays()
124 if (ArrayType *ArrType = dyn_cast<ArrayType>(T)) in isVectorOrArrayOfVectors() local125 return isa<VectorType>(ArrType->getElementType()) || in isVectorOrArrayOfVectors()126 isVectorOrArrayOfVectors(ArrType->getElementType()); in isVectorOrArrayOfVectors()
2309 const QualType ArrType = Context.getBaseElementType(T); in BuildArrayType() local2310 if (ArrType->isBlockPointerType() || ArrType->isPipeType() || in BuildArrayType()2311 ArrType->isSamplerT() || ArrType->isImageType()) { in BuildArrayType()2312 Diag(Loc, diag::err_opencl_invalid_type_array) << ArrType; in BuildArrayType()
3808 auto *ArrType = llvm::ArrayType::get(PtrType, Classes.size() + 1); in getBaseClassArray() local3810 new llvm::GlobalVariable(Module, ArrType, in getBaseClassArray()3822 BCA->setInitializer(llvm::ConstantArray::get(ArrType, BaseClassArrayData)); in getBaseClassArray()
4821 const auto *ArrType = T->getAsArrayTypeUnsafe(); in visitAPValueInitializer() local4822 QualType ElemType = ArrType->getElementType(); in visitAPValueInitializer()