diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-25 00:47:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-25 00:47:38 +0000 |
commit | 48884cd80b52be1528618f2e9b3425ac24e7b5ca (patch) | |
tree | 4748d599a094f208addfbbf19ce0589a2d53ad4a /include/llvm/Target/TargetLowering.h | |
parent | 21dcae17f580678c452eac73e01424c924d2f994 (diff) | |
download | external_llvm-48884cd80b52be1528618f2e9b3425ac24e7b5ca.zip external_llvm-48884cd80b52be1528618f2e9b3425ac24e7b5ca.tar.gz external_llvm-48884cd80b52be1528618f2e9b3425ac24e7b5ca.tar.bz2 |
rename isOperandValidForConstraint to LowerAsmOperandForConstraint,
changing the interface to allow for future changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41384 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLowering.h')
-rw-r--r-- | include/llvm/Target/TargetLowering.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 510dd6e..f566038 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -907,12 +907,11 @@ public: MVT::ValueType VT) const; - /// isOperandValidForConstraint - Return the specified operand (possibly - /// modified) if the specified SDOperand is valid for the specified target - /// constraint letter, otherwise return null. - virtual SDOperand - isOperandValidForConstraint(SDOperand Op, char ConstraintLetter, - SelectionDAG &DAG); + /// LowerAsmOperandForConstraint - Lower the specified operand into the Ops + /// vector. If it is invalid, don't add anything to Ops. + virtual void LowerAsmOperandForConstraint(SDOperand Op, char ConstraintLetter, + std::vector<SDOperand> &Ops, + SelectionDAG &DAG); //===--------------------------------------------------------------------===// // Scheduler hooks |