projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Machine Model: Add MicroOpBufferSize and resource BufferSize.
[oota-llvm.git]
/
include
/
llvm
/
Target
/
TargetInstrInfo.h
diff --git
a/include/llvm/Target/TargetInstrInfo.h
b/include/llvm/Target/TargetInstrInfo.h
index d49ce1ce7f46ee01a0e9dfb510c2bcca4ce8f176..69fda8c47c227a86a3632a2e4e7110fa64d654a1 100644
(file)
--- a/
include/llvm/Target/TargetInstrInfo.h
+++ b/
include/llvm/Target/TargetInstrInfo.h
@@
-817,12
+817,10
@@
public:
/// computeOperandLatency - Compute and return the latency of the given data
/// dependent def and use when the operand indices are already known.
/// computeOperandLatency - Compute and return the latency of the given data
/// dependent def and use when the operand indices are already known.
- ///
- /// FindMin may be set to get the minimum vs. expected latency.
unsigned computeOperandLatency(const InstrItineraryData *ItinData,
const MachineInstr *DefMI, unsigned DefIdx,
unsigned computeOperandLatency(const InstrItineraryData *ItinData,
const MachineInstr *DefMI, unsigned DefIdx,
- const MachineInstr *UseMI, unsigned UseIdx
,
-
bool FindMin = false)
const;
+ const MachineInstr *UseMI, unsigned UseIdx
)
+ const;
/// getInstrLatency - Compute the instruction latency of a given instruction.
/// If the instruction has higher cost when predicated, it's returned via
/// getInstrLatency - Compute the instruction latency of a given instruction.
/// If the instruction has higher cost when predicated, it's returned via
@@
-839,7
+837,7
@@
public:
const MachineInstr *DefMI) const;
int computeDefOperandLatency(const InstrItineraryData *ItinData,
const MachineInstr *DefMI) const;
int computeDefOperandLatency(const InstrItineraryData *ItinData,
- const MachineInstr *DefMI
, bool FindMin
) const;
+ const MachineInstr *DefMI) const;
/// isHighLatencyDef - Return true if this opcode has high latency to its
/// result.
/// isHighLatencyDef - Return true if this opcode has high latency to its
/// result.