Home
last modified time | relevance | path

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

/external/llvm/tools/llvm-c-test/
Decho.cpp118 unsigned EltCount = LLVMCountStructElementTypes(Src); in Clone() local
120 for (unsigned i = 0; i < EltCount; i++) in Clone()
123 LLVMStructSetBody(S, Elts.data(), EltCount, LLVMIsPackedStruct(Src)); in Clone()
125 S = LLVMStructTypeInContext(Ctx, Elts.data(), EltCount, in Clone()
275 unsigned EltCount = LLVMGetArrayLength(Ty); in clone_constant_impl() local
277 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl()
279 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl()
286 unsigned EltCount = LLVMGetArrayLength(Ty); in clone_constant_impl() local
288 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl()
290 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl()
[all …]
/external/llvm-project/llvm/tools/llvm-c-test/
Decho.cpp121 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()
302 unsigned EltCount = LLVMGetArrayLength(Ty); in clone_constant_impl() local
304 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl()
306 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl()
313 unsigned EltCount = LLVMGetArrayLength(Ty); in clone_constant_impl() local
315 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl()
317 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl()
[all …]
/external/llvm/lib/Support/
DFoldingSet.cpp307 void FoldingSetImpl::reserve(unsigned EltCount) { in reserve() argument
311 if(EltCount < capacity()) in reserve()
313 GrowBucketCount(PowerOf2Floor(EltCount)); in reserve()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DFoldingSet.cpp307 void FoldingSetImpl::reserve(unsigned EltCount) { in reserve() argument
311 if(EltCount < capacity()) in reserve()
313 GrowBucketCount(PowerOf2Floor(EltCount)); in reserve()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFoldingSet.cpp308 void FoldingSetBase::reserve(unsigned EltCount) { in reserve() argument
312 if(EltCount < capacity()) in reserve()
314 GrowBucketCount(PowerOf2Floor(EltCount)); in reserve()
/external/llvm-project/llvm/lib/Support/
DFoldingSet.cpp314 void FoldingSetBase::reserve(unsigned EltCount, const FoldingSetInfo &Info) { in reserve() argument
318 if(EltCount < capacity()) in reserve()
320 GrowBucketCount(PowerOf2Floor(EltCount), Info); in reserve()
/external/llvm-project/llvm/include/llvm/ADT/
DFoldingSet.h201 void reserve(unsigned EltCount, const FoldingSetInfo &Info);
441 void reserve(unsigned EltCount) { in reserve() argument
442 return FoldingSetBase::reserve(EltCount, Derived::getFoldingSetInfo()); in reserve()
/external/llvm-project/llvm/lib/IR/
DConstants.cpp2375 auto EltCount = ElementCount::getFixed(0); in getGetElementPtr() local
2377 EltCount = VecTy->getElementCount(); in getGetElementPtr()
2381 EltCount = VecTy->getElementCount(); in getGetElementPtr()
2383 if (EltCount.isNonZero()) in getGetElementPtr()
2384 ReqTy = VectorType::get(ReqTy, EltCount); in getGetElementPtr()
2398 cast<VectorType>(Idx->getType())->getElementCount() == EltCount) && in getGetElementPtr()
2403 } else if (GTI.isSequential() && EltCount.isNonZero() && in getGetElementPtr()
2405 Idx = ConstantVector::getSplat(EltCount, Idx); in getGetElementPtr()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DFoldingSet.h160 void reserve(unsigned EltCount);
/external/llvm/include/llvm/ADT/
DFoldingSet.h186 void reserve(unsigned EltCount);
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DFoldingSet.h191 void reserve(unsigned EltCount);
/external/llvm-project/llvm/include/llvm/IR/
DInstructions.h1079 ElementCount EltCount = PtrVTy->getElementCount();
1080 return VectorType::get(PtrTy, EltCount);
1084 ElementCount EltCount = IndexVTy->getElementCount();
1085 return VectorType::get(PtrTy, EltCount);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp20614 APInt EltCount = APInt::getNullValue(NumElts); in matchScalarReduction() local
20615 M = SrcOpMap.insert(std::make_pair(Src, EltCount)).first; in matchScalarReduction()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp21760 APInt EltCount = APInt::getNullValue(NumElts); in matchScalarReduction() local
21761 M = SrcOpMap.insert(std::make_pair(Src, EltCount)).first; in matchScalarReduction()