diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-12-14 00:25:47 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-12-14 00:25:47 +0000 |
commit | 092647b37a9ea0d84fe88942b29adc2f06da8bbc (patch) | |
tree | e24aa483bc3db2213dc8f90a08cba13ef1f53919 /llvm/lib/CodeGen/SpillPlacement.h | |
parent | b78dec8faf5bbab26ac6c007b3326a55120ab135 (diff) | |
download | bcm5719-llvm-092647b37a9ea0d84fe88942b29adc2f06da8bbc.tar.gz bcm5719-llvm-092647b37a9ea0d84fe88942b29adc2f06da8bbc.zip |
[block-freq] Store MBFI as a field on SpillPlacement so we can access it to get the entry frequency while processing data.
llvm-svn: 197291
Diffstat (limited to 'llvm/lib/CodeGen/SpillPlacement.h')
-rw-r--r-- | llvm/lib/CodeGen/SpillPlacement.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SpillPlacement.h b/llvm/lib/CodeGen/SpillPlacement.h index 105516bb62b..9161195e716 100644 --- a/llvm/lib/CodeGen/SpillPlacement.h +++ b/llvm/lib/CodeGen/SpillPlacement.h @@ -38,12 +38,14 @@ class BitVector; class EdgeBundles; class MachineBasicBlock; class MachineLoopInfo; +class MachineBlockFrequencyInfo; class SpillPlacement : public MachineFunctionPass { struct Node; const MachineFunction *MF; const EdgeBundles *bundles; const MachineLoopInfo *loops; + const MachineBlockFrequencyInfo *MBFI; Node *nodes; // Nodes that are active in the current computation. Owned by the prepare() |