Searched refs:EltCount (Results 1 – 6 of 6) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/tools/llvm-c-test/ |
| H A D | echo.cpp | 124 unsigned EltCount = LLVMCountStructElementTypes(Src); in Clone() local 126 for (unsigned i = 0; i < EltCount; i++) in Clone() 129 LLVMStructSetBody(S, Elts.data(), EltCount, LLVMIsPackedStruct(Src)); in Clone() 131 S = LLVMStructTypeInContext(Ctx, Elts.data(), EltCount, in Clone() 312 unsigned EltCount = LLVMGetArrayLength(Ty); in clone_constant_impl() local 314 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl() 316 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl() 323 unsigned EltCount = LLVMCountStructElementTypes(Ty); in clone_constant_impl() local 325 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl() 328 return LLVMConstNamedStruct(Ty, Elts.data(), EltCount); in clone_constant_impl() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | FoldingSet.cpp | 266 void FoldingSetBase::reserve(unsigned EltCount, const FoldingSetInfo &Info) { in reserve() argument 270 if(EltCount < capacity()) in reserve() 272 GrowBucketCount(PowerOf2Floor(EltCount), Info); in reserve()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | FoldingSet.h | 204 void reserve(unsigned EltCount, const FoldingSetInfo &Info); 468 void reserve(unsigned EltCount) { in reserve() argument 469 return FoldingSetBase::reserve(EltCount, Derived::getFoldingSetInfo()); in reserve()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Constants.cpp | 2478 auto EltCount = ElementCount::getFixed(0); in getGetElementPtr() local 2480 EltCount = VecTy->getElementCount(); in getGetElementPtr() 2484 EltCount = VecTy->getElementCount(); in getGetElementPtr() 2486 if (EltCount.isNonZero()) in getGetElementPtr() 2487 ReqTy = VectorType::get(ReqTy, EltCount); in getGetElementPtr() 2501 cast<VectorType>(Idx->getType())->getElementCount() == EltCount) && in getGetElementPtr() 2506 } else if (GTI.isSequential() && EltCount.isNonZero() && in getGetElementPtr() 2508 Idx = ConstantVector::getSplat(EltCount, Idx); in getGetElementPtr()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 1096 ElementCount EltCount = PtrVTy->getElementCount(); 1097 return VectorType::get(PtrTy, EltCount); 1101 ElementCount EltCount = IndexVTy->getElementCount(); 1102 return VectorType::get(PtrTy, EltCount);
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 23881 APInt EltCount = APInt::getZero(NumElts); in matchScalarReduction() local 23882 M = SrcOpMap.insert(std::make_pair(Src, EltCount)).first; in matchScalarReduction()
|