Home
last modified time | relevance | path

Searched refs:EltCount (Results 1 – 9 of 9) 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Decho.cpp119 unsigned EltCount = LLVMCountStructElementTypes(Src); in Clone() local
121 for (unsigned i = 0; i < EltCount; i++) in Clone()
124 LLVMStructSetBody(S, Elts.data(), EltCount, LLVMIsPackedStruct(Src)); in Clone()
126 S = LLVMStructTypeInContext(Ctx, Elts.data(), EltCount, in Clone()
287 unsigned EltCount = LLVMGetArrayLength(Ty); in clone_constant_impl() local
289 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl()
291 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl()
298 unsigned EltCount = LLVMGetArrayLength(Ty); in clone_constant_impl() local
300 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl()
302 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DFoldingSet.cpp309 void FoldingSetBase::reserve(unsigned EltCount) { in reserve() argument
313 if(EltCount < capacity()) in reserve()
315 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/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/include/llvm/ADT/
DFoldingSet.h191 void reserve(unsigned EltCount);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DFoldingSet.h161 void reserve(unsigned EltCount);
/external/llvm/include/llvm/ADT/
DFoldingSet.h186 void reserve(unsigned EltCount);
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp2412 if (unsigned EltCount = STy->getNumElements()) { in HasPadding() local
2414 TD.getTypeSizeInBits(STy->getElementType(EltCount-1)); in HasPadding()