HomePhabricator

IR: Rename Argument::hasPassPointeeByValueAttr to prepare for byref

Authored by arsenm on Jun 29 2020, 12:13 PM.

Description

IR: Rename Argument::hasPassPointeeByValueAttr to prepare for byref

When the byref attribute is added, there will need to be two similar
functions for the existing cases which have an associate value copy,
and byref which does not. Most, but not all of the existing uses will
use the existing version.

The associated size function added by D82679 also needs to
contextually differ, and will help eliminate a few places still
relying on pointee element types.

Details

Committed
arsenmJul 16 2020, 10:50 AM
Parents
rG0347039a6e7d: ValueTracking: Fix isKnownNonZero for non-0 null pointers for byval
Branches
Unknown
Tags
Unknown