LLVM: llvm::VecDesc Class Reference (original) (raw)

Provides info so a possible vectorization of a function can be computed.

Function 'VectorFnName' is equivalent to 'ScalarFnName' vectorized by a factor 'VectorizationFactor'. The VABIPrefix string holds information about isa, mask, vlen, and vparams so a scalar-to-vector mapping of the form: ZGV() can be constructed where:

= "_LLVM_" = "M" if masked, "N" if no mask. = 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. = "v", as many as are the numArgs. = the name of the scalar function. = the name of the vector function.

Definition at line 45 of file TargetLibraryInfo.h.