Halide
Halide::Internal::CodeGen_LLVM::VPArg Struct Reference

Support for generating LLVM vector predication intrinsics ("@llvm.vp.*" and "@llvm.experimental.vp.*") More...

#include <CodeGen_LLVM.h>

Public Member Functions

 VPArg (llvm::Value *value, std::optional< size_t > mangle_index=std::nullopt, int32_t alignment=0)
 

Public Attributes

llvm::Value * value
 
std::optional< size_tmangle_index
 
int alignment
 

Detailed Description

Support for generating LLVM vector predication intrinsics ("@llvm.vp.*" and "@llvm.experimental.vp.*")

Struct to hold descriptor for an argument to a vector predicated intrinsic. This includes the value, whether the type of the argument should be mangled into the intrisic name and if so, where, and the alignment for pointer arguments.

Definition at line 595 of file CodeGen_LLVM.h.

Constructor & Destructor Documentation

◆ VPArg()

Halide::Internal::CodeGen_LLVM::VPArg::VPArg ( llvm::Value *  value,
std::optional< size_t mangle_index = std::nullopt,
int32_t  alignment = 0 
)
inline

Definition at line 600 of file CodeGen_LLVM.h.

Member Data Documentation

◆ value

llvm::Value* Halide::Internal::CodeGen_LLVM::VPArg::value

Definition at line 596 of file CodeGen_LLVM.h.

◆ mangle_index

std::optional<size_t> Halide::Internal::CodeGen_LLVM::VPArg::mangle_index

Definition at line 598 of file CodeGen_LLVM.h.

◆ alignment

int Halide::Internal::CodeGen_LLVM::VPArg::alignment

Definition at line 599 of file CodeGen_LLVM.h.


The documentation for this struct was generated from the following file: