[clang] [llvm] OpenMP offload 'simd' directive (PR #91261)

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 27 16:33:59 PDT 2024


================
@@ -470,6 +484,11 @@ class OpenMPIRBuilder {
   ///                              all functions are finalized.
   void finalize(Function *Fn = nullptr);
 
+  CallInst *globalizeAlloca(AllocaInst *Alloca, SmallVector<Instruction*, 32>&);
+  void globalizeParallelVars(Function *CurFn);
+  SmallPtrSet<Value*, 32> VarsNeedingGlobalization;
+  void globalizeVars(Function *CurFn);
----------------
jdoerfert wrote:

New functions and types need documentation.

https://github.com/llvm/llvm-project/pull/91261


More information about the llvm-commits mailing list