Lines Matching defs:CC
3724 /// Helper for figuring out the default CC for a function declarator type. If
3725 /// this is the outermost chunk, then we can determine the CC from the
3733 // Check for an explicit CC attribute.
3740 CallingConv CC;
3741 if (!S.CheckCallingConvAttr(AL, CC) &&
3742 (!FTI.isVariadic || supportsVariadicCall(CC))) {
3743 return CC;
3758 // between here and there will override the CC we choose here.
3789 CallingConv CC = S.Context.getDefaultCallingConvention(FTI.isVariadic,
3799 CC = CC_OpenCLKernel;
3805 return CC;
7374 CallingConv CC = fn->getCallConv();
7375 if (CC == CC_X86FastCall) {
7377 << FunctionType::getNameForCallConv(CC)
7444 CallingConv CC;
7445 if (S.CheckCallingConvAttr(attr, CC))
7452 if (CCOld != CC) {
7457 << FunctionType::getNameForCallConv(CC)
7471 if (!supportsVariadicCall(CC)) {
7476 if (CC == CC_X86StdCall || CC == CC_X86FastCall)
7478 << FunctionType::getNameForCallConv(CC)
7483 << FunctionType::getNameForCallConv(CC);
7488 if (CC == CC_X86FastCall && fn->getHasRegParm()) {
7495 // Modify the CC from the wrapped function type, wrap it all back, and then
7497 // might have a different CC if we ignored the attribute.
7499 if (CCOld == CC) {
7502 auto EI = unwrapped.get()->getExtInfo().withCallingConv(CC);