clang API Documentation

Public Member Functions | Static Public Member Functions
clang::threadSafety::til::Goto Class Reference

#include <ThreadSafetyTIL.h>

Inheritance diagram for clang::threadSafety::til::Goto:
Inheritance graph
[legend]
Collaboration diagram for clang::threadSafety::til::Goto:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Goto (BasicBlock *B, unsigned I)
 Goto (const Goto &G, BasicBlock *B, unsigned I)
const BasicBlocktargetBlock () const
BasicBlocktargetBlock ()
unsigned index () const
 Returns the index into the.
ArrayRef< BasicBlock * > successors ()
 Return the list of basic blocks that this terminator can branch to.
template<class V >
V::R_SExpr traverse (V &Vs, typename V::R_Ctx Ctx)
template<class C >
C::CType compare (const Goto *E, C &Cmp) const

Static Public Member Functions

static bool classof (const SExpr *E)

Detailed Description

Jump to another basic block. A goto instruction is essentially a tail-recursive call into another block. In addition to the block pointer, it specifies an index into the phi nodes of that block. The index can be used to retrieve the "arguments" of the call.

Definition at line 1382 of file ThreadSafetyTIL.h.


Constructor & Destructor Documentation

Definition at line 1386 of file ThreadSafetyTIL.h.

clang::threadSafety::til::Goto::Goto ( const Goto G,
BasicBlock B,
unsigned  I 
) [inline]

Definition at line 1388 of file ThreadSafetyTIL.h.


Member Function Documentation

static bool clang::threadSafety::til::Goto::classof ( const SExpr E) [inline, static]
template<class C >
C::CType clang::threadSafety::til::Goto::compare ( const Goto E,
C &  Cmp 
) const [inline]

Definition at line 1409 of file ThreadSafetyTIL.h.

Returns the index into the.

Definition at line 1395 of file ThreadSafetyTIL.h.

Referenced by clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printGoto().

Return the list of basic blocks that this terminator can branch to.

Reimplemented from clang::threadSafety::til::Terminator.

Definition at line 1398 of file ThreadSafetyTIL.h.

Definition at line 1392 of file ThreadSafetyTIL.h.

template<class V >
V::R_SExpr clang::threadSafety::til::Goto::traverse ( V &  Vs,
typename V::R_Ctx  Ctx 
) [inline]

Definition at line 1403 of file ThreadSafetyTIL.h.


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