LLVM  8.0.1
Public Member Functions | List of all members
llvm::EscapeEnumerator Class Reference

EscapeEnumerator - This is a little algorithm to find all escape points from a function so that "finally"-style code can be inserted. More...

#include "llvm/Transforms/Utils/EscapeEnumerator.h"

Public Member Functions

 EscapeEnumerator (Function &F, const char *N="cleanup", bool HandleExceptions=true)
 
IRBuilderNext ()
 

Detailed Description

EscapeEnumerator - This is a little algorithm to find all escape points from a function so that "finally"-style code can be inserted.

In addition to finding the existing return and unwind instructions, it also (if necessary) transforms any call instructions into invokes and sends them to a landing pad.

Definition at line 28 of file EscapeEnumerator.h.

Constructor & Destructor Documentation

◆ EscapeEnumerator()

llvm::EscapeEnumerator::EscapeEnumerator ( Function F,
const char N = "cleanup",
bool  HandleExceptions = true 
)
inline

Definition at line 38 of file EscapeEnumerator.h.

References Next().

Member Function Documentation

◆ Next()

IRBuilder * EscapeEnumerator::Next ( )

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