/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
H A D | p9.cpp | 10 const unsigned NumElements = 17; member in namespace:N 14 int array[NumElements];
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ArrayBoundChecker.cpp | 58 DefinedOrUnknownSVal NumElements local 62 ProgramStateRef StInBound = state->assumeInBound(Idx, NumElements, true); 63 ProgramStateRef StOutBound = state->assumeInBound(Idx, NumElements, false);
|
/external/ceres-solver/include/ceres/ |
H A D | ordered_groups.h | 111 if (NumElements() == 0 || elements.size() == 0) { 166 int NumElements() const { function in class:ceres::OrderedGroups
|
/external/llvm/lib/IR/ |
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
|
H A D | ConstantFold.cpp | 1936 uint64_t NumElements = 0; 1939 NumElements = ATy->getNumElements(); 1941 NumElements = VTy->getNumElements(); 1943 assert((isa<ArrayType>(STy) || NumElements > 0) && 1953 if (IndexVal < 0 || (NumElements > 0 && (uint64_t)IndexVal >= NumElements)) 2104 uint64_t NumElements = 0; local 2106 NumElements = ATy->getNumElements(); 2108 NumElements = cast<VectorType>(Ty)->getNumElements(); 2110 ConstantInt *Factor = ConstantInt::get(CI->getType(), NumElements); [all...] |
H A D | Type.cpp | 101 unsigned NumElements = ATy->getNumElements(); local 102 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); 107 unsigned NumElements = STy->getNumElements(); local 108 for (unsigned i = 0; i < NumElements; ++i) 427 unsigned NumElements = Elements.size(); local 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) { argument 703 get(Type *elementType, unsigned NumElements) argument [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | SmallPtrSet.h | 60 unsigned NumElements; member in class:llvm::SmallPtrSetImplBase 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/ |
H A D | DerivedTypes.h | 333 uint64_t NumElements; member in class:llvm::ArrayType 342 static ArrayType *get(Type *ElementType, uint64_t NumElements); 348 uint64_t getNumElements() const { return NumElements; } 359 unsigned NumElements; member in class:llvm::VectorType 368 static VectorType *get(Type *ElementType, unsigned NumElements); 428 unsigned getNumElements() const { return NumElements; } 433 return NumElements * getElementType()->getPrimitiveSizeInBits();
|
H A D | DataLayout.h | 484 unsigned NumElements; member in class:llvm::StructLayout 506 assert(Idx < NumElements && "Invalid element idx!");
|
/external/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 69 /// getVectorVT - Returns the EVT that represents a vector NumElements in 71 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) { argument 72 MVT M = MVT::getVectorVT(VT.V, NumElements); 75 return getExtendedVectorVT(Context, VT, NumElements); 349 unsigned NumElements);
|
H A D | MachineValueType.h | 505 static MVT getVectorVT(MVT VT, unsigned NumElements) { argument 510 if (NumElements == 2) return MVT::v2i1; 511 if (NumElements == 4) return MVT::v4i1; 512 if (NumElements == 8) return MVT::v8i1; 513 if (NumElements == 16) return MVT::v16i1; 514 if (NumElements == 32) return MVT::v32i1; 515 if (NumElements == 64) return MVT::v64i1; 518 if (NumElements == 1) return MVT::v1i8; 519 if (NumElements == 2) return MVT::v2i8; 520 if (NumElements [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGCXXABI.cpp | 192 llvm::Value *NumElements, 190 InitializeArrayCookie(CodeGenFunction &CGF, llvm::Value *NewPtr, llvm::Value *NumElements, const CXXNewExpr *expr, QualType ElementType) argument
|
H A D | CGExprCXX.cpp | 486 // We multiply the size of all dimensions for NumElements. 487 // e.g for 'int[2][3]', ElemType is 'int' and NumElements is 6. 755 llvm::Value *NumElements, 863 llvm::ConstantInt *ConstNum = dyn_cast<llvm::ConstantInt>(NumElements); 895 NumElements = Builder.CreateSub( 896 NumElements, 897 llvm::ConstantInt::get(NumElements->getType(), InitListElements)); 898 EmitCXXAggrConstructorCall(Ctor, NumElements, CurPtr, 933 Builder.CreateInBoundsGEP(BeginPtr, NumElements, "array.end"); 988 llvm::Value *NumElements, 752 EmitNewArrayInitializer(const CXXNewExpr *E, QualType ElementType, llvm::Value *BeginPtr, llvm::Value *NumElements, llvm::Value *AllocSizeWithoutCookie) argument 985 EmitNewInitializer(CodeGenFunction &CGF, const CXXNewExpr *E, QualType ElementType, llvm::Value *NewPtr, llvm::Value *NumElements, llvm::Value *AllocSizeWithoutCookie) argument 1474 llvm::Value *NumElements; member in struct:__anon17834::CallArrayDelete 1478 CallArrayDelete(llvm::Value *Ptr, const FunctionDecl *OperatorDelete, llvm::Value *NumElements, QualType ElementType, CharUnits CookieSize) argument [all...] |
H A D | CGExprConstant.cpp | 731 unsigned NumElements = AType->getNumElements(); local 735 unsigned NumInitableElts = std::min(NumInitElements, NumElements); 739 Elts.reserve(NumInitableElts + NumElements); 761 Elts.resize(NumElements, fillC); 766 Types.reserve(NumInitableElts + NumElements); 1170 unsigned NumElements = Value.getArraySize(); local 1174 Elts.reserve(NumElements); 1184 for (unsigned I = 0; I < NumElements; ++I) { 1201 Types.reserve(NumElements); 1209 llvm::ArrayType::get(CommonElementType, NumElements); 1456 unsigned NumElements = CAT->getSize().getZExtValue(); local [all...] |
H A D | CGClass.cpp | 498 uint64_t NumElements = Array->getSize().getZExtValue(); local 501 llvm::ConstantInt::get(Counter->getType(), NumElements);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypesGeneric.cpp | 315 void DAGTypeLegalizer::IntegerToVector(SDValue Op, unsigned NumElements, argument 322 if (NumElements > 1) { 323 NumElements >>= 1; 327 IntegerToVector(Parts[0], NumElements, Ops, EltVT); 328 IntegerToVector(Parts[1], NumElements, Ops, EltVT);
|
H A D | SelectionDAGBuilder.cpp | 537 unsigned NumElements = ValueVT.getVectorNumElements(); local 549 DAG.getConstant(i * (NumElements / NumIntermediates), 1142 unsigned NumElements = VecTy->getNumElements(); 1148 for (unsigned i = 0; i != NumElements; ++i) 1159 Ops.assign(NumElements, Op);
|
H A D | LegalizeVectorOps.cpp | 745 int NumElements = VT.getVectorNumElements(); local 755 int ExtLaneScale = NumSrcElements / NumElements; 757 for (int i = 0; i < NumElements; ++i) 792 int NumElements = VT.getVectorNumElements(); local 810 int ExtLaneScale = NumSrcElements / NumElements; 812 for (int i = 0; i < NumElements; ++i)
|
/external/clang/include/clang/AST/ |
H A D | ExprObjC.h | 134 unsigned NumElements; member in class:clang::ObjCArrayLiteral 142 explicit ObjCArrayLiteral(EmptyShell Empty, unsigned NumElements) argument 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 265 ObjCDictionaryLiteral(EmptyShell Empty, unsigned NumElements, bool HasPackExpansions) argument [all...] |
/external/clang/lib/AST/ |
H A D | RecordLayoutBuilder.cpp | 407 uint64_t NumElements = Context.getConstantArrayElementCount(AT); local 409 for (uint64_t I = 0; I != NumElements; ++I) { 504 uint64_t NumElements = Context.getConstantArrayElementCount(AT); local 507 for (uint64_t I = 0; I != NumElements; ++I) {
|
H A D | Type.cpp | 78 const llvm::APInt &NumElements) { 88 return NumElements.getActiveBits() + llvm::Log2_64(ElementSize); 93 if ((ElementSize >> 32) == 0 && NumElements.getBitWidth() <= 64 && 94 (NumElements.getZExtValue() >> 32) == 0) { 95 uint64_t TotalSize = NumElements.getZExtValue() * ElementSize; 100 llvm::APSInt SizeExtended(NumElements, true); 180 VectorTypeBits.NumElements = nElements; 192 VectorTypeBits.NumElements = nElements; 76 getNumAddressingBits(ASTContext &Context, QualType ElementType, const llvm::APInt &NumElements) argument
|
/external/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 1128 unsigned NumElements = cast<ArrayType>(C->getType())->getNumElements(); local 1130 for (unsigned i = 0; i != NumElements; ++i)
|
/external/llvm/lib/Target/R600/ |
H A D | R600ISelLowering.cpp | 1544 unsigned NumElements = 4; local 1547 NumElements = VT.getVectorNumElements(); 1550 makeArrayRef(Slots, NumElements));
|
H A D | SIISelLowering.cpp | 352 unsigned NumElements = ParamType->getVectorNumElements(); local 354 for (unsigned j = 0; j != NumElements; ++j) { 433 unsigned NumElements = ParamType->getVectorNumElements(); local 437 for (unsigned j = 1; j != NumElements; ++j) { 444 NumElements = Arg.VT.getVectorNumElements() - NumElements; 445 for (unsigned j = 0; j != NumElements; ++j)
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 119 Value *NumElements = // See if the array size is a decomposable linear expr. local 130 Amt = NumElements; 134 Amt = AllocaBuilder.CreateMul(Amt, NumElements);
|