/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
p9.cpp | 9 const unsigned NumElements = 17; 13 int array[NumElements];
|
/external/llvm/runtime/libprofile/ |
EdgeProfiling.c | 20 static unsigned NumElements; 31 write_profiling_data(EdgeInfo, ArrayStart, NumElements); 39 unsigned *arrayStart, unsigned numElements) { 42 NumElements = numElements;
|
OptimalEdgeProfiling.c | 20 static unsigned NumElements; 31 write_profiling_data(OptEdgeInfo, ArrayStart, NumElements); 39 unsigned *arrayStart, unsigned numElements) { 42 NumElements = numElements;
|
Profiling.h | 34 unsigned NumElements);
|
CommonProfiling.c | 139 unsigned NumElements) { 146 write(outFile, &NumElements, sizeof(unsigned)) < 0 || 147 write(outFile, Start, NumElements*sizeof(unsigned)) < 0 ) {
|
/external/llvm/lib/Support/ |
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/ |
ValueTypes.h | 392 static MVT getVectorVT(MVT VT, unsigned NumElements) { 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 == 16) return MVT::v16i16 [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
ArrayBoundChecker.cpp | 57 DefinedOrUnknownSVal NumElements 61 ProgramStateRef StInBound = state->assumeInBound(Idx, NumElements, true); 62 ProgramStateRef StOutBound = state->assumeInBound(Idx, NumElements, false);
|
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/ |
TGValueTypes.cpp | 46 unsigned NumElements; 49 : ElementType(elty), NumElements(num) {} 57 return NumElements;
|
/external/llvm/include/llvm/ADT/ |
SmallPtrSet.h | 61 unsigned NumElements; 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/include/llvm/ |
DerivedTypes.h | 337 uint64_t NumElements; 346 static ArrayType *get(Type *ElementType, uint64_t NumElements); 352 uint64_t getNumElements() const { return NumElements; } 364 unsigned NumElements; 373 static VectorType *get(Type *ElementType, unsigned NumElements); 413 unsigned getNumElements() const { return NumElements; } 418 return NumElements * getElementType()->getPrimitiveSizeInBits();
|
/external/llvm/lib/VMCore/ |
Type.cpp | 118 unsigned NumElements = ATy->getNumElements(); 119 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); 124 unsigned NumElements = STy->getNumElements(); 125 for (unsigned i = 0; i < NumElements; ++i) 456 unsigned NumElements = Elements.size(); 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) { [all...] |
ValueTypes.cpp | 36 unsigned NumElements) { 38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements);
|
/external/clang/include/clang/AST/ |
ExprObjC.h | 135 unsigned NumElements; 143 explicit ObjCArrayLiteral(EmptyShell Empty, unsigned NumElements) 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 : 31 [all...] |
/external/clang/lib/CodeGen/ |
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,
|
CGExprConstant.cpp | 771 unsigned NumElements = AType->getNumElements(); 775 unsigned NumInitableElts = std::min(NumInitElements, NumElements); 779 Elts.reserve(NumInitableElts + NumElements); 801 Elts.resize(NumElements, fillC); 806 Types.reserve(NumInitableElts + NumElements); [all...] |
MicrosoftCXXABI.cpp | 96 llvm::Value *NumElements, 138 llvm::Value *numElements, 153 CGF.Builder.CreateStore(numElements, numElementsPtr);
|
ItaniumCXXABI.cpp | 116 llvm::Value *NumElements, 156 llvm::Value *NumElements, 808 llvm::Value *NumElements, [all...] |
CGExprCXX.cpp | 550 llvm::Value *&numElements, 569 // We multiply the size of all dimensions for NumElements. 570 // e.g for 'int[2][3]', ElemType is 'int' and NumElements is 6. 571 numElements = CGF.EmitScalarExpr(e->getArraySize()); 572 assert(isa<llvm::IntegerType>(numElements->getType())); 583 = cast<llvm::IntegerType>(numElements->getType()); 604 dyn_cast<llvm::ConstantInt>(numElements)) { 613 // We want to do all this arithmetic in size_t. If numElements is 628 // Scale numElements by that. This might overflow, but we don't 631 numElements = llvm::ConstantInt::get(CGF.SizeTy [all...] |
CGCXXABI.cpp | 160 llvm::Value *NumElements, 189 llvm::Value *&numElements, 199 numElements = 0; 207 numElements = readArrayCookieImpl(CGF, allocPtr, cookieSize);
|
/external/llvm/include/llvm/Target/ |
TargetData.h | 326 unsigned NumElements; 348 assert(Idx < NumElements && "Invalid element idx!");
|
/external/llvm/lib/Transforms/Instrumentation/ |
ProfilingUtils.cpp | 52 unsigned NumElements = 0; 55 NumElements = 62 Args[3] = ConstantInt::get(Type::getInt32Ty(Context), NumElements);
|
/external/llvm/lib/Target/ |
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/ |
GlobalOpt.cpp | 599 uint64_t NumElements = AT->getNumElements(); 605 if (Idx->getZExtValue() >= NumElements) 618 uint64_t NumElements; 620 NumElements = SubArrayTy->getNumElements(); 622 NumElements = SubVectorTy->getNumElements(); 630 if (!IdxVal || IdxVal->getZExtValue() >= NumElements) 699 unsigned NumElements = 0; 701 NumElements = ATy->getNumElements(); 703 NumElements = cast<VectorType>(STy)->getNumElements(); 705 if (NumElements > 16 && GV->hasNUsesOrMore(16) [all...] |