Home
last modified time | relevance | path

Searched refs:global_context (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/third-party/benchmark/test/
H A Dbenchmark_gtest.cc11 extern std::map<std::string, std::string>* global_context;
137 EXPECT_THAT(global_context, nullptr); in TEST()
142 EXPECT_THAT(*global_context, in TEST()
146 delete global_context; in TEST()
147 global_context = nullptr; in TEST()
151 EXPECT_THAT(global_context, nullptr); in TEST()
156 EXPECT_THAT(*global_context, in TEST()
159 delete global_context; in TEST()
160 global_context = nullptr; in TEST()
/llvm-project-15.0.7/llvm/test/Bindings/OCaml/
H A Dexecutionengine.ml17 let context = global_context ()
33 let b = builder_at_end (global_context ()) (entry_block fn) in
41 let b = builder_at_end (global_context ()) (entry_block fn) in
50 let m = create_module (global_context ()) "test_module" in
60 let m2 = create_module (global_context ()) "test_module2" in
H A Dtransform_utils.ml12 let context = global_context ()
H A Dext_exc.ml9 let context = Llvm.global_context ()
H A Dvectorize.ml17 let context = global_context ()
H A Dpassmgr_builder.ml16 let context = global_context ()
H A Dirreader.ml16 let context = global_context ()
H A Dlinker.ml16 let context = global_context ()
H A Danalysis.ml15 let context = global_context ()
H A Ddiagnostic_handler.ml9 let context = Llvm.global_context ()
H A Dbitwriter.ml13 let context = Llvm.global_context ()
H A Dscalar_opts.ml17 let context = global_context ()
H A Dipo.ml17 let context = global_context ()
H A Dbitreader.ml13 let context = Llvm.global_context ()
H A Dtarget.ml17 let context = global_context ()
H A Ddebuginfo.ml11 let context = Llvm.global_context ()
H A Dcore.ml21 let context = global_context ()
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dreporter.cc29 extern std::map<std::string, std::string> *global_context;
70 if (internal::global_context != nullptr) { in PrintBasicContext()
71 for (const auto &kv : *internal::global_context) { in PrintBasicContext()
H A Dbenchmark.cc129 std::map<std::string, std::string>* global_context = nullptr; variable
520 if (internal::global_context == nullptr) { in AddCustomContext()
521 internal::global_context = new std::map<std::string, std::string>(); in AddCustomContext()
523 if (!internal::global_context->emplace(key, value).second) { in AddCustomContext()
616 void Shutdown() { delete internal::global_context; } in Shutdown()
H A Djson_reporter.cc32 extern std::map<std::string, std::string>* global_context;
187 if (internal::global_context != nullptr) { in ReportContext()
188 for (const auto& kv : *internal::global_context) { in ReportContext()
/llvm-project-15.0.7/llvm/bindings/ocaml/llvm/
H A Dllvm.ml384 external global_context : unit -> llcontext = "llvm_global_context"
H A Dllvm.mli457 val global_context : unit -> llcontext val