Hi all, Can I define new builtin functions in clang/include/clang/Basic/Builtins/Builtins.h and insert them during a IR pass? Is it better to do it inside clang instead of at IR level? Thanks a lot. Bin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110930/de4311bb/attachment.html>
On Sep 30, 2011, at 11:26 AM, Zeng Bin wrote:> Can I define new builtin functions in clang/include/clang/Basic/Builtins/Builtins.h and insert them during a IR pass? Is it better to do it inside clang instead of at IR level? Thanks a lot.Please send questions like this to cfe-dev. If you're modifying Clang anyway, I would just change Clang's IR generation to handle the new builtins. John.
Seemingly Similar Threads
- r267690 - [Clang][BuiltIn][AVX512]Adding intrinsics for vmovntdqa vmovntpd vmovntps instruction set
- r267690 - [Clang][BuiltIn][AVX512]Adding intrinsics for vmovntdqa vmovntpd vmovntps instruction set
- compiler-rt builtin library in ppc64le architecture
- clang 4.0.0: Invalid code for builtin floating point function with -mfloat-abi=hard -ffast-math (ARM)
- running intrinsics from C code