From: Chris Lattner Date: Tue, 3 Dec 2002 05:41:32 +0000 (+0000) Subject: Add entries to track information about implicit uses and definitions of X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f6d12fbd9cc0355978a739f5ab213eff85b75a19;p=oota-llvm.git Add entries to track information about implicit uses and definitions of the instructions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4875 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/MachineInstrInfo.h b/include/llvm/Target/MachineInstrInfo.h index 988e787d20c..a453b4007cd 100644 --- a/include/llvm/Target/MachineInstrInfo.h +++ b/include/llvm/Target/MachineInstrInfo.h @@ -1,8 +1,8 @@ -//===-- llvm/Target/InstrInfo.h - Target Instruction Information --*-C++-*-==// +//===-- llvm/Target/MachineInstrInstrInfo.h - Instruction Infor ---*-C++-*-===// // // This file describes the target machine instructions to the code generator. // -//===---------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// #ifndef LLVM_TARGET_MACHINEINSTRINFO_H #define LLVM_TARGET_MACHINEINSTRINFO_H @@ -68,6 +68,8 @@ struct MachineInstrDescriptor { InstrSchedClass schedClass; // enum identifying instr sched class unsigned Flags; // flags identifying machine instr class unsigned TSFlags; // Target Specific Flag values + const unsigned *ImplicitUses; // Registers implicitly read by this instr + const unsigned *ImplicitDefs; // Registers implicitly defined by this instr }; diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 988e787d20c..a453b4007cd 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -1,8 +1,8 @@ -//===-- llvm/Target/InstrInfo.h - Target Instruction Information --*-C++-*-==// +//===-- llvm/Target/MachineInstrInstrInfo.h - Instruction Infor ---*-C++-*-===// // // This file describes the target machine instructions to the code generator. // -//===---------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// #ifndef LLVM_TARGET_MACHINEINSTRINFO_H #define LLVM_TARGET_MACHINEINSTRINFO_H @@ -68,6 +68,8 @@ struct MachineInstrDescriptor { InstrSchedClass schedClass; // enum identifying instr sched class unsigned Flags; // flags identifying machine instr class unsigned TSFlags; // Target Specific Flag values + const unsigned *ImplicitUses; // Registers implicitly read by this instr + const unsigned *ImplicitDefs; // Registers implicitly defined by this instr };