clang API Documentation

Public Member Functions | Static Public Member Functions
clang::threadSafety::til::VisitReducer< Self > Class Template Reference

#include <ThreadSafetyTraverse.h>

Inheritance diagram for clang::threadSafety::til::VisitReducer< Self >:
Inheritance graph
[legend]
Collaboration diagram for clang::threadSafety::til::VisitReducer< Self >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 VisitReducer ()
R_SExpr reduceNull ()
R_SExpr reduceUndefined (Undefined &Orig)
R_SExpr reduceWildcard (Wildcard &Orig)
R_SExpr reduceLiteral (Literal &Orig)
template<class T >
R_SExpr reduceLiteralT (LiteralT< T > &Orig)
R_SExpr reduceLiteralPtr (Literal &Orig)
R_SExpr reduceFunction (Function &Orig, Variable *Nvd, R_SExpr E0)
R_SExpr reduceSFunction (SFunction &Orig, Variable *Nvd, R_SExpr E0)
R_SExpr reduceCode (Code &Orig, R_SExpr E0, R_SExpr E1)
R_SExpr reduceField (Field &Orig, R_SExpr E0, R_SExpr E1)
R_SExpr reduceApply (Apply &Orig, R_SExpr E0, R_SExpr E1)
R_SExpr reduceSApply (SApply &Orig, R_SExpr E0, R_SExpr E1)
R_SExpr reduceProject (Project &Orig, R_SExpr E0)
R_SExpr reduceCall (Call &Orig, R_SExpr E0)
R_SExpr reduceAlloc (Alloc &Orig, R_SExpr E0)
R_SExpr reduceLoad (Load &Orig, R_SExpr E0)
R_SExpr reduceStore (Store &Orig, R_SExpr E0, R_SExpr E1)
R_SExpr reduceArrayIndex (Store &Orig, R_SExpr E0, R_SExpr E1)
R_SExpr reduceArrayAdd (Store &Orig, R_SExpr E0, R_SExpr E1)
R_SExpr reduceUnaryOp (UnaryOp &Orig, R_SExpr E0)
R_SExpr reduceBinaryOp (BinaryOp &Orig, R_SExpr E0, R_SExpr E1)
R_SExpr reduceCast (Cast &Orig, R_SExpr E0)
R_SExpr reduceSCFG (SCFG &Orig, Container< BasicBlock * > Bbs)
R_BasicBlock reduceBasicBlock (BasicBlock &Orig, Container< R_SExpr > &As, Container< R_SExpr > &Is, R_SExpr T)
R_SExpr reducePhi (Phi &Orig, Container< R_SExpr > &As)
R_SExpr reduceGoto (Goto &Orig, BasicBlock *B)
R_SExpr reduceBranch (Branch &O, R_SExpr C, BasicBlock *B0, BasicBlock *B1)
R_SExpr reduceReturn (Return &O, R_SExpr E)
R_SExpr reduceIdentifier (Identifier &Orig)
R_SExpr reduceIfThenElse (IfThenElse &Orig, R_SExpr C, R_SExpr T, R_SExpr E)
R_SExpr reduceLet (Let &Orig, Variable *Nvd, R_SExpr B)
VariableenterScope (Variable &Orig, R_SExpr E0)
void exitScope (const Variable &Orig)
void enterCFG (SCFG &Cfg)
void exitCFG (SCFG &Cfg)
void enterBasicBlock (BasicBlock &BB)
void exitBasicBlock (BasicBlock &BB)
VariablereduceVariableRef (Variable *Ovd)
BasicBlockreduceBasicBlockRef (BasicBlock *Obb)
bool traverse (SExpr *E, TraversalKind K=TRV_Normal)

Static Public Member Functions

static bool visit (SExpr *E)

Detailed Description

template<class Self>
class clang::threadSafety::til::VisitReducer< Self >

Definition at line 177 of file ThreadSafetyTraverse.h.


Constructor & Destructor Documentation

template<class Self >
clang::threadSafety::til::VisitReducer< Self >::VisitReducer ( ) [inline]

Definition at line 180 of file ThreadSafetyTraverse.h.


Member Function Documentation

template<class Self >
void clang::threadSafety::til::VisitReducer< Self >::enterBasicBlock ( BasicBlock BB) [inline]

Definition at line 261 of file ThreadSafetyTraverse.h.

template<class Self >
void clang::threadSafety::til::VisitReducer< Self >::enterCFG ( SCFG Cfg) [inline]

Definition at line 259 of file ThreadSafetyTraverse.h.

template<class Self >
Variable* clang::threadSafety::til::VisitReducer< Self >::enterScope ( Variable Orig,
R_SExpr  E0 
) [inline]

Definition at line 257 of file ThreadSafetyTraverse.h.

template<class Self >
void clang::threadSafety::til::VisitReducer< Self >::exitBasicBlock ( BasicBlock BB) [inline]

Definition at line 262 of file ThreadSafetyTraverse.h.

template<class Self >
void clang::threadSafety::til::VisitReducer< Self >::exitCFG ( SCFG Cfg) [inline]

Definition at line 260 of file ThreadSafetyTraverse.h.

template<class Self >
void clang::threadSafety::til::VisitReducer< Self >::exitScope ( const Variable Orig) [inline]

Definition at line 258 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceAlloc ( Alloc Orig,
R_SExpr  E0 
) [inline]

Definition at line 212 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceApply ( Apply Orig,
R_SExpr  E0,
R_SExpr  E1 
) [inline]

Definition at line 204 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceArrayAdd ( Store Orig,
R_SExpr  E0,
R_SExpr  E1 
) [inline]

Definition at line 218 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceArrayIndex ( Store Orig,
R_SExpr  E0,
R_SExpr  E1 
) [inline]

Definition at line 215 of file ThreadSafetyTraverse.h.

template<class Self >
R_BasicBlock clang::threadSafety::til::VisitReducer< Self >::reduceBasicBlock ( BasicBlock Orig,
Container< R_SExpr > &  As,
Container< R_SExpr > &  Is,
R_SExpr  T 
) [inline]
template<class Self >
BasicBlock* clang::threadSafety::til::VisitReducer< Self >::reduceBasicBlockRef ( BasicBlock Obb) [inline]

Definition at line 265 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceBinaryOp ( BinaryOp Orig,
R_SExpr  E0,
R_SExpr  E1 
) [inline]

Definition at line 222 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceBranch ( Branch O,
R_SExpr  C,
BasicBlock B0,
BasicBlock B1 
) [inline]

Definition at line 240 of file ThreadSafetyTraverse.h.

References AttributeLangSupport::C.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceCall ( Call Orig,
R_SExpr  E0 
) [inline]

Definition at line 211 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceCast ( Cast Orig,
R_SExpr  E0 
) [inline]

Definition at line 225 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceCode ( Code Orig,
R_SExpr  E0,
R_SExpr  E1 
) [inline]

Definition at line 198 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceField ( Field Orig,
R_SExpr  E0,
R_SExpr  E1 
) [inline]

Definition at line 201 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceFunction ( Function Orig,
Variable Nvd,
R_SExpr  E0 
) [inline]

Definition at line 192 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceGoto ( Goto Orig,
BasicBlock B 
) [inline]

Definition at line 237 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceIdentifier ( Identifier Orig) [inline]

Definition at line 247 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceIfThenElse ( IfThenElse Orig,
R_SExpr  C,
R_SExpr  T,
R_SExpr  E 
) [inline]

Definition at line 250 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceLet ( Let Orig,
Variable Nvd,
R_SExpr  B 
) [inline]

Definition at line 253 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceLiteral ( Literal Orig) [inline]

Definition at line 187 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceLiteralPtr ( Literal Orig) [inline]

Definition at line 190 of file ThreadSafetyTraverse.h.

template<class Self >
template<class T >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceLiteralT ( LiteralT< T > &  Orig) [inline]

Definition at line 189 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceLoad ( Load Orig,
R_SExpr  E0 
) [inline]

Definition at line 213 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceNull ( ) [inline]

Definition at line 183 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reducePhi ( Phi Orig,
Container< R_SExpr > &  As 
) [inline]
template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceProject ( Project Orig,
R_SExpr  E0 
) [inline]

Definition at line 210 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceReturn ( Return O,
R_SExpr  E 
) [inline]

Definition at line 243 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceSApply ( SApply Orig,
R_SExpr  E0,
R_SExpr  E1 
) [inline]

Definition at line 207 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceSCFG ( SCFG Orig,
Container< BasicBlock * >  Bbs 
) [inline]
template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceSFunction ( SFunction Orig,
Variable Nvd,
R_SExpr  E0 
) [inline]

Definition at line 195 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceStore ( Store Orig,
R_SExpr  E0,
R_SExpr  E1 
) [inline]

Definition at line 214 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceUnaryOp ( UnaryOp Orig,
R_SExpr  E0 
) [inline]

Definition at line 221 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceUndefined ( Undefined Orig) [inline]

Definition at line 184 of file ThreadSafetyTraverse.h.

template<class Self >
Variable* clang::threadSafety::til::VisitReducer< Self >::reduceVariableRef ( Variable Ovd) [inline]

Definition at line 264 of file ThreadSafetyTraverse.h.

template<class Self >
R_SExpr clang::threadSafety::til::VisitReducer< Self >::reduceWildcard ( Wildcard Orig) [inline]

Definition at line 185 of file ThreadSafetyTraverse.h.

template<class Self >
bool clang::threadSafety::til::VisitReducer< Self >::traverse ( SExpr E,
TraversalKind  K = TRV_Normal 
) [inline]
template<class Self >
static bool clang::threadSafety::til::VisitReducer< Self >::visit ( SExpr E) [inline, static]

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