Searched refs:CallerAttrs (Results 1 – 4 of 4) sorted by relevance
538 AttrBuilder CallerAttrs(F->getAttributes(), in returnTypeIsEligibleForTailCall() local545 CallerAttrs = CallerAttrs.removeAttribute(Attribute::NoAlias); in returnTypeIsEligibleForTailCall()549 if (CallerAttrs.contains(Attribute::ZExt)) { in returnTypeIsEligibleForTailCall()554 CallerAttrs.removeAttribute(Attribute::ZExt); in returnTypeIsEligibleForTailCall()556 } else if (CallerAttrs.contains(Attribute::SExt)) { in returnTypeIsEligibleForTailCall()561 CallerAttrs.removeAttribute(Attribute::SExt); in returnTypeIsEligibleForTailCall()568 if (CallerAttrs != CalleeAttrs) in returnTypeIsEligibleForTailCall()
1451 AttributeSet CallerAttrs = F->getAttributes(); in DupRetToEnableTailCallOpts() local1452 if (CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt) || in DupRetToEnableTailCallOpts()1453 CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in DupRetToEnableTailCallOpts()
54 AttributeSet CallerAttrs = F->getAttributes(); in isInTailCallPosition() local55 if (AttrBuilder(CallerAttrs, AttributeSet::ReturnIndex) in isInTailCallPosition()60 if (CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt) || in isInTailCallPosition()61 CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in isInTailCallPosition()
2266 AttributeSet CallerAttrs = F->getAttributes(); in verifyMustTailCall() local2269 AttrBuilder CallerABIAttrs = getParameterABIAttributes(I, CallerAttrs); in verifyMustTailCall()