LLVM 22.0.0git
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

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

Public Attributes

PostOutlineCBTy PostOutlineCB
BasicBlockEntryBB
BasicBlockExitBB
BasicBlockOuterAllocaBB
SmallVector< Value *, 2 > ExcludeArgsFromAggregate
SetVector< Value * > Inputs
SetVector< Value * > Outputs
bool FixUpNonEntryAllocas = false

Detailed Description

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

Definition at line 2441 of file OMPIRBuilder.h.

Member Typedef Documentation

◆ PostOutlineCBTy

Definition at line 2442 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 2456 of file OMPIRBuilder.h.

References EntryBB.

Member Data Documentation

◆ EntryBB

◆ ExcludeArgsFromAggregate

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

◆ ExitBB

◆ FixUpNonEntryAllocas

bool llvm::OpenMPIRBuilder::OutlineInfo::FixUpNonEntryAllocas = false

Definition at line 2448 of file OMPIRBuilder.h.

Referenced by llvm::OpenMPIRBuilder::createParallel().

◆ Inputs

SetVector<Value *> llvm::OpenMPIRBuilder::OutlineInfo::Inputs

Definition at line 2446 of file OMPIRBuilder.h.

◆ OuterAllocaBB

◆ Outputs

SetVector<Value *> llvm::OpenMPIRBuilder::OutlineInfo::Outputs

Definition at line 2446 of file OMPIRBuilder.h.

◆ PostOutlineCB


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