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

12345

/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/clang/lib/CodeGen/
H A DCGVTT.cpp50 llvm::ArrayType *ArrayType = local
51 llvm::ArrayType::get(Int8PtrTy, Builder.getVTTComponents().size());
91 llvm::Constant *Init = llvm::ConstantArray::get(ArrayType, VTTComponents);
118 llvm::ArrayType *ArrayType = local
119 llvm::ArrayType::get(Int8PtrTy, Builder.getVTTComponents().size());
122 CGM.CreateOrReplaceCXXRuntimeVariable(Name, ArrayType,
H A DCGVTables.cpp612 llvm::ArrayType *ArrayType = llvm::ArrayType::get(Int8PtrTy, NumComponents); local
613 return llvm::ConstantArray::get(ArrayType, Inits);
632 llvm::ArrayType *ArrayType = local
633 llvm::ArrayType::get(Int8PtrTy,
637 CGM.CreateOrReplaceCXXRuntimeVariable(Name, ArrayType,
689 llvm::ArrayType *ArrayType local
[all...]
/external/llvm/include/llvm/
H A DDerivedTypes.h143 /// CompositeType - Common super class of ArrayType, StructType, PointerType
330 /// ArrayType - Class to represent array types.
332 class ArrayType : public SequentialType { class in namespace:llvm
335 ArrayType(const ArrayType &); // Do not implement
336 const ArrayType &operator=(const ArrayType &); // Do not implement
337 ArrayType(Type *ElType, uint64_t NumEl);
339 /// ArrayType::get - This static method is the primary way to construct an
340 /// ArrayType
[all...]
/external/llvm/lib/Linker/
H A DLinkModules.cpp148 } else if (ArrayType *DATy = dyn_cast<ArrayType>(DstTy)) {
149 if (DATy->getNumElements() != cast<ArrayType>(SrcTy)->getNumElements())
152 if (DVTy->getNumElements() != cast<ArrayType>(SrcTy)->getNumElements())
257 return *Entry = ArrayType::get(ElementTypes[0],
258 cast<ArrayType>(Ty)->getNumElements());
532 ArrayType *DAT = cast<ArrayType>(DGV->getType()->getElementType());
533 ArrayType *SAT = cast<ArrayType>(
[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())
532 AutoType *VisitArrayType(const ArrayType *T) {
884 return isa<ArrayType>(CanonicalType);
921 return cast<ArrayType>(CanonicalType)->getElementType()->isIncompleteType();
2102 return Cache::get(cast<ArrayType>(
[all...]
H A DMicrosoftMangle.cpp68 void mangleType(const ArrayType *T, bool IsGlobal);
241 mangleType(cast<ArrayType>(Ty.getTypePtr()), true);
928 void MicrosoftCXXNameMangler::mangleType(const ArrayType *T, bool IsGlobal) {
938 mangleType(static_cast<const ArrayType *>(T), false);
941 mangleType(static_cast<const ArrayType *>(T), false);
944 mangleType(static_cast<const ArrayType *>(T), false);
947 mangleType(static_cast<const ArrayType *>(T), false);
/external/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp78 ArrayType *ATy = cast<ArrayType>(C->getType());
173 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) {
/external/llvm/unittests/Support/
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/CodeGen/
H A DStackProtector.cpp126 if (ArrayType *AT = dyn_cast<ArrayType>(AI->getAllocatedType())) {
H A DAnalysis.cpp55 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
91 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
/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/VMCore/
H A DType.cpp114 const ArrayType *ATy = dyn_cast<ArrayType>(this);
175 if (const ArrayType *ATy = dyn_cast<ArrayType>(this))
615 // ArrayType Implementation
618 ArrayType::ArrayType(Type *ElType, uint64_t NumEl) function in class:ArrayType
624 ArrayType *ArrayType::get(Type *elementType, uint64_t NumElements) {
629 ArrayType *
[all...]
H A DLLVMContextImpl.h144 ArrayType, ConstantArray, true /*largekey*/> ArrayConstantsTy;
189 DenseMap<std::pair<Type *, uint64_t>, ArrayType*> ArrayTypes;
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp774 } else if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) {
929 if (ArrayType *CATy =
930 dyn_cast<ArrayType>(CPTy->getElementType())) {
941 if (ArrayType *XATy =
942 dyn_cast<ArrayType>(StrippedPtrTy->getElementType())){
962 TD->getTypeAllocSize(cast<ArrayType>(SrcElTy)->getElementType()) ==
981 TD->getTypeAllocSize(cast<ArrayType>(SrcElTy)->getElementType());
1453 cast<ArrayType>(LHS->getType())->getNumElements()
1455 cast<ArrayType>(RH
[all...]
H A DInstCombineLoadStoreAlloca.cpp42 ArrayType::get(AI.getAllocatedType(), C->getZExtValue());
109 if (ArrayType *ASrcTy = dyn_cast<ArrayType>(SrcPTy))
289 } else if (ArrayType *ATy = dyn_cast<ArrayType>(SrcPTy)) {
/external/clang/include/clang/AST/
H A DCanonicalType.h515 struct CanProxyAdaptor<ArrayType> : public CanProxyBase<ArrayType> {
517 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(ArrayType::ArraySizeModifier,
526 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(ArrayType::ArraySizeModifier,
536 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(ArrayType::ArraySizeModifier,
545 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(ArrayType::ArraySizeModifier,
H A DType.h1123 friend class ArrayType;
1133 /// Actually an ArrayType::ArraySizeModifier.
1538 /// NOTE: getAs*ArrayType are methods on ASTContext.
1569 const ArrayType *getAsArrayTypeUnsafe() const;
1581 const ArrayType *castAsArrayTypeUnsafe() const;
2001 /// ArrayType - C99 6.7.5.2 - Array Declarators.
2003 class ArrayType : public Type, public llvm::FoldingSetNode { class in namespace:clang
2022 ArrayType(TypeClass tc, QualType et, QualType can, function in class:clang::ArrayType
2054 static bool classof(const ArrayType *) { return true; }
2061 class ConstantArrayType : public ArrayType {
[all...]
/external/llvm/include/llvm/Support/
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);
/external/llvm/lib/Target/PTX/
H A DPTXAsmPrinter.cpp330 ArrayType* arrayTy = dyn_cast<ArrayType>(elementTy);
337 arrayTy = dyn_cast<ArrayType>(elementTy);
385 if (ArrayType::classof(gv->getType()) ||
/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp720 if (ArrayType *AT = dyn_cast<ArrayType>(ToType)) {
827 if (ArrayType *AT = dyn_cast<ArrayType>(SV->getType())) {
1343 if (ArrayType *AT = dyn_cast<ArrayType>(T))
1458 ArrayType *AT = cast<ArrayType>(AI->getAllocatedType());
1645 if (ArrayType *AT = dyn_cast<ArrayType>(
[all...]

Completed in 874 milliseconds

12345