/freebsd-10.1-release/contrib/llvm/lib/Support/ |
H A D | SmallPtrSet.cpp | 28 CurArraySize = NumElements > 16 ? 1 << (Log2_32_Ceil(NumElements) + 1) : 32; 29 NumElements = NumTombstones = 0; 40 for (const void **APtr = SmallArray, **E = SmallArray+NumElements; 46 if (NumElements < CurArraySize-1) { 47 SmallArray[NumElements++] = Ptr; 53 if (NumElements*4 >= CurArraySize*3) { 56 } else if (CurArraySize-(NumElements+NumTombstones) < CurArraySize/8) { 70 ++NumElements; // Track density. 77 for (const void **APtr = SmallArray, **E = SmallArray+NumElements; [all...] |
/freebsd-10.1-release/contrib/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 500 static MVT getVectorVT(MVT VT, unsigned NumElements) { argument 505 if (NumElements == 2) return MVT::v2i1; 506 if (NumElements == 4) return MVT::v4i1; 507 if (NumElements == 8) return MVT::v8i1; 508 if (NumElements == 16) return MVT::v16i1; 509 if (NumElements == 32) return MVT::v32i1; 510 if (NumElements == 64) return MVT::v64i1; 513 if (NumElements == 1) return MVT::v1i8; 514 if (NumElements == 2) return MVT::v2i8; 515 if (NumElements 616 getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) argument [all...] |
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ArrayBoundChecker.cpp | 57 DefinedOrUnknownSVal NumElements local 61 ProgramStateRef StInBound = state->assumeInBound(Idx, NumElements, true); 62 ProgramStateRef StOutBound = state->assumeInBound(Idx, NumElements, false);
|
H A D | ReturnPointerRangeChecker.cpp | 57 DefinedOrUnknownSVal NumElements 61 ProgramStateRef StInBound = state->assumeInBound(Idx, NumElements, true); 62 ProgramStateRef StOutBound = state->assumeInBound(Idx, NumElements, false);
|
/freebsd-10.1-release/contrib/llvm/utils/TableGen/ |
H A D | TGValueTypes.cpp | 65 unsigned NumElements; member in class:__anon3872::ExtendedVectorType 68 : Type(TK_ExtendedVectorType), ElementType(elty), NumElements(num) {} 79 return NumElements;
|
/freebsd-10.1-release/contrib/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); 408 unsigned getNumElements() const { return NumElements; } 413 return NumElements * getElementType()->getPrimitiveSizeInBits();
|
H A D | DataLayout.h | 421 unsigned NumElements; member in class:llvm::StructLayout 443 assert(Idx < NumElements && "Invalid element idx!");
|
/freebsd-10.1-release/contrib/llvm/include/llvm/ADT/ |
H A D | SmallPtrSet.h | 60 unsigned NumElements; member in class:llvm::SmallPtrSetImpl 75 unsigned size() const { return NumElements; } 80 if (!isSmall() && NumElements*4 < CurArraySize && CurArraySize > 32) 85 NumElements = 0; 112 *const *E = SmallArray+NumElements; APtr != E; ++APtr)
|
/freebsd-10.1-release/contrib/llvm/lib/IR/ |
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) 433 unsigned NumElements = Elements.size(); local 434 Type **Elts = getContext().pImpl->TypeAllocator.Allocate<Type*>(NumElements); 435 memcpy(Elts, Elements.data(), sizeof(Elements[0]) * NumElements); 438 NumContainedTys = NumElements; 676 NumElements = NumEl; 679 ArrayType *ArrayType::get(Type *elementType, uint64_t NumElements) { argument 706 get(Type *elementType, unsigned NumElements) argument [all...] |
H A D | DataLayout.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) &&
|
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 | 1909 uint64_t NumElements = 0; 1912 NumElements = ATy->getNumElements(); 1914 NumElements = VTy->getNumElements(); 1916 assert((isa<ArrayType>(STy) || NumElements > 0) && 1926 if (IndexVal < 0 || (NumElements > 0 && (uint64_t)IndexVal >= NumElements)) 2077 uint64_t NumElements = 0; local 2079 NumElements = ATy->getNumElements(); 2081 NumElements = cast<VectorType>(Ty)->getNumElements(); 2083 ConstantInt *Factor = ConstantInt::get(CI->getType(), NumElements); [all...] |
/freebsd-10.1-release/contrib/llvm/tools/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...] |
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 728 unsigned NumElements = AType->getNumElements(); local 732 unsigned NumInitableElts = std::min(NumInitElements, NumElements); 736 Elts.reserve(NumInitableElts + NumElements); 758 Elts.resize(NumElements, fillC); 763 Types.reserve(NumInitableElts + NumElements); 1162 unsigned NumElements = Value.getArraySize(); local 1166 Elts.reserve(NumElements); 1176 for (unsigned I = 0; I < NumElements; ++I) { 1193 Types.reserve(NumElements); 1201 llvm::ArrayType::get(CommonElementType, NumElements); 1454 unsigned NumElements = CAT->getSize().getZExtValue(); local [all...] |
H A D | CGCXXABI.h | 397 /// \param NumElements - the computed number of elements, 404 llvm::Value *NumElements, 413 /// \param NumElements - an out parameter which will be initialized 423 QualType ElementType, llvm::Value *&NumElements,
|
H A D | CGExprCXX.cpp | 484 // We multiply the size of all dimensions for NumElements. 485 // e.g for 'int[2][3]', ElemType is 'int' and NumElements is 6. 890 llvm::Value *NumElements, 910 CGF.EmitCXXAggrConstructorCall(Ctor, NumElements, NewPtr, 921 CGF.EmitNewArrayInitializer(E, ElementType, NewPtr, NumElements); 1413 llvm::Value *NumElements; member in struct:__anon3209::CallArrayDelete 1419 llvm::Value *NumElements, 1422 : Ptr(Ptr), OperatorDelete(OperatorDelete), NumElements(NumElements), 1450 Size = CGF.Builder.CreateMul(Size, NumElements); 887 EmitNewInitializer(CodeGenFunction &CGF, const CXXNewExpr *E, QualType ElementType, llvm::Value *NewPtr, llvm::Value *NumElements, llvm::Value *AllocSizeWithoutCookie) argument 1417 CallArrayDelete(llvm::Value *Ptr, const FunctionDecl *OperatorDelete, llvm::Value *NumElements, QualType ElementType, CharUnits CookieSize) argument [all...] |
H A D | CGCXXABI.cpp | 158 llvm::Value *NumElements, 156 InitializeArrayCookie(CodeGenFunction &CGF, llvm::Value *NewPtr, llvm::Value *NumElements, const CXXNewExpr *expr, QualType ElementType) argument
|
H A D | ItaniumCXXABI.cpp | 195 llvm::Value *NumElements, 235 llvm::Value *NumElements, 1157 llvm::Value *NumElements, 1184 CGF.Builder.CreateStore(NumElements, NumElementsPtr); 1155 InitializeArrayCookie(CodeGenFunction &CGF, llvm::Value *NewPtr, llvm::Value *NumElements, const CXXNewExpr *expr, QualType ElementType) argument
|
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 1557 uint64_t NumElements = EndIndex - BeginIndex; local 1559 (NumElements == 1) ? Ty->getElementType() 1560 : VectorType::get(Ty->getElementType(), NumElements); 1563 Type::getIntNTy(Ty->getContext(), NumElements * ElementSize * 8); 1824 unsigned NumElements = EndIndex - BeginIndex; local 1825 assert(NumElements <= VecTy->getNumElements() && "Too many elements!"); 1827 if (NumElements == VecTy->getNumElements()) 1830 if (NumElements == 1) { 1838 Mask.reserve(NumElements); 2165 unsigned NumElements local 2296 getVectorSplat(Value *V, unsigned NumElements) argument 2365 unsigned NumElements = EndIndex - BeginIndex; local 2534 unsigned NumElements = EndIndex - BeginIndex; local 2977 uint64_t NumElements = Size / ElementSize; local [all...] |
/freebsd-10.1-release/contrib/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypesGeneric.cpp | 309 void DAGTypeLegalizer::IntegerToVector(SDValue Op, unsigned NumElements, argument 316 if (NumElements > 1) { 317 NumElements >>= 1; 321 IntegerToVector(Parts[0], NumElements, Ops, EltVT); 322 IntegerToVector(Parts[1], NumElements, Ops, EltVT);
|
H A D | LegalizeVectorTypes.cpp | 968 unsigned NumElements = SrcVT.getVectorNumElements(); local 969 if ((NumElements & 1) == 0 && 975 NumElements); 977 EVT::getVectorVT(Ctx, SrcVT.getVectorElementType(), NumElements / 2); 1394 unsigned NumElements = OutVT.getVectorNumElements(); local 1397 assert(!(NumElements & 1) && "Splitting vector, but not in half!"); 1415 NumElements/2); 1419 EVT InterVT = EVT::getVectorVT(*DAG.getContext(), HalfElementVT, NumElements);
|
/freebsd-10.1-release/contrib/llvm/lib/Target/R600/ |
H A D | SIISelLowering.cpp | 230 unsigned NumElements = ParamType->getVectorNumElements(); local 232 for (unsigned j = 0; j != NumElements; ++j) { 310 unsigned NumElements = ParamType->getVectorNumElements(); local 314 for (unsigned j = 1; j != NumElements; ++j) { 321 NumElements = Arg.VT.getVectorNumElements() - NumElements; 322 for (unsigned j = 0; j != NumElements; ++j)
|
/freebsd-10.1-release/contrib/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 409 uint64_t NumElements = AT->getNumElements(); local 415 if (Idx->getZExtValue() >= NumElements) 428 uint64_t NumElements; local 430 NumElements = SubArrayTy->getNumElements(); 432 NumElements = SubVectorTy->getNumElements(); 440 if (!IdxVal || IdxVal->getZExtValue() >= NumElements) 509 unsigned NumElements = 0; local 511 NumElements = ATy->getNumElements(); 513 NumElements = cast<VectorType>(STy)->getNumElements(); 515 if (NumElements > 1 1545 Value *NumElements = ConstantInt::get(IntPtrTy, AT->getNumElements()); local [all...] |
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/AST/ |
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
|
H A D | Expr.cpp | 4009 NumElements(Elements.size()), Range(SR), ArrayWithObjectsMethod(Method) 4034 unsigned NumElements) { 4037 + NumElements * sizeof(Expr *)); 4038 return new (Mem) ObjCArrayLiteral(EmptyShell(), NumElements); 4048 NumElements(VK.size()), HasPackExpansions(HasPackExpansions), Range(SR), 4053 for (unsigned I = 0; I < NumElements; I++) { 4093 ObjCDictionaryLiteral::CreateEmpty(const ASTContext &C, unsigned NumElements, argument 4097 ExpansionsSize = sizeof(ExpansionData) * NumElements; 4099 sizeof(KeyValuePair) * NumElements + ExpansionsSize); 4100 return new (Mem) ObjCDictionaryLiteral(EmptyShell(), NumElements, 4033 CreateEmpty(const ASTContext &C, unsigned NumElements) argument [all...] |