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

/frameworks/compile/libbcc/lib/Core/
H A DBCCContext.cpp17 #include "bcc/BCCContext.h"
28 static BCCContext *GlobalContext = nullptr;
30 BCCContext *BCCContext::GetOrCreateGlobalContext() {
32 GlobalContext = new (std::nothrow) BCCContext();
34 ALOGE("Out of memory when allocating global BCCContext!");
40 void BCCContext::DestroyGlobalContext() {
45 BCCContext::BCCContext() : mImpl(new BCCContextImpl(*this)) { } function in class:BCCContext
47 BCCContext
[all...]
H A DBCCContextImpl.h25 class BCCContext;
29 * class BCCContextImpl contains the implementation of BCCContext.
39 BCCContextImpl(BCCContext &pContext) { }
H A DAndroid.mk25 BCCContext.cpp \
H A DSource.cpp30 #include "bcc/BCCContext.h"
64 Source *Source::CreateFromBuffer(BCCContext &pContext,
95 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) {
125 Source *Source::CreateFromModule(BCCContext &pContext, const char* name, llvm::Module &pModule,
144 Source::Source(const char* name, BCCContext &pContext, llvm::Module &pModule,
171 Source *Source::CreateEmpty(BCCContext &pContext, const std::string &pName) {
/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,
69 static Source *CreateEmpty(BCCContext &pContext, const std::string &pName);
77 inline BCCContext &getContext()
79 inline const BCCContext &getContext() const
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSScriptGroupFusion.h30 class BCCContext;
41 bool fuseKernels(BCCContext& Context,
47 bool renameInvoke(BCCContext& Context, const Source* source, const int slot,
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/lib/Renderscript/
H A DRSScript.cpp30 BCCContext &context = pScript.getSource().getContext();
H A DRSScriptGroupFusion.cpp20 #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.cpp31 #include "bcc/BCCContext.h"
224 bool RSCompilerDriver::build(BCCContext &pContext,
310 BCCContext& Context, const char* pOutputFilepath, const char* pRuntimePath,
/frameworks/compile/libbcc/tools/bcc_compat/
H A DMain.cpp30 #include <bcc/BCCContext.h>
116 RSScript *PrepareRSScript(BCCContext &pContext,
264 BCCContext context;
/frameworks/compile/libbcc/tools/bcc/
H A DMain.cpp38 #include <bcc/BCCContext.h>
189 bool compileScriptGroup(BCCContext& Context, RSCompilerDriver& RSCD) {
286 BCCContext context;

Completed in 230 milliseconds