kparzysz wrote:

1. If you want to create an MLIR op for the mapper, you can give it some name 
(you can mangle it if you want).  You will need to store it in the MLIR 
somewhere/somehow.
2. If you want to record the use of a mapper in a clause, you can just use the 
name of the mapper in the same form as in (1), i.e. you decide how to generate 
the name here.
3. If you want to actually apply the mapper, you need to find it, but it's up 
to you how you do it: if you're looking for it in the MLIR module then your 
code must have put it there, if you're looking for it in the AST then you can 
find the declaration of the mapper by the symbol associated with its name.

https://github.com/llvm/llvm-project/pull/117046
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to