mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-03 14:21:30 +00:00
Add DEBUG_VALUE. Not used yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93030 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -477,6 +477,14 @@ def COPY_TO_REGCLASS : Instruction {
|
||||
let neverHasSideEffects = 1;
|
||||
let isAsCheapAsAMove = 1;
|
||||
}
|
||||
def DEBUG_VALUE : Instruction {
|
||||
let OutOperandList = (ops);
|
||||
let InOperandList = (ops unknown:$value, i64imm:$offset, unknown:$meta);
|
||||
let AsmString = "DEBUG_VALUE";
|
||||
let Namespace = "TargetInstrInfo";
|
||||
let neverHasSideEffects = 1;
|
||||
let isAsCheapAsAMove = 1;
|
||||
}
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
@@ -88,7 +88,10 @@ public:
|
||||
/// only needed in cases where the register classes implied by the
|
||||
/// instructions are insufficient. The actual MachineInstrs to perform
|
||||
/// the copy are emitted with the TargetInstrInfo::copyRegToReg hook.
|
||||
COPY_TO_REGCLASS = 10
|
||||
COPY_TO_REGCLASS = 10,
|
||||
|
||||
// DEBUG_VALUE - a mapping of the llvm.dbg.value intrinsic
|
||||
DEBUG_VALUE = 11
|
||||
};
|
||||
|
||||
unsigned getNumOpcodes() const { return NumOpcodes; }
|
||||
|
||||
Reference in New Issue
Block a user