LLVM
15.0.0git
|
Helper that contains information about regions we need to outline during finalization. More...
#include "llvm/Frontend/OpenMP/OMPIRBuilder.h"
Public Types | |
using | PostOutlineCBTy = std::function< void(Function &)> |
Public Member Functions | |
void | collectBlocks (SmallPtrSetImpl< BasicBlock * > &BlockSet, SmallVectorImpl< BasicBlock * > &BlockVector) |
Collect all blocks in between EntryBB and ExitBB in both the given vector and set. More... | |
Function * | getFunction () const |
Return the function that contains the region to be outlined. More... | |
Public Attributes | |
PostOutlineCBTy | PostOutlineCB |
BasicBlock * | EntryBB |
BasicBlock * | ExitBB |
BasicBlock * | OuterAllocaBB |
SmallVector< Value *, 2 > | ExcludeArgsFromAggregate |
Helper that contains information about regions we need to outline during finalization.
Definition at line 884 of file OMPIRBuilder.h.
using llvm::OpenMPIRBuilder::OutlineInfo::PostOutlineCBTy = std::function<void(Function &)> |
Definition at line 885 of file OMPIRBuilder.h.
void OpenMPIRBuilder::OutlineInfo::collectBlocks | ( | SmallPtrSetImpl< BasicBlock * > & | BlockSet, |
SmallVectorImpl< BasicBlock * > & | BlockVector | ||
) |
Collect all blocks in between EntryBB and ExitBB in both the given vector and set.
Definition at line 4302 of file OMPIRBuilder.cpp.
References BB, llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::SmallVectorImpl< T >::pop_back_val(), and llvm::successors().
Referenced by llvm::OpenMPIRBuilder::createParallel().
|
inline |
Return the function that contains the region to be outlined.
Definition at line 896 of file OMPIRBuilder.h.
References EntryBB, and llvm::BasicBlock::getParent().
BasicBlock* llvm::OpenMPIRBuilder::OutlineInfo::EntryBB |
Definition at line 887 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createParallel(), llvm::OpenMPIRBuilder::createTask(), and getFunction().
SmallVector<Value *, 2> llvm::OpenMPIRBuilder::OutlineInfo::ExcludeArgsFromAggregate |
Definition at line 888 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createParallel().
BasicBlock * llvm::OpenMPIRBuilder::OutlineInfo::ExitBB |
Definition at line 887 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createParallel(), and llvm::OpenMPIRBuilder::createTask().
BasicBlock * llvm::OpenMPIRBuilder::OutlineInfo::OuterAllocaBB |
Definition at line 887 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createParallel(), and llvm::OpenMPIRBuilder::createTask().
PostOutlineCBTy llvm::OpenMPIRBuilder::OutlineInfo::PostOutlineCB |
Definition at line 886 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createParallel(), and llvm::OpenMPIRBuilder::createTask().