diff options
| author | Jean-Didier PAILLEUX <jean-didier.pailleux@sipearl.com> | 2025-10-28 08:02:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-28 08:02:15 +0100 |
| commit | c1779f33bdada6e478e882cc23a647ef9abaad96 (patch) | |
| tree | 145c45ccbe25e43d63499b6223d409d1fd19906b /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
| parent | 20c323aa0e5dea6f3d340c721c5cee30801db850 (diff) | |
| download | llvm-c1779f33bdada6e478e882cc23a647ef9abaad96.zip llvm-c1779f33bdada6e478e882cc23a647ef9abaad96.tar.gz llvm-c1779f33bdada6e478e882cc23a647ef9abaad96.tar.bz2 | |
[flang] Implement !DIR$ [NO]INLINE and FORCEINLINE directives (#134350)
This patch adds the support of these two directives : `!dir$ inline` and
`!dir$ noinline`.
- `!dir$ noinline` tells to the compiler to not perform inlining on
specific function calls by adding the `noinline` metadata on the call.
- `!dir$ inline` tells to the compiler to attempt inlining on specific
function calls by adding the `inlinehint` metadata on the call.
- `!dir$ forceinline` tells to the compiler to always perfom inlining on
specific function calls by adding the `alwaysinline` metadata on the
call.
Currently, these directives can be placed before a `DO LOOP`, call
functions or assignments. Maybe other statements can be added in the
future if needed.
For the `inline` directive the correct name might be `forceinline` but
I'm not sure ?
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions
