/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CastSizeChecker.cpp | 65 if (const ConstantArrayType *ArrayTy = in evenFlexibleArraySize() local 68 if (ArrayTy->getSize() == 1 && TypeSize > FlexSize) in evenFlexibleArraySize() 70 else if (ArrayTy->getSize() != 0) in evenFlexibleArraySize()
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 304 ArrayType *ArrayTy = ArrayType::get(IntTy, 2); in TEST() local 307 Constant *A01 = ConstantArray::get(ArrayTy, A01Vals); in TEST() 313 Constant *A0G = ConstantArray::get(ArrayTy, A0GVals); in TEST() 317 new GlobalVariable(*M, ArrayTy, false, GlobalValue::ExternalLinkage, A0G); in TEST() 399 ArrayType *ArrayTy = ArrayType::get(T, 2); in TEST() local 401 Constant *CDV = ConstantArray::get(ArrayTy, Vals); in TEST() 408 ArrayType *ArrayTy = ArrayType::get(T, 2); in TEST() local 410 Constant *CDV = ConstantArray::get(ArrayTy, Vals); in TEST()
|
/external/clang/test/Layout/ |
D | ms-x86-basic-layout.cpp | 804 typedef A4 ArrayTy[2]; typedef 805 ArrayTy InlineElts[2];
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPromoteAlloca.cpp | 104 static VectorType *arrayTypeToVecType(Type *ArrayTy) { in arrayTypeToVecType() argument 105 return VectorType::get(ArrayTy->getArrayElementType(), in arrayTypeToVecType() 106 ArrayTy->getArrayNumElements()); in arrayTypeToVecType()
|
/external/clang/lib/CodeGen/ |
D | CGStmtOpenMP.cpp | 205 auto ArrayTy = OriginalType->getAsArrayTypeUnsafe(); in EmitOMPAggregateAssign() local 206 auto NumElements = emitArrayLength(ArrayTy, ElementTy, DestAddr); in EmitOMPAggregateAssign() 269 auto ArrayTy = Type->getAsArrayTypeUnsafe(); in EmitOMPAggregateInit() local 270 auto NumElements = CGF.emitArrayLength(ArrayTy, ElementTy, DestAddr); in EmitOMPAggregateInit()
|
D | CGObjCGNU.cpp | 227 llvm::ArrayType *ArrayTy = llvm::ArrayType::get(Ty, V.size()); in MakeGlobalArray() local 228 return MakeGlobal(ArrayTy, V, Align, Name, linkage); in MakeGlobalArray()
|
D | CGOpenMPRuntime.cpp | 2672 auto ArrayTy = Type->getAsArrayTypeUnsafe(); in EmitOMPAggregateReduction() local 2673 auto NumElements = CGF.emitArrayLength(ArrayTy, ElementTy, LHSAddr); in EmitOMPAggregateReduction()
|
D | CodeGenFunction.h | 1864 const ConstantArrayType *ArrayTy,
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 423 CAMLprim value llvm_array_length(LLVMTypeRef ArrayTy) { in llvm_array_length() argument 424 return Val_int(LLVMGetArrayLength(ArrayTy)); in llvm_array_length()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 2271 QualType ArrayTy = PVD->getOriginalType(); in BuildCXXForRangeStmt() local 2273 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt() 2275 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
|
D | SemaDeclCXX.cpp | 9861 const ConstantArrayType *ArrayTy = S.Context.getAsConstantArrayType(T); in buildSingleCopyAssignRecursively() local 9862 if (!ArrayTy) { in buildSingleCopyAssignRecursively() 9917 buildSingleCopyAssignRecursively(S, Loc, ArrayTy->getElementType(), in buildSingleCopyAssignRecursively() 9926 = ArrayTy->getSize().zextOrTrunc(S.Context.getTypeSize(SizeType)); in buildSingleCopyAssignRecursively()
|
D | SemaChecking.cpp | 8561 const ConstantArrayType *ArrayTy = in CheckArrayAccess() local 8563 if (!ArrayTy) in CheckArrayAccess() 8579 llvm::APInt size = ArrayTy->getSize(); in CheckArrayAccess()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 966 unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy);
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 4266 ArrayType *ArrayTy = ArrayType::get(ValueType, TableSize); in SwitchLookupTable() local 4267 Constant *Initializer = ConstantArray::get(ArrayTy, TableContents); in SwitchLookupTable() 4269 Array = new GlobalVariable(M, ArrayTy, /*constant=*/ true, in SwitchLookupTable()
|
/external/llvm/lib/IR/ |
D | Core.cpp | 504 unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy) { in LLVMGetArrayLength() argument 505 return unwrap<ArrayType>(ArrayTy)->getNumElements(); in LLVMGetArrayLength()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 1371 if (ArrayType *ArrayTy = dyn_cast<ArrayType>(ElementTy)) { in getNaturalGEPWithType() local 1372 ElementTy = ArrayTy->getElementType(); in getNaturalGEPWithType()
|