From d0713f94af4d2dbd97ab251a43e3d290a13e860e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 12 Sep 2002 17:06:43 +0000 Subject: [PATCH] Add a new BasicBlockPass::doInitialization/Finalization(Function &) pair of methods that may be useful for BasicBlockPasses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3689 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/WritingAnLLVMPass.html | 67 +++++++++++++++++++++++++++++-------- include/llvm/Pass.h | 27 +++++++++++++-- 2 files changed, 77 insertions(+), 17 deletions(-) diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html index 353fe6e366f..aee16631bf6 100644 --- a/docs/WritingAnLLVMPass.html +++ b/docs/WritingAnLLVMPass.html @@ -25,13 +25,19 @@
  • The FunctionPass class
  • The BasicBlockPass class
  • Pass Registration @@ -424,8 +430,8 @@ may overload three virtual methods to do their work. All of these methods should return true if they modified the program, or false if they didn't.

    -


    The doInitialization -method


    The +doInitialization(Module &) method