[flang-commits] [flang] [flang] Lower sequence associated argument passed by descriptor (PR #85696)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Mon Mar 18 17:31:36 PDT 2024


================
@@ -312,12 +316,21 @@ class CallerInterface : public CallInterface<CallerInterface> {
   /// procedure.
   const Fortran::semantics::Symbol *getProcedureSymbol() const;
 
+  /// Return the dummy argument symbol if this is a call to a user
+  /// defined procedure with explicit interface. Returns nullptr if there
+  /// is no user defined explicit interface.
+  const Fortran::semantics::Symbol *
+  getDummySymbol(const PassedEntity &entity) const;
+
   /// Helpers to place the lowered arguments at the right place once they
   /// have been lowered.
   void placeInput(const PassedEntity &passedEntity, mlir::Value arg);
   void placeAddressAndLengthInput(const PassedEntity &passedEntity,
                                   mlir::Value addr, mlir::Value len);
 
+  /// Get lowered argument FIR argument given the Fortran argument.
----------------
vzakhari wrote:

```suggestion
  /// Get lowered FIR argument given the Fortran argument.
```

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


More information about the flang-commits mailing list