Searched refs:ArrayType (Results 1 - 25 of 129) sorted by relevance

123456

/external/clang/test/Index/
H A Dprint-typekind.c8 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 DStdLibExtras.h129 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 DModuleUtils.cpp48 ArrayType *AT = ArrayType::get(RuntimeCtorInit->getType(),
/external/clang/lib/CodeGen/
H A DCGVTT.cpp47 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 DCGVTables.cpp613 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 DCGExprConstant.cpp243 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 DDerivedTypes.h143 /// 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 DTypeBuilder.h117 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 DConstants.h32 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 DStmtIterator.cpp22 while (const ArrayType *vt = dyn_cast<ArrayType>(t)) {
H A DType.cpp69 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 DLinkModules.cpp179 } 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 DTypeBuilderTest.cpp77 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 DEdgeProfiling.cpp77 Type *ATy = ArrayType::get(Type::getInt32Ty(M.getContext()), NumEdges);
H A DProfilingUtils.cpp56 cast<ArrayType>(Array->getType()->getElementType())->getNumElements();
163 *Mod, ArrayType::get(GlobalDtorElemTy, 1), false,
168 cast<ArrayType>(GlobalDtors->getType()->getElementType()), dtors));
H A DOptimalEdgeProfiling.cpp116 ArrayType *ATy = ArrayType::get(Int32, NumEdges);
/external/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp95 return cast<ArrayType>(C->getType())->getNumElements() == 1;
167 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) {
/external/llvm/lib/VMCore/
H A DType.cpp116 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 DConstantFold.cpp334 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 DCanonicalType.h518 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 DType.h1198 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 DAnalysis.cpp56 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
92 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
H A DStackProtector.cpp107 if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) {
/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp818 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 DInstructionCombining.cpp783 } 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...]

Completed in 371 milliseconds

123456