/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 | 129 unsigned NumElements) { 136 write(outFile, &NumElements, sizeof(unsigned)) < 0 || 137 write(outFile, Start, NumElements*sizeof(unsigned)) < 0 ) {
|
/external/llvm/lib/Support/ |
SmallPtrSet.cpp | 26 CurArraySize = NumElements > 16 ? 1 << (Log2_32_Ceil(NumElements) + 1) : 32; 27 NumElements = NumTombstones = 0; 42 for (const void **APtr = SmallArray, **E = SmallArray+NumElements; 48 if (NumElements < CurArraySize-1) { 49 SmallArray[NumElements++] = Ptr; 55 if (NumElements*4 >= CurArraySize*3) { 58 } else if (CurArraySize-(NumElements+NumTombstones) < CurArraySize/8) { 72 ++NumElements; // Track density. 79 for (const void **APtr = SmallArray, **E = SmallArray+NumElements; [all...] |
/external/llvm/include/llvm/CodeGen/ |
ValueTypes.h | 334 static MVT getVectorVT(MVT VT, unsigned NumElements) { 339 if (NumElements == 2) return MVT::v2i8; 340 if (NumElements == 4) return MVT::v4i8; 341 if (NumElements == 8) return MVT::v8i8; 342 if (NumElements == 16) return MVT::v16i8; 343 if (NumElements == 32) return MVT::v32i8; 346 if (NumElements == 2) return MVT::v2i16; 347 if (NumElements == 4) return MVT::v4i16; 348 if (NumElements == 8) return MVT::v8i16; 349 if (NumElements == 16) return MVT::v16i16 [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
ArrayBoundChecker.cpp | 57 DefinedOrUnknownSVal NumElements 61 const ProgramState *StInBound = state->assumeInBound(Idx, NumElements, true); 62 const ProgramState *StOutBound = state->assumeInBound(Idx, NumElements, false);
|
ReturnPointerRangeChecker.cpp | 57 DefinedOrUnknownSVal NumElements 61 const ProgramState *StInBound = state->assumeInBound(Idx, NumElements, true); 62 const ProgramState *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 | 333 uint64_t NumElements; 342 static ArrayType *get(Type *ElementType, uint64_t NumElements); 348 uint64_t getNumElements() const { return NumElements; } 360 unsigned NumElements; 369 static VectorType *get(Type *ElementType, unsigned NumElements); 408 unsigned getNumElements() const { return NumElements; } 412 return NumElements * getElementType()->getPrimitiveSizeInBits();
|
/external/llvm/lib/VMCore/ |
Type.cpp | 116 unsigned NumElements = ATy->getNumElements(); 117 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); 122 unsigned NumElements = STy->getNumElements(); 123 for (unsigned i = 0; i < NumElements; ++i) 620 NumElements = NumEl; 624 ArrayType *ArrayType::get(Type *elementType, uint64_t NumElements) { 630 pImpl->ArrayTypes[std::make_pair(ElementType, NumElements)]; 633 Entry = new (pImpl->TypeAllocator) ArrayType(ElementType, NumElements); 648 NumElements = NumEl; 651 VectorType *VectorType::get(Type *elementType, unsigned NumElements) { [all...] |
ValueTypes.cpp | 36 unsigned NumElements) { 38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements);
|
/external/clang/lib/CodeGen/ |
CGCXXABI.h | 199 /// \param NumElements - the computed number of elements, 205 llvm::Value *NumElements, 214 /// \param NumElements - an out parameter which will be initialized 224 QualType ElementType, llvm::Value *&NumElements,
|
CGCXXABI.cpp | 150 llvm::Value *NumElements, 160 llvm::Value *&NumElements, 165 NumElements = 0;
|
ItaniumCXXABI.cpp | 115 llvm::Value *NumElements, 120 QualType ElementType, llvm::Value *&NumElements, 152 llvm::Value *NumElements, 157 QualType ElementType, llvm::Value *&NumElements, [all...] |
CGExprCXX.cpp | 511 llvm::Value *&numElements, 530 // We multiply the size of all dimensions for NumElements. 531 // e.g for 'int[2][3]', ElemType is 'int' and NumElements is 6. 532 numElements = CGF.EmitScalarExpr(e->getArraySize()); 533 assert(isa<llvm::IntegerType>(numElements->getType())); 544 = cast<llvm::IntegerType>(numElements->getType()); 565 dyn_cast<llvm::ConstantInt>(numElements)) { 574 // We want to do all this arithmetic in size_t. If numElements is 584 // Scale numElements by that. This might overflow, but we don't 587 numElements = llvm::ConstantInt::get(CGF.SizeTy [all...] |
CGExprConstant.cpp | 687 unsigned NumElements = AType->getNumElements(); 691 unsigned NumInitableElts = std::min(NumInitElements, NumElements); 715 for (; i < NumElements; ++i) [all...] |
/external/llvm/include/llvm/Target/ |
TargetData.h | 318 unsigned NumElements; 340 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 | 436 uint64_t NumElements = AT->getNumElements(); 442 if (Idx->getZExtValue() >= NumElements) 455 uint64_t NumElements; 457 NumElements = SubArrayTy->getNumElements(); 459 NumElements = SubVectorTy->getNumElements(); 467 if (!IdxVal || IdxVal->getZExtValue() >= NumElements) 537 unsigned NumElements = 0; 539 NumElements = ATy->getNumElements(); 541 NumElements = cast<VectorType>(STy)->getNumElements(); 543 if (NumElements > 16 && GV->hasNUsesOrMore(16) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeTypesGeneric.cpp | 452 unsigned NumElements = Cond.getValueType().getVectorNumElements(); 453 EVT VCondTy = EVT::getVectorVT(*DAG.getContext(), MVT::i1, NumElements / 2); 457 DAG.getIntPtrConstant(NumElements / 2));
|
/external/clang/lib/Sema/ |
SemaInit.cpp | 395 unsigned NumElements = NumInits; 399 NumElements = CAType->getSize().getZExtValue(); 404 NumElements = VType->getNumElements(); 411 for (unsigned Init = 0; Init != NumElements; ++Init) { [all...] |