Lines Matching refs:Caller

2025 static bool checkDenormMode(const Function &Caller, const Function &Callee) {  in checkDenormMode()  argument
2026 DenormalMode CallerMode = Caller.getDenormalModeRaw(); in checkDenormMode()
2030 DenormalMode CallerModeF32 = Caller.getDenormalModeF32Raw(); in checkDenormMode()
2043 static bool isEqual(const Function &Caller, const Function &Callee) { in isEqual() argument
2044 return Caller.getFnAttribute(AttrClass::getKind()) == in isEqual()
2048 static bool isEqual(const Function &Caller, const Function &Callee, in isEqual() argument
2050 return Caller.getFnAttribute(AttrName) == Callee.getFnAttribute(AttrName); in isEqual()
2059 static void setAND(Function &Caller, const Function &Callee) { in setAND() argument
2060 if (AttrClass::isSet(Caller, AttrClass::getKind()) && in setAND()
2062 AttrClass::set(Caller, AttrClass::getKind(), false); in setAND()
2071 static void setOR(Function &Caller, const Function &Callee) { in setOR() argument
2072 if (!AttrClass::isSet(Caller, AttrClass::getKind()) && in setOR()
2074 AttrClass::set(Caller, AttrClass::getKind(), true); in setOR()
2079 static void adjustCallerSSPLevel(Function &Caller, const Function &Callee) { in adjustCallerSSPLevel() argument
2083 if (!Caller.hasStackProtectorFnAttr()) in adjustCallerSSPLevel()
2095 Caller.removeFnAttrs(OldSSPAttr); in adjustCallerSSPLevel()
2096 Caller.addFnAttr(Attribute::StackProtectReq); in adjustCallerSSPLevel()
2098 !Caller.hasFnAttribute(Attribute::StackProtectReq)) { in adjustCallerSSPLevel()
2099 Caller.removeFnAttrs(OldSSPAttr); in adjustCallerSSPLevel()
2100 Caller.addFnAttr(Attribute::StackProtectStrong); in adjustCallerSSPLevel()
2102 !Caller.hasFnAttribute(Attribute::StackProtectReq) && in adjustCallerSSPLevel()
2103 !Caller.hasFnAttribute(Attribute::StackProtectStrong)) in adjustCallerSSPLevel()
2104 Caller.addFnAttr(Attribute::StackProtect); in adjustCallerSSPLevel()
2109 static void adjustCallerStackProbes(Function &Caller, const Function &Callee) { in adjustCallerStackProbes() argument
2110 if (!Caller.hasFnAttribute("probe-stack") && in adjustCallerStackProbes()
2112 Caller.addFnAttr(Callee.getFnAttribute("probe-stack")); in adjustCallerStackProbes()
2120 adjustCallerStackProbeSize(Function &Caller, const Function &Callee) { in adjustCallerStackProbeSize() argument
2123 Attribute CallerAttr = Caller.getFnAttribute("stack-probe-size"); in adjustCallerStackProbeSize()
2130 Caller.addFnAttr(CalleeAttr); in adjustCallerStackProbeSize()
2133 Caller.addFnAttr(CalleeAttr); in adjustCallerStackProbeSize()
2148 adjustMinLegalVectorWidth(Function &Caller, const Function &Callee) { in adjustMinLegalVectorWidth() argument
2149 Attribute CallerAttr = Caller.getFnAttribute("min-legal-vector-width"); in adjustMinLegalVectorWidth()
2157 Caller.addFnAttr(CalleeAttr); in adjustMinLegalVectorWidth()
2161 Caller.removeFnAttr("min-legal-vector-width"); in adjustMinLegalVectorWidth()
2169 adjustNullPointerValidAttr(Function &Caller, const Function &Callee) { in adjustNullPointerValidAttr() argument
2170 if (Callee.nullPointerIsDefined() && !Caller.nullPointerIsDefined()) { in adjustNullPointerValidAttr()
2171 Caller.addFnAttr(Attribute::NullPointerIsValid); in adjustNullPointerValidAttr()
2219 bool AttributeFuncs::areInlineCompatible(const Function &Caller, in areInlineCompatible() argument
2221 return hasCompatibleFnAttrs(Caller, Callee); in areInlineCompatible()
2229 void AttributeFuncs::mergeAttributesForInlining(Function &Caller, in mergeAttributesForInlining() argument
2231 mergeFnAttrs(Caller, Callee); in mergeAttributesForInlining()