|
LLVM
8.0.1
|
|
Functions | |
| LLVMTypeRef | LLVMFunctionType (LLVMTypeRef ReturnType, LLVMTypeRef *ParamTypes, unsigned ParamCount, LLVMBool IsVarArg) |
| Obtain a function type consisting of a specified signature. More... | |
| LLVMBool | LLVMIsFunctionVarArg (LLVMTypeRef FunctionTy) |
| Returns whether a function type is variadic. More... | |
| LLVMTypeRef | LLVMGetReturnType (LLVMTypeRef FunctionTy) |
| Obtain the Type this function Type returns. More... | |
| unsigned | LLVMCountParamTypes (LLVMTypeRef FunctionTy) |
| Obtain the number of parameters this function accepts. More... | |
| void | LLVMGetParamTypes (LLVMTypeRef FunctionTy, LLVMTypeRef *Dest) |
| Obtain the types of a function's parameters. More... | |
| unsigned LLVMCountParamTypes | ( | LLVMTypeRef | FunctionTy | ) |
| LLVMTypeRef LLVMFunctionType | ( | LLVMTypeRef | ReturnType, |
| LLVMTypeRef * | ParamTypes, | ||
| unsigned | ParamCount, | ||
| LLVMBool | IsVarArg | ||
| ) |
Obtain a function type consisting of a specified signature.
The function is defined as a tuple of a return Type, a list of parameter types, and whether the function is variadic.
Definition at line 634 of file Core.cpp.
References llvm::FunctionType::get(), llvm::unwrap(), and llvm::wrap().
| void LLVMGetParamTypes | ( | LLVMTypeRef | FunctionTy, |
| LLVMTypeRef * | Dest | ||
| ) |
Obtain the types of a function's parameters.
The Dest parameter should point to a pre-allocated array of LLVMTypeRef at least LLVMCountParamTypes() large. On return, the first LLVMCountParamTypes() entries in the array will be populated with LLVMTypeRef instances.
| FunctionTy | The function type to operate on. |
| Dest | Memory address of an array to be filled with result. |
Definition at line 653 of file Core.cpp.
References E, I, llvm::FunctionType::param_begin(), llvm::FunctionType::param_end(), and llvm::wrap().
| LLVMTypeRef LLVMGetReturnType | ( | LLVMTypeRef | FunctionTy | ) |
Obtain the Type this function Type returns.
Definition at line 645 of file Core.cpp.
References llvm::wrap().
| LLVMBool LLVMIsFunctionVarArg | ( | LLVMTypeRef | FunctionTy | ) |
1.8.13