A function pointer type.
More...
#include <type.hpp>
A function pointer type.
Definition at line 129 of file type.hpp.
◆ Function()
| yume::ty::Function::Function |
( |
string |
name, |
|
|
vector< Type > |
args, |
|
|
optional< Type > |
ret, |
|
|
vector< Type > |
closure, |
|
|
bool |
fn_ptr, |
|
|
bool |
c_varargs = false |
|
) |
| |
|
inline |
◆ args() [1/2]
| auto yume::ty::Function::args |
( |
| ) |
-> auto& |
|
inline |
◆ args() [2/2]
| auto yume::ty::Function::args |
( |
| ) |
const -> const auto& |
|
inline |
◆ closure() [1/2]
| auto yume::ty::Function::closure |
( |
| ) |
-> auto& |
|
inline |
◆ closure() [2/2]
| auto yume::ty::Function::closure |
( |
| ) |
const -> const auto& |
|
inline |
◆ closure_memo() [1/2]
| auto yume::ty::Function::closure_memo |
( |
| ) |
const -> auto* |
|
inline |
◆ closure_memo() [2/2]
| void yume::ty::Function::closure_memo |
( |
Compiler & |
, |
|
|
llvm::StructType * |
memo |
|
) |
| const |
|
inline |
◆ fn_memo() [1/2]
| auto yume::ty::Function::fn_memo |
( |
| ) |
const -> auto* |
|
inline |
◆ fn_memo() [2/2]
| void yume::ty::Function::fn_memo |
( |
Compiler & |
, |
|
|
llvm::FunctionType * |
memo |
|
) |
| const |
|
inline |
◆ get_or_create_instantiation()
◆ is_c_varargs()
| auto yume::ty::Function::is_c_varargs |
( |
| ) |
const |
|
inline |
◆ is_fn_ptr()
| auto yume::ty::Function::is_fn_ptr |
( |
| ) |
const |
|
inline |
◆ memo() [1/2]
| auto yume::ty::Function::memo |
( |
| ) |
const -> auto* |
|
inline |
◆ memo() [2/2]
| void yume::ty::Function::memo |
( |
Compiler & |
, |
|
|
llvm::Type * |
memo |
|
) |
| const |
|
inline |
◆ name()
| auto yume::ty::Function::name |
( |
| ) |
const -> string |
|
overridevirtual |
◆ ret()
| auto yume::ty::Function::ret |
( |
| ) |
const -> const auto& |
|
inline |
The documentation for this class was generated from the following files: