Lines Matching refs:IK
866 static unsigned getOptimizationLevel(ArgList &Args, InputKind IK,
869 if (IK == IK_OpenCL && !Args.hasArg(OPT_cl_opt_disable))
961 static void ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
965 Opts.OptimizationLevel = getOptimizationLevel(Args, IK, Diags);
1325 InputKind IK = DashX;
1326 if (IK == IK_None) {
1327 IK = FrontendOptions::getInputKindForExtension(
1331 DashX = IK;
1333 Opts.Inputs.push_back(std::make_pair(IK, Inputs[i]));
1405 void CompilerInvocation::setLangDefaults(LangOptions &Opts, InputKind IK,
1410 if (IK == IK_Asm) {
1412 } else if (IK == IK_ObjC ||
1413 IK == IK_ObjCXX ||
1414 IK == IK_PreprocessedObjC ||
1415 IK == IK_PreprocessedObjCXX) {
1421 switch (IK) {
1485 static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK,
1501 switch (IK) {
1541 CompilerInvocation::setLangDefaults(Opts, IK, LangStd);
1690 unsigned Opt = getOptimizationLevel(Args, IK, Diags);