Home
last modified time | relevance | path

Searched refs:CallerAttrs (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/CodeGen/
DAnalysis.cpp541 AttrBuilder CallerAttrs(F->getAttributes(), in returnTypeIsEligibleForTailCall() local
548 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()
DCodeGenPrepare.cpp1989 AttributeSet CallerAttrs = F->getAttributes(); in dupRetToEnableTailCallOpts() local
1990 if (CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt) || in dupRetToEnableTailCallOpts()
1991 CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in dupRetToEnableTailCallOpts()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DAnalysis.cpp518 AttrBuilder CallerAttrs(F->getAttributes(), AttributeList::ReturnIndex); in attributesPermitTailCall() local
524 CallerAttrs.removeAttribute(Attribute::NoAlias); in attributesPermitTailCall()
527 if (CallerAttrs.contains(Attribute::ZExt)) { in attributesPermitTailCall()
532 CallerAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
534 } else if (CallerAttrs.contains(Attribute::SExt)) { in attributesPermitTailCall()
539 CallerAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
546 return CallerAttrs == CalleeAttrs; in attributesPermitTailCall()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp58 AttributeSet CallerAttrs = F->getAttributes(); in isInTailCallPosition() local
59 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp59 AttributeList CallerAttrs = F.getAttributes(); in isInTailCallPosition() local
60 if (AttrBuilder(CallerAttrs, AttributeList::ReturnIndex) in isInTailCallPosition()
66 if (CallerAttrs.hasAttribute(AttributeList::ReturnIndex, Attribute::ZExt) || in isInTailCallPosition()
67 CallerAttrs.hasAttribute(AttributeList::ReturnIndex, Attribute::SExt)) in isInTailCallPosition()
/external/llvm/lib/IR/
DVerifier.cpp2706 AttributeSet CallerAttrs = F->getAttributes(); in verifyMustTailCall() local
2709 AttrBuilder CallerABIAttrs = getParameterABIAttributes(I, CallerAttrs); in verifyMustTailCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DVerifier.cpp2927 AttributeList CallerAttrs = F->getAttributes(); in verifyMustTailCall() local
2930 AttrBuilder CallerABIAttrs = getParameterABIAttributes(I, CallerAttrs); in verifyMustTailCall()