ΒΆstd::string mangleTLIVectorName(
llvm::StringRef VectorName,
llvm::StringRef ScalarName,
unsigned int numArgs,
llvm::ElementCount VF)
std::string mangleTLIVectorName(
llvm::StringRef VectorName,
llvm::StringRef ScalarName,
unsigned int numArgs,
llvm::ElementCount VF)
Description
This routine mangles the given VectorName according to the LangRef specification for vector-function-abi-variant attribute and is specific to the TLI mappings. It is the responsibility of the caller to make sure that this is only used if all parameters in the vector function are vector type. This returned string holds scalar-to-vector mapping: _ZGV <isa > <mask > <vlen > <vparams >_ <scalarname >( <vectorname >) where: <isa > = "_LLVM_" <mask > = "N". Note: TLI does not support masked interfaces. <vlen > = Number of concurrent lanes, stored in the `VectorizationFactor` field of the `VecDesc` struct. If the number of lanes is scalable then 'x' is printed instead. <vparams > = "v", as many as are the numArgs. <scalarname > = the name of the scalar function. <vectorname > = the name of the vector function.
Declared at: llvm/include/llvm/Analysis/VectorUtils.h:186
Parameters
- llvm::StringRef VectorName
- llvm::StringRef ScalarName
- unsigned int numArgs
- llvm::ElementCount VF