LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
Hello.cpp File Reference
#include "llvm/ADT/Statistic.h"
#include "llvm/IR/Function.h"
#include "llvm/Pass.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for Hello.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "hello"
 

Functions

 STATISTIC (HelloCounter,"Counts number of functions greeted")
 

Variables

static RegisterPass< Hello > X ("hello","Hello World Pass")
 
static RegisterPass< Hello2 > Y ("hello2","Hello World Pass (with getAnalysisUsage implemented)")
 

Macro Definition Documentation

#define DEBUG_TYPE   "hello"

Definition at line 15 of file Hello.cpp.

Function Documentation

STATISTIC ( HelloCounter  ,
"Counts number of functions greeted"   
)

Variable Documentation

RegisterPass<Hello> X("hello","Hello World Pass")
static
RegisterPass<Hello2> Y("hello2","Hello World Pass (with getAnalysisUsage implemented)")
static