================
@@ -431,6 +425,13 @@ class CIRGenModule : public CIRGenTypeCache {
   void setGVProperties(mlir::Operation *op, const NamedDecl *d) const;
   void setGVPropertiesAux(mlir::Operation *op, const NamedDecl *d) const;
 
+  /// Set TLS mode for the given operation based on the given variable
+  /// declaration.
+  void setTLSMode(mlir::Operation *op, const VarDecl &d) const;
+
+  /// Get TLS mode from CodeGenOptions.
+  cir::TLS_Model GetDefaultCIRTLSModel() const;
----------------
andykaylor wrote:

```suggestion
  cir::TLS_Model getDefaultCIRTLSModel() const;
```

https://github.com/llvm/llvm-project/pull/168662
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to