Skip to content
Snippets Groups Projects
Commit a18da59d authored by Chris Lattner's avatar Chris Lattner
Browse files

missed a header

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125471 91177308-0d34-0410-b5e6-96231b3b80d8
parent 0a9481f4
No related branches found
No related tags found
No related merge requests found
...@@ -970,6 +970,13 @@ public: ...@@ -970,6 +970,13 @@ public:
/// class to allow target nodes to be understood. /// class to allow target nodes to be understood.
unsigned ComputeNumSignBits(SDValue Op, unsigned Depth = 0) const; unsigned ComputeNumSignBits(SDValue Op, unsigned Depth = 0) const;
/// isBaseWithConstantOffset - Return true if the specified operand is an
/// ISD::ADD with a ConstantSDNode on the right-hand side, or if it is an
/// ISD::OR with a ConstantSDNode that is guaranteed to have the same
/// semantics as an ADD. This handles the equivalence:
/// X|Cst == X+Cst iff X&~Cst = 0.
bool isBaseWithConstantOffset(SDValue Op) const;
/// isKnownNeverNan - Test whether the given SDValue is known to never be NaN. /// isKnownNeverNan - Test whether the given SDValue is known to never be NaN.
bool isKnownNeverNaN(SDValue Op) const; bool isKnownNeverNaN(SDValue Op) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment