Home
last modified time | relevance | path

Searched refs:GlobalContext (Results 1 – 25 of 64) sorted by relevance

123

/external/swiftshader/third_party/subzero/src/
DIceGlobalContext.cpp140 ValueType *getOrAdd(GlobalContext *Ctx, KeyType Key) { in getOrAdd()
185 ConstantUndef *getOrAdd(GlobalContext *Ctx, Type Ty) { in getOrAdd()
218 void GlobalContext::waitForWorkerThreads() { in waitForWorkerThreads()
249 void GlobalContext::CodeStats::dump(const Cfg *Func, GlobalContext *Ctx) { in dump()
296 static constexpr size_t DefaultOptQWakeupSize = GlobalContext::MaxOptQSize >> 1;
300 GlobalContext::GlobalContext(Ostream *OsDump, Ostream *OsEmit, Ostream *OsError, in GlobalContext() function in Ice::GlobalContext
321 GlobalContext::TlsInit(); in GlobalContext()
374 void GlobalContext::translateFunctionsWrapper(ThreadContext *MyTLS) { in translateFunctionsWrapper()
379 void GlobalContext::translateFunctions() { in translateFunctions()
462 void GlobalContext::TlsInit() { ICE_TLS_INIT_FIELD(TLS); } in TlsInit()
[all …]
DIceGlobalContext.h73 class GlobalContext {
74 GlobalContext() = delete;
75 GlobalContext(const GlobalContext &) = delete;
76 GlobalContext &operator=(const GlobalContext &) = delete;
111 void dump(const Cfg *Func, GlobalContext *Ctx);
166 GlobalContext(Ostream *OsDump, Ostream *OsEmit, Ostream *OsError,
168 ~GlobalContext();
577 TimerMarker(TimerIdT ID, GlobalContext *Ctx,
578 TimerStackIdT StackID = GlobalContext::TSK_Default)
584 TimerStackIdT StackID = GlobalContext::TSK_Default)
[all …]
DIceTranslator.h33 class GlobalContext; variable
44 explicit Translator(GlobalContext *Ctx);
49 GlobalContext *getContext() const { return Ctx; } in getContext()
71 GlobalContext *Ctx;
DIceTargetLowering.h174 static void staticInit(GlobalContext *Ctx);
280 GlobalContext *getGlobalContext() const { return Ctx; } in getGlobalContext()
389 GlobalContext *Ctx, int32_t NumRegs, SmallBitVector TypeToRegisterSet[],
593 GlobalContext *Ctx;
613 static std::unique_ptr<TargetDataLowering> createLowering(GlobalContext *Ctx);
631 explicit TargetDataLowering(GlobalContext *Ctx) : Ctx(Ctx) {} in TargetDataLowering()
632 GlobalContext *Ctx;
645 createLowering(GlobalContext *Ctx);
651 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} in TargetHeaderLowering()
652 GlobalContext *Ctx;
DIceCfg.h39 static std::unique_ptr<Cfg> create(GlobalContext *Ctx, in create()
44 GlobalContext *getContext() const { return Ctx; } in getContext()
241 static void emitTextHeader(GlobalString Name, GlobalContext *Ctx,
276 Cfg(GlobalContext *Ctx, uint32_t SequenceNumber);
300 GlobalContext *Ctx;
DIceTranslator.cpp27 Translator::Translator(GlobalContext *Ctx) in Translator()
28 : Ctx(Ctx), NextSequenceNumber(GlobalContext::getFirstSequenceNumber()), in Translator()
DIceFixups.cpp47 size_t AssemblerFixup::emit(GlobalContext *Ctx, const Assembler &Asm) const { in emit()
93 size_t AssemblerTextFixup::emit(GlobalContext *Ctx, const Assembler &) const { in emit()
DIceFixups.h71 virtual size_t emit(GlobalContext *Ctx, const Assembler &Asm) const;
105 size_t emit(GlobalContext *Ctx, const Assembler &Asm) const override;
DIceInstrumentation.h45 Instrumentation(GlobalContext *Ctx) : Ctx(Ctx) {} in Instrumentation()
84 GlobalContext *Ctx;
DIceGlobalInits.h65 void setName(GlobalContext *Ctx, const std::string &NewName) { in setName()
70 void setName(GlobalContext *Ctx) { in setName()
132 static FunctionDeclaration *create(GlobalContext *Context, in create()
152 bool verifyLinkageCorrect(const GlobalContext *Ctx) const { in verifyLinkageCorrect()
162 std::string getTypeSignatureError(const GlobalContext *Ctx);
DIceELFObjectWriter.h55 ELFObjectWriter(GlobalContext &Ctx, ELFStreamer &Out);
103 GlobalContext &Ctx;
DIceCompiler.cpp65 void Compiler::run(const Ice::ClFlags &Flags, GlobalContext &Ctx, in run()
181 Ctx.dumpTimers(GlobalContext::TSK_Funcs, NoDumpCumulative); in run()
DIceCompiler.h38 void run(const ClFlags &ExtraFlags, GlobalContext &Ctx,
DPNaClTranslator.h36 explicit PNaClTranslator(GlobalContext *Ctx) : Translator(Ctx) {} in PNaClTranslator()
DIceTargetLowering.cpp56 createTargetDataLowering(::Ice::GlobalContext *Ctx); \
58 createTargetHeaderLowering(::Ice::GlobalContext *Ctx); \
59 void staticInit(::Ice::GlobalContext *Ctx); \
174 GlobalContext *Ctx, int32_t NumRegs, SmallBitVector TypeToRegisterSet[], in filterTypeToRegisterSet()
269 void TargetLowering::staticInit(GlobalContext *Ctx) { in staticInit()
974 TargetDataLowering::createLowering(GlobalContext *Ctx) { in createLowering()
1104 TargetHeaderLowering::createLowering(GlobalContext *Ctx) { in createLowering()
DIceCompileServer.h85 std::unique_ptr<GlobalContext> Ctx;
DIceConverter.h34 Converter(llvm::Module *Mod, GlobalContext *Ctx) in Converter()
DWasmTranslator.h58 explicit WasmTranslator(GlobalContext *Ctx);
DIceBrowserCompileServer.h96 std::unique_ptr<GlobalContext> Ctx;
DIceASanInstrumentation.h37 ASanInstrumentation(GlobalContext *Ctx) : Instrumentation(Ctx), RzNum(0) { in ASanInstrumentation()
DIceTargetLoweringX8632.cpp30 createTargetDataLowering(::Ice::GlobalContext *Ctx) { in createTargetDataLowering()
36 createTargetHeaderLowering(::Ice::GlobalContext *Ctx) { in createTargetHeaderLowering()
40 void staticInit(::Ice::GlobalContext *Ctx) { in staticInit()
DIceRegAlloc.h114 GlobalContext *const Ctx;
/external/llvm-project/polly/tools/GPURuntime/
DGPUJIT.c331 static PollyGPUContext *GlobalContext = NULL; variable
427 GlobalContext = Context; in initContextCL()
437 if (!GlobalContext) { in freeKernelCL()
443 Ret = clFlushFcnPtr(((OpenCLContext *)GlobalContext->Context)->CommandQueue); in freeKernelCL()
445 Ret = clFinishFcnPtr(((OpenCLContext *)GlobalContext->Context)->CommandQueue); in freeKernelCL()
471 if (!GlobalContext) { in getKernelCL()
519 ((OpenCLContext *)GlobalContext->Context)->Context, 1, in getKernelCL()
528 ((OpenCLContext *)GlobalContext->Context)->Context, 1, in getKernelCL()
560 if (!GlobalContext) { in copyFromHostToDeviceCL()
567 ((OpenCLContext *)GlobalContext->Context)->CommandQueue, in copyFromHostToDeviceCL()
[all …]
/external/swiftshader/third_party/subzero/unittest/
DBitcodeMunge.cpp38 Ice::GlobalContext Ctx(DumpStream, DumpStream, DumpStream, nullptr); in runTest()
/external/swiftshader/third_party/subzero/docs/
DALLOCATION.rst56 pooling is managed by the GlobalContext class. Since Constants are added or
58 pools, as well as GlobalContext in general, need to be arbitrated by locks.
115 design calls for all shared accesses to go through the GlobalContext, which adds

123