Add a new helper method which returns the and that is equivalent to what

ZERO_EXTEND_INREG was.

llvm-svn: 21264
This commit is contained in:
Chris Lattner 2005-04-13 02:37:19 +00:00
parent 71886d95d5
commit 50b63f7015
1 changed files with 4 additions and 0 deletions

View File

@ -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);