Home
last modified time | relevance | path

Searched refs:ArrayTy (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DCastSizeChecker.cpp65 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/clang/test/Layout/
Dms-x86-basic-layout.cpp804 typedef A4 ArrayTy[2]; typedef
805 ArrayTy InlineElts[2];
/external/llvm/lib/Target/R600/
DAMDGPUPromoteAlloca.cpp105 static VectorType *arrayTypeToVecType(const Type *ArrayTy) { in arrayTypeToVecType() argument
106 return VectorType::get(ArrayTy->getArrayElementType(), in arrayTypeToVecType()
107 ArrayTy->getArrayNumElements()); in arrayTypeToVecType()
/external/clang/lib/Sema/
DSemaStmt.cpp2206 QualType ArrayTy = PVD->getOriginalType(); in BuildCXXForRangeStmt() local
2208 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt()
2210 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
DSemaChecking.cpp7094 const ConstantArrayType *ArrayTy = in CheckArrayAccess() local
7096 if (!ArrayTy) in CheckArrayAccess()
7112 llvm::APInt size = ArrayTy->getSize(); in CheckArrayAccess()
DSemaDeclCXX.cpp9325 const ConstantArrayType *ArrayTy = S.Context.getAsConstantArrayType(T); in buildSingleCopyAssignRecursively() local
9326 if (!ArrayTy) { in buildSingleCopyAssignRecursively()
9381 buildSingleCopyAssignRecursively(S, Loc, ArrayTy->getElementType(), in buildSingleCopyAssignRecursively()
9390 = ArrayTy->getSize().zextOrTrunc(S.Context.getTypeSize(SizeType)); in buildSingleCopyAssignRecursively()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c421 CAMLprim value llvm_array_length(LLVMTypeRef ArrayTy) { in llvm_array_length() argument
422 return Val_int(LLVMGetArrayLength(ArrayTy)); in llvm_array_length()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3590 ArrayType *ArrayTy = ArrayType::get(ValueType, TableSize); in SwitchLookupTable() local
3591 Constant *Initializer = ConstantArray::get(ArrayTy, TableContents); in SwitchLookupTable()
3593 Array = new GlobalVariable(M, ArrayTy, /*constant=*/ true, in SwitchLookupTable()
/external/llvm/include/llvm-c/
DCore.h1048 unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy);
/external/llvm/lib/IR/
DCore.cpp486 unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy) { in LLVMGetArrayLength() argument
487 return unwrap<ArrayType>(ArrayTy)->getNumElements(); in LLVMGetArrayLength()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1303 if (ArrayType *ArrayTy = dyn_cast<ArrayType>(ElementTy)) { in getNaturalGEPWithType() local
1304 ElementTy = ArrayTy->getElementType(); in getNaturalGEPWithType()
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp223 llvm::ArrayType *ArrayTy = llvm::ArrayType::get(Ty, V.size()); in MakeGlobalArray() local
224 return MakeGlobal(ArrayTy, V, Name, linkage); in MakeGlobalArray()
DCodeGenFunction.h1626 const ConstantArrayType *ArrayTy,