Home | History | Annotate | Download | only in Hello

Lines Matching refs:Hello

1 //===- Hello.cpp - Example code from "Writing an LLVM Pass" ---------------===//
10 // This file implements two versions of the LLVM "Hello World" pass described
15 #define DEBUG_TYPE "hello"
25 // Hello - The first implementation, without getAnalysisUsage.
26 struct Hello : public FunctionPass {
28 Hello() : FunctionPass(ID) {}
32 errs() << "Hello: ";
39 char Hello::ID = 0;
40 static RegisterPass<Hello> X("hello", "Hello World Pass");
50 errs() << "Hello: ";
64 Y("hello2", "Hello World Pass (with getAnalysisUsage implemented)");