Lines Matching refs:getFunction

74   if (MF->getFunction().getCallingConv() == CallingConv::GHC)  in getCalleeSavedRegs()
78 if (MF->getFunction().getCallingConv() == CallingConv::PreserveNone) in getCalleeSavedRegs()
80 if (MF->getFunction().getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs()
83 if (MF->getFunction().getCallingConv() == CallingConv::ARM64EC_Thunk_X64) in getCalleeSavedRegs()
91 if (MF->getFunction().getCallingConv() == CallingConv::CFGuard_Check) in getCalleeSavedRegs()
96 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs()
99 if (MF->getFunction().getCallingConv() == CallingConv::SwiftTail) in getCalleeSavedRegs()
103 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_VectorCall) in getCalleeSavedRegs()
105 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_SVE_VectorCall) in getCalleeSavedRegs()
107 if (MF->getFunction().getCallingConv() == in getCalleeSavedRegs()
114 if (MF->getFunction().getCallingConv() == in getCalleeSavedRegs()
121 if (MF->getFunction().getCallingConv() == in getCalleeSavedRegs()
130 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs()
133 if (MF->getFunction().getCallingConv() == CallingConv::SwiftTail) in getCalleeSavedRegs()
135 if (MF->getFunction().getCallingConv() == CallingConv::PreserveMost) in getCalleeSavedRegs()
137 if (MF->getFunction().getCallingConv() == CallingConv::PreserveAll) in getCalleeSavedRegs()
139 if (MF->getFunction().getCallingConv() == CallingConv::Win64) in getCalleeSavedRegs()
154 if (MF->getFunction().getCallingConv() == CallingConv::CFGuard_Check) in getDarwinCalleeSavedRegs()
157 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_VectorCall) in getDarwinCalleeSavedRegs()
159 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_SVE_VectorCall) in getDarwinCalleeSavedRegs()
162 if (MF->getFunction().getCallingConv() == in getDarwinCalleeSavedRegs()
169 if (MF->getFunction().getCallingConv() == in getDarwinCalleeSavedRegs()
176 if (MF->getFunction().getCallingConv() == in getDarwinCalleeSavedRegs()
183 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS) in getDarwinCalleeSavedRegs()
189 MF->getFunction().getAttributes().hasAttrSomewhere( in getDarwinCalleeSavedRegs()
192 if (MF->getFunction().getCallingConv() == CallingConv::SwiftTail) in getDarwinCalleeSavedRegs()
194 if (MF->getFunction().getCallingConv() == CallingConv::PreserveMost) in getDarwinCalleeSavedRegs()
196 if (MF->getFunction().getCallingConv() == CallingConv::PreserveAll) in getDarwinCalleeSavedRegs()
198 if (MF->getFunction().getCallingConv() == CallingConv::Win64) in getDarwinCalleeSavedRegs()
206 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
267 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getDarwinCallPreservedMask()
281 bool SCS = MF.getFunction().hasFnAttribute(Attribute::ShadowCallStack); in getCallPreservedMask()
313 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
459 if (MF.getFunction().hasFnAttribute(Attribute::SpeculativeLoadHardening)) in getStrictlyReservedRegs()
484 if (MF.getFunction().getCallingConv() == CallingConv::GRAAL) { in getStrictlyReservedRegs()
537 const Function &F = MF.getFunction(); in emitReservedArgRegCallError()
547 if (MF.getFunction().hasFnAttribute(Attribute::SpeculativeLoadHardening) && in isAsmClobberable()
612 CallingConv::ID CC = MF.getFunction().getCallingConv(); in isArgumentRegister()
614 bool IsVarArg = STI.isCallingConvWin64(MF.getFunction().getCallingConv(), in isArgumentRegister()
615 MF.getFunction().isVarArg()); in isArgumentRegister()
627 if (!MF.getFunction().isVarArg()) in isArgumentRegister()