Home
last modified time | relevance | path

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

/frameworks/compile/libbcc/lib/
DBCCContext.cpp27 static BCCContext *GlobalContext = nullptr;
29 BCCContext *BCCContext::GetOrCreateGlobalContext() { in GetOrCreateGlobalContext()
31 GlobalContext = new (std::nothrow) BCCContext(); in GetOrCreateGlobalContext()
39 void BCCContext::DestroyGlobalContext() { in DestroyGlobalContext()
44 BCCContext::BCCContext() : mImpl(new BCCContextImpl(*this)) { } in BCCContext() function in BCCContext
46 BCCContext::~BCCContext() { in ~BCCContext()
55 void BCCContext::addSource(Source &pSource) in addSource()
58 void BCCContext::removeSource(Source &pSource) in removeSource()
61 llvm::LLVMContext &BCCContext::getLLVMContext() in getLLVMContext()
64 const llvm::LLVMContext &BCCContext::getLLVMContext() const in getLLVMContext()
DRSScriptGroupFusion.h30 class BCCContext; variable
41 bool fuseKernels(BCCContext& Context,
47 bool renameInvoke(BCCContext& Context, const Source* source, const int slot,
DBCCContextImpl.h25 class BCCContext; variable
39 explicit BCCContextImpl(BCCContext &pContext) { } in BCCContextImpl()
DSource.cpp102 Source *Source::CreateFromBuffer(BCCContext &pContext, in CreateFromBuffer()
138 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { in CreateFromFile()
175 Source *Source::CreateFromModule(BCCContext &pContext, const char* name, llvm::Module &pModule, in CreateFromModule()
197 Source::Source(const char* name, BCCContext &pContext, llvm::Module &pModule, in Source()
DScript.cpp41 BCCContext &context = mSource->getContext(); in LinkRuntime()
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()
DRSCompilerDriver.cpp218 bool RSCompilerDriver::build(BCCContext &pContext, in build()
304 BCCContext& Context, const char* pOutputFilepath, const char* pRuntimePath, in buildScriptGroup()
/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,
82 inline BCCContext &getContext() in getContext()
84 inline const BCCContext &getContext() const in getContext()
DBCCContext.h32 class BCCContext {
36 BCCContext();
37 ~BCCContext();
46 static BCCContext *GetOrCreateGlobalContext();
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/tools/bcc_compat/
DMain.cpp112 Script *PrepareScript(BCCContext &pContext, in PrepareScript()
260 BCCContext context; in main()
/frameworks/compile/libbcc/tools/bcc/
DMain.cpp197 bool compileScriptGroup(BCCContext& Context, RSCompilerDriver& RSCD) { in compileScriptGroup()
294 BCCContext context; in main()