HomeSort by relevance Sort by last modified time
    Searched refs:NumElements (Results 1 - 25 of 83) sorted by null

1 2 3 4

  /external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
p9.cpp 10 const unsigned NumElements = 17;
14 int array[NumElements];
  /external/llvm/lib/Support/
SmallPtrSet.cpp 28 CurArraySize = NumElements > 16 ? 1 << (Log2_32_Ceil(NumElements) + 1) : 32;
29 NumElements = NumTombstones = 0;
41 for (const void **APtr = SmallArray, **E = SmallArray+NumElements;
47 if (NumElements < CurArraySize) {
48 SmallArray[NumElements++] = Ptr;
49 return std::make_pair(SmallArray + (NumElements - 1), true);
54 if (LLVM_UNLIKELY(NumElements * 4 >= CurArraySize * 3)) {
57 } else if (LLVM_UNLIKELY(CurArraySize - (NumElements + NumTombstones) <
73 ++NumElements; // Track density
    [all...]
  /external/llvm/include/llvm/CodeGen/
MachineValueType.h 581 static MVT getVectorVT(MVT VT, unsigned NumElements) {
586 if (NumElements == 2) return MVT::v2i1;
587 if (NumElements == 4) return MVT::v4i1;
588 if (NumElements == 8) return MVT::v8i1;
589 if (NumElements == 16) return MVT::v16i1;
590 if (NumElements == 32) return MVT::v32i1;
591 if (NumElements == 64) return MVT::v64i1;
592 if (NumElements == 512) return MVT::v512i1;
593 if (NumElements == 1024) return MVT::v1024i1;
596 if (NumElements == 1) return MVT::v1i8
    [all...]
ValueTypes.h 68 /// getVectorVT - Returns the EVT that represents a vector NumElements in
70 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) {
71 MVT M = MVT::getVectorVT(VT.V, NumElements);
74 return getExtendedVectorVT(Context, VT, NumElements);
367 unsigned 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);
ReturnPointerRangeChecker.cpp 58 DefinedOrUnknownSVal NumElements
62 ProgramStateRef StInBound = state->assumeInBound(Idx, NumElements, true);
63 ProgramStateRef StOutBound = state->assumeInBound(Idx, NumElements, false);
  /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/ceres-solver/internal/ceres/
ordered_groups_test.cc 44 EXPECT_EQ(ordering.NumElements(), 0);
60 EXPECT_EQ(ordering.NumElements(), 3);
69 EXPECT_EQ(ordering.NumElements(), 2);
87 EXPECT_EQ(ordering.NumElements(), 3);
96 EXPECT_EQ(ordering.NumElements(), 3);
115 EXPECT_EQ(ordering.NumElements(), 3);
126 EXPECT_EQ(ordering.NumElements(), 3);
144 EXPECT_EQ(ordering.NumElements(), 3);
154 EXPECT_EQ(ordering.NumElements(), 3);
174 EXPECT_EQ(ordering.NumElements(), 1)
    [all...]
reorder_program.cc 143 if (ordering.NumElements() != num_parameter_blocks) {
148 ordering.NumElements());
  /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();
DataLayout.h 479 unsigned NumElements : 31;
497 assert(Idx < NumElements && "Invalid element idx!");
  /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/ceres-solver/include/ceres/
ordered_groups.h 111 if (NumElements() == 0 || elements.size() == 0) {
166 int NumElements() const {
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
dhcpsapi.h 62 DWORD NumElements;
116 DWORD NumElements;
121 DWORD NumElements;
158 DWORD NumElements;
261 DWORD NumElements;
297 DWORD NumElements;
316 DWORD NumElements;
347 DWORD NumElements;
  /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/clang/lib/AST/
ExprObjC.cpp 24 NumElements(Elements.size()), Range(SR), ArrayWithObjectsMethod(Method) {
48 unsigned NumElements) {
51 C.Allocate(sizeof(ObjCArrayLiteral) + NumElements * sizeof(Expr *));
52 return new (Mem) ObjCArrayLiteral(EmptyShell(), NumElements);
61 NumElements(VK.size()), HasPackExpansions(HasPackExpansions), Range(SR),
65 for (unsigned I = 0; I < NumElements; I++) {
104 ObjCDictionaryLiteral::CreateEmpty(const ASTContext &C, unsigned NumElements,
108 ExpansionsSize = sizeof(ExpansionData) * NumElements;
110 sizeof(KeyValuePair) * NumElements + ExpansionsSize);
112 ObjCDictionaryLiteral(EmptyShell(), NumElements, HasPackExpansions)
    [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/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...]
DataLayout.cpp 45 NumElements = ST->getNumElements();
48 for (unsigned i = 0, e = NumElements; i != e; ++i) {
81 std::upper_bound(&MemberOffsets[0], &MemberOffsets[NumElements], Offset);
86 (SI+1 == &MemberOffsets[NumElements] || *(SI+1) > Offset) &&
  /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...]
CGCXXABI.h 454 /// \param NumElements - the computed number of elements,
461 llvm::Value *NumElements,
470 /// \param NumElements - an out parameter which will be initialized
480 QualType ElementType, llvm::Value *&NumElements,
  /external/llvm/lib/Transforms/Scalar/
SROA.cpp     [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
LegalizeTypesGeneric.cpp 325 void DAGTypeLegalizer::IntegerToVector(SDValue Op, unsigned NumElements,
332 if (NumElements > 1) {
333 NumElements >>= 1;
337 IntegerToVector(Parts[0], NumElements, Ops, EltVT);
338 IntegerToVector(Parts[1], NumElements, Ops, EltVT);
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...]

Completed in 1997 milliseconds

1 2 3 4