HomePhabricator

[VFABI] Read/Write functions for the VFABI attribute.

Authored by fpetrogalli on Oct 30 2019, 12:08 PM.

Description

[VFABI] Read/Write functions for the VFABI attribute.

The attribute is stored at the FunctionIndex attribute set, with the
name "vector-function-abi-variant".

The get/set methods of the attribute have assertion to verify that:

  1. Each name in the attribute is a valid VFABI mangled name.
  1. Each name in the attribute correspond to a function declared in the module.

Differential Revision: https://reviews.llvm.org/D69976