[llvm-branch-commits] [llvm] [ValueTracking][NFC] Prepare computeKnownFPClass before moving it to ValueTrackingFP.cpp (PR #244967)
Nikita Popov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Nov 22 00:51:19 PST 2026
================
@@ -0,0 +1,42 @@
+//===- ValueTrackingInternal.h - Shared ValueTracking helpers ---*- 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
+//
+//===----------------------------------------------------------------------===//
+//
+// Helpers shared between ValueTracking.cpp and ValueTrackingFP.cpp. These are
+// not part of the public ValueTracking interface.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIB_ANALYSIS_VALUETRACKINGINTERNAL_H
+#define LLVM_LIB_ANALYSIS_VALUETRACKINGINTERNAL_H
+
+#include <tuple>
+
+namespace llvm {
+
+class APInt;
+class Instruction;
+class PHINode;
+class ShuffleVectorInst;
+class Use;
+class Value;
+struct SimplifyQuery;
+
+bool getShuffleDemandedElts(const ShuffleVectorInst *Shuf,
----------------
nikic wrote:
Should add doc comments.
https://github.com/llvm/llvm-project/pull/244967
More information about the llvm-branch-commits
mailing list