diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-05-23 07:22:05 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-05-23 07:22:05 +0000 |
commit | 1d764eca9897a09de606a72d0188a1d05e8b820e (patch) | |
tree | 286acbe997ef52c65325cce8eca766b9615b5d83 /llvm/lib/Target/ARM/ARMInstrInfo.h | |
parent | c972de8c8bf39af06dccda78c6360415acfec413 (diff) | |
download | bcm5719-llvm-1d764eca9897a09de606a72d0188a1d05e8b820e.tar.gz bcm5719-llvm-1d764eca9897a09de606a72d0188a1d05e8b820e.zip |
Hooks for predication support.
llvm-svn: 37308
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstrInfo.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMInstrInfo.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.h b/llvm/lib/Target/ARM/ARMInstrInfo.h index 84663e75f72..3f24c8b8294 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.h +++ b/llvm/lib/Target/ARM/ARMInstrInfo.h @@ -104,8 +104,13 @@ public: virtual bool ReverseBranchCondition(std::vector<MachineOperand> &Cond) const; // Predication support. + virtual bool isPredicated(MachineInstr *MI) const; + virtual bool PredicateInstruction(MachineInstr *MI, - std::vector<MachineOperand> &Cond) const; + std::vector<MachineOperand> &Pred) const; + + virtual bool SubsumesPredicate(std::vector<MachineOperand> &Pred1, + std::vector<MachineOperand> &Pred1) const; }; // Utility routines |