LLVM API Documentation

Hello.cpp File Reference

#include "llvm/Pass.h"
#include "llvm/Function.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Streams.h"
#include "llvm/ADT/Statistic.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 15 of file Hello.cpp.


Function Documentation

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


Variable Documentation

char ID [static]

Definition at line 28 of file Hello.cpp.

RegisterPass<Hello> X("hello","Hello World Pass") [static]

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




This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.