LLVM API Documentation

Defines | 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.

Defines

#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)")

Define Documentation

#define DEBUG_TYPE   "hello"

Definition at line 21 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]