File: README.md

package info (click to toggle)
spirv-llvm-translator-14 14.0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,700 kB
  • sloc: cpp: 47,811; lisp: 3,704; sh: 153; python: 43; makefile: 41
file content (16 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Contributed by: Intel Corporation.

SPIR Name Mangler
=================

The NameMangler Library Converts the given function descriptor to a string
that represents the function's prototype.

The mangling algorithm is based on clang 3.0 Itanium mangling algorithm
(http://sourcery.mentor.com/public/cxx-abi/abi.html#mangling).

The algorithm is adapted to support mangling of SPIR built-in
functions and was tested on SPIR built-ins only.

The mangler supports mangling according to SPIR 1.2 and SPIR 2.0
For usage examples see unittest/spir_name_mangler.