LLVM API Documentation

Public Member Functions | Public Attributes | Static Public Attributes
llvm::UnifyFunctionExitNodes Struct Reference

#include <UnifyFunctionExitNodes.h>

Inheritance diagram for llvm::UnifyFunctionExitNodes:
Inheritance graph
[legend]
Collaboration diagram for llvm::UnifyFunctionExitNodes:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 UnifyFunctionExitNodes ()
void getAnalysisUsage (AnalysisUsage &AU) const override
BasicBlockgetReturnBlock () const
BasicBlockgetUnwindBlock () const
BasicBlockgetUnreachableBlock () const
bool runOnFunction (Function &F) override

Public Attributes

BasicBlockReturnBlock
BasicBlockUnwindBlock
BasicBlockUnreachableBlock

Static Public Attributes

static char ID = 0

Detailed Description

Definition at line 25 of file UnifyFunctionExitNodes.h.


Constructor & Destructor Documentation


Member Function Documentation

void UnifyFunctionExitNodes::getAnalysisUsage ( AnalysisUsage ) const [override, virtual]

getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis<AnalysisType>() function, below.

Reimplemented from llvm::Pass.

Definition at line 34 of file UnifyFunctionExitNodes.cpp.

References llvm::AnalysisUsage::addPreserved(), llvm::AnalysisUsage::addPreservedID(), llvm::BreakCriticalEdgesID, and llvm::LowerSwitchID.

Definition at line 41 of file UnifyFunctionExitNodes.h.

References ReturnBlock.

Definition at line 43 of file UnifyFunctionExitNodes.h.

References UnreachableBlock.

Definition at line 42 of file UnifyFunctionExitNodes.h.

References UnwindBlock.

bool UnifyFunctionExitNodes::runOnFunction ( Function F) [override, virtual]

Member Data Documentation

char UnifyFunctionExitNodes::ID = 0 [static]

Definition at line 29 of file UnifyFunctionExitNodes.h.

Definition at line 26 of file UnifyFunctionExitNodes.h.

Referenced by getReturnBlock(), and runOnFunction().

Definition at line 26 of file UnifyFunctionExitNodes.h.

Referenced by getUnreachableBlock(), and runOnFunction().

Definition at line 26 of file UnifyFunctionExitNodes.h.

Referenced by getUnwindBlock().


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