Displaying 1 result from an estimated 1 matches for "declrat".
Did you mean:
declarat
2016 Jul 15
4
RFC: To add __attribute__((regmask("preserve/clobbered list here"))) in clang
...ich is
written in assembly and it is not defined in current module. IPRA's scope is
limited to a module so for such externally defined function it uses default
calling convention but here as the function is written in assembly user can
provide exact register usage detials. So we dicided to mark declration of
such
function with __attribute__((regmask("clobbered list here"))) so LLVM can
construct regmask out of it and use it with IPRA to improve register
allocation.
For this purpose I added support for this attribute in clang and clang
codegen
this attribute as target dependent attribut...