mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-26 02:22:29 +00:00
generalize this api
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31365 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -687,8 +687,14 @@ public:
|
|||||||
|
|
||||||
/// getRegForInlineAsmConstraint - Given a physical register constraint (e.g.
|
/// getRegForInlineAsmConstraint - Given a physical register constraint (e.g.
|
||||||
/// {edx}), return the register number and the register class for the
|
/// {edx}), return the register number and the register class for the
|
||||||
/// register. This should only be used for C_Register constraints. On error,
|
/// register.
|
||||||
/// this returns a register number of 0.
|
///
|
||||||
|
/// Given a register class constraint, like 'r', if this corresponds directly
|
||||||
|
/// to an LLVM register class, return a register of 0 and the register class
|
||||||
|
/// pointer.
|
||||||
|
///
|
||||||
|
/// This should only be used for C_Register constraints. On error,
|
||||||
|
/// this returns a register number of 0 and a null register class pointer..
|
||||||
virtual std::pair<unsigned, const TargetRegisterClass*>
|
virtual std::pair<unsigned, const TargetRegisterClass*>
|
||||||
getRegForInlineAsmConstraint(const std::string &Constraint,
|
getRegForInlineAsmConstraint(const std::string &Constraint,
|
||||||
MVT::ValueType VT) const;
|
MVT::ValueType VT) const;
|
||||||
|
|||||||
Reference in New Issue
Block a user