Home
last modified time | relevance | path

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

/frameworks/compile/libbcc/lib/Core/
DBCCContext.cpp28 static BCCContext *GlobalContext = nullptr;
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.cpp64 Source *Source::CreateFromBuffer(BCCContext &pContext, in CreateFromBuffer()
95 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { in CreateFromFile()
125 Source *Source::CreateFromModule(BCCContext &pContext, const char* name, llvm::Module &pModule, in CreateFromModule()
144 Source::Source(const char* name, BCCContext &pContext, llvm::Module &pModule, in Source()
171 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.h32 class BCCContext; variable
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() in getContext()
79 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/
DRSScriptGroupFusion.h30 class BCCContext; variable
41 bool fuseKernels(BCCContext& Context,
47 bool renameInvoke(BCCContext& Context, const Source* source, const int slot,
DRSCompilerDriver.h31 class BCCContext; variable
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/
DRSScriptGroupFusion.cpp133 llvm::FunctionType* getFusedFuncType(bcc::BCCContext& Context, in getFusedFuncType()
176 bool fuseKernels(bcc::BCCContext& Context, in fuseKernels()
319 bool renameInvoke(BCCContext& Context, const Source* source, const int slot, in renameInvoke()
DRSScript.cpp30 BCCContext &context = pScript.getSource().getContext(); in LinkRuntime()
DRSCompilerDriver.cpp224 bool RSCompilerDriver::build(BCCContext &pContext, in build()
310 BCCContext& Context, const char* pOutputFilepath, const char* pRuntimePath, in buildScriptGroup()
/frameworks/compile/libbcc/tools/bcc_compat/
DMain.cpp116 RSScript *PrepareRSScript(BCCContext &pContext, in PrepareRSScript()
264 BCCContext context; in main()
/frameworks/compile/libbcc/tools/bcc/
DMain.cpp189 bool compileScriptGroup(BCCContext& Context, RSCompilerDriver& RSCD) { in compileScriptGroup()
286 BCCContext context; in main()