Lines Matching refs:IK

74 static unsigned getOptimizationLevel(ArgList &Args, InputKind IK,  in getOptimizationLevel()  argument
77 if (IK == IK_OpenCL && !Args.hasArg(OPT_cl_opt_disable)) in getOptimizationLevel()
343 static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, in ParseCodeGenArgs() argument
349 unsigned OptimizationLevel = getOptimizationLevel(Args, IK, Diags); in ParseCodeGenArgs()
1020 InputKind IK = DashX; in ParseFrontendArgs() local
1021 if (IK == IK_None) { in ParseFrontendArgs()
1022 IK = FrontendOptions::getInputKindForExtension( in ParseFrontendArgs()
1026 DashX = IK; in ParseFrontendArgs()
1028 Opts.Inputs.push_back(FrontendInputFile(Inputs[i], IK)); in ParseFrontendArgs()
1175 void CompilerInvocation::setLangDefaults(LangOptions &Opts, InputKind IK, in setLangDefaults() argument
1180 if (IK == IK_Asm) { in setLangDefaults()
1182 } else if (IK == IK_ObjC || in setLangDefaults()
1183 IK == IK_ObjCXX || in setLangDefaults()
1184 IK == IK_PreprocessedObjC || in setLangDefaults()
1185 IK == IK_PreprocessedObjCXX) { in setLangDefaults()
1191 switch (IK) { in setLangDefaults()
1234 Opts.OpenCL = LangStd == LangStandard::lang_opencl || IK == IK_OpenCL; in setLangDefaults()
1253 Opts.CUDA = IK == IK_CUDA || IK == IK_PreprocessedCuda || in setLangDefaults()
1289 static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, in ParseLangArgs() argument
1306 switch (IK) { in ParseLangArgs()
1359 CompilerInvocation::setLangDefaults(Opts, IK, LangStd); in ParseLangArgs()
1636 unsigned Opt = getOptimizationLevel(Args, IK, Diags), in ParseLangArgs()