Home
last modified time | relevance | path

Searched refs:EltCount (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/tools/llvm-c-test/
H A Decho.cpp124 unsigned EltCount = LLVMCountStructElementTypes(Src); in Clone() local
126 for (unsigned i = 0; i < EltCount; i++) in Clone()
131 S = LLVMStructTypeInContext(Ctx, Elts.data(), EltCount, in Clone()
310 unsigned EltCount = LLVMGetArrayLength(Ty); in clone_constant_impl() local
312 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl()
321 unsigned EltCount = LLVMCountStructElementTypes(Ty); in clone_constant_impl() local
323 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl()
326 return LLVMConstNamedStruct(Ty, Elts.data(), EltCount); in clone_constant_impl()
369 unsigned EltCount = LLVMGetVectorSize(Ty); in clone_constant_impl() local
371 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DFoldingSet.cpp266 void FoldingSetBase::reserve(unsigned EltCount, const FoldingSetInfo &Info) { in reserve() argument
270 if(EltCount < capacity()) in reserve()
272 GrowBucketCount(PowerOf2Floor(EltCount), Info); in reserve()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DFoldingSet.h204 void reserve(unsigned EltCount, const FoldingSetInfo &Info);
468 void reserve(unsigned EltCount) { in reserve() argument
469 return FoldingSetBase::reserve(EltCount, Derived::getFoldingSetInfo()); in reserve()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstants.cpp2479 auto EltCount = ElementCount::getFixed(0); in getGetElementPtr() local
2481 EltCount = VecTy->getElementCount(); in getGetElementPtr()
2485 EltCount = VecTy->getElementCount(); in getGetElementPtr()
2487 if (EltCount.isNonZero()) in getGetElementPtr()
2488 ReqTy = VectorType::get(ReqTy, EltCount); in getGetElementPtr()
2502 cast<VectorType>(Idx->getType())->getElementCount() == EltCount) && in getGetElementPtr()
2507 } else if (GTI.isSequential() && EltCount.isNonZero() && in getGetElementPtr()
2509 Idx = ConstantVector::getSplat(EltCount, Idx); in getGetElementPtr()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstructions.h1085 ElementCount EltCount = PtrVTy->getElementCount();
1086 return VectorType::get(PtrTy, EltCount);
1090 ElementCount EltCount = IndexVTy->getElementCount();
1091 return VectorType::get(PtrTy, EltCount);
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp23428 APInt EltCount = APInt::getZero(NumElts); in matchScalarReduction() local
23429 M = SrcOpMap.insert(std::make_pair(Src, EltCount)).first; in matchScalarReduction()