Searched refs:NumElements (Results 1 - 23 of 23) sorted by relevance

/macosx-10.10.1/llvmCore-3425.0.34/runtime/libprofile/
H A DEdgeProfiling.c20 static unsigned NumElements; variable
31 write_profiling_data(EdgeInfo, ArrayStart, NumElements);
42 NumElements = numElements;
H A DOptimalEdgeProfiling.c20 static unsigned NumElements; variable
31 write_profiling_data(OptEdgeInfo, ArrayStart, NumElements);
42 NumElements = numElements;
H A DProfiling.h34 unsigned NumElements);
H A DCommonProfiling.c139 unsigned NumElements) {
146 write(outFile, &NumElements, sizeof(unsigned)) < 0 ||
147 write(outFile, Start, NumElements*sizeof(unsigned)) < 0 ) {
138 write_profiling_data(enum ProfilingType PT, unsigned *Start, unsigned NumElements) argument
/macosx-10.10.1/llvmCore-3425.0.34/lib/Support/
H A DSmallPtrSet.cpp28 CurArraySize = NumElements > 16 ? 1 << (Log2_32_Ceil(NumElements) + 1) : 32;
29 NumElements = NumTombstones = 0;
44 for (const void **APtr = SmallArray, **E = SmallArray+NumElements;
50 if (NumElements < CurArraySize-1) {
51 SmallArray[NumElements++] = Ptr;
57 if (NumElements*4 >= CurArraySize*3) {
60 } else if (CurArraySize-(NumElements+NumTombstones) < CurArraySize/8) {
74 ++NumElements; // Track density.
81 for (const void **APtr = SmallArray, **E = SmallArray+NumElements;
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/CodeGen/
H A DValueTypes.h428 static MVT getVectorVT(MVT VT, unsigned NumElements) { argument
433 if (NumElements == 2) return MVT::v2i1;
434 if (NumElements == 4) return MVT::v4i1;
435 if (NumElements == 8) return MVT::v8i1;
436 if (NumElements == 16) return MVT::v16i1;
439 if (NumElements == 2) return MVT::v2i8;
440 if (NumElements == 4) return MVT::v4i8;
441 if (NumElements == 8) return MVT::v8i8;
442 if (NumElements == 16) return MVT::v16i8;
443 if (NumElements
527 getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) argument
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/utils/TableGen/
H A DTGValueTypes.cpp46 unsigned NumElements; member in class:ExtendedVectorType
49 : ElementType(elty), NumElements(num) {}
57 return NumElements;
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/
H A DDerivedTypes.h338 uint64_t NumElements; member in class:llvm::ArrayType
347 static ArrayType *get(Type *ElementType, uint64_t NumElements);
353 uint64_t getNumElements() const { return NumElements; }
365 unsigned NumElements; member in class:llvm::VectorType
374 static VectorType *get(Type *ElementType, unsigned NumElements);
414 unsigned getNumElements() const { return NumElements; }
419 return NumElements * getElementType()->getPrimitiveSizeInBits();
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/ADT/
H A DSmallPtrSet.h62 unsigned NumElements; member in class:llvm::SmallPtrSetImpl
80 unsigned size() const { return NumElements; }
85 if (!isSmall() && NumElements*4 < CurArraySize && CurArraySize > 32)
90 NumElements = 0;
117 *const *E = SmallArray+NumElements; APtr != E; ++APtr)
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/
H A DType.cpp118 unsigned NumElements = ATy->getNumElements(); local
119 return NumElements == 0 || ATy->getElementType()->isEmptyTy();
124 unsigned NumElements = STy->getNumElements(); local
125 for (unsigned i = 0; i < NumElements; ++i)
450 unsigned NumElements = Elements.size(); local
451 Type **Elts = getContext().pImpl->TypeAllocator.Allocate<Type*>(NumElements);
452 memcpy(Elts, Elements.data(), sizeof(Elements[0]) * NumElements);
455 NumContainedTys = NumElements;
692 NumElements = NumEl;
695 ArrayType *ArrayType::get(Type *elementType, uint64_t NumElements) { argument
722 get(Type *elementType, unsigned NumElements) argument
[all...]
H A DValueTypes.cpp36 unsigned NumElements) {
38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements);
35 getExtendedVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) argument
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Target/
H A DTargetData.h326 unsigned NumElements; member in class:llvm::StructLayout
348 assert(Idx < NumElements && "Invalid element idx!");
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Instrumentation/
H A DProfilingUtils.cpp52 unsigned NumElements = 0; local
55 NumElements =
62 Args[3] = ConstantInt::get(Type::getInt32Ty(Context), NumElements);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/
H A DTargetData.cpp48 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) &&
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DCodeGenPrepare.cpp1493 uint64_t NumElements; local
1495 NumElements = CA->getType()->getNumElements();
1497 NumElements = CDA->getNumElements();
1500 if (NumElements < 2)
1510 NumElements - 1);
1515 for (uint64_t I = 0; I < NumElements; ++I)
1530 PHINode *PHI = Builder.CreatePHI(LI->getType(), NumElements);
1534 for (uint64_t I = 0; I < NumElements; ++I) {
H A DSROA.cpp2903 uint64_t NumElements = Size / ElementSize; local
2904 if (NumElements * ElementSize != Size)
2906 return ArrayType::get(ElementTy, NumElements);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/IPO/
H A DGlobalOpt.cpp599 uint64_t NumElements = AT->getNumElements(); local
605 if (Idx->getZExtValue() >= NumElements)
618 uint64_t NumElements; local
620 NumElements = SubArrayTy->getNumElements();
622 NumElements = SubVectorTy->getNumElements();
630 if (!IdxVal || IdxVal->getZExtValue() >= NumElements)
699 unsigned NumElements = 0; local
701 NumElements = ATy->getNumElements();
703 NumElements = cast<VectorType>(STy)->getNumElements();
705 if (NumElements > 1
1736 Value *NumElements = ConstantInt::get(IntPtrTy, AT->getNumElements()); local
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/SelectionDAG/
H A DLegalizeTypesGeneric.cpp491 unsigned NumElements = Cond.getValueType().getVectorNumElements(); local
492 EVT VCondTy = EVT::getVectorVT(*DAG.getContext(), MVT::i1, NumElements / 2);
496 DAG.getIntPtrConstant(NumElements / 2));
H A DLegalizeTypes.cpp991 unsigned NumElements = InVT.getVectorNumElements(); local
992 assert(!(NumElements & 1) && "Splitting vector, but not in half!");
994 InVT.getVectorElementType(), NumElements/2);
H A DSelectionDAGBuilder.cpp532 unsigned NumElements = ValueVT.getVectorNumElements(); local
544 DAG.getIntPtrConstant(i * (NumElements / NumIntermediates)));
1135 unsigned NumElements = VecTy->getNumElements(); local
1141 for (unsigned i = 0; i != NumElements; ++i)
1152 Ops.assign(NumElements, Op);
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp748 unsigned NumElements =
754 unsigned MemToAlloc = std::max(1U, NumElements * TypeSize);
760 << NumElements << " (Total: " << MemToAlloc << ") at "
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp111 Value *NumElements = // See if the array size is a decomposable linear expr. local
122 Amt = NumElements;
126 Amt = AllocaBuilder.CreateMul(Amt, NumElements);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Linker/
H A DLinkModules.cpp884 unsigned NumElements = cast<ArrayType>(C->getType())->getNumElements(); local
886 for (unsigned i = 0; i != NumElements; ++i)

Completed in 341 milliseconds