#ifndef LLVM_TARGET_TARGETINSTRDESC_H
#define LLVM_TARGET_TARGETINSTRDESC_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
HasOptionalDef,
Return,
Call,
- ConditionalMove,
Barrier,
Terminator,
Branch,
IndirectBranch,
- Predicable,
- NotDuplicable,
Compare,
+ MoveImm,
DelaySlot,
FoldableAsLoad,
MayLoad,
MayStore,
+ Predicable,
+ NotDuplicable,
UnmodeledSideEffects,
Commutable,
ConvertibleTo3Addr,
return Flags & (1 << TID::Compare);
}
- /// isConditionalMove - Return true if this instruction can be considered a
- /// conditional move, like CMOV on X86 or MOVCC on ARM.
- bool isConditionalMove() const {
- return Flags & (1 << TID::ConditionalMove);
+ /// isMoveImmediate - Return true if this instruction is a move immediate
+ /// (including conditional moves) instruction.
+ bool isMoveImmediate() const {
+ return Flags & (1 << TID::MoveImm);
}
/// isNotDuplicable - Return true if this instruction cannot be safely