mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Add getAnalysisUsage method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5756 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f1c154f5e6
commit
d76370b306
@ -7,8 +7,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_XFORMS_UNIFY_FUNCTION_EXIT_NODES_H
|
||||
#define LLVM_XFORMS_UNIFY_FUNCTION_EXIT_NODES_H
|
||||
#ifndef LLVM_TRANSFORMS_UNIFYFUNCTIONEXITNODES_H
|
||||
#define LLVM_TRANSFORMS_UNIFYFUNCTIONEXITNODES_H
|
||||
|
||||
#include "llvm/Pass.h"
|
||||
|
||||
@ -17,6 +17,9 @@ struct UnifyFunctionExitNodes : public FunctionPass {
|
||||
public:
|
||||
UnifyFunctionExitNodes() : ExitNode(0) {}
|
||||
|
||||
// We can preserve non-critical-edgeness when we unify function exit nodes
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
|
||||
|
||||
// getExitNode - Return the new single (or nonexistant) exit node of the CFG.
|
||||
//
|
||||
BasicBlock *getExitNode() const { return ExitNode; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user