diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2021-12-25 22:30:44 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2021-12-25 22:30:44 +0000 |
commit | 77fc4c146f0870ffb09c1afb823ccbe742c5e6ff (patch) | |
tree | 5c0eb39553003b9c75a901af6bc4ddabd6f2f28c /llvm/include/llvm/CodeGen/SelectionDAG.h | |
parent | f65dcba83ce5035ab88a85fe17628b447eb56e1b (diff) | |
download | src-77fc4c146f0870ffb09c1afb823ccbe742c5e6ff.tar.gz src-77fc4c146f0870ffb09c1afb823ccbe742c5e6ff.zip |
Vendor import of llvm-project main llvmorg-14-init-13186-g0c553cc1af2e.vendor/llvm-project/llvmorg-14-init-13186-g0c553cc1af2e
Diffstat (limited to 'llvm/include/llvm/CodeGen/SelectionDAG.h')
-rw-r--r-- | llvm/include/llvm/CodeGen/SelectionDAG.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAG.h b/llvm/include/llvm/CodeGen/SelectionDAG.h index 5a3f4e9a23ff..d21844555f5b 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAG.h +++ b/llvm/include/llvm/CodeGen/SelectionDAG.h @@ -1912,10 +1912,10 @@ public: /// /// NOTE: The function will return true for a demanded splat of UNDEF values. bool isSplatValue(SDValue V, const APInt &DemandedElts, APInt &UndefElts, - unsigned Depth = 0); + unsigned Depth = 0) const; /// Test whether \p V has a splatted value. - bool isSplatValue(SDValue V, bool AllowUndefs = false); + bool isSplatValue(SDValue V, bool AllowUndefs = false) const; /// If V is a splatted value, return the source vector and its splat index. SDValue getSplatSourceVector(SDValue V, int &SplatIndex); |