/external/clang/test/Index/ |
H A D | print-typekind.c | 8 typedef int ArrayType[5]; typedef 28 // CHECK: TypedefDecl=ArrayType:8:13 (Definition) typekind=Typedef [canonical=ConstantArray] [isPOD=1]
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | StdLibExtras.h | 129 template<typename ArrayType, typename KeyType, KeyType(*extractKey)(ArrayType*)> 130 inline ArrayType* binarySearch(ArrayType* array, size_t size, KeyType key)
|
/external/llvm/lib/Transforms/Utils/ |
H A D | ModuleUtils.cpp | 48 ArrayType *AT = ArrayType::get(RuntimeCtorInit->getType(),
|
/external/clang/lib/CodeGen/ |
H A D | CGVTT.cpp | 47 llvm::ArrayType *ArrayType = local 48 llvm::ArrayType::get(Int8PtrTy, Builder.getVTTComponents().size()); 88 llvm::Constant *Init = llvm::ConstantArray::get(ArrayType, VTTComponents); 113 llvm::ArrayType *ArrayType = local 114 llvm::ArrayType::get(CGM.Int8PtrTy, Builder.getVTTComponents().size()); 117 CGM.CreateOrReplaceCXXRuntimeVariable(Name, ArrayType,
|
H A D | CGVTables.cpp | 613 llvm::ArrayType *ArrayType = llvm::ArrayType::get(Int8PtrTy, NumComponents); local 614 return llvm::ConstantArray::get(ArrayType, Inits); 632 llvm::ArrayType *ArrayType = local 633 llvm::ArrayType::get(CGM.Int8PtrTy, 637 CGM.CreateOrReplaceCXXRuntimeVariable(Name, ArrayType, 688 llvm::ArrayType *ArrayType local [all...] |
H A D | CGExprConstant.cpp | 243 assert(isa<llvm::ArrayType>(LastElt->getType()) && 245 llvm::ArrayType *AT = cast<llvm::ArrayType>(LastElt->getType()); 315 Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity()); 351 Ty = llvm::ArrayType::get(Ty, NumChars.getQuantity()); 675 Ty = llvm::ArrayType::get(Ty, NumPadBytes); 767 llvm::ArrayType *AType = 768 cast<llvm::ArrayType>(ConvertType(ILE->getType())); 1077 if (isa<llvm::ArrayType>(DestTy)) { 1184 const ArrayType *CA [all...] |
/external/llvm/include/llvm/ |
H A D | DerivedTypes.h | 143 /// CompositeType - Common super class of ArrayType, StructType, PointerType 334 /// ArrayType - Class to represent array types. 336 class ArrayType : public SequentialType { class in namespace:llvm 339 ArrayType(const ArrayType &); // Do not implement 340 const ArrayType &operator=(const ArrayType &); // Do not implement 341 ArrayType(Type *ElType, uint64_t NumEl); 343 /// ArrayType::get - This static method is the primary way to construct an 344 /// ArrayType [all...] |
H A D | TypeBuilder.h | 117 static ArrayType *get(LLVMContext &Context) { 118 return ArrayType::get(TypeBuilder<T, cross>::get(Context), N); 124 static ArrayType *get(LLVMContext &Context) { 125 return ArrayType::get(TypeBuilder<T, cross>::get(Context), 0);
|
H A D | Constants.h | 32 class ArrayType; 348 friend struct ConstantArrayCreator<ConstantArray, ArrayType>; 351 ConstantArray(ArrayType *T, ArrayRef<Constant *> Val); 354 static Constant *get(ArrayType *T, ArrayRef<Constant*> V); 359 /// getType - Specialize the getType() method to always return an ArrayType, 362 inline ArrayType *getType() const { 363 return reinterpret_cast<ArrayType*>(Value::getType()); 689 /// getType - Specialize the getType() method to always return an ArrayType, 692 inline ArrayType *getType() const { 693 return reinterpret_cast<ArrayType*>(Valu [all...] |
/external/clang/lib/AST/ |
H A D | StmtIterator.cpp | 22 while (const ArrayType *vt = dyn_cast<ArrayType>(t)) {
|
H A D | Type.cpp | 69 if (const ArrayType *AT = Ctx.getAsArrayType(T)) 107 : ArrayType(DependentSizedArray, et, can, sm, tq, 179 if (const ArrayType *ATy = dyn_cast<ArrayType>(this)) 183 if (!isa<ArrayType>(CanonicalType)) 188 return cast<ArrayType>(getUnqualifiedDesugaredType()) 554 AutoType *VisitArrayType(const ArrayType *T) { 856 return isa<ArrayType>(CanonicalType); 906 return cast<ArrayType>(CanonicalType)->getElementType() 2107 return Cache::get(cast<ArrayType>( [all...] |
/external/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 179 } else if (ArrayType *DATy = dyn_cast<ArrayType>(DstTy)) { 180 if (DATy->getNumElements() != cast<ArrayType>(SrcTy)->getNumElements()) 183 if (DVTy->getNumElements() != cast<ArrayType>(SrcTy)->getNumElements()) 289 return *Entry = ArrayType::get(ElementTypes[0], 290 cast<ArrayType>(Ty)->getNumElements()); 584 ArrayType *DAT = cast<ArrayType>(DGV->getType()->getElementType()); 585 ArrayType *SAT = cast<ArrayType>( [all...] |
/external/llvm/unittests/VMCore/ |
H A D | TypeBuilderTest.cpp | 77 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(getGlobalContext()), 7), 79 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(getGlobalContext()), 0), 84 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(getGlobalContext()), 7), 86 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(getGlobalContext()), 0), 91 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(getGlobalContext()), 7), 93 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(getGlobalContext()), 0),
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | EdgeProfiling.cpp | 77 Type *ATy = ArrayType::get(Type::getInt32Ty(M.getContext()), NumEdges);
|
H A D | ProfilingUtils.cpp | 56 cast<ArrayType>(Array->getType()->getElementType())->getNumElements(); 163 *Mod, ArrayType::get(GlobalDtorElemTy, 1), false, 168 cast<ArrayType>(GlobalDtors->getType()->getElementType()), dtors));
|
H A D | OptimalEdgeProfiling.cpp | 116 ArrayType *ATy = ArrayType::get(Int32, NumEdges);
|
/external/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 95 return cast<ArrayType>(C->getType())->getNumElements() == 1; 167 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) {
|
/external/llvm/lib/VMCore/ |
H A D | Type.cpp | 116 const ArrayType *ATy = dyn_cast<ArrayType>(this); 179 if (const ArrayType *ATy = dyn_cast<ArrayType>(this)) 230 return cast<ArrayType>(this)->getNumElements(); 695 // ArrayType Implementation 698 ArrayType::ArrayType(Type *ElType, uint64_t NumEl) function in class:ArrayType 704 ArrayType *ArrayType [all...] |
H A D | ConstantFold.cpp | 334 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 393 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 458 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 844 else if (ArrayType *AT = dyn_cast<ArrayType>(Agg->getType())) 862 if (ArrayType *AT = dyn_cast<ArrayType>(Ag [all...] |
/external/clang/include/clang/AST/ |
H A D | CanonicalType.h | 518 struct CanProxyAdaptor<ArrayType> : public CanProxyBase<ArrayType> { 520 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(ArrayType::ArraySizeModifier, 529 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(ArrayType::ArraySizeModifier, 539 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(ArrayType::ArraySizeModifier, 548 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(ArrayType::ArraySizeModifier,
|
H A D | Type.h | 1198 friend class ArrayType; 1208 /// Actually an ArrayType::ArraySizeModifier. 1625 /// NOTE: getAs*ArrayType are methods on ASTContext. 1656 const ArrayType *getAsArrayTypeUnsafe() const; 1668 const ArrayType *castAsArrayTypeUnsafe() const; 2110 /// ArrayType - C99 6.7.5.2 - Array Declarators. 2112 class ArrayType : public Type, public llvm::FoldingSetNode { class in namespace:clang 2131 ArrayType(TypeClass tc, QualType et, QualType can, function in class:clang::ArrayType 2163 static bool classof(const ArrayType *) { return true; } 2170 class ConstantArrayType : public ArrayType { [all...] |
/external/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 56 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 92 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
|
H A D | StackProtector.cpp | 107 if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) {
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 818 if (ArrayType *AT = dyn_cast<ArrayType>(ToType)) { 946 if (ArrayType *AT = dyn_cast<ArrayType>(SV->getType())) { 1459 if (ArrayType *AT = dyn_cast<ArrayType>(T)) 1553 ArrayType *AT = cast<ArrayType>(AI->getAllocatedType()); 1760 if (ArrayType *AT = dyn_cast<ArrayType>( [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 783 } else if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) { 944 if (ArrayType *CATy = 945 dyn_cast<ArrayType>(CPTy->getElementType())) { 956 if (ArrayType *XATy = 957 dyn_cast<ArrayType>(StrippedPtrTy->getElementType())){ 977 TD->getTypeAllocSize(cast<ArrayType>(SrcElTy)->getElementType()) == 996 TD->getTypeAllocSize(cast<ArrayType>(SrcElTy)->getElementType()); 1509 cast<ArrayType>(LHS->getType())->getNumElements() 1511 cast<ArrayType>(RH [all...] |