Searched refs:EltCount (Results 1 – 6 of 6) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-c-test/ |
| H A D | echo.cpp | 121 unsigned EltCount = LLVMCountStructElementTypes(Src); in Clone() local 123 for (unsigned i = 0; i < EltCount; i++) in Clone() 126 LLVMStructSetBody(S, Elts.data(), EltCount, LLVMIsPackedStruct(Src)); in Clone() 128 S = LLVMStructTypeInContext(Ctx, Elts.data(), EltCount, in Clone() 304 unsigned EltCount = LLVMGetArrayLength(Ty); in clone_constant_impl() local 306 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl() 308 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl() 315 unsigned EltCount = LLVMGetArrayLength(Ty); in clone_constant_impl() local 317 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl() 319 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
| H A D | FoldingSet.cpp | 314 void FoldingSetBase::reserve(unsigned EltCount, const FoldingSetInfo &Info) { in reserve() argument 318 if(EltCount < capacity()) in reserve() 320 GrowBucketCount(PowerOf2Floor(EltCount), Info); in reserve()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| H A D | FoldingSet.h | 201 void reserve(unsigned EltCount, const FoldingSetInfo &Info); 441 void reserve(unsigned EltCount) { in reserve() argument 442 return FoldingSetBase::reserve(EltCount, Derived::getFoldingSetInfo()); in reserve()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Constants.cpp | 2445 auto EltCount = ElementCount::getFixed(0); in getGetElementPtr() local 2447 EltCount = VecTy->getElementCount(); in getGetElementPtr() 2451 EltCount = VecTy->getElementCount(); in getGetElementPtr() 2453 if (EltCount.isNonZero()) in getGetElementPtr() 2454 ReqTy = VectorType::get(ReqTy, EltCount); in getGetElementPtr() 2468 cast<VectorType>(Idx->getType())->getElementCount() == EltCount) && in getGetElementPtr() 2473 } else if (GTI.isSequential() && EltCount.isNonZero() && in getGetElementPtr() 2475 Idx = ConstantVector::getSplat(EltCount, Idx); in getGetElementPtr()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 1091 ElementCount EltCount = PtrVTy->getElementCount(); 1092 return VectorType::get(PtrTy, EltCount); 1096 ElementCount EltCount = IndexVTy->getElementCount(); 1097 return VectorType::get(PtrTy, EltCount);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 22074 APInt EltCount = APInt::getNullValue(NumElts); in matchScalarReduction() local 22075 M = SrcOpMap.insert(std::make_pair(Src, EltCount)).first; in matchScalarReduction()
|