diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-09-27 22:57:21 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-09-27 22:57:21 +0000 |
commit | f9b71a2e011fb36fa3112071c9cebd236055056d (patch) | |
tree | 2d0372fd807b0559377cf5dc765872dc38a2a39e /llvm/lib/Target/ARM/ARMBaseInstrInfo.h | |
parent | b48c994cc066a3f78e004caf636e2c99dae5dc7c (diff) | |
download | bcm5719-llvm-f9b71a2e011fb36fa3112071c9cebd236055056d.tar.gz bcm5719-llvm-f9b71a2e011fb36fa3112071c9cebd236055056d.zip |
Implement TII::get/setExecutionDomain() for ARM.
llvm-svn: 140653
Diffstat (limited to 'llvm/lib/Target/ARM/ARMBaseInstrInfo.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMBaseInstrInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMBaseInstrInfo.h b/llvm/lib/Target/ARM/ARMBaseInstrInfo.h index 8ba64d03073..30dd6973fda 100644 --- a/llvm/lib/Target/ARM/ARMBaseInstrInfo.h +++ b/llvm/lib/Target/ARM/ARMBaseInstrInfo.h @@ -210,6 +210,12 @@ public: int getOperandLatency(const InstrItineraryData *ItinData, SDNode *DefNode, unsigned DefIdx, SDNode *UseNode, unsigned UseIdx) const; + + /// VFP/NEON execution domains. + std::pair<uint16_t, uint16_t> + getExecutionDomain(const MachineInstr *MI) const; + void setExecutionDomain(MachineInstr *MI, unsigned Domain) const; + private: int getVLDMDefCycle(const InstrItineraryData *ItinData, const MCInstrDesc &DefMCID, |