Searched refs:clang (Results 1 - 25 of 44) sorted by last modified time

12

/frameworks/rs/driver/runtime/
H A Dbuild_bc_lib_internal.mk70 external/clang/lib/Headers
/frameworks/rs/java/tests/ImageProcessing2/
H A DAndroid.mk31 LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE := $(TOPDIR)external/clang/lib/Headers \
/frameworks/rs/java/tests/RSTest_CompatLib/
H A DAndroid.mk34 $(TOPDIR)external/clang/lib/Headers \
/frameworks/rs/
H A Dupdate_rs_prebuilts.sh146 cp $MY_ANDROID_DIR/external/clang/lib/Headers/*.h renderscript/clang-include
/frameworks/compile/slang/
H A DAndroid.mk47 CLANG_ROOT_PATH := external/clang
49 include $(CLANG_ROOT_PATH)/clang.mk
H A Dllvm-rs-cc.cpp17 #include "clang/Basic/DiagnosticOptions.h"
18 #include "clang/Driver/DriverDiagnostic.h"
19 #include "clang/Driver/Options.h"
20 #include "clang/Frontend/TextDiagnosticPrinter.h"
21 #include "clang/Frontend/Utils.h"
141 clang::DiagnosticsEngine *DiagEngine, slang::DiagnosticBuffer *DiagClient,
228 llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> DiagIDs(
229 new clang::DiagnosticIDs());
231 llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions> DiagOpts(
232 new clang
[all...]
H A Drs_cc_options.cpp17 #include "clang/Basic/DiagnosticOptions.h"
18 #include "clang/Driver/DriverDiagnostic.h"
19 #include "clang/Driver/Options.h"
20 #include "clang/Frontend/Utils.h"
84 clang::DiagnosticsEngine &DiagEngine) {
95 DiagEngine.Report(clang::diag::err_drv_missing_argument)
98 clang::DiagnosticOptions DiagOpts;
101 clang::ProcessWarningOptions(DiagEngine, DiagOpts);
107 DiagEngine.Report(clang::diag::err_drv_unknown_argument)
165 DiagEngine.Report(clang
[all...]
H A Drs_cc_options.h130 RSCCOptions &Opts, clang::DiagnosticsEngine &DiagEngine);
H A Dslang.cpp24 #include "clang/AST/ASTConsumer.h"
25 #include "clang/AST/ASTContext.h"
27 #include "clang/Basic/DiagnosticIDs.h"
28 #include "clang/Basic/DiagnosticOptions.h"
29 #include "clang/Basic/FileManager.h"
30 #include "clang/Basic/FileSystemOptions.h"
31 #include "clang/Basic/LangOptions.h"
32 #include "clang/Basic/SourceManager.h"
33 #include "clang/Basic/TargetInfo.h"
34 #include "clang/Basi
[all...]
H A Dslang.h28 #include "clang/Basic/TargetOptions.h"
29 #include "clang/Lex/ModuleLoader.h"
42 namespace clang { namespace
55 } // namespace clang
59 class Slang : public clang::ModuleLoader {
60 static clang::LangOptions LangOpts;
61 static clang::CodeGenOptions CodeGenOpts;
84 std::unique_ptr<clang::Diagnostic> mDiag;
87 clang::DiagnosticsEngine *mDiagEngine;
94 std::shared_ptr<clang
[all...]
H A Dslang_backend.cpp24 #include "clang/AST/ASTContext.h"
25 #include "clang/AST/Decl.h"
26 #include "clang/AST/DeclGroup.h"
28 #include "clang/Basic/Diagnostic.h"
29 #include "clang/Basic/TargetInfo.h"
30 #include "clang/Basic/TargetOptions.h"
32 #include "clang/CodeGen/ModuleBuilder.h"
34 #include "clang/Frontend/CodeGenOptions.h"
35 #include "clang/Frontend/FrontendDiagnostic.h"
121 mDiagEngine.Report(clang
[all...]
H A Dslang_backend.h20 #include "clang/AST/ASTConsumer.h"
37 namespace clang { namespace
47 class Backend : public clang::ASTConsumer {
49 const clang::TargetOptions &mTargetOpts;
58 clang::CodeGenerator *mGen;
79 clang::DiagnosticsEngine &mDiagEngine;
80 const clang::CodeGenOptions &mCodeGenOpts;
94 virtual void HandleTranslationUnitPre(clang::ASTContext &Ctx) { }
102 Backend(clang::DiagnosticsEngine *DiagEngine,
103 const clang
[all...]
H A Dslang_diagnostic_buffer.cpp19 #include "clang/Basic/SourceLocation.h"
20 #include "clang/Basic/SourceManager.h"
33 : clang::DiagnosticConsumer(src),
42 clang::DiagnosticsEngine::Level DiagLevel,
43 clang::Diagnostic const &Info) {
44 clang::SourceLocation const &SrcLoc = Info.getLocation();
55 case clang::DiagnosticsEngine::Note: {
59 case clang::DiagnosticsEngine::Warning: {
63 case clang::DiagnosticsEngine::Error: {
67 case clang
[all...]
H A Dslang_diagnostic_buffer.h22 #include "clang/Basic/Diagnostic.h"
33 class DiagnosticBuffer : public clang::DiagnosticConsumer {
45 virtual void HandleDiagnostic(clang::DiagnosticsEngine::Level DiagLevel,
46 const clang::Diagnostic& Info);
48 virtual clang::DiagnosticConsumer *
49 clone(clang::DiagnosticsEngine &Diags) const;
H A Dslang_pragma_recorder.cpp21 #include "clang/Basic/TokenKinds.h"
23 #include "clang/Lex/Preprocessor.h"
24 #include "clang/Lex/Token.h"
28 bool PragmaRecorder::GetPragmaNameFromToken(const clang::Token &Token,
32 else if (Token.is(clang::tok::identifier))
40 bool PragmaRecorder::GetPragmaValueFromToken(const clang::Token &Token,
43 if (Token.is(clang::tok::r_paren))
55 void PragmaRecorder::HandlePragma(clang::Preprocessor &PP,
56 clang::PragmaIntroducerKind Introducer,
57 clang
[all...]
H A Dslang_pragma_recorder.h24 #include "clang/Lex/Pragma.h"
26 namespace clang { namespace
35 class PragmaRecorder : public clang::PragmaHandler {
39 static bool GetPragmaNameFromToken(const clang::Token &Token,
42 static bool GetPragmaValueFromToken(const clang::Token &Token,
48 virtual void HandlePragma(clang::Preprocessor &PP,
49 clang::PragmaIntroducerKind Introducer,
50 clang::Token &FirstToken);
H A Dslang_rs.cpp26 #include "clang/Basic/SourceLocation.h"
28 #include "clang/Frontend/FrontendDiagnostic.h"
30 #include "clang/Sema/SemaDiagnostic.h"
182 clang::DiagnosticsEngine &DiagEngine = getDiagnostics();
185 clang::diag::Severity::Error))
186 DiagEngine.Report(clang::diag::warn_unknown_warning_option)
190 clang::diag::ext_typecheck_convert_discards_qualifiers,
191 clang::diag::Severity::Error,
192 clang::SourceLocation());
196 clang
[all...]
H A Dslang_rs.h84 virtual clang::ASTConsumer
85 *createBackend(const clang::CodeGenOptions& CodeGenOpts,
95 static bool IsLocInRSHeaderFile(const clang::SourceLocation &Loc,
96 const clang::SourceManager &SourceMgr);
119 virtual void makeModuleVisible(clang::Module *Mod,
120 clang::Module::NameVisibilityKind Visibility,
121 clang::SourceLocation ImportLoc,
124 virtual clang::GlobalModuleIndex *loadGlobalModuleIndex(
125 clang::SourceLocation TriggerLoc) { }
128 clang
[all...]
H A Dslang_rs_ast_replace.cpp26 clang::Stmt *OuterStmt,
27 clang::Stmt *OldStmt,
28 clang::Stmt *NewStmt) {
35 mOldExpr = llvm::dyn_cast<clang::Expr>(OldStmt);
37 mNewExpr = llvm::dyn_cast<clang::Expr>(NewStmt);
42 void RSASTReplace::ReplaceInCompoundStmt(clang::CompoundStmt *CS) {
43 clang::Stmt **UpdatedStmtList = new clang::Stmt*[CS->size()];
46 clang::CompoundStmt::body_iterator bI = CS->body_begin();
47 clang
[all...]
H A Dslang_rs_ast_replace.h20 #include "clang/AST/StmtVisitor.h"
23 #include "clang/AST/ASTContext.h"
25 namespace clang { namespace
33 class RSASTReplace : public clang::StmtVisitor<RSASTReplace> {
35 clang::ASTContext &C;
36 clang::Stmt *mOuterStmt;
37 clang::Stmt *mOldStmt;
38 clang::Stmt *mNewStmt;
39 clang::Expr *mOldExpr;
40 clang
[all...]
H A Dslang_rs_backend.cpp22 #include "clang/AST/ASTContext.h"
23 #include "clang/Frontend/CodeGenOptions.h"
50 clang::DiagnosticsEngine *DiagEngine,
51 const clang::CodeGenOptions &CodeGenOpts,
52 const clang::TargetOptions &TargetOpts,
56 clang::SourceManager &SourceMgr,
75 void RSBackend::AnnotateFunction(clang::FunctionDecl *FD) {
84 bool RSBackend::HandleTopLevelDecl(clang::DeclGroupRef D) {
88 for (clang::DeclGroupRef::iterator I = D.begin(), E = D.end();
90 clang
[all...]
H A Dslang_rs_backend.h29 namespace clang { namespace
47 clang::SourceManager &mSourceMgr;
64 void AnnotateFunction(clang::FunctionDecl *FD);
76 virtual bool HandleTopLevelDecl(clang::DeclGroupRef D);
78 virtual void HandleTranslationUnitPre(clang::ASTContext &C);
84 clang::DiagnosticsEngine *DiagEngine,
85 const clang::CodeGenOptions &CodeGenOpts,
86 const clang::TargetOptions &TargetOpts,
90 clang::SourceManager &SourceMgr,
H A Dslang_rs_check_ast.cpp26 void RSCheckAST::VisitStmt(clang::Stmt *S) {
30 for (clang::Stmt::child_iterator I = S->child_begin(), E = S->child_end();
33 if (clang::Stmt *Child = *I) {
39 void RSCheckAST::WarnOnSetElementAt(clang::CallExpr *E) {
40 clang::FunctionDecl *Decl;
41 Decl = clang::dyn_cast_or_null<clang::FunctionDecl>(E->getCalleeDecl());
47 clang::Expr *Expr;
48 clang::ImplicitCastExpr *ImplCast;
50 ImplCast = clang
[all...]
H A Dslang_rs_check_ast.h22 #include "clang/AST/ASTContext.h"
23 #include "clang/AST/StmtVisitor.h"
30 class RSCheckAST : public clang::StmtVisitor<RSCheckAST> {
33 clang::ASTContext &C;
34 clang::SourceManager &mSM;
46 void WarnOnSetElementAt(clang::CallExpr*);
60 void VisitStmt(clang::Stmt *S);
62 void VisitCallExpr(clang::CallExpr *CE);
64 void VisitCastExpr(clang::CastExpr *CE);
66 void VisitExpr(clang
[all...]
H A Dslang_rs_context.cpp21 #include "clang/AST/ASTContext.h"
22 #include "clang/AST/Decl.h"
23 #include "clang/AST/DeclBase.h"
24 #include "clang/AST/Mangle.h"
25 #include "clang/AST/Type.h"
27 #include "clang/Basic/Linkage.h"
28 #include "clang/Basic/TargetInfo.h"
45 RSContext::RSContext(clang::Preprocessor &PP,
46 clang::ASTContext &Ctx,
47 const clang
[all...]

Completed in 168 milliseconds

12