LLVM 22.0.0git
PointerLikeTypeTraits.h File Reference
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/MathExtras.h"
#include <cassert>

Go to the source code of this file.

Classes

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...

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.