llvm/llvm/include/llvm/Support/KnownBits.h

//===- llvm/Support/KnownBits.h - Stores known zeros/ones -------*- 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
//
//===----------------------------------------------------------------------===//
//
// This file contains a class for representing known zeros and ones used by
// computeKnownBits.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_SUPPORT_KNOWNBITS_H
#define LLVM_SUPPORT_KNOWNBITS_H

#include "llvm/ADT/APInt.h"
#include <optional>

namespace llvm {

// Struct for tracking the known zeros and ones of a value.
struct KnownBits {};

inline KnownBits operator&(KnownBits LHS, const KnownBits &RHS) {}

inline KnownBits operator&(const KnownBits &LHS, KnownBits &&RHS) {}

inline KnownBits operator|(KnownBits LHS, const KnownBits &RHS) {}

inline KnownBits operator|(const KnownBits &LHS, KnownBits &&RHS) {}

inline KnownBits operator^(KnownBits LHS, const KnownBits &RHS) {}

inline KnownBits operator^(const KnownBits &LHS, KnownBits &&RHS) {}

inline raw_ostream &operator<<(raw_ostream &OS, const KnownBits &Known) {}

} // end namespace llvm

#endif