MLIR  20.0.0git
Static Public Member Functions | List of all members
mlir::ExecutionEngine::Argument< T > Struct Template Reference

Trait that defines how a given type is passed to the JIT code. More...

#include "mlir/ExecutionEngine/ExecutionEngine.h"

Static Public Member Functions

static void pack (SmallVectorImpl< void * > &args, T &val)
 

Detailed Description

template<typename T>
struct mlir::ExecutionEngine::Argument< T >

Trait that defines how a given type is passed to the JIT code.

This defaults to passing the address but can be specialized.

Definition at line 166 of file ExecutionEngine.h.

Member Function Documentation

◆ pack()

template<typename T >
static void mlir::ExecutionEngine::Argument< T >::pack ( SmallVectorImpl< void * > &  args,
T &  val 
)
inlinestatic

Definition at line 167 of file ExecutionEngine.h.

Referenced by mlir::ExecutionEngine::invoke().


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