/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
H A D | p9.cpp | 9 const unsigned NumElements = 17; member in namespace:N 13 int array[NumElements];
|
/external/llvm/runtime/libprofile/ |
H A D | EdgeProfiling.c | 20 static unsigned NumElements; variable 31 write_profiling_data(EdgeInfo, ArrayStart, NumElements); 42 NumElements = numElements;
|
H A D | OptimalEdgeProfiling.c | 20 static unsigned NumElements; variable 31 write_profiling_data(OptEdgeInfo, ArrayStart, NumElements); 42 NumElements = numElements;
|
H A D | Profiling.h | 34 unsigned NumElements);
|
H A D | CommonProfiling.c | 139 unsigned NumElements) { 146 write(outFile, &NumElements, sizeof(unsigned)) < 0 || 147 write(outFile, Start, NumElements*sizeof(unsigned)) < 0 ) { 138 write_profiling_data(enum ProfilingType PT, unsigned *Start, unsigned NumElements) argument
|
/external/llvm/lib/Support/ |
H A D | SmallPtrSet.cpp | 28 CurArraySize = NumElements > 16 ? 1 << (Log2_32_Ceil(NumElements) + 1) : 32; 29 NumElements = NumTombstones = 0; 44 for (const void **APtr = SmallArray, **E = SmallArray+NumElements; 50 if (NumElements < CurArraySize-1) { 51 SmallArray[NumElements++] = Ptr; 57 if (NumElements*4 >= CurArraySize*3) { 60 } else if (CurArraySize-(NumElements+NumTombstones) < CurArraySize/8) { 74 ++NumElements; // Track density. 81 for (const void **APtr = SmallArray, **E = SmallArray+NumElements; [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 392 static MVT getVectorVT(MVT VT, unsigned NumElements) { argument 397 if (NumElements == 2) return MVT::v2i8; 398 if (NumElements == 4) return MVT::v4i8; 399 if (NumElements == 8) return MVT::v8i8; 400 if (NumElements == 16) return MVT::v16i8; 401 if (NumElements == 32) return MVT::v32i8; 404 if (NumElements == 2) return MVT::v2i16; 405 if (NumElements == 4) return MVT::v4i16; 406 if (NumElements == 8) return MVT::v8i16; 407 if (NumElements 483 getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) argument [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ArrayBoundChecker.cpp | 57 DefinedOrUnknownSVal NumElements local 61 ProgramStateRef StInBound = state->assumeInBound(Idx, NumElements, true); 62 ProgramStateRef StOutBound = state->assumeInBound(Idx, NumElements, false);
|
H A D | ReturnPointerRangeChecker.cpp | 57 DefinedOrUnknownSVal NumElements 61 ProgramStateRef StInBound = state->assumeInBound(Idx, NumElements, true); 62 ProgramStateRef StOutBound = state->assumeInBound(Idx, NumElements, false);
|
/external/llvm/utils/TableGen/ |
H A D | TGValueTypes.cpp | 46 unsigned NumElements; member in class:ExtendedVectorType 49 : ElementType(elty), NumElements(num) {} 57 return NumElements;
|
/external/llvm/include/llvm/ |
H A D | DerivedTypes.h | 337 uint64_t NumElements; member in class:llvm::ArrayType 346 static ArrayType *get(Type *ElementType, uint64_t NumElements); 352 uint64_t getNumElements() const { return NumElements; } 364 unsigned NumElements; member in class:llvm::VectorType 373 static VectorType *get(Type *ElementType, unsigned NumElements); 413 unsigned getNumElements() const { return NumElements; } 418 return NumElements * getElementType()->getPrimitiveSizeInBits();
|
/external/llvm/include/llvm/ADT/ |
H A D | SmallPtrSet.h | 61 unsigned NumElements; member in class:llvm::SmallPtrSetImpl 79 unsigned size() const { return NumElements; } 84 if (!isSmall() && NumElements*4 < CurArraySize && CurArraySize > 32) 89 NumElements = 0; 116 *const *E = SmallArray+NumElements; APtr != E; ++APtr)
|
/external/llvm/lib/VMCore/ |
H A D | Type.cpp | 118 unsigned NumElements = ATy->getNumElements(); local 119 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); 124 unsigned NumElements = STy->getNumElements(); local 125 for (unsigned i = 0; i < NumElements; ++i) 456 unsigned NumElements = Elements.size(); local 457 Type **Elts = getContext().pImpl->TypeAllocator.Allocate<Type*>(NumElements); 458 memcpy(Elts, Elements.data(), sizeof(Elements[0]) * NumElements); 461 NumContainedTys = NumElements; 700 NumElements = NumEl; 704 ArrayType *ArrayType::get(Type *elementType, uint64_t NumElements) { argument 731 get(Type *elementType, unsigned NumElements) argument [all...] |
H A D | ValueTypes.cpp | 36 unsigned NumElements) { 38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements); 35 getExtendedVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) argument
|
/external/clang/include/clang/AST/ |
H A D | ExprObjC.h | 135 unsigned NumElements; member in class:clang::ObjCArrayLiteral 143 explicit ObjCArrayLiteral(EmptyShell Empty, unsigned NumElements) argument 144 : Expr(ObjCArrayLiteralClass, Empty), NumElements(NumElements) {} 152 static ObjCArrayLiteral *CreateEmpty(ASTContext &C, unsigned NumElements); 170 unsigned getNumElements() const { return NumElements; } 174 assert((Index < NumElements) && "Arg access out of range!"); 178 assert((Index < NumElements) && "Arg access out of range!"); 189 (Stmt **)getElements() + NumElements); 239 unsigned NumElements 258 ObjCDictionaryLiteral(EmptyShell Empty, unsigned NumElements, bool HasPackExpansions) argument [all...] |
/external/llvm/include/llvm/Target/ |
H A D | TargetData.h | 326 unsigned NumElements; member in class:llvm::StructLayout 348 assert(Idx < NumElements && "Invalid element idx!");
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | ProfilingUtils.cpp | 52 unsigned NumElements = 0; local 55 NumElements = 62 Args[3] = ConstantInt::get(Type::getInt32Ty(Context), NumElements);
|
/external/clang/lib/CodeGen/ |
H A D | CGCXXABI.h | 216 /// \param NumElements - the computed number of elements, 223 llvm::Value *NumElements, 232 /// \param NumElements - an out parameter which will be initialized 242 QualType ElementType, llvm::Value *&NumElements,
|
H A D | CGExprConstant.cpp | 771 unsigned NumElements = AType->getNumElements(); local 775 unsigned NumInitableElts = std::min(NumInitElements, NumElements); 779 Elts.reserve(NumInitableElts + NumElements); 801 Elts.resize(NumElements, fillC); 806 Types.reserve(NumInitableElts + NumElements); 1185 unsigned NumElements = Value.getArraySize(); local 1189 Elts.reserve(NumElements); 1199 for (unsigned I = 0; I < NumElements; ++I) { 1214 Types.reserve(NumElements); 1222 llvm::ArrayType::get(CommonElementType, NumElements); 1475 unsigned NumElements = CAT->getSize().getZExtValue(); local [all...] |
H A D | MicrosoftCXXABI.cpp | 96 llvm::Value *NumElements,
|
H A D | ItaniumCXXABI.cpp | 116 llvm::Value *NumElements, 156 llvm::Value *NumElements, 808 llvm::Value *NumElements, 835 CGF.Builder.CreateStore(NumElements, NumElementsPtr); 874 llvm::Value *NumElements, 899 CGF.Builder.CreateStore(NumElements, CookiePtr); 806 InitializeArrayCookie(CodeGenFunction &CGF, llvm::Value *NewPtr, llvm::Value *NumElements, const CXXNewExpr *expr, QualType ElementType) argument 872 InitializeArrayCookie(CodeGenFunction &CGF, llvm::Value *NewPtr, llvm::Value *NumElements, const CXXNewExpr *expr, QualType ElementType) argument
|
H A D | CGExprCXX.cpp | 569 // We multiply the size of all dimensions for NumElements. 570 // e.g for 'int[2][3]', ElemType is 'int' and NumElements is 6. 954 llvm::Value *NumElements, 974 CGF.EmitCXXAggrConstructorCall(Ctor, NumElements, NewPtr, 985 CGF.EmitNewArrayInitializer(E, ElementType, NewPtr, NumElements); 1450 llvm::Value *NumElements; member in struct:__anon44::CallArrayDelete 1456 llvm::Value *NumElements, 1459 : Ptr(Ptr), OperatorDelete(OperatorDelete), NumElements(NumElements), 1487 Size = CGF.Builder.CreateMul(Size, NumElements); 951 EmitNewInitializer(CodeGenFunction &CGF, const CXXNewExpr *E, QualType ElementType, llvm::Value *NewPtr, llvm::Value *NumElements, llvm::Value *AllocSizeWithoutCookie) argument 1454 CallArrayDelete(llvm::Value *Ptr, const FunctionDecl *OperatorDelete, llvm::Value *NumElements, QualType ElementType, CharUnits CookieSize) argument [all...] |
H A D | CGCXXABI.cpp | 160 llvm::Value *NumElements, 158 InitializeArrayCookie(CodeGenFunction &CGF, llvm::Value *NewPtr, llvm::Value *NumElements, const CXXNewExpr *expr, QualType ElementType) argument
|
/external/llvm/lib/Target/ |
H A D | TargetData.cpp | 48 NumElements = ST->getNumElements(); 51 for (unsigned i = 0, e = NumElements; i != e; ++i) { 80 std::upper_bound(&MemberOffsets[0], &MemberOffsets[NumElements], Offset); 85 (SI+1 == &MemberOffsets[NumElements] || *(SI+1) > Offset) &&
|
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 599 uint64_t NumElements = AT->getNumElements(); local 605 if (Idx->getZExtValue() >= NumElements) 618 uint64_t NumElements; local 620 NumElements = SubArrayTy->getNumElements(); 622 NumElements = SubVectorTy->getNumElements(); 630 if (!IdxVal || IdxVal->getZExtValue() >= NumElements) 699 unsigned NumElements = 0; local 701 NumElements = ATy->getNumElements(); 703 NumElements = cast<VectorType>(STy)->getNumElements(); 705 if (NumElements > 1 1734 Value *NumElements = ConstantInt::get(IntPtrTy, AT->getNumElements()); local [all...] |