search for: redirect_synthesized_calls

Displaying 1 result from an estimated 1 matches for "redirect_synthesized_calls".

2019 Apr 26
2
[RFC][clang/llvm] Allow efficient implementation of libc's memory functions in C/C++
...M mainly defines target library calls. 1.3 Stretch - a specific attribute to redirect a single synthesizable function. This one would help explore the impact of replacing a synthesized function call with another function but is not strictly required to solve the problem at hand. __attribute__((redirect_synthesized_calls("memcpy", "my_memcpy"))) 2. A set of builtins in clang to communicate the intent clearly __builtin_memcpy_alwaysinline(...) __builtin_memmove_alwaysinline(...) __builtin_memset_alwaysinline(...) To achieve this we may have to provide new IR builtins (e.g. `@llvm.alwaysinlin...