Searched refs:global_context (Results 1 – 25 of 80) sorted by relevance
1234
52 GlobalContext global_context(std::move(CurrentAst::Get())); in WrappedMain() local53 if (verbose) global_context.SetVerbose(); in WrappedMain()54 TypeOracle::Scope type_oracle(global_context.declarations()); in WrappedMain()58 DeclarationVisitor visitor(global_context); in WrappedMain()60 visitor.Visit(global_context.ast()); in WrappedMain()67 ImplementationVisitor visitor(global_context); in WrappedMain()68 for (auto& module : global_context.GetModules()) { in WrappedMain()72 visitor.Visit(global_context.ast()); in WrappedMain()74 for (auto& module : global_context.GetModules()) { in WrappedMain()
22 explicit FileVisitor(GlobalContext& global_context) in FileVisitor() argument23 : global_context_(global_context), in FileVisitor()24 declarations_(global_context.declarations()), in FileVisitor()25 module_(global_context.GetDefaultModule()) {} in FileVisitor()
25 explicit DeclarationVisitor(GlobalContext& global_context) in DeclarationVisitor() argument26 : FileVisitor(global_context), in DeclarationVisitor()27 scope_(declarations(), global_context.GetDefaultModule()) {} in DeclarationVisitor()
31 explicit ImplementationVisitor(GlobalContext& global_context) in ImplementationVisitor() argument32 : FileVisitor(global_context), indent_(0), next_temp_(0) {} in ImplementationVisitor()
50 struct global_context;52 extern void segment_init(struct global_context *);53 extern void segment_cleanup(struct global_context *);
42 typedef struct global_context { struct
17 let context = global_context ()32 let b = builder_at_end (global_context ()) (entry_block fn) in40 let b = builder_at_end (global_context ()) (entry_block fn) in49 let m = create_module (global_context ()) "test_module" in59 let m2 = create_module (global_context ()) "test_module2" in
12 let context = global_context ()
9 let context = Llvm.global_context ()
16 let context = global_context ()
17 let context = global_context ()
15 let context = global_context ()
13 let context = Llvm.global_context ()
13 let context = global_context ()29 let b = builder_at_end (global_context ()) (entry_block fn) in36 let b = builder_at_end (global_context ()) (entry_block fn) in62 let m = create_module (global_context ()) "test_module" in65 let m2 = create_module (global_context ()) "test_module2" in
5 let context = Llvm.global_context ()
10 let context = Llvm.global_context ()
14 let context = global_context ()
57 GemmContext* global_context; variable60 if (!global_context) { in GetOrCreateGlobalContext()61 global_context = new GemmContext; in GetOrCreateGlobalContext()63 return global_context; in GetOrCreateGlobalContext()67 delete global_context; in DestroyGlobalContext()68 global_context = nullptr; in DestroyGlobalContext()