Searched refs:CallerAttrs (Results 1 – 4 of 4) sorted by relevance
541 AttrBuilder CallerAttrs(F->getAttributes(), in returnTypeIsEligibleForTailCall() local548 CallerAttrs = CallerAttrs.removeAttribute(Attribute::NoAlias); in returnTypeIsEligibleForTailCall()552 if (CallerAttrs.contains(Attribute::ZExt)) { in returnTypeIsEligibleForTailCall()557 CallerAttrs.removeAttribute(Attribute::ZExt); in returnTypeIsEligibleForTailCall()559 } else if (CallerAttrs.contains(Attribute::SExt)) { in returnTypeIsEligibleForTailCall()564 CallerAttrs.removeAttribute(Attribute::SExt); in returnTypeIsEligibleForTailCall()571 if (CallerAttrs != CalleeAttrs) in returnTypeIsEligibleForTailCall()
1989 AttributeSet CallerAttrs = F->getAttributes(); in dupRetToEnableTailCallOpts() local1990 if (CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt) || in dupRetToEnableTailCallOpts()1991 CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in dupRetToEnableTailCallOpts()
58 AttributeSet CallerAttrs = F->getAttributes(); in isInTailCallPosition() local59 if (AttrBuilder(CallerAttrs, AttributeSet::ReturnIndex) in isInTailCallPosition()64 if (CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt) || in isInTailCallPosition()65 CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in isInTailCallPosition()
2706 AttributeSet CallerAttrs = F->getAttributes(); in verifyMustTailCall() local2709 AttrBuilder CallerABIAttrs = getParameterABIAttributes(I, CallerAttrs); in verifyMustTailCall()