LLVM 20.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::OpenMPIRBuilder::OutlineInfo Struct Reference

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.
 
FunctiongetFunction () const
 Return the function that contains the region to be outlined.
 

Public Attributes

PostOutlineCBTy PostOutlineCB
 
BasicBlockEntryBB
 
BasicBlockExitBB
 
BasicBlockOuterAllocaBB
 
SmallVector< Value *, 2 > ExcludeArgsFromAggregate
 

Detailed Description

Helper that contains information about regions we need to outline during finalization.

Definition at line 2060 of file OMPIRBuilder.h.

Member Typedef Documentation

◆ PostOutlineCBTy

Definition at line 2061 of file OMPIRBuilder.h.

Member Function Documentation

◆ collectBlocks()

void OpenMPIRBuilder::OutlineInfo::collectBlocks ( SmallPtrSetImpl< BasicBlock * > &  BlockSet,
SmallVectorImpl< BasicBlock * > &  BlockVector 
)

◆ getFunction()

Function * llvm::OpenMPIRBuilder::OutlineInfo::getFunction ( ) const
inline

Return the function that contains the region to be outlined.

Definition at line 2072 of file OMPIRBuilder.h.

References EntryBB, and llvm::BasicBlock::getParent().

Member Data Documentation

◆ EntryBB

BasicBlock* llvm::OpenMPIRBuilder::OutlineInfo::EntryBB

◆ ExcludeArgsFromAggregate

SmallVector<Value *, 2> llvm::OpenMPIRBuilder::OutlineInfo::ExcludeArgsFromAggregate

◆ ExitBB

BasicBlock * llvm::OpenMPIRBuilder::OutlineInfo::ExitBB

◆ OuterAllocaBB

BasicBlock * llvm::OpenMPIRBuilder::OutlineInfo::OuterAllocaBB

◆ PostOutlineCB

PostOutlineCBTy llvm::OpenMPIRBuilder::OutlineInfo::PostOutlineCB

The documentation for this struct was generated from the following files: