/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
p9.cpp | 10 const unsigned NumElements = 17; 14 int array[NumElements];
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
ArrayBoundChecker.cpp | 58 DefinedOrUnknownSVal NumElements 62 ProgramStateRef StInBound = state->assumeInBound(Idx, NumElements, true); 63 ProgramStateRef StOutBound = state->assumeInBound(Idx, NumElements, false);
|
/external/ceres-solver/include/ceres/ |
ordered_groups.h | 111 if (NumElements() == 0 || elements.size() == 0) { 166 int NumElements() const {
|
/external/llvm/include/llvm/ADT/ |
SmallPtrSet.h | 60 unsigned NumElements; 78 size_type size() const { return NumElements; } 83 if (!isSmall() && NumElements*4 < CurArraySize && CurArraySize > 32) 88 NumElements = 0; 115 *const *E = SmallArray+NumElements; APtr != E; ++APtr)
|
/external/llvm/include/llvm/IR/ |
DerivedTypes.h | 333 uint64_t NumElements; 342 static ArrayType *get(Type *ElementType, uint64_t NumElements); 348 uint64_t getNumElements() const { return NumElements; } 359 unsigned NumElements; 368 static VectorType *get(Type *ElementType, unsigned NumElements); 428 unsigned getNumElements() const { return NumElements; } 433 return NumElements * getElementType()->getPrimitiveSizeInBits();
|
DataLayout.h | 484 unsigned NumElements; 506 assert(Idx < NumElements && "Invalid element idx!");
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.cpp | 537 unsigned NumElements = ValueVT.getVectorNumElements(); 549 DAG.getConstant(i * (NumElements / NumIntermediates), [all...] |
LegalizeVectorOps.cpp | 745 int NumElements = VT.getVectorNumElements(); 755 int ExtLaneScale = NumSrcElements / NumElements; 757 for (int i = 0; i < NumElements; ++i) 792 int NumElements = VT.getVectorNumElements(); 810 int ExtLaneScale = NumSrcElements / NumElements; 812 for (int i = 0; i < NumElements; ++i) [all...] |
/external/llvm/lib/IR/ |
Type.cpp | 101 unsigned NumElements = ATy->getNumElements(); 102 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); 107 unsigned NumElements = STy->getNumElements(); 108 for (unsigned i = 0; i < NumElements; ++i) 427 unsigned NumElements = Elements.size(); 428 Type **Elts = getContext().pImpl->TypeAllocator.Allocate<Type*>(NumElements); 429 memcpy(Elts, Elements.data(), sizeof(Elements[0]) * NumElements); 432 NumContainedTys = NumElements; 673 NumElements = NumEl; 676 ArrayType *ArrayType::get(Type *elementType, uint64_t NumElements) { [all...] |
ConstantFold.cpp | [all...] |
/frameworks/compile/slang/ |
slang_rs_reflection_cpp.cpp | 899 unsigned NumElements = std::min( 901 for (unsigned i = 0; i < NumElements; i++) { [all...] |
slang_rs_reflection.cpp | 515 unsigned NumElements = std::min( 517 for (unsigned i = 0; i < NumElements; i++) { [all...] |
/external/llvm/lib/Linker/ |
LinkModules.cpp | [all...] |
/external/clang/include/clang/AST/ |
ExprObjC.h | 134 unsigned NumElements; 142 explicit ObjCArrayLiteral(EmptyShell Empty, unsigned NumElements) 143 : Expr(ObjCArrayLiteralClass, Empty), NumElements(NumElements) {} 152 unsigned NumElements); 171 unsigned getNumElements() const { return NumElements; } 175 assert((Index < NumElements) && "Arg access out of range!"); 179 assert((Index < NumElements) && "Arg access out of range!"); 190 (Stmt **)getElements() + NumElements); 246 unsigned NumElements : 31 [all...] |
/external/clang/lib/AST/ |
RecordLayoutBuilder.cpp | 407 uint64_t NumElements = Context.getConstantArrayElementCount(AT); 409 for (uint64_t I = 0; I != NumElements; ++I) { 504 uint64_t NumElements = Context.getConstantArrayElementCount(AT); 507 for (uint64_t I = 0; I != NumElements; ++I) { [all...] |
/external/clang/lib/CodeGen/ |
CGExprCXX.cpp | 467 llvm::Value *&numElements, 486 // We multiply the size of all dimensions for NumElements. 487 // e.g for 'int[2][3]', ElemType is 'int' and NumElements is 6. 488 numElements = CGF.EmitScalarExpr(e->getArraySize()); 489 assert(isa<llvm::IntegerType>(numElements->getType())); 500 = cast<llvm::IntegerType>(numElements->getType()); 521 dyn_cast<llvm::ConstantInt>(numElements)) { 530 // We want to do all this arithmetic in size_t. If numElements is 545 // Scale numElements by that. This might overflow, but we don't 548 numElements = llvm::ConstantInt::get(CGF.SizeTy [all...] |
CGExprConstant.cpp | 731 unsigned NumElements = AType->getNumElements(); 735 unsigned NumInitableElts = std::min(NumInitElements, NumElements); 739 Elts.reserve(NumInitableElts + NumElements); 761 Elts.resize(NumElements, fillC); 766 Types.reserve(NumInitableElts + NumElements); [all...] |
CGClass.cpp | 498 uint64_t NumElements = Array->getSize().getZExtValue(); 501 llvm::ConstantInt::get(Counter->getType(), NumElements); [all...] |
CGObjC.cpp | 99 uint64_t NumElements = 102 NumElements); 122 for (uint64_t i = 0; i < NumElements; i++) { 175 llvm::ConstantInt::get(CGM.getTypes().ConvertType(ArgQT), NumElements); [all...] |
CodeGenModule.cpp | [all...] |
/external/llvm/lib/Target/R600/ |
R600ISelLowering.cpp | [all...] |
SIISelLowering.cpp | 352 unsigned NumElements = ParamType->getVectorNumElements(); 354 for (unsigned j = 0; j != NumElements; ++j) { 433 unsigned NumElements = ParamType->getVectorNumElements(); 437 for (unsigned j = 1; j != NumElements; ++j) { 444 NumElements = Arg.VT.getVectorNumElements() - NumElements; 445 for (unsigned j = 0; j != NumElements; ++j) [all...] |
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | 412 uint64_t NumElements = AT->getNumElements(); 418 if (Idx->getZExtValue() >= NumElements) 431 uint64_t NumElements; 433 NumElements = SubArrayTy->getNumElements(); 435 NumElements = SubVectorTy->getNumElements(); 443 if (!IdxVal || IdxVal->getZExtValue() >= NumElements) 512 unsigned NumElements = 0; 514 NumElements = ATy->getNumElements(); 516 NumElements = cast<VectorType>(STy)->getNumElements(); 518 if (NumElements > 16 && GV->hasNUsesOrMore(16) [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | 119 Value *NumElements = // See if the array size is a decomposable linear expr. 130 Amt = NumElements; 134 Amt = AllocaBuilder.CreateMul(Amt, NumElements); [all...] |
/external/clang/lib/Parse/ |
ParseDecl.cpp | [all...] |