Home | History | Annotate | Download | only in Hello

Lines Matching defs:Hello

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