LLVM 17.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. | |
Function * | getFunction () const |
Return the function that contains the region to be outlined. | |
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 1323 of file OMPIRBuilder.h.
using llvm::OpenMPIRBuilder::OutlineInfo::PostOutlineCBTy = std::function<void(Function &)> |
Definition at line 1324 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 4982 of file OMPIRBuilder.cpp.
References llvm::SmallVectorBase< Size_T >::empty(), EntryBB, ExitBB, llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::SmallVectorImpl< T >::pop_back_val(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::successors().
Referenced by llvm::OpenMPIRBuilder::createParallel().
|
inline |
Return the function that contains the region to be outlined.
Definition at line 1335 of file OMPIRBuilder.h.
References EntryBB, and llvm::BasicBlock::getParent().
BasicBlock* llvm::OpenMPIRBuilder::OutlineInfo::EntryBB |
Definition at line 1326 of file OMPIRBuilder.h.
Referenced by collectBlocks(), llvm::OpenMPIRBuilder::createParallel(), llvm::OpenMPIRBuilder::createTask(), and getFunction().
SmallVector<Value *, 2> llvm::OpenMPIRBuilder::OutlineInfo::ExcludeArgsFromAggregate |
Definition at line 1327 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createParallel().
BasicBlock * llvm::OpenMPIRBuilder::OutlineInfo::ExitBB |
Definition at line 1326 of file OMPIRBuilder.h.
Referenced by collectBlocks(), llvm::OpenMPIRBuilder::createParallel(), and llvm::OpenMPIRBuilder::createTask().
BasicBlock * llvm::OpenMPIRBuilder::OutlineInfo::OuterAllocaBB |
Definition at line 1326 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createParallel(), and llvm::OpenMPIRBuilder::createTask().
PostOutlineCBTy llvm::OpenMPIRBuilder::OutlineInfo::PostOutlineCB |
Definition at line 1325 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createParallel(), and llvm::OpenMPIRBuilder::createTask().