From 1465d61bdd36cfd6021036a527895f0dd358e97d Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Wed, 28 Jan 2009 13:14:17 +0000 Subject: [PATCH] Rename getAnalysisToUpdate to getAnalysisIfAvailable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63198 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CompilerDriver.html | 2 +- docs/WritingAnLLVMPass.html | 12 ++++++---- include/llvm/Pass.h | 24 +++++++++---------- include/llvm/PassAnalysisSupport.h | 22 ++++++++--------- lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 8 +++---- lib/CodeGen/BranchFolding.cpp | 2 +- lib/CodeGen/GCMetadata.cpp | 2 +- lib/CodeGen/GCStrategy.cpp | 2 +- lib/CodeGen/MachineModuleInfo.cpp | 2 +- lib/CodeGen/PHIElimination.cpp | 2 +- lib/CodeGen/PrologEpilogInserter.cpp | 2 +- lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 ++-- lib/CodeGen/TwoAddressInstructionPass.cpp | 2 +- lib/CodeGen/UnreachableBlockElim.cpp | 2 +- lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | 4 ++-- .../CellSPU/AsmPrinter/SPUAsmPrinter.cpp | 4 ++-- .../PowerPC/AsmPrinter/PPCAsmPrinter.cpp | 8 +++---- .../X86/AsmPrinter/X86ATTAsmPrinter.cpp | 10 ++++---- lib/Target/XCore/XCoreAsmPrinter.cpp | 4 ++-- lib/Transforms/IPO/Internalize.cpp | 2 +- lib/Transforms/Scalar/LoopRotation.cpp | 6 ++--- lib/Transforms/Scalar/LoopUnroll.cpp | 4 ++-- lib/Transforms/Scalar/LoopUnswitch.cpp | 4 ++-- lib/Transforms/Utils/BasicBlockUtils.cpp | 14 +++++------ lib/Transforms/Utils/BreakCriticalEdges.cpp | 6 ++--- lib/Transforms/Utils/CloneLoop.cpp | 4 ++-- lib/Transforms/Utils/LoopSimplify.cpp | 4 ++-- lib/VMCore/Pass.cpp | 2 +- lib/VMCore/PassManager.cpp | 8 +++---- 29 files changed, 87 insertions(+), 85 deletions(-) diff --git a/docs/CompilerDriver.html b/docs/CompilerDriver.html index fc687f16675..6338dd24769 100644 --- a/docs/CompilerDriver.html +++ b/docs/CompilerDriver.html @@ -611,7 +611,7 @@ errors as its status code.

Mikhail Glushenkov
LLVM Compiler Infrastructure
-Last modified: $Date: 2008-12-11 11:34:48 -0600 (Thu, 11 Dec 2008) $ +Last modified: $Date$ diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html index 0f37ec276c4..04bd9266118 100644 --- a/docs/WritingAnLLVMPass.html +++ b/docs/WritingAnLLVMPass.html @@ -78,7 +78,8 @@
  • The AnalysisUsage::addRequired<> and AnalysisUsage::addRequiredTransitive<> methods
  • The AnalysisUsage::addPreserved<> method
  • Example implementations of getAnalysisUsage
  • -
  • The getAnalysis<> and getAnalysisToUpdate<> methods
  • +
  • The getAnalysis<> and +getAnalysisIfAvailable<> methods
  • Implementing Analysis Groups