Searched refs:elt1 (Results 1 – 1 of 1) sorted by relevance
251 create(StringRef Name, Type *elt1, Tys *... elts) { in create() argument252 assert(elt1 && "Cannot create a struct type with no elements with this"); in create()253 return create(ArrayRef<Type *>({elt1, elts...}), Name); in create()268 get(Type *elt1, Tys *... elts) { in get() argument269 assert(elt1 && "Cannot create a struct type with no elements with this"); in get()270 LLVMContext &Ctx = elt1->getContext(); in get()271 return StructType::get(Ctx, ArrayRef<Type *>({elt1, elts...})); in get()320 setBody(Type *elt1, Tys *... elts) { in setBody() argument321 assert(elt1 && "Cannot create a struct type with no elements with this"); in setBody()322 setBody(ArrayRef<Type *>({elt1, elts...})); in setBody()