Home
last modified time | relevance | path

Searched refs:Ctx (Results 1 – 9 of 9) sorted by relevance

/frameworks/compile/llvm-ndk-cc/
Dllvm-ndk-link.cpp34 llvm::LLVMContext& Ctx, in getModuleFromFilename() argument
38 llvm::Module* M = llvm::ParseBitcodeFile(MB.get(), Ctx, &ErrMsg); in getModuleFromFilename()
65 llvm::LLVMContext& Ctx) { in linkFilesToModule() argument
67 llvm::Module* M = getModuleFromFilename(Inputs[0], Ctx, ErrMsg); in linkFilesToModule()
71 llvm::Module* M = getModuleFromFilename(Inputs[i], Ctx, ErrMsg); in linkFilesToModule()
117 llvm::LLVMContext& Ctx = llvm::getGlobalContext(); in main() local
126 Ctx, in main()
132 llvm::OwningPtr<llvm::Module> M(linkFilesToModule(InputFilenames, Ctx)); in main()
DBackend.h44 virtual void Initialize(clang::ASTContext &Ctx);
54 virtual void HandleTranslationUnit(clang::ASTContext &Ctx);
DBackend.cpp205 void Backend::Initialize(clang::ASTContext &Ctx) { in Initialize() argument
206 mpGen->Initialize(Ctx); in Initialize()
216 void Backend::HandleTranslationUnit(clang::ASTContext &Ctx) { in HandleTranslationUnit() argument
217 mpGen->HandleTranslationUnit(Ctx); in HandleTranslationUnit()
/frameworks/compile/slang/
Dslang_rs_export_func.cpp69 clang::ASTContext &Ctx = Context->getASTContext(); in Create() local
75 clang::RecordDecl::Create(Ctx, clang::TTK_Struct, in Create()
76 Ctx.getTranslationUnitDecl(), in Create()
79 &Ctx.Idents.get(Id)); in Create()
92 clang::FieldDecl::Create(Ctx, in Create()
107 clang::QualType T = Ctx.getTagDeclType(RD); in Create()
Dslang_backend.h96 virtual void HandleTranslationUnitPre(clang::ASTContext &Ctx) { return; } in HandleTranslationUnitPre() argument
113 virtual void Initialize(clang::ASTContext &Ctx);
123 virtual void HandleTranslationUnit(clang::ASTContext &Ctx);
Dslang_backend.cpp229 void Backend::Initialize(clang::ASTContext &Ctx) { in Initialize() argument
230 mGen->Initialize(Ctx); in Initialize()
258 void Backend::HandleTranslationUnit(clang::ASTContext &Ctx) { in HandleTranslationUnit() argument
259 HandleTranslationUnitPre(Ctx); in HandleTranslationUnit()
261 mGen->HandleTranslationUnit(Ctx); in HandleTranslationUnit()
Dslang_rs_export_foreach.cpp404 clang::ASTContext &Ctx = Context->getASTContext(); in Create() local
424 clang::RecordDecl::Create(Ctx, clang::TTK_Struct, in Create()
425 Ctx.getTranslationUnitDecl(), in Create()
428 &Ctx.Idents.get(Id)); in Create()
431 clang::FieldDecl::Create(Ctx, in Create()
445 clang::QualType T = Ctx.getTagDeclType(RD); in Create()
Dslang_rs_context.cpp46 clang::ASTContext &Ctx, in RSContext() argument
52 mCtx(Ctx), in RSContext()
62 mMangleCtx(Ctx.createMangleContext()) { in RSContext()
Dslang_rs_context.h103 clang::ASTContext &Ctx,