|
LLVM 22.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 | |
| LLVM_ABI 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 |
| SetVector< Value * > | Inputs |
| SetVector< Value * > | Outputs |
| bool | FixUpNonEntryAllocas = false |
Helper that contains information about regions we need to outline during finalization.
Definition at line 2441 of file OMPIRBuilder.h.
| using llvm::OpenMPIRBuilder::OutlineInfo::PostOutlineCBTy = std::function<void(Function &)> |
Definition at line 2442 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 10847 of file OMPIRBuilder.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::empty(), EntryBB, ExitBB, llvm::SmallVectorImpl< T >::pop_back_val(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::successors().
Referenced by llvm::OpenMPIRBuilder::createParallel(), and workshareLoopTargetCallback().
|
inline |
Return the function that contains the region to be outlined.
Definition at line 2456 of file OMPIRBuilder.h.
References EntryBB.
| BasicBlock* llvm::OpenMPIRBuilder::OutlineInfo::EntryBB |
Definition at line 2444 of file OMPIRBuilder.h.
Referenced by collectBlocks(), llvm::OpenMPIRBuilder::createDistribute(), llvm::OpenMPIRBuilder::createParallel(), llvm::OpenMPIRBuilder::createTask(), llvm::OpenMPIRBuilder::createTeams(), llvm::OpenMPIRBuilder::emitTargetTask(), getFunction(), and workshareLoopTargetCallback().
| SmallVector<Value *, 2> llvm::OpenMPIRBuilder::OutlineInfo::ExcludeArgsFromAggregate |
Definition at line 2445 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createParallel(), llvm::OpenMPIRBuilder::createTask(), llvm::OpenMPIRBuilder::createTeams(), and llvm::OpenMPIRBuilder::emitTargetTask().
| BasicBlock * llvm::OpenMPIRBuilder::OutlineInfo::ExitBB |
Definition at line 2444 of file OMPIRBuilder.h.
Referenced by collectBlocks(), llvm::OpenMPIRBuilder::createDistribute(), llvm::OpenMPIRBuilder::createParallel(), llvm::OpenMPIRBuilder::createTask(), llvm::OpenMPIRBuilder::createTeams(), llvm::OpenMPIRBuilder::emitTargetTask(), and workshareLoopTargetCallback().
| bool llvm::OpenMPIRBuilder::OutlineInfo::FixUpNonEntryAllocas = false |
Definition at line 2448 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createParallel().
Definition at line 2446 of file OMPIRBuilder.h.
| BasicBlock * llvm::OpenMPIRBuilder::OutlineInfo::OuterAllocaBB |
Definition at line 2444 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createDistribute(), llvm::OpenMPIRBuilder::createParallel(), llvm::OpenMPIRBuilder::createTask(), llvm::OpenMPIRBuilder::createTeams(), and llvm::OpenMPIRBuilder::emitTargetTask().
Definition at line 2446 of file OMPIRBuilder.h.
| PostOutlineCBTy llvm::OpenMPIRBuilder::OutlineInfo::PostOutlineCB |
Definition at line 2443 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createParallel(), llvm::OpenMPIRBuilder::createTask(), llvm::OpenMPIRBuilder::createTeams(), and llvm::OpenMPIRBuilder::emitTargetTask().