Concatenate a list of vectors.

Synopsis

Declared in <llvm/Analysis/VectorUtils.h>

Value*
concatenateVectors(
    IRBuilderBase& Builder,
    ArrayRef<Value*> Vecs);

Description

This function generates code that concatenate the vectors in Vecs into a single large vector. The number of vectors should be greater than one, and their element types should be the same. The number of elements in the vectors should also be the same; however, if the last vector has fewer elements, it will be padded with undefs.

Return Value

A single vector concatenating all of Vecs.

Parameters

Name

Description

Builder

IR builder used to emit the concatenation.

Vecs

Vectors to concatenate into one wide vector.

Created with MrDocs