Searched refs:BCCContext (Results 1 - 12 of 12) sorted by relevance

/frameworks/compile/libbcc/lib/
H A DBCCContext.cpp17 #include "bcc/BCCContext.h"
27 static BCCContext *GlobalContext = nullptr;
29 BCCContext *BCCContext::GetOrCreateGlobalContext() {
31 GlobalContext = new (std::nothrow) BCCContext();
33 ALOGE("Out of memory when allocating global BCCContext!");
39 void BCCContext::DestroyGlobalContext() {
44 BCCContext::BCCContext() : mImpl(new BCCContextImpl(*this)) { } function in class:BCCContext
46 BCCContext
[all...]
H A DBCCContextImpl.h25 class BCCContext;
29 * class BCCContextImpl contains the implementation of BCCContext.
39 explicit BCCContextImpl(BCCContext &pContext) { }
H A DRSScriptGroupFusion.h30 class BCCContext;
41 bool fuseKernels(BCCContext& Context,
47 bool renameInvoke(BCCContext& Context, const Source* source, const int slot,
H A DScript.cpp41 BCCContext &context = mSource->getContext();
H A DSource.cpp20 #include "bcc/BCCContext.h"
102 Source *Source::CreateFromBuffer(BCCContext &pContext,
138 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) {
175 Source *Source::CreateFromModule(BCCContext &pContext, const char* name, llvm::Module &pModule,
197 Source::Source(const char* name, BCCContext &pContext, llvm::Module &pModule,
H A DRSScriptGroupFusion.cpp21 #include "bcc/BCCContext.h"
133 llvm::FunctionType* getFusedFuncType(bcc::BCCContext& Context,
176 bool fuseKernels(bcc::BCCContext& Context,
319 bool renameInvoke(BCCContext& Context, const Source* source, const int slot,
H A DRSCompilerDriver.cpp25 #include "bcc/BCCContext.h"
218 bool RSCompilerDriver::build(BCCContext &pContext,
304 BCCContext& Context, const char* pOutputFilepath, const char* pRuntimePath,
/frameworks/compile/libbcc/include/bcc/
H A DBCCContext.h30 * class BCCContext manages the global data across the libbcc infrastructure.
32 class BCCContext { class in namespace:bcc
36 BCCContext();
37 ~BCCContext();
45 // Global BCCContext
46 static BCCContext *GetOrCreateGlobalContext();
H A DSource.h32 class BCCContext;
37 BCCContext &mContext;
50 Source(const char* name, BCCContext &pContext, llvm::Module &pModule,
54 static Source *CreateFromBuffer(BCCContext &pContext,
59 static Source *CreateFromFile(BCCContext &pContext,
64 static Source *CreateFromModule(BCCContext &pContext,
82 inline BCCContext &getContext()
84 inline const BCCContext &getContext() const
H A DRSCompilerDriver.h31 class BCCContext;
144 bool build(BCCContext& pContext, const char* pCacheDir, const char* pResName,
151 BCCContext& Context, const char* pOutputFilepath, const char* pRuntimePath,
/frameworks/compile/libbcc/tools/bcc_compat/
H A DMain.cpp30 #include <bcc/BCCContext.h>
112 Script *PrepareScript(BCCContext &pContext,
260 BCCContext context;
/frameworks/compile/libbcc/tools/bcc/
H A DMain.cpp40 #include <bcc/BCCContext.h>
186 bool compileScriptGroup(BCCContext& Context, RSCompilerDriver& RSCD) {
283 BCCContext context;

Completed in 5738 milliseconds