class FunctionCallee
Declaration
class FunctionCallee { /* full declaration omitted */ };
Description
A handy container for a FunctionType+Callee-pointer pair, which can be passed around as a single entity. This assists in replacing the use of PointerType::getElementType() to access the function's type, since that's slated for removal as part of the [opaque pointer types] project.
Declared at: llvm/include/llvm/IR/DerivedTypes.h:170
Method Overview
- public FunctionCallee(llvm::FunctionType * FnTy, llvm::Value * Callee)
- public FunctionCallee(std::nullptr_t)
- public FunctionCallee()
- public template <typename T, typename U = decltype(& T::getFunctionType)> FunctionCallee(T * Fn)
- public llvm::Value * getCallee()
- public llvm::FunctionType * getFunctionType()
- public bool operator bool()
Methods
¶FunctionCallee(llvm::FunctionType* FnTy,
llvm::Value* Callee)
FunctionCallee(llvm::FunctionType* FnTy,
llvm::Value* Callee)
Declared at: llvm/include/llvm/IR/DerivedTypes.h:178
Parameters
- llvm::FunctionType* FnTy
- llvm::Value* Callee
¶FunctionCallee(std::nullptr_t)
FunctionCallee(std::nullptr_t)
Declared at: llvm/include/llvm/IR/DerivedTypes.h:183
Parameters
¶FunctionCallee()
FunctionCallee()
Declared at: llvm/include/llvm/IR/DerivedTypes.h:185
¶template <
typename T,
typename U = decltype(&T::getFunctionType)>
FunctionCallee(T* Fn)
template <
typename T,
typename U = decltype(&T::getFunctionType)>
FunctionCallee(T* Fn)
Declared at: llvm/include/llvm/IR/DerivedTypes.h:175
Templates
- T
- U = decltype(& T::getFunctionType)
Parameters
- T* Fn
¶llvm::Value* getCallee()
llvm::Value* getCallee()
Declared at: llvm/include/llvm/IR/DerivedTypes.h:189
¶llvm::FunctionType* getFunctionType()
llvm::FunctionType* getFunctionType()
Declared at: llvm/include/llvm/IR/DerivedTypes.h:187
¶bool operator bool()
bool operator bool()
Declared at: llvm/include/llvm/IR/DerivedTypes.h:191