| 1 |
Contributed by: Intel Corporation. |
| 2 |
|
| 3 |
SPIR Name Mangler |
| 4 |
================= |
| 5 |
|
| 6 |
The NameMangler Library Converts the given function descriptor to a string |
| 7 |
that represents the function's prototype. |
| 8 |
|
| 9 |
The mangling algorithm is based on clang 3.0 Itanium mangling algorithm |
| 10 |
(http://sourcery.mentor.com/public/cxx-abi/abi.html#mangling). |
| 11 |
|
| 12 |
The algorithm is adapted to support mangling of SPIR built-in |
| 13 |
functions and was tested on SPIR built-ins only. |
| 14 |
|
| 15 |
The mangler supports mangling according to SPIR 1.2 and SPIR 2.0 |
| 16 |
For usage examples see unittest/spir_name_mangler. |