LLVM 20.0.0git
Public Member Functions | List of all members
llvm::NoopSavedModelImpl Class Referencefinal

A mock class satisfying the interface expected by ReleaseModeModelRunner for its TGen parameter. More...

#include "llvm/Analysis/ReleaseModeModelRunner.h"

Public Member Functions

 NoopSavedModelImpl ()=default
 
int LookupArgIndex (const std::string &)
 
int LookupResultIndex (const std::string &)
 
void Run ()
 
void * result_data (int)
 
void * arg_data (int)
 

Detailed Description

A mock class satisfying the interface expected by ReleaseModeModelRunner for its TGen parameter.

Useful to avoid conditional compilation complexity, as a compile-time replacement for a real AOT-ed model.

Definition at line 142 of file ReleaseModeModelRunner.h.

Constructor & Destructor Documentation

◆ NoopSavedModelImpl()

llvm::NoopSavedModelImpl::NoopSavedModelImpl ( )
default

Member Function Documentation

◆ arg_data()

void * llvm::NoopSavedModelImpl::arg_data ( int  )
inline

Definition at line 153 of file ReleaseModeModelRunner.h.

References llvm_unreachable, and NOOP_MODEL_ERRMSG.

◆ LookupArgIndex()

int llvm::NoopSavedModelImpl::LookupArgIndex ( const std::string &  )
inline

Definition at line 149 of file ReleaseModeModelRunner.h.

References llvm_unreachable, and NOOP_MODEL_ERRMSG.

◆ LookupResultIndex()

int llvm::NoopSavedModelImpl::LookupResultIndex ( const std::string &  )
inline

Definition at line 150 of file ReleaseModeModelRunner.h.

References llvm_unreachable, and NOOP_MODEL_ERRMSG.

◆ result_data()

void * llvm::NoopSavedModelImpl::result_data ( int  )
inline

Definition at line 152 of file ReleaseModeModelRunner.h.

References llvm_unreachable, and NOOP_MODEL_ERRMSG.

◆ Run()

void llvm::NoopSavedModelImpl::Run ( )
inline

Definition at line 151 of file ReleaseModeModelRunner.h.

References llvm_unreachable, and NOOP_MODEL_ERRMSG.


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