aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetInstrInfo.h
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2007-01-26 14:34:52 +0000
committerJim Laskey <jlaskey@mac.com>2007-01-26 14:34:52 +0000
commit1ee29257428960fede862fcfdbe80d5d007927e9 (patch)
tree14237530ec191a46f19f476c9b4fac38b47f8bf6 /include/llvm/Target/TargetInstrInfo.h
parent2b935d55b04b8dfeedc67c3b376efd523344c44d (diff)
downloadexternal_llvm-1ee29257428960fede862fcfdbe80d5d007927e9.zip
external_llvm-1ee29257428960fede862fcfdbe80d5d007927e9.tar.gz
external_llvm-1ee29257428960fede862fcfdbe80d5d007927e9.tar.bz2
Make LABEL a builtin opcode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33537 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetInstrInfo.h')
-rw-r--r--include/llvm/Target/TargetInstrInfo.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index eb1dbce..e4b37c3 100644
--- a/include/llvm/Target/TargetInstrInfo.h
+++ b/include/llvm/Target/TargetInstrInfo.h
@@ -166,7 +166,8 @@ public:
// Invariant opcodes: All instruction sets have these as their low opcodes.
enum {
PHI = 0,
- INLINEASM = 1
+ INLINEASM = 1,
+ LABEL = 2
};
unsigned getNumOpcodes() const { return NumOpcodes; }
@@ -263,13 +264,6 @@ public:
return get(Opcode).getOperandConstraint(OpNum, Constraint);
}
- /// getDWARF_LABELOpcode - Return the opcode of the target's DWARF_LABEL
- /// instruction if it has one. This is used by codegen passes that update
- /// DWARF line number info as they modify the code.
- virtual unsigned getDWARF_LABELOpcode() const {
- return 0;
- }
-
/// Return true if the instruction is a register to register move
/// and leave the source and dest operands in the passed parameters.
virtual bool isMoveInstr(const MachineInstr& MI,