Lines Matching defs:ElementTy
238 Type *ElementTy = FuncInfo.getParamByValType(ParamIdx);
239 if (!ElementTy)
240 ElementTy = FuncInfo.getParamByRefType(ParamIdx);
241 if (!ElementTy)
242 ElementTy = FuncInfo.getParamInAllocaType(ParamIdx);
243 if (!ElementTy)
244 ElementTy = FuncInfo.getParamPreallocatedType(ParamIdx);
246 assert(ElementTy && "Must have byval, inalloca or preallocated type");
248 uint64_t MemSize = DL.getTypeAllocSize(ElementTy);
261 MemAlign = getTLI()->getByValTypeAlignment(ElementTy, DL);