Lines Matching defs:CC
3577 /// Helper for figuring out the default CC for a function declarator type. If
3578 /// this is the outermost chunk, then we can determine the CC from the
3586 // Check for an explicit CC attribute.
3593 CallingConv CC;
3594 if (!S.CheckCallingConvAttr(AL, CC) &&
3595 (!FTI.isVariadic || supportsVariadicCall(CC))) {
3596 return CC;
3611 // between here and there will override the CC we choose here.
3642 CallingConv CC = S.Context.getDefaultCallingConvention(FTI.isVariadic,
3652 CC = CC_OpenCLKernel;
3658 return CC;
7139 CallingConv CC = fn->getCallConv();
7140 if (CC == CC_X86FastCall) {
7142 << FunctionType::getNameForCallConv(CC)
7209 CallingConv CC;
7210 if (S.CheckCallingConvAttr(attr, CC))
7217 if (CCOld != CC) {
7222 << FunctionType::getNameForCallConv(CC)
7236 if (!supportsVariadicCall(CC)) {
7241 if (CC == CC_X86StdCall || CC == CC_X86FastCall)
7243 << FunctionType::getNameForCallConv(CC)
7248 << FunctionType::getNameForCallConv(CC);
7253 if (CC == CC_X86FastCall && fn->getHasRegParm()) {
7260 // Modify the CC from the wrapped function type, wrap it all back, and then
7262 // might have a different CC if we ignored the attribute.
7264 if (CCOld == CC) {
7267 auto EI = unwrapped.get()->getExtInfo().withCallingConv(CC);