Lines Matching defs:global
50 /// Build the given block as a global block.
162 // If an equivalent block descriptor global variable exists, return it.
170 // If there isn't an equivalent block descriptor global variable, create a new
233 llvm::GlobalVariable *global =
239 global->setComdat(CGM.getModule().getOrInsertComdat(descName));
240 global->setVisibility(llvm::GlobalValue::HiddenVisibility);
241 global->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
244 return global;
270 /// as global memory
762 // The block literal is emitted as a global variable, and the block invoke
791 // If there is nothing to capture, we can emit this as a global block.
1252 assert(Ok && "Trying to replace an already-existing global block!");
1286 "Refusing to re-emit a global block.");
1350 // We can't use the normal LLVM global initialisation array, because we
1442 // global AS program scope variable (for the case with and without captures).
2442 /// emission. Places the helpers in the global cache. Returns null