search for: disable_libc_call_synthesis

Displaying 2 results from an estimated 2 matches for "disable_libc_call_synthesis".

2019 Apr 26
2
[RFC][clang/llvm] Allow efficient implementation of libc's memory functions in C/C++
...ic attribute to disable the synthesis of a single call __attribute__((disable_call_synthesis("memcpy"))) Question: Is it possible to specify the attribute several times on a function to disable many calls? 1.2 A specific attribute to disable synthesis of all libc calls __attribute__((disable_libc_call_synthesis)) With this one we are losing precision and we may inline too much. There is also the question of what is considered a libc function, LLVM mainly defines target library calls. 1.3 Stretch - a specific attribute to redirect a single synthesizable function. This one would help explore the impact...
2019 Apr 30
3
[RFC][clang/llvm] Allow efficient implementation of libc's memory functions in C/C++
...as well. Thx, Guillaume On Mon, Apr 29, 2019 at 10:48 AM David Chisnall via llvm-dev < llvm-dev at lists.llvm.org> wrote: > On 26/04/2019 12:47, Guillaume Chatelet via llvm-dev wrote: > > 1.2 A specific attribute to disable synthesis of all libc calls > > __attribute__((disable_libc_call_synthesis)) > > With this one we are losing precision and we may inline too much. There > > is also the question of what is considered a libc function, LLVM mainly > > defines target library calls. > > Target library is probably more relevant than libc. We have a number of > issues...