GCC Middle and Back End API Reference
wide_int_bitmask Class Reference

#include <wide-int-bitmask.h>

Public Member Functions

constexpr wide_int_bitmask ()
 
constexpr wide_int_bitmask (uint64_t l)
 
constexpr wide_int_bitmask (uint64_t l, uint64_t h)
 
wide_int_bitmaskoperator&= (wide_int_bitmask)
 
wide_int_bitmaskoperator|= (wide_int_bitmask)
 
constexpr wide_int_bitmask operator~ () const
 
constexpr wide_int_bitmask operator& (wide_int_bitmask) const
 
constexpr wide_int_bitmask operator| (wide_int_bitmask) const
 
wide_int_bitmask operator>> (int)
 
wide_int_bitmask operator<< (int)
 
bool operator== (wide_int_bitmask) const
 
bool operator!= (wide_int_bitmask) const
 

Data Fields

uint64_t low
 
uint64_t high
 

Detailed Description

Operation with 128 bit bitmask.
   Copyright (C) 2013-2024 Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   

Constructor & Destructor Documentation

◆ wide_int_bitmask() [1/3]

wide_int_bitmask::wide_int_bitmask ( )
constexpr

Referenced by operator&(), operator|(), and operator~().

◆ wide_int_bitmask() [2/3]

wide_int_bitmask::wide_int_bitmask ( uint64_t l)
constexpr

◆ wide_int_bitmask() [3/3]

wide_int_bitmask::wide_int_bitmask ( uint64_t l,
uint64_t h )
constexpr

Member Function Documentation

◆ operator!=()

bool wide_int_bitmask::operator!= ( wide_int_bitmask b) const
inline

References b, high, and low.

◆ operator&()

wide_int_bitmask wide_int_bitmask::operator& ( wide_int_bitmask b) const
constexpr

References b, high, low, and wide_int_bitmask().

◆ operator&=()

wide_int_bitmask & wide_int_bitmask::operator&= ( wide_int_bitmask b)
inline

References b, high, and low.

◆ operator<<()

wide_int_bitmask wide_int_bitmask::operator<< ( int amount)
inline

References high, and low.

◆ operator==()

bool wide_int_bitmask::operator== ( wide_int_bitmask b) const
inline

References b, high, and low.

◆ operator>>()

wide_int_bitmask wide_int_bitmask::operator>> ( int amount)
inline

References high, and low.

◆ operator|()

wide_int_bitmask wide_int_bitmask::operator| ( wide_int_bitmask b) const
constexpr

References b, high, low, and wide_int_bitmask().

◆ operator|=()

wide_int_bitmask & wide_int_bitmask::operator|= ( wide_int_bitmask b)
inline

References b, high, and low.

◆ operator~()

wide_int_bitmask wide_int_bitmask::operator~ ( ) const
constexpr

References high, low, and wide_int_bitmask().

Field Documentation

◆ high

◆ low


The documentation for this class was generated from the following file: