Class BaseFuncLite

Inheritance Relationships

Base Type

Class Documentation

class BaseFuncLite : public seq::BaseFunc

This class is a useful abstraction for LLVM functions that do not necessarily correspond to an actual source function. For example, some methods of built-in types are implemented through this class.

Public Functions

BaseFuncLite(std::vector<types::Type *> inTypes, types::Type *outType, std::function<llvm::Function *(llvm::Module *)> codegenLambda)
void codegen(llvm::Module *module)
types::FuncType *getFuncType()
BaseFuncLite *clone(Generic *ref)