diff options
| author | Evandro Menezes <e.menezes@samsung.com> | 2018-01-30 15:40:16 +0000 |
|---|---|---|
| committer | Evandro Menezes <e.menezes@samsung.com> | 2018-01-30 15:40:16 +0000 |
| commit | 9f9daa1f14f4b087edce2ceb4e36e2dec38680e1 (patch) | |
| tree | 6ff026a90659cee5d8c983b91b82931499870a3f /llvm/lib/Target/AArch64/AArch64InstrInfo.h | |
| parent | 4256fd0b4b85598f9b47308d15715a5b4f1e1813 (diff) | |
| download | bcm5719-llvm-9f9daa1f14f4b087edce2ceb4e36e2dec38680e1.tar.gz bcm5719-llvm-9f9daa1f14f4b087edce2ceb4e36e2dec38680e1.zip | |
[AArch64] Add pipeline model for Exynos M3
Add the scheduling and cost model for Exynos M3.
Differential revision: https://reviews.llvm.org/D42387
llvm-svn: 323773
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64InstrInfo.h')
| -rw-r--r-- | llvm/lib/Target/AArch64/AArch64InstrInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.h b/llvm/lib/Target/AArch64/AArch64InstrInfo.h index 889e5f6d5f6..967abc39fbd 100644 --- a/llvm/lib/Target/AArch64/AArch64InstrInfo.h +++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.h @@ -369,6 +369,9 @@ public: insertOutlinedCall(Module &M, MachineBasicBlock &MBB, MachineBasicBlock::iterator &It, MachineFunction &MF, const MachineOutlinerInfo &MInfo) const override; + /// Returns true if the instruction sets to an immediate value that can be + /// executed more efficiently. + bool isExynosResetFast(const MachineInstr &MI) const; /// Returns true if the instruction has a shift left that can be executed /// more efficiently. bool isExynosShiftLeftFast(const MachineInstr &MI) const; |

