LLVM 24.0.0git
VectorUtils.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "vectorutils"

Functions

static Value * concatenateTwoVectors (IRBuilderBase &Builder, Value *V1, Value *V2)
 A helper function for concatenating vectors.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "vectorutils"

Definition at line 35 of file VectorUtils.cpp.

Function Documentation

◆ concatenateTwoVectors()

Value * concatenateTwoVectors ( IRBuilderBase & Builder,
Value * V1,
Value * V2 )
static

A helper function for concatenating vectors.

This function concatenates two vectors having the same element type. If the second vector has fewer elements than the first, it is padded with undefs.

Definition at line 1144 of file VectorUtils.cpp.

References assert(), llvm::cast(), llvm::createSequentialMask(), llvm::dyn_cast(), llvm::Value::getType(), and llvm::V1.

Referenced by llvm::concatenateVectors().