Searched refs:CalleeAttrs (Results 1 – 6 of 6) sorted by relevance
543 AttrBuilder CalleeAttrs(cast<CallInst>(I)->getAttributes(), in returnTypeIsEligibleForTailCall() local549 CalleeAttrs = CalleeAttrs.removeAttribute(Attribute::NoAlias); in returnTypeIsEligibleForTailCall()553 if (!CalleeAttrs.contains(Attribute::ZExt)) in returnTypeIsEligibleForTailCall()558 CalleeAttrs.removeAttribute(Attribute::ZExt); in returnTypeIsEligibleForTailCall()560 if (!CalleeAttrs.contains(Attribute::SExt)) in returnTypeIsEligibleForTailCall()565 CalleeAttrs.removeAttribute(Attribute::SExt); in returnTypeIsEligibleForTailCall()571 if (CallerAttrs != CalleeAttrs) in returnTypeIsEligibleForTailCall()
2048 AttributeSet CalleeAttrs = CS.getAttributes(); in dupRetToEnableTailCallOpts() local2049 if (AttrBuilder(CalleeAttrs, AttributeSet::ReturnIndex). in dupRetToEnableTailCallOpts()2051 AttrBuilder(CalleeAttrs, AttributeSet::ReturnIndex). in dupRetToEnableTailCallOpts()
519 AttrBuilder CalleeAttrs(cast<CallInst>(I)->getAttributes(), in attributesPermitTailCall() local525 CalleeAttrs.removeAttribute(Attribute::NoAlias); in attributesPermitTailCall()528 if (!CalleeAttrs.contains(Attribute::ZExt)) in attributesPermitTailCall()533 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()535 if (!CalleeAttrs.contains(Attribute::SExt)) in attributesPermitTailCall()540 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()546 return CallerAttrs == CalleeAttrs; in attributesPermitTailCall()
1868 AttributeList CalleeAttrs = CS.getAttributes(); in dupRetToEnableTailCallOpts() local1869 if (AttrBuilder(CalleeAttrs, AttributeList::ReturnIndex) in dupRetToEnableTailCallOpts()1871 AttrBuilder(CalleeAttrs, AttributeList::ReturnIndex) in dupRetToEnableTailCallOpts()
2707 AttributeSet CalleeAttrs = CI.getAttributes(); in verifyMustTailCall() local2710 AttrBuilder CalleeABIAttrs = getParameterABIAttributes(I, CalleeAttrs); in verifyMustTailCall()
2928 AttributeList CalleeAttrs = CI.getAttributes(); in verifyMustTailCall() local2931 AttrBuilder CalleeABIAttrs = getParameterABIAttributes(I, CalleeAttrs); in verifyMustTailCall()