Lines Matching refs:EltCount
121 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()
324 unsigned EltCount = LLVMCountStructElementTypes(Ty); in clone_constant_impl() local
326 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl()
329 return LLVMConstNamedStruct(Ty, Elts.data(), EltCount); in clone_constant_impl()
331 EltCount, LLVMIsPackedStruct(Ty)); in clone_constant_impl()
370 unsigned EltCount = LLVMGetVectorSize(Ty); in clone_constant_impl() local
372 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl()
374 return LLVMConstVector(Elts.data(), EltCount); in clone_constant_impl()
381 unsigned EltCount = LLVMGetVectorSize(Ty); in clone_constant_impl() local
383 for (unsigned i = 0; i < EltCount; i++) in clone_constant_impl()
385 return LLVMConstVector(Elts.data(), EltCount); in clone_constant_impl()