LLVM  14.0.0git
Classes | Namespaces
PointerLikeTypeTraits.h File Reference
#include "llvm/Support/DataTypes.h"
#include <cassert>
#include <type_traits>
Include dependency graph for PointerLikeTypeTraits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  llvm::PointerLikeTypeTraits< T >
 A traits type that is used to handle pointer types and things that are just wrappers for pointers as a uniform entity. More...
struct  llvm::detail::ConstantLog2< N >
 A tiny meta function to compute the log2 of a compile time constant. More...
struct  llvm::detail::ConstantLog2< 1 >
struct  llvm::detail::HasPointerLikeTypeTraits< T, U >
struct  llvm::detail::HasPointerLikeTypeTraits< T, decltype((sizeof(PointerLikeTypeTraits< T >)+sizeof(T)), void())>
struct  llvm::detail::IsPointerLike< T >
struct  llvm::detail::IsPointerLike< T * >
struct  llvm::PointerLikeTypeTraits< T * >
struct  llvm::PointerLikeTypeTraits< void * >
struct  llvm::PointerLikeTypeTraits< const T >
struct  llvm::PointerLikeTypeTraits< const T * >
struct  llvm::PointerLikeTypeTraits< uintptr_t >
struct  llvm::FunctionPointerLikeTypeTraits< Alignment, FunctionPointerT >
 Provide suitable custom traits struct for function pointers. More...
struct  llvm::PointerLikeTypeTraits< ReturnT(*)(ParamTs...)>
 Provide a default specialization for function pointers that assumes 4-byte alignment. More...


 This file implements support for optimizing divisions by a constant.