/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/lib/Target/X86/ |
X86TargetObjectFile.cpp | 144 unsigned NumElements; 146 NumElements = Ty->getVectorNumElements(); 148 NumElements = Ty->getArrayNumElements(); 150 for (int I = NumElements - 1, E = -1; I != E; --I)
|
/external/llvm/include/llvm/ADT/ |
SmallPtrSet.h | 62 unsigned NumElements; 80 size_type size() const { return NumElements; } 85 if (!isSmall() && NumElements*4 < CurArraySize && CurArraySize > 32) 90 NumElements = 0; 117 *const *E = SmallArray+NumElements; APtr != E; ++APtr)
|
/external/llvm/include/llvm/IR/ |
DerivedTypes.h | 331 uint64_t NumElements; 341 static ArrayType *get(Type *ElementType, uint64_t NumElements); 347 uint64_t getNumElements() const { return NumElements; } 358 unsigned NumElements; 368 static VectorType *get(Type *ElementType, unsigned NumElements); 428 unsigned getNumElements() const { return NumElements; } 433 return NumElements * getElementType()->getPrimitiveSizeInBits();
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.cpp | 557 unsigned NumElements = ValueVT.getVectorNumElements(); 569 DAG.getConstant(i * (NumElements / NumIntermediates), DL, [all...] |
LegalizeVectorOps.cpp | 810 int NumElements = VT.getVectorNumElements(); 820 int ExtLaneScale = NumSrcElements / NumElements; 822 for (int i = 0; i < NumElements; ++i) 857 int NumElements = VT.getVectorNumElements(); 875 int ExtLaneScale = NumSrcElements / NumElements; 877 for (int i = 0; i < NumElements; ++i) [all...] |
/external/llvm/lib/Target/X86/Utils/ |
X86ShuffleDecode.cpp | 318 int NumElements = MaskTy->getVectorNumElements(); 319 ShuffleMask.reserve(NumElements); 321 for (int i = 0; i < NumElements; ++i) { 371 int NumElements = VT.getVectorNumElements(); 372 for (int i = 0; i < NumElements; ++i) { 376 int Bit = NumElements > 8 ? i % (128 / ElementBits) : i; 379 ShuffleMask.push_back(((Imm >> Bit) & 1) ? NumElements + i : i); 397 int NumElements = MaskTy->getVectorNumElements(); 398 assert((NumElements == 2 || NumElements == 4 || NumElements == 8) & [all...] |
/external/llvm/lib/IR/ |
Type.cpp | 99 unsigned NumElements = ATy->getNumElements(); 100 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); 104 unsigned NumElements = STy->getNumElements(); 105 for (unsigned i = 0; i < NumElements; ++i) 677 NumElements = NumEl; 680 ArrayType *ArrayType::get(Type *ElementType, uint64_t NumElements) { 685 pImpl->ArrayTypes[std::make_pair(ElementType, NumElements)]; 688 Entry = new (pImpl->TypeAllocator) ArrayType(ElementType, NumElements); 704 NumElements = NumEl; 707 VectorType *VectorType::get(Type *ElementType, unsigned NumElements) { [all...] |
ConstantFold.cpp | [all...] |
/frameworks/compile/slang/ |
slang_rs_reflection_cpp.cpp | 950 unsigned NumElements = std::min( 952 for (unsigned i = 0; i < NumElements; i++) { [all...] |
slang_rs_reflection.cpp | 659 unsigned NumElements = std::min( 661 for (unsigned i = 0; i < NumElements; i++) { [all...] |
/external/clang/lib/CodeGen/ |
CGExprConstant.cpp | 772 unsigned NumElements = AType->getNumElements(); 776 unsigned NumInitableElts = std::min(NumInitElements, NumElements); 794 Elts.reserve(NumInitableElts + NumElements); 807 Elts.resize(NumElements, fillC); 812 Types.reserve(NumInitableElts + NumElements); 850 unsigned NumElements = AType->getNumElements(); 853 Elts.reserve(NumElements); 857 for (unsigned i = 0; i != NumElements; ++i) 861 for (unsigned i = 0; i != NumElements; ++i) 872 for (unsigned i = 0; i != NumElements; ++i) [all...] |
CGExprCXX.cpp | 545 llvm::Value *&numElements, 564 // We multiply the size of all dimensions for NumElements. 565 // e.g for 'int[2][3]', ElemType is 'int' and NumElements is 6. 566 numElements = CGF.EmitScalarExpr(e->getArraySize()); 567 assert(isa<llvm::IntegerType>(numElements->getType())); 578 = cast<llvm::IntegerType>(numElements->getType()); 599 dyn_cast<llvm::ConstantInt>(numElements)) { 608 // We want to do all this arithmetic in size_t. If numElements is 623 // Scale numElements by that. This might overflow, but we don't 626 numElements = llvm::ConstantInt::get(CGF.SizeTy [all...] |
TargetInfo.cpp | 54 const uint64_t NumElements = (Size + Alignment - 1) / Alignment; 55 return ABIArgInfo::getDirect(llvm::ArrayType::get(IntType, NumElements)); [all...] |
CGStmtOpenMP.cpp | 206 auto NumElements = emitArrayLength(ArrayTy, ElementTy, DestAddr); 212 auto DestEnd = Builder.CreateGEP(DestBegin, NumElements); 270 auto NumElements = CGF.emitArrayLength(ArrayTy, ElementTy, DestAddr); 276 auto DestEnd = CGF.Builder.CreateGEP(DestBegin, NumElements); [all...] |
/external/clang/include/clang/AST/ |
ExprObjC.h | 145 unsigned NumElements; 153 explicit ObjCArrayLiteral(EmptyShell Empty, unsigned NumElements) 154 : Expr(ObjCArrayLiteralClass, Empty), NumElements(NumElements) {} 163 unsigned NumElements); 182 unsigned getNumElements() const { return NumElements; } 186 assert((Index < NumElements) && "Arg access out of range!"); 190 assert((Index < NumElements) && "Arg access out of range!"); 201 (Stmt **)getElements() + NumElements); 257 unsigned NumElements : 31 [all...] |
/external/clang/lib/AST/ |
RecordLayoutBuilder.cpp | 450 uint64_t NumElements = Context.getConstantArrayElementCount(AT); 452 for (uint64_t I = 0; I != NumElements; ++I) { 547 uint64_t NumElements = Context.getConstantArrayElementCount(AT); 550 for (uint64_t I = 0; I != NumElements; ++I) { [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
RegionStore.cpp | [all...] |
/external/llvm/lib/Linker/ |
IRMover.cpp | 840 unsigned NumElements = cast<ArrayType>(C->getType())->getNumElements(); 842 for (unsigned i = 0; i != NumElements; ++i) [all...] |
/external/llvm/lib/Target/AMDGPU/ |
R600ISelLowering.cpp | [all...] |
SIISelLowering.cpp | 625 unsigned NumElements = ParamType->getVectorNumElements(); 627 for (unsigned j = 0; j != NumElements; ++j) { 737 unsigned NumElements = ParamType->getVectorNumElements(); 741 for (unsigned j = 1; j != NumElements; ++j) { 750 NumElements = Arg.VT.getVectorNumElements() - NumElements; 751 Regs.append(NumElements, DAG.getUNDEF(VT)); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | 116 Value *NumElements = // See if the array size is a decomposable linear expr. 127 Amt = NumElements; 131 Amt = AllocaBuilder.CreateMul(Amt, NumElements); [all...] |
/external/clang/lib/Parse/ |
ParseDecl.cpp | [all...] |