Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DAnalysis.cpp578 AttrBuilder CallerAttrs(F->getContext(), F->getAttributes().getRetAttrs()); in attributesPermitTailCall() local
587 CallerAttrs.removeAttribute(Attr); in attributesPermitTailCall()
591 if (CallerAttrs.contains(Attribute::ZExt)) { in attributesPermitTailCall()
596 CallerAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
598 } else if (CallerAttrs.contains(Attribute::SExt)) { in attributesPermitTailCall()
603 CallerAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
625 return CallerAttrs == CalleeAttrs; in attributesPermitTailCall()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp5147 SMEAttrs CallerAttrs(*FuncInfo.Fn); in createFastISel() local
5148 if (CallerAttrs.hasZAState() || in createFastISel()
5149 (!CallerAttrs.hasStreamingInterface() && CallerAttrs.hasStreamingBody())) in createFastISel()
H A DAArch64TargetTransformInfo.cpp126 SMEAttrs CallerAttrs(*Caller); in areInlineCompatible() local
128 if (CallerAttrs.requiresSMChange(CalleeAttrs, in areInlineCompatible()
130 CallerAttrs.requiresLazySave(CalleeAttrs) || in areInlineCompatible()
H A DAArch64ISelLowering.cpp6915 SMEAttrs CallerAttrs(MF.getFunction()); in isEligibleForTailCallOptimization() local
6917 if (CallerAttrs.requiresSMChange(CalleeAttrs) || in isEligibleForTailCallOptimization()
6918 CallerAttrs.requiresLazySave(CalleeAttrs)) in isEligibleForTailCallOptimization()
7247 SMEAttrs CalleeAttrs, CallerAttrs(MF.getFunction()); in LowerCall() local
7254 bool RequiresLazySave = CallerAttrs.requiresLazySave(CalleeAttrs); in LowerCall()
7280 CallerAttrs.requiresSMChange(CalleeAttrs); in LowerCall()
7282 PStateSM = getPStateSM(DAG, Chain, CallerAttrs, DL, MVT::i64); in LowerCall()
22825 auto CallerAttrs = SMEAttrs(*Inst.getFunction()); in fallBackToDAGISel() local
22827 if (CallerAttrs.requiresSMChange(CalleeAttrs, in fallBackToDAGISel()
22829 CallerAttrs.requiresLazySave(CalleeAttrs)) in fallBackToDAGISel()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DVerifier.cpp3580 AttributeList CallerAttrs = F->getAttributes(); in verifyMustTailCall() local
3590 AttrBuilder ABIAttrs = getParameterABIAttributes(F->getContext(), I, CallerAttrs); in verifyMustTailCall()
3621 AttrBuilder CallerABIAttrs = getParameterABIAttributes(F->getContext(), I, CallerAttrs); in verifyMustTailCall()
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp574 AttributeList CallerAttrs = F.getAttributes(); in isLibCallInTailPosition() local
575 if (AttrBuilder(F.getContext(), CallerAttrs.getRetAttrs()) in isLibCallInTailPosition()
582 if (CallerAttrs.hasRetAttr(Attribute::ZExt) || in isLibCallInTailPosition()
583 CallerAttrs.hasRetAttr(Attribute::SExt)) in isLibCallInTailPosition()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp63 AttrBuilder CallerAttrs(F.getContext(), F.getAttributes().getRetAttrs()); in isInTailCallPosition() local
67 CallerAttrs.removeAttribute(Attr); in isInTailCallPosition()
69 if (CallerAttrs.hasAttributes()) in isInTailCallPosition()
73 if (CallerAttrs.contains(Attribute::ZExt) || in isInTailCallPosition()
74 CallerAttrs.contains(Attribute::SExt)) in isInTailCallPosition()