Home
last modified time | relevance | path

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

/frameworks/compile/libbcc/lib/Core/
DBCCContext.cpp28 static BCCContext *GlobalContext = NULL;
30 BCCContext *BCCContext::GetOrCreateGlobalContext() { in GetOrCreateGlobalContext()
32 GlobalContext = new (std::nothrow) BCCContext(); in GetOrCreateGlobalContext()
40 void BCCContext::DestroyGlobalContext() { in DestroyGlobalContext()
45 BCCContext::BCCContext() : mImpl(new BCCContextImpl(*this)) { } in BCCContext() function in BCCContext
47 BCCContext::~BCCContext() { in ~BCCContext()
56 void BCCContext::addSource(Source &pSource) in addSource()
59 void BCCContext::removeSource(Source &pSource) in removeSource()
62 llvm::LLVMContext &BCCContext::getLLVMContext() in getLLVMContext()
65 const llvm::LLVMContext &BCCContext::getLLVMContext() const in getLLVMContext()
DSource.cpp61 Source *Source::CreateFromBuffer(BCCContext &pContext, in CreateFromBuffer()
89 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { in CreateFromFile()
115 Source *Source::CreateFromModule(BCCContext &pContext, llvm::Module &pModule, in CreateFromModule()
125 Source::Source(BCCContext &pContext, llvm::Module &pModule, bool pNoDelete) in Source()
159 Source *Source::CreateEmpty(BCCContext &pContext, const std::string &pName) { in CreateEmpty()
DBCCContextImpl.h25 class BCCContext; variable
39 BCCContextImpl(BCCContext &pContext) { } in BCCContextImpl()
DAndroid.mk25 BCCContext.cpp \
/frameworks/compile/libbcc/include/bcc/
DSource.h28 class BCCContext; variable
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() in getContext()
64 inline const BCCContext &getContext() const in getContext()
DBCCContext.h32 class BCCContext {
36 BCCContext();
37 ~BCCContext();
46 static BCCContext *GetOrCreateGlobalContext();
/frameworks/compile/libbcc/include/bcc/Renderscript/
DRSCompilerDriver.h29 class BCCContext; variable
100 bool build(BCCContext &pContext, const char *pCacheDir, const char *pResName,
/frameworks/rs/cpu_ref/
DrsCpuScript.h26 class BCCContext; variable
108 bcc::BCCContext *mCompilerContext;
DrsCpuCore.h27 class BCCContext; variable
DrsCpuScript.cpp370 mCompilerContext = new bcc::BCCContext(); in init()
/frameworks/compile/libbcc/lib/Renderscript/
DRSScript.cpp27 BCCContext &context = pScript.getSource().getContext(); in LinkRuntime()
DRSCompilerDriver.cpp334 bool RSCompilerDriver::build(BCCContext &pContext, in build()
/frameworks/compile/libbcc/tools/bcc_compat/
DMain.cpp129 RSScript *PrepareRSScript(BCCContext &pContext, in PrepareRSScript()
267 BCCContext context; in main()
/frameworks/compile/libbcc/tools/bcc/
DMain.cpp187 BCCContext context; in main()