LLVM 19.0.0git
Classes | Namespaces | Functions
PointerIntPair.h File Reference

This file defines the PointerIntPair class. More...

#include "llvm/Support/Compiler.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
#include "llvm/Support/type_traits.h"
#include <cassert>
#include <cstdint>
#include <cstring>
#include <limits>

Go to the source code of this file.

Classes

struct  llvm::detail::PunnedPointer< Ptr >
 
class  llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info >
 PointerIntPair - This class implements a pair of a pointer and small integer. More...
 
struct  llvm::PointerIntPairInfo< PointerT, IntBits, PtrTraits >
 
struct  llvm::DenseMapInfo< PointerIntPair< PointerTy, IntBits, IntType >, void >
 
struct  llvm::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > >
 
struct  std::tuple_size< llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info > >
 
struct  std::tuple_element< I, llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info > >
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::detail
 These are wrappers over isa* function that allow them to be used in generic algorithms such as llvm:all_of, llvm::none_of, etc.
 
namespace  std
 Implement std::hash so that hash_code can be used in STL containers.
 

Functions

template<std::size_t I, typename PointerTy , unsigned IntBits, typename IntType , typename PtrTraits , typename Info >
decltype(auto) llvm::get (const PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info > &Pair)
 

Detailed Description

This file defines the PointerIntPair class.

Definition in file PointerIntPair.h.