diff options
author | Chris Lattner <sabre@nondot.org> | 2005-04-13 02:37:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-04-13 02:37:19 +0000 |
commit | 1ccae666f596d5aeca5c9942995763600b622062 (patch) | |
tree | 6dee23693930afe31adc1faaf66666e14c61d3cb /include/llvm/CodeGen | |
parent | ea5761068956b157832d67bcc9d5e8ba706f545c (diff) | |
download | external_llvm-1ccae666f596d5aeca5c9942995763600b622062.zip external_llvm-1ccae666f596d5aeca5c9942995763600b622062.tar.gz external_llvm-1ccae666f596d5aeca5c9942995763600b622062.tar.bz2 |
Add a new helper method which returns the and that is equivalent to what
ZERO_EXTEND_INREG was.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 4bb1739..9ae69c2 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -149,6 +149,10 @@ public: SDOperand getSetCC(ISD::CondCode, MVT::ValueType VT, SDOperand LHS, SDOperand RHS); + /// getZeroExtendInReg - Return the expression required to zero extend the Op + /// value assuming it was the smaller SrcTy value. + SDOperand getZeroExtendInReg(SDOperand Op, MVT::ValueType SrcTy); + /// getNode - Gets or creates the specified node. /// SDOperand getNode(unsigned Opcode, MVT::ValueType VT); |