Home
last modified time | relevance | path

Searched refs:CalleeAttrs (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/CodeGen/
DAnalysis.cpp543 AttrBuilder CalleeAttrs(cast<CallInst>(I)->getAttributes(), in returnTypeIsEligibleForTailCall() local
549 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()
DCodeGenPrepare.cpp2048 AttributeSet CalleeAttrs = CS.getAttributes(); in dupRetToEnableTailCallOpts() local
2049 if (AttrBuilder(CalleeAttrs, AttributeSet::ReturnIndex). in dupRetToEnableTailCallOpts()
2051 AttrBuilder(CalleeAttrs, AttributeSet::ReturnIndex). in dupRetToEnableTailCallOpts()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DAnalysis.cpp519 AttrBuilder CalleeAttrs(cast<CallInst>(I)->getAttributes(), in attributesPermitTailCall() local
525 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()
DCodeGenPrepare.cpp1868 AttributeList CalleeAttrs = CS.getAttributes(); in dupRetToEnableTailCallOpts() local
1869 if (AttrBuilder(CalleeAttrs, AttributeList::ReturnIndex) in dupRetToEnableTailCallOpts()
1871 AttrBuilder(CalleeAttrs, AttributeList::ReturnIndex) in dupRetToEnableTailCallOpts()
/external/llvm/lib/IR/
DVerifier.cpp2707 AttributeSet CalleeAttrs = CI.getAttributes(); in verifyMustTailCall() local
2710 AttrBuilder CalleeABIAttrs = getParameterABIAttributes(I, CalleeAttrs); in verifyMustTailCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DVerifier.cpp2928 AttributeList CalleeAttrs = CI.getAttributes(); in verifyMustTailCall() local
2931 AttrBuilder CalleeABIAttrs = getParameterABIAttributes(I, CalleeAttrs); in verifyMustTailCall()