Searched refs:BCCContext (Results 1 - 16 of 16) 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.cpp29 #include "bcc/BCCContext.h"
60 Source *Source::CreateFromBuffer(BCCContext &pContext,
87 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) {
113 Source *Source::CreateFromModule(BCCContext &pContext, const char* name, llvm::Module &pModule,
131 Source::Source(const char* name, BCCContext &pContext, llvm::Module &pModule,
154 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.h28 class BCCContext;
33 BCCContext &mContext;
40 Source(const char* name, BCCContext &pContext, llvm::Module &pModule,
44 static Source *CreateFromBuffer(BCCContext &pContext,
49 static Source *CreateFromFile(BCCContext &pContext,
54 static Source *CreateFromModule(BCCContext &pContext,
59 static Source *CreateEmpty(BCCContext &pContext, const std::string &pName);
67 inline BCCContext &getContext()
69 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;
140 bool build(BCCContext& pContext, const char* pCacheDir, const char* pResName,
147 BCCContext& Context, const char* pOutputFilepath, const char* pRuntimePath,
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSScript.cpp29 BCCContext &context = pScript.getSource().getContext();
H A DRSScriptGroupFusion.cpp20 #include "bcc/BCCContext.h"
140 llvm::FunctionType* getFusedFuncType(bcc::BCCContext& Context,
183 bool fuseKernels(bcc::BCCContext& Context,
326 bool renameInvoke(BCCContext& Context, const Source* source, const int slot,
H A DRSCompilerDriver.cpp29 #include "bcc/BCCContext.h"
209 bool RSCompilerDriver::build(BCCContext &pContext,
281 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) {
310 BCCContext context;
/frameworks/rs/cpu_ref/
H A DrsCpuCore.h29 class BCCContext;
H A DrsCpuScript.h30 class BCCContext;
H A DrsCpuScript.cpp28 #include <bcc/BCCContext.h>

Completed in 593 milliseconds