summaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm14/lib/Analysis/ValueLattice.cpp
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-03-05 13:38:11 +0300
committerrobot-piglet <[email protected]>2025-03-05 13:49:53 +0300
commit9eed360f02de773a5ed2de5d2a3e81fc7f06acfa (patch)
tree744a4054e64eb443073c7c6ad36b29cedcf9c2e6 /contrib/libs/llvm14/lib/Analysis/ValueLattice.cpp
parentc141a5c40bda2eed1a68b0626ffdae5fd19359a6 (diff)
Intermediate changes
commit_hash:2ec2671384dd8e604d41bc5c52c2f7858e4afea6
Diffstat (limited to 'contrib/libs/llvm14/lib/Analysis/ValueLattice.cpp')
-rw-r--r--contrib/libs/llvm14/lib/Analysis/ValueLattice.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/contrib/libs/llvm14/lib/Analysis/ValueLattice.cpp b/contrib/libs/llvm14/lib/Analysis/ValueLattice.cpp
deleted file mode 100644
index 627166e2409..00000000000
--- a/contrib/libs/llvm14/lib/Analysis/ValueLattice.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-//===- ValueLattice.cpp - Value constraint analysis -------------*- C++ -*-===//
-//
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-//
-//===----------------------------------------------------------------------===//
-
-#include "llvm/Analysis/ValueLattice.h"
-
-namespace llvm {
-raw_ostream &operator<<(raw_ostream &OS, const ValueLatticeElement &Val) {
- if (Val.isUnknown())
- return OS << "unknown";
- if (Val.isUndef())
- return OS << "undef";
- if (Val.isOverdefined())
- return OS << "overdefined";
-
- if (Val.isNotConstant())
- return OS << "notconstant<" << *Val.getNotConstant() << ">";
-
- if (Val.isConstantRangeIncludingUndef())
- return OS << "constantrange incl. undef <"
- << Val.getConstantRange(true).getLower() << ", "
- << Val.getConstantRange(true).getUpper() << ">";
-
- if (Val.isConstantRange())
- return OS << "constantrange<" << Val.getConstantRange().getLower() << ", "
- << Val.getConstantRange().getUpper() << ">";
- return OS << "constant<" << *Val.getConstant() << ">";
-}
-} // end namespace llvm