Lines Matching refs:ParamAttrs
152 static Type *getMemoryParamAllocType(AttributeSet ParamAttrs, Type *ArgTy) { in getMemoryParamAllocType() argument
155 if (Type *ByValTy = ParamAttrs.getByValType()) in getMemoryParamAllocType()
157 if (Type *ByRefTy = ParamAttrs.getByRefType()) in getMemoryParamAllocType()
159 if (Type *PreAllocTy = ParamAttrs.getPreallocatedType()) in getMemoryParamAllocType()
164 if (ParamAttrs.hasAttribute(Attribute::InAlloca) || in getMemoryParamAllocType()
165 ParamAttrs.hasAttribute(Attribute::ByVal) || in getMemoryParamAllocType()
166 ParamAttrs.hasAttribute(Attribute::StructRet) || in getMemoryParamAllocType()
167 ParamAttrs.hasAttribute(Attribute::Preallocated)) in getMemoryParamAllocType()
174 AttributeSet ParamAttrs = in getPassPointeeByValueCopySize() local
176 if (Type *MemTy = getMemoryParamAllocType(ParamAttrs, getType())) in getPassPointeeByValueCopySize()
182 AttributeSet ParamAttrs = in getPointeeInMemoryValueType() local
184 return getMemoryParamAllocType(ParamAttrs, getType()); in getPointeeInMemoryValueType()