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