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

/frameworks/compile/libbcc/lib/Core/
H A DBCCContext.cpp17 #include "bcc/BCCContext.h"
28 static BCCContext *GlobalContext = NULL;
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,
88 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) {
115 Source *Source::CreateFromModule(BCCContext &pContext, llvm::Module &pModule,
133 Source::Source(BCCContext &pContext, llvm::Module &pModule, bool pNoDelete)
167 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;
32 BCCContext &mContext;
39 Source(BCCContext &pContext, llvm::Module &pModule, bool pNoDelete = false);
42 static Source *CreateFromBuffer(BCCContext &pContext,
47 static Source *CreateFromFile(BCCContext &pContext,
52 static Source *CreateFromModule(BCCContext &pContext,
56 static Source *CreateEmpty(BCCContext &pContext, const std::string &pName);
62 inline BCCContext &getContext()
64 inline const BCCContext &getContext() const
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSCompilerDriver.h29 class BCCContext;
111 bool build(BCCContext& pContext, const char* pCacheDir, const char* pResName,
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSScript.cpp30 BCCContext &context = pScript.getSource().getContext();
H A DRSCompilerDriver.cpp349 bool RSCompilerDriver::build(BCCContext &pContext,
/frameworks/rs/cpu_ref/
H A DrsCpuScript.h33 class BCCContext;
138 bcc::BCCContext *mCompilerContext;
H A DrsCpuCore.h29 class BCCContext;
H A DrsCpuScript.cpp30 #include <bcc/BCCContext.h>
393 mCompilerContext = new bcc::BCCContext();
/frameworks/compile/libbcc/tools/bcc_compat/
H A DMain.cpp30 #include <bcc/BCCContext.h>
118 RSScript *PrepareRSScript(BCCContext &pContext,
253 BCCContext context;
/frameworks/compile/libbcc/tools/bcc/
H A DMain.cpp32 #include <bcc/BCCContext.h>
185 BCCContext context;

Completed in 495 milliseconds