aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/IR/ModuleTest.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <Krzysztof.Parzyszek@amd.com>2025-07-23 08:25:33 -0500
committerGitHub <noreply@github.com>2025-07-23 08:25:33 -0500
commit43db6c5cc1a81b540ddca49bee197895c420ec2d (patch)
treea5222f570c519a7fae3bce821bfec652cbd8a39c /llvm/unittests/IR/ModuleTest.cpp
parent081b74caf5fbfe04abc372c453cb1d6fc8f781a7 (diff)
downloadllvm-43db6c5cc1a81b540ddca49bee197895c420ec2d.zip
llvm-43db6c5cc1a81b540ddca49bee197895c420ec2d.tar.gz
llvm-43db6c5cc1a81b540ddca49bee197895c420ec2d.tar.bz2
[flang][OpenMP] General utility to get directive id from AST node (#150121)
Fortran::parser::omp::GetOmpDirectiveName(t) will get the OmpDirectiveName object that corresponds to construct t. That object (an AST node) contains the enum id and the source information of the directive. Replace uses of extractOmpDirective and getOpenMPDirectiveEnum with the new function.
Diffstat (limited to 'llvm/unittests/IR/ModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions