LLVM API Documentation

CondPropagate.cpp File Reference

#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Constants.h"
#include "llvm/Function.h"
#include "llvm/Instructions.h"
#include "llvm/Pass.h"
#include "llvm/Type.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Statistic.h"
#include <iostream>

Include dependency graph for CondPropagate.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "condprop"

Functions

FunctionPassllvm::createCondPropagationPass ()

Variables

Statistic NumBrThread ("condprop","Number of CFG edges threaded through branches")
Statistic NumSwThread ("condprop","Number of CFG edges threaded through switches")
bool MadeChange
RegisterOpt< CondProp > X ("condprop","Conditional Propagation")


Define Documentation

#define DEBUG_TYPE   "condprop"

Definition at line 15 of file CondPropagate.cpp.


Variable Documentation

bool MadeChange

Definition at line 43 of file CondPropagate.cpp.

Referenced by EliminateUsesOfECGlobals(), llvm::SelectionDAG::RemoveDeadNodes(), and llvm::SplitCriticalEdge().

Statistic NumBrThread("condprop","Number of CFG edges threaded through branches") [static]

Statistic NumSwThread("condprop","Number of CFG edges threaded through switches") [static]

RegisterOpt<CondProp> X("condprop","Conditional Propagation") [static]