Searched defs:clang (Results 1 - 12 of 12) sorted by relevance

/frameworks/compile/slang/
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_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_export_element.h22 #include "clang/Lex/Token.h"
29 namespace clang { namespace
32 } // namespace clang
58 const clang::Type *T,
67 const clang::DeclaratorDecl *DD);
H A Dslang_rs_pragma_handler.h22 #include "clang/Lex/Pragma.h"
24 namespace clang { namespace
34 class RSPragmaHandler : public clang::PragmaHandler {
39 : clang::PragmaHandler(Name),
47 virtual void handleInt(clang::Preprocessor &PP, clang::Token &Tok,
51 void handleItemListPragma(clang::Preprocessor &PP,
52 clang::Token &FirstToken);
55 void handleNonParamPragma(clang::Preprocessor &PP,
56 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_export_func.h26 #include "clang/AST/Decl.h"
36 namespace clang { namespace
38 } // namespace clang
54 const clang::FunctionDecl *FD)
72 const clang::FunctionDecl *FD);
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_rs_object_ref_count.h23 #include "clang/AST/StmtVisitor.h"
28 namespace clang { namespace
45 class RSObjectRefCount : public clang::StmtVisitor<RSObjectRefCount> {
49 clang::CompoundStmt *mCS; // Associated compound statement ({ ... })
50 std::list<clang::VarDecl*> mRSO; // Declared RS objects in this scope
53 explicit Scope(clang::CompoundStmt *CS) : mCS(CS) {
56 inline void addRSObject(clang::VarDecl* VD) {
60 void ReplaceRSObjectAssignment(clang::BinaryOperator *AS);
62 void AppendRSObjectInit(clang::VarDecl *VD,
63 clang
[all...]
H A Dslang_rs_export_foreach.h24 #include "clang/AST/Decl.h"
31 namespace clang { namespace
33 } // namespace clang
42 typedef llvm::SmallVectorImpl<const clang::ParmVarDecl*> InVec;
57 llvm::SmallVector<const clang::ParmVarDecl*, 16> mIns;
58 const clang::ParmVarDecl *mOut;
59 const clang::ParmVarDecl *mUsrData;
60 const clang::ParmVarDecl *mX;
61 const clang::ParmVarDecl *mY;
63 clang
[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_rs_context.h25 #include "clang/Lex/Preprocessor.h"
26 #include "clang/AST/Mangle.h"
38 namespace clang { namespace
44 } // namespace clang
66 clang::Preprocessor &mPP;
67 clang::ASTContext &mCtx;
90 std::unique_ptr<clang::MangleContext> mMangleCtx;
94 bool processExportVar(const clang::VarDecl *VD);
95 bool processExportFunc(const clang::FunctionDecl *FD);
106 RSContext(clang
[all...]
H A Dslang_rs_export_type.cpp22 #include "clang/AST/ASTContext.h"
23 #include "clang/AST/Attr.h"
24 #include "clang/AST/RecordLayout.h"
92 clang::BuiltinType::Kind builtinTypeKind;
102 {clang::BuiltinType::Bool, DataTypeBoolean,
104 {clang::BuiltinType::Char_U, DataTypeUnsigned8,
106 {clang::BuiltinType::UChar, DataTypeUnsigned8,
108 {clang::BuiltinType::Char16, DataTypeSigned16,
110 {clang::BuiltinType::Char32, DataTypeSigned32,
112 {clang
193 ConstantArrayTypeExportableHelper( const clang::ConstantArrayType *CAT, llvm::SmallPtrSet<const clang::Type*, 8>& SPS, slang::RSContext *Context, const clang::VarDecl *VD, const clang::RecordDecl *TopLevelRecord) argument
444 ValidateTypeHelper( slang::RSContext *Context, clang::ASTContext &C, const clang::Type *&T, clang::NamedDecl *ND, clang::SourceLocation Loc, llvm::SmallPtrSet<const clang::Type*, 8>& SPS, bool InCompositeType, clang::RecordDecl *UnionDecl, unsigned int TargetAPI, bool IsFilterscript) argument
[all...]

Completed in 140 milliseconds