Lines Matching refs:Caller

1572 static bool isEqual(const Function &Caller, const Function &Callee) {  in isEqual()  argument
1573 return Caller.getFnAttribute(AttrClass::getKind()) == in isEqual()
1583 static void setAND(Function &Caller, const Function &Callee) { in setAND() argument
1584 if (AttrClass::isSet(Caller, AttrClass::getKind()) && in setAND()
1586 AttrClass::set(Caller, AttrClass::getKind(), false); in setAND()
1595 static void setOR(Function &Caller, const Function &Callee) { in setOR() argument
1596 if (!AttrClass::isSet(Caller, AttrClass::getKind()) && in setOR()
1598 AttrClass::set(Caller, AttrClass::getKind(), true); in setOR()
1603 static void adjustCallerSSPLevel(Function &Caller, const Function &Callee) { in adjustCallerSSPLevel() argument
1611 AttributeSet OldSSPAttr = AttributeSet::get(Caller.getContext(), in adjustCallerSSPLevel()
1616 Caller.removeAttributes(AttributeSet::FunctionIndex, OldSSPAttr); in adjustCallerSSPLevel()
1617 Caller.addFnAttr(Attribute::StackProtectReq); in adjustCallerSSPLevel()
1619 !Caller.hasFnAttribute(Attribute::StackProtectReq)) { in adjustCallerSSPLevel()
1620 Caller.removeAttributes(AttributeSet::FunctionIndex, OldSSPAttr); in adjustCallerSSPLevel()
1621 Caller.addFnAttr(Attribute::StackProtectStrong); in adjustCallerSSPLevel()
1623 !Caller.hasFnAttribute(Attribute::StackProtectReq) && in adjustCallerSSPLevel()
1624 !Caller.hasFnAttribute(Attribute::StackProtectStrong)) in adjustCallerSSPLevel()
1625 Caller.addFnAttr(Attribute::StackProtect); in adjustCallerSSPLevel()
1631 bool AttributeFuncs::areInlineCompatible(const Function &Caller, in areInlineCompatible() argument
1633 return hasCompatibleFnAttrs(Caller, Callee); in areInlineCompatible()
1637 void AttributeFuncs::mergeAttributesForInlining(Function &Caller, in mergeAttributesForInlining() argument
1639 mergeFnAttrs(Caller, Callee); in mergeAttributesForInlining()