Lines Matching refs:clang
90 clang::LangStandard::Kind clc_lang_standard;
94 { CL_MAKE_VERSION(1, 0, 0), clang::LangStandard::lang_opencl10},
95 { CL_MAKE_VERSION(1, 1, 0), clang::LangStandard::lang_opencl11},
96 { CL_MAKE_VERSION(1, 2, 0), clang::LangStandard::lang_opencl12},
97 { CL_MAKE_VERSION(2, 0, 0), clang::LangStandard::lang_opencl20},
99 { CL_MAKE_VERSION(3, 0, 0), clang::LangStandard::lang_opencl30},
168 clang::LangStandard::Kind
184 clang::LangStandard::Kind
215 std::unique_ptr<clang::CompilerInstance>
219 std::unique_ptr<clang::CompilerInstance> c { new clang::CompilerInstance }; in create_compiler_instance()
220 clang::TextDiagnosticBuffer *diag_buffer = new clang::TextDiagnosticBuffer; in create_compiler_instance()
221 clang::DiagnosticsEngine diag { new clang::DiagnosticIDs, in create_compiler_instance()
222 new clang::DiagnosticOptions, diag_buffer }; in create_compiler_instance()
282 c->createDiagnostics(new clang::TextDiagnosticPrinter( in create_compiler_instance()
286 c->setTarget(clang::TargetInfo::CreateTargetInfo( in create_compiler_instance()
293 compile(LLVMContext &ctx, clang::CompilerInstance &c, in compile()
297 c.getFrontendOpts().ProgramAction = clang::frontend::EmitLLVMOnly; in compile()
305 clang::frontend::Angled, in compile()
313 clang::frontend::Angled, in compile()
341 clang::frontend::Angled, in compile()
358 clang::CodeGenOptions::BitcodeFileToLink F; in compile()
371 clang::EmitLLVMOnlyAction act(&ctx); in compile()
457 link(LLVMContext &ctx, const clang::CompilerInstance &c, in link()