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:
- Each name in the attribute is a valid VFABI mangled name.
- Each name in the attribute correspond to a function declared in the module.
It would be better passed as an ArrayRef<std::string>, or otherwise a SmallVectorImpl<std::string> &VariantMappings.