diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-05-22 01:21:58 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-05-22 01:21:58 +0000 |
commit | d46a8ea5d5383c16554a86105a43f63fa3786efb (patch) | |
tree | 91dc7badfa3331d5b37109d6fa8b7426389cf1e9 /include/llvm | |
parent | 287b47f04b3166337c9a4cca7b651e59d99c6f42 (diff) | |
download | external_llvm-d46a8ea5d5383c16554a86105a43f63fa3786efb.zip external_llvm-d46a8ea5d5383c16554a86105a43f63fa3786efb.tar.gz external_llvm-d46a8ea5d5383c16554a86105a43f63fa3786efb.tar.bz2 |
Consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37274 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 731a0ee..b2fc53a 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -217,7 +217,7 @@ public: bool isCommutableInstr(MachineOpCode Opcode) const { return get(Opcode).Flags & M_COMMUTABLE; } - bool isTerminatorInstr(unsigned Opcode) const { + bool isTerminatorInstr(MachineOpCode Opcode) const { return get(Opcode).Flags & M_TERMINATOR_FLAG; } @@ -244,14 +244,14 @@ public: /// hasDelaySlot - Returns true if the specified instruction has a delay slot /// which must be filled by the code generator. - bool hasDelaySlot(unsigned Opcode) const { + bool hasDelaySlot(MachineOpCode Opcode) const { return get(Opcode).Flags & M_DELAY_SLOT_FLAG; } /// usesCustomDAGSchedInsertionHook - Return true if this instruction requires /// custom insertion support when the DAG scheduler is inserting it into a /// machine basic block. - bool usesCustomDAGSchedInsertionHook(unsigned Opcode) const { + bool usesCustomDAGSchedInsertionHook(MachineOpCode Opcode) const { return get(Opcode).Flags & M_USES_CUSTOM_DAG_SCHED_INSERTION; } |