LLVM  8.0.1
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

◆ DEBUG_TYPE

#define DEBUG_TYPE   "hello"

Definition at line 21 of file Hello.cpp.

Function Documentation

◆ STATISTIC()

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

Variable Documentation

◆ X

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

◆ Y

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