diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-05-03 20:10:36 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-05-03 20:10:36 +0000 |
commit | 2af5037d34dd81c8ff2dcc3ee5d3f000c2ec1a01 (patch) | |
tree | 2e6c28b27e96f5b8e21978a66a088e8b3b987eda /llvm/lib/Target/Hexagon/HexagonSubtarget.h | |
parent | e2ccc3fb338800134dc744091bcceaf4d3c778ce (diff) | |
download | bcm5719-llvm-2af5037d34dd81c8ff2dcc3ee5d3f000c2ec1a01.tar.gz bcm5719-llvm-2af5037d34dd81c8ff2dcc3ee5d3f000c2ec1a01.zip |
[Hexagon] Use automatically-generated scheduling information for HVX
Patch by Jyotsna Verma.
llvm-svn: 302073
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonSubtarget.h')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonSubtarget.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonSubtarget.h b/llvm/lib/Target/Hexagon/HexagonSubtarget.h index 6a3e7f13be4..647eedc1d12 100644 --- a/llvm/lib/Target/Hexagon/HexagonSubtarget.h +++ b/llvm/lib/Target/Hexagon/HexagonSubtarget.h @@ -146,11 +146,10 @@ private: // Helper function responsible for increasing the latency only. void updateLatency(MachineInstr &SrcInst, MachineInstr &DstInst, SDep &Dep) const; - void changeLatency(SUnit *Src, SmallVector<SDep, 4> &Deps, SUnit *Dst, - unsigned Lat) const; - bool isBestZeroLatency(SUnit *Src, SUnit *Dst, const HexagonInstrInfo *TII) - const; - void changePhiLatency(MachineInstr &SrcInst, SUnit *Dst, SDep &Dep) const; + void restoreLatency(SUnit *Src, SUnit *Dst) const; + void changeLatency(SUnit *Src, SUnit *Dst, unsigned Lat) const; + bool isBestZeroLatency(SUnit *Src, SUnit *Dst, const HexagonInstrInfo *TII, + SmallSet<SUnit*, 4> &ExclSrc, SmallSet<SUnit*, 4> &ExclDst) const; }; } // end namespace llvm |