Lines Matching refs:EltCount
118 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()
297 unsigned EltCount = LLVMCountStructElementTypes(Ty); in clone_constant_impl() local
299 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl()
302 return LLVMConstNamedStruct(Ty, Elts.data(), EltCount); in clone_constant_impl()
304 EltCount, LLVMIsPackedStruct(Ty)); in clone_constant_impl()