LLVM
8.0.1
|
#include "Transforms/Coroutines/CoroInternal.h"
Public Member Functions | |
LowererBase (Module &M) | |
Value * | makeSubFnCall (Value *Arg, int Index, Instruction *InsertPt) |
Public Attributes | |
Module & | TheModule |
LLVMContext & | Context |
PointerType *const | Int8Ptr |
FunctionType *const | ResumeFnType |
ConstantPointerNull *const | NullPtr |
Definition at line 54 of file CoroInternal.h.
coro::LowererBase::LowererBase | ( | Module & | M | ) |
Definition at line 95 of file Coroutines.cpp.
Value * coro::LowererBase::makeSubFnCall | ( | Value * | Arg, |
int | Index, | ||
Instruction * | InsertPt | ||
) |
Definition at line 108 of file Coroutines.cpp.
References Arg, assert(), llvm::MCID::Bitcast, Context, llvm::Intrinsic::coro_subfn_addr, llvm::CallInst::Create(), llvm::ConstantInt::get(), llvm::Intrinsic::getDeclaration(), llvm::Type::getInt8Ty(), llvm::Type::getPointerTo(), llvm::CoroSubFnInst::IndexFirst, llvm::CoroSubFnInst::IndexLast, ResumeFnType, and TheModule.
Referenced by prepareForSplit().
LLVMContext& llvm::coro::LowererBase::Context |
Definition at line 56 of file CoroInternal.h.
Referenced by makeSubFnCall().
PointerType* const llvm::coro::LowererBase::Int8Ptr |
Definition at line 57 of file CoroInternal.h.
ConstantPointerNull* const llvm::coro::LowererBase::NullPtr |
Definition at line 59 of file CoroInternal.h.
FunctionType* const llvm::coro::LowererBase::ResumeFnType |
Definition at line 58 of file CoroInternal.h.
Referenced by makeSubFnCall().
Module& llvm::coro::LowererBase::TheModule |
Definition at line 55 of file CoroInternal.h.
Referenced by makeSubFnCall().