Coverage Report

Created: 2019-07-24 05:18

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/include/llvm/Support/PointerLikeTypeTraits.h
Line
Count
Source (jump to first uncovered line)
1
//===- llvm/Support/PointerLikeTypeTraits.h - Pointer Traits ----*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// This file defines the PointerLikeTypeTraits class.  This allows data
10
// structures to reason about pointers and other things that are pointer sized.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_SUPPORT_POINTERLIKETYPETRAITS_H
15
#define LLVM_SUPPORT_POINTERLIKETYPETRAITS_H
16
17
#include "llvm/Support/DataTypes.h"
18
#include <assert.h>
19
#include <type_traits>
20
21
namespace llvm {
22
23
/// A traits type that is used to handle pointer types and things that are just
24
/// wrappers for pointers as a uniform entity.
25
template <typename T> struct PointerLikeTypeTraits;
26
27
namespace detail {
28
/// A tiny meta function to compute the log2 of a compile time constant.
29
template <size_t N>
30
struct ConstantLog2
31
    : std::integral_constant<size_t, ConstantLog2<N / 2>::value + 1> {};
32
template <> struct ConstantLog2<1> : std::integral_constant<size_t, 0> {};
33
34
// Provide a trait to check if T is pointer-like.
35
template <typename T, typename U = void> struct HasPointerLikeTypeTraits {
36
  static const bool value = false;
37
};
38
39
// sizeof(T) is valid only for a complete T.
40
template <typename T> struct HasPointerLikeTypeTraits<
41
  T, decltype((sizeof(PointerLikeTypeTraits<T>) + sizeof(T)), void())> {
42
  static const bool value = true;
43
};
44
45
template <typename T> struct IsPointerLike {
46
  static const bool value = HasPointerLikeTypeTraits<T>::value;
47
};
48
49
template <typename T> struct IsPointerLike<T *> {
50
  static const bool value = true;
51
};
52
} // namespace detail
53
54
// Provide PointerLikeTypeTraits for non-cvr pointers.
55
template <typename T> struct PointerLikeTypeTraits<T *> {
56
9.17G
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::cl::SubCommand*>::getAsVoidPointer(llvm::cl::SubCommand*)
Line
Count
Source
56
1.15M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::ValueHandleBase**>::getAsVoidPointer(llvm::ValueHandleBase**)
Line
Count
Source
56
1.71G
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::MemoryBuffer*>::getAsVoidPointer(llvm::MemoryBuffer*)
Line
Count
Source
56
1.24M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::SrcMgr::ContentCache*>::getAsVoidPointer(clang::SrcMgr::ContentCache*)
Line
Count
Source
56
652k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::Module*>::getAsVoidPointer(clang::Module*)
Line
Count
Source
56
8.20M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::ilist_node_base<true>*>::getAsVoidPointer(llvm::ilist_node_base<true>*)
Line
Count
Source
56
239M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::Metadata*>::getAsVoidPointer(llvm::Metadata*)
Line
Count
Source
56
185M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::MetadataAsValue*>::getAsVoidPointer(llvm::MetadataAsValue*)
Line
Count
Source
56
58.6k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::LLVMContext*>::getAsVoidPointer(llvm::LLVMContext*)
Line
Count
Source
56
5.58M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::ReplaceableMetadataImpl*>::getAsVoidPointer(llvm::ReplaceableMetadataImpl*)
Line
Count
Source
56
411k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::AnalysisKey*>::getAsVoidPointer(llvm::AnalysisKey*)
Line
Count
Source
56
405k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::Instruction*>::getAsVoidPointer(llvm::Instruction*)
Line
Count
Source
56
461M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::DomTreeNodeBase<llvm::BasicBlock>*>::getAsVoidPointer(llvm::DomTreeNodeBase<llvm::BasicBlock>*)
Line
Count
Source
56
67.1M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::BasicBlock*>::getAsVoidPointer(llvm::BasicBlock*)
Line
Count
Source
56
1.05G
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SCEVPredicate*>::getAsVoidPointer(llvm::SCEVPredicate*)
Line
Count
Source
56
2.42k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SCEV*>::getAsVoidPointer(llvm::SCEV*)
Line
Count
Source
56
395M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::LazyCallGraph::Node*>::getAsVoidPointer(llvm::LazyCallGraph::Node*)
Line
Count
Source
56
4.88k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::MCFragment*>::getAsVoidPointer(llvm::MCFragment*)
Line
Count
Source
56
15.1M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::Value*>::getAsVoidPointer(llvm::Value*)
Line
Count
Source
56
953M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::PseudoSourceValue*>::getAsVoidPointer(llvm::PseudoSourceValue*)
Line
Count
Source
56
4.08M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::ConstantInt*>::getAsVoidPointer(llvm::ConstantInt*)
Line
Count
Source
56
234k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::DIVariable*>::getAsVoidPointer(llvm::DIVariable*)
Line
Count
Source
56
170
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::MachineBasicBlock*>::getAsVoidPointer(llvm::MachineBasicBlock*)
Line
Count
Source
56
199M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SDNode*>::getAsVoidPointer(llvm::SDNode*)
Line
Count
Source
56
438M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::MachineInstr*>::getAsVoidPointer(llvm::MachineInstr*)
Line
Count
Source
56
160M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::StringMapEntry<llvm::DwarfStringPoolEntry>*>::getAsVoidPointer(llvm::StringMapEntry<llvm::DwarfStringPoolEntry>*)
Line
Count
Source
56
424k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::DomTreeNodeBase<llvm::MachineBasicBlock>*>::getAsVoidPointer(llvm::DomTreeNodeBase<llvm::MachineBasicBlock>*)
Line
Count
Source
56
18.9M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::Loop*>::getAsVoidPointer(llvm::Loop*)
Line
Count
Source
56
28.3M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::MachineLoop*>::getAsVoidPointer(llvm::MachineLoop*)
Line
Count
Source
56
147
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::Type*>::getAsVoidPointer(llvm::Type*)
Line
Count
Source
56
273M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::StructType*>::getAsVoidPointer(llvm::StructType*)
Line
Count
Source
56
348M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::InterleaveGroup<llvm::Instruction>*>::getAsVoidPointer(llvm::InterleaveGroup<llvm::Instruction>*)
Line
Count
Source
56
6.76k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::MCSymbol*>::getAsVoidPointer(llvm::MCSymbol*)
Line
Count
Source
56
4.27M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::IndexListEntry*>::getAsVoidPointer(llvm::IndexListEntry*)
Line
Count
Source
56
622M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SUnit*>::getAsVoidPointer(llvm::SUnit*)
Line
Count
Source
56
73.0M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::Function*>::getAsVoidPointer(llvm::Function*)
Line
Count
Source
56
5.31M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::Constant*>::getAsVoidPointer(llvm::Constant*)
Line
Count
Source
56
96.8M
  static inline void *getAsVoidPointer(T *P) { return P; }
Unexecuted instantiation: AMDGPUMachineCFGStructurizer.cpp:llvm::PointerLikeTypeTraits<(anonymous namespace)::PHILinearize::PHIInfoElementT*>::getAsVoidPointer((anonymous namespace)::PHILinearize::PHIInfoElementT*)
llvm::PointerLikeTypeTraits<llvm::RegionNode*>::getAsVoidPointer(llvm::RegionNode*)
Line
Count
Source
56
168k
  static inline void *getAsVoidPointer(T *P) { return P; }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::MachineRegionNode*>::getAsVoidPointer(llvm::MachineRegionNode*)
llvm::PointerLikeTypeTraits<llvm::AllocaInst*>::getAsVoidPointer(llvm::AllocaInst*)
Line
Count
Source
56
1.72M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::GlobalVariable*>::getAsVoidPointer(llvm::GlobalVariable*)
Line
Count
Source
56
39.9k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::LoadInst*>::getAsVoidPointer(llvm::LoadInst*)
Line
Count
Source
56
1.98M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::PHINode*>::getAsVoidPointer(llvm::PHINode*)
Line
Count
Source
56
9.64M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::MCSymbolELF*>::getAsVoidPointer(llvm::MCSymbolELF*)
Line
Count
Source
56
31
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::LandingPadInst*>::getAsVoidPointer(llvm::LandingPadInst*)
Line
Count
Source
56
4.41k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::CallInst*>::getAsVoidPointer(llvm::CallInst*)
Line
Count
Source
56
13
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::LazyCallGraph::SCC*>::getAsVoidPointer(llvm::LazyCallGraph::SCC*)
Line
Count
Source
56
18.4k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::LazyCallGraph::RefSCC*>::getAsVoidPointer(llvm::LazyCallGraph::RefSCC*)
Line
Count
Source
56
2.64k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::Use*>::getAsVoidPointer(llvm::Use*)
Line
Count
Source
56
119M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::BasicBlock*, 4u>*>::getAsVoidPointer(llvm::SmallVector<llvm::BasicBlock*, 4u>*)
Line
Count
Source
56
22
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::GlobalValue*>::getAsVoidPointer(llvm::GlobalValue*)
Line
Count
Source
56
26.5M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::MDNode*>::getAsVoidPointer(llvm::MDNode*)
Line
Count
Source
56
3.90M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<std::__1::pair<unsigned long long const, llvm::GlobalValueSummaryInfo>*>::getAsVoidPointer(std::__1::pair<unsigned long long const, llvm::GlobalValueSummaryInfo>*)
Line
Count
Source
56
126k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::User*>::getAsVoidPointer(llvm::User*)
Line
Count
Source
56
13.2M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SelectInst*>::getAsVoidPointer(llvm::SelectInst*)
Line
Count
Source
56
764
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::VNInfo*>::getAsVoidPointer(llvm::VNInfo*)
Line
Count
Source
56
5.26M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::LiveRange*>::getAsVoidPointer(llvm::LiveRange*)
Line
Count
Source
56
2.00M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::LiveInterval*>::getAsVoidPointer(llvm::LiveInterval*)
Line
Count
Source
56
786k
  static inline void *getAsVoidPointer(T *P) { return P; }
MachineBlockPlacement.cpp:llvm::PointerLikeTypeTraits<(anonymous namespace)::BlockChain*>::getAsVoidPointer((anonymous namespace)::BlockChain*)
Line
Count
Source
56
3.95M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::MachineInstr::ExtraInfo*>::getAsVoidPointer(llvm::MachineInstr::ExtraInfo*)
Line
Count
Source
56
2.19M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::MachineMemOperand*>::getAsVoidPointer(llvm::MachineMemOperand*)
Line
Count
Source
56
8.86M
  static inline void *getAsVoidPointer(T *P) { return P; }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::MCSymbol*, 4u>*>::getAsVoidPointer(llvm::SmallVector<llvm::MCSymbol*, 4u>*)
llvm::PointerLikeTypeTraits<llvm::TargetRegisterClass*>::getAsVoidPointer(llvm::TargetRegisterClass*)
Line
Count
Source
56
18.5M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::RegisterBank*>::getAsVoidPointer(llvm::RegisterBank*)
Line
Count
Source
56
25.4M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::MachineInstr*, 4u>*>::getAsVoidPointer(llvm::SmallVector<llvm::MachineInstr*, 4u>*)
Line
Count
Source
56
15
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::ConstantExpr*>::getAsVoidPointer(llvm::ConstantExpr*)
Line
Count
Source
56
114k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::DILocation*>::getAsVoidPointer(llvm::DILocation*)
Line
Count
Source
56
128k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::Module*>::getAsVoidPointer(llvm::Module*)
Line
Count
Source
56
126k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::Pass*>::getAsVoidPointer(llvm::Pass*)
Line
Count
Source
56
15.6M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::unique_function<bool (llvm::StringRef, llvm::Any)>::TrivialCallback*>::getAsVoidPointer(llvm::unique_function<bool (llvm::StringRef, llvm::Any)>::TrivialCallback*)
Line
Count
Source
56
24
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::unique_function<void (llvm::StringRef, llvm::Any)>::TrivialCallback*>::getAsVoidPointer(llvm::unique_function<void (llvm::StringRef, llvm::Any)>::TrivialCallback*)
Line
Count
Source
56
60
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::unique_function<void (llvm::StringRef)>::TrivialCallback*>::getAsVoidPointer(llvm::unique_function<void (llvm::StringRef)>::TrivialCallback*)
Line
Count
Source
56
28
  static inline void *getAsVoidPointer(T *P) { return P; }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::unique_function<bool (llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>::getAsVoidPointer(llvm::unique_function<bool (llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*)
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::unique_function<void (llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>::getAsVoidPointer(llvm::unique_function<void (llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*)
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::unique_function<void (llvm::StringRef)>::NonTrivialCallbacks*>::getAsVoidPointer(llvm::unique_function<void (llvm::StringRef)>::NonTrivialCallbacks*)
llvm::PointerLikeTypeTraits<llvm::FuncletPadInst*>::getAsVoidPointer(llvm::FuncletPadInst*)
Line
Count
Source
56
2.28k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::GlobalAlias*>::getAsVoidPointer(llvm::GlobalAlias*)
Line
Count
Source
56
3.96k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::Argument*>::getAsVoidPointer(llvm::Argument*)
Line
Count
Source
56
276k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::ReturnInst*>::getAsVoidPointer(llvm::ReturnInst*)
Line
Count
Source
56
969
  static inline void *getAsVoidPointer(T *P) { return P; }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::AbstractAttribute*>::getAsVoidPointer(llvm::AbstractAttribute*)
llvm::PointerLikeTypeTraits<llvm::Comdat*>::getAsVoidPointer(llvm::Comdat*)
Line
Count
Source
56
5.94k
  static inline void *getAsVoidPointer(T *P) { return P; }
LowerTypeTests.cpp:llvm::PointerLikeTypeTraits<(anonymous namespace)::GlobalTypeMember*>::getAsVoidPointer((anonymous namespace)::GlobalTypeMember*)
Line
Count
Source
56
412
  static inline void *getAsVoidPointer(T *P) { return P; }
LowerTypeTests.cpp:llvm::PointerLikeTypeTraits<(anonymous namespace)::ICallBranchFunnel*>::getAsVoidPointer((anonymous namespace)::ICallBranchFunnel*)
Line
Count
Source
56
11
  static inline void *getAsVoidPointer(T *P) { return P; }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::Metadata*, 4u>*>::getAsVoidPointer(llvm::SmallVector<llvm::Metadata*, 4u>*)
llvm::PointerLikeTypeTraits<llvm::CallGraphNode*>::getAsVoidPointer(llvm::CallGraphNode*)
Line
Count
Source
56
651k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::DbgVariableIntrinsic*>::getAsVoidPointer(llvm::DbgVariableIntrinsic*)
Line
Count
Source
56
2.98M
  static inline void *getAsVoidPointer(T *P) { return P; }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::MCCodePaddingPolicy*>::getAsVoidPointer(llvm::MCCodePaddingPolicy*)
llvm::PointerLikeTypeTraits<llvm::MemoryPhi*>::getAsVoidPointer(llvm::MemoryPhi*)
Line
Count
Source
56
548
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::MemoryAccess*>::getAsVoidPointer(llvm::MemoryAccess*)
Line
Count
Source
56
135
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::Value*, 4u>*>::getAsVoidPointer(llvm::SmallVector<llvm::Value*, 4u>*)
Line
Count
Source
56
20
  static inline void *getAsVoidPointer(T *P) { return P; }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::PHINode*, 4u>*>::getAsVoidPointer(llvm::SmallVector<llvm::PHINode*, 4u>*)
llvm::PointerLikeTypeTraits<llvm::cl::OptionCategory*>::getAsVoidPointer(llvm::cl::OptionCategory*)
Line
Count
Source
56
509k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::cl::Option*>::getAsVoidPointer(llvm::cl::Option*)
Line
Count
Source
56
2.12k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >*>::getAsVoidPointer(std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >*)
Line
Count
Source
56
837
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<std::__1::vector<unsigned short, std::__1::allocator<unsigned short> >*>::getAsVoidPointer(std::__1::vector<unsigned short, std::__1::allocator<unsigned short> >*)
Line
Count
Source
56
3.02k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >*>::getAsVoidPointer(std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >*)
Line
Count
Source
56
25
  static inline void *getAsVoidPointer(T *P) { return P; }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<std::__1::vector<unsigned long long, std::__1::allocator<unsigned long long> >*>::getAsVoidPointer(std::__1::vector<unsigned long long, std::__1::allocator<unsigned long long> >*)
llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::DbgVariableIntrinsic*, 4u>*>::getAsVoidPointer(llvm::SmallVector<llvm::DbgVariableIntrinsic*, 4u>*)
Line
Count
Source
56
2
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::Instruction*, 4u>*>::getAsVoidPointer(llvm::SmallVector<llvm::Instruction*, 4u>*)
Line
Count
Source
56
1.64k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::VPBlockBase*>::getAsVoidPointer(llvm::VPBlockBase*)
Line
Count
Source
56
79.4k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::VPValue*>::getAsVoidPointer(llvm::VPValue*)
Line
Count
Source
56
220
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::DomTreeNodeBase<llvm::VPBlockBase>*>::getAsVoidPointer(llvm::DomTreeNodeBase<llvm::VPBlockBase>*)
Line
Count
Source
56
111
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::NestedNameSpecifier*>::getAsVoidPointer(clang::NestedNameSpecifier*)
Line
Count
Source
56
25.7M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::Decl*>::getAsVoidPointer(clang::Decl*)
Line
Count
Source
56
344M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::DeclContext*>::getAsVoidPointer(clang::DeclContext*)
Line
Count
Source
56
150M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::NamespaceDecl*>::getAsVoidPointer(clang::NamespaceDecl*)
Line
Count
Source
56
322k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::TypeSourceInfo*>::getAsVoidPointer(clang::TypeSourceInfo*)
Line
Count
Source
56
37.6M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::LazyGenerationalUpdatePtr<clang::Decl const*, clang::Decl*, &(clang::ExternalASTSource::CompleteRedeclChain(clang::Decl const*))>::LazyData*>::getAsVoidPointer(clang::LazyGenerationalUpdatePtr<clang::Decl const*, clang::Decl*, &(clang::ExternalASTSource::CompleteRedeclChain(clang::Decl const*))>::LazyData*)
Line
Count
Source
56
553k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::TypedefNameDecl::ModedTInfo*>::getAsVoidPointer(clang::TypedefNameDecl::ModedTInfo*)
Line
Count
Source
56
2.57k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::VarDecl*>::getAsVoidPointer(clang::VarDecl*)
Line
Count
Source
56
23.7M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::InitListExpr*>::getAsVoidPointer(clang::InitListExpr*)
Line
Count
Source
56
725k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::Stmt**>::getAsVoidPointer(clang::Stmt**)
Line
Count
Source
56
542k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::FieldDecl*>::getAsVoidPointer(clang::FieldDecl*)
Line
Count
Source
56
589k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::Expr*>::getAsVoidPointer(clang::Expr*)
Line
Count
Source
56
429M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::RawComment*>::getAsVoidPointer(clang::RawComment*)
Line
Count
Source
56
6.48k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::DeclAccessPair*>::getAsVoidPointer(clang::DeclAccessPair*)
Line
Count
Source
56
4.67M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::UsingShadowDecl*>::getAsVoidPointer(clang::UsingShadowDecl*)
Line
Count
Source
56
278k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::Stmt*>::getAsVoidPointer(clang::Stmt*)
Line
Count
Source
56
37.4M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::NamedDecl*>::getAsVoidPointer(clang::NamedDecl*)
Line
Count
Source
56
50.3M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ObjCMethodDecl*>::getAsVoidPointer(clang::ObjCMethodDecl*)
Line
Count
Source
56
85.8k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ObjCInterfaceDecl*>::getAsVoidPointer(clang::ObjCInterfaceDecl*)
Line
Count
Source
56
1.37k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::CodeGen::CGFunctionInfo*>::getAsVoidPointer(clang::CodeGen::CGFunctionInfo*)
Line
Count
Source
56
4.88M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::CXXRecordDecl*>::getAsVoidPointer(clang::CXXRecordDecl*)
Line
Count
Source
56
4.66M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ConstrainedTemplateDeclInfo*>::getAsVoidPointer(clang::ConstrainedTemplateDeclInfo*)
Line
Count
Source
56
1.27M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::TemplateParameterList*>::getAsVoidPointer(clang::TemplateParameterList*)
Line
Count
Source
56
1.27M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::FunctionDecl*>::getAsVoidPointer(clang::FunctionDecl*)
Line
Count
Source
56
304k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::FunctionTemplateDecl*>::getAsVoidPointer(clang::FunctionTemplateDecl*)
Line
Count
Source
56
1.15M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::RedeclarableTemplateDecl*>::getAsVoidPointer(clang::RedeclarableTemplateDecl*)
Line
Count
Source
56
979k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::TemplateTypeParmDecl*>::getAsVoidPointer(clang::TemplateTypeParmDecl*)
Line
Count
Source
56
441k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::DefaultArgStorage<clang::TemplateTypeParmDecl, clang::TypeSourceInfo*>::Chain*>::getAsVoidPointer(clang::DefaultArgStorage<clang::TemplateTypeParmDecl, clang::TypeSourceInfo*>::Chain*)
Line
Count
Source
56
89
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::NonTypeTemplateParmDecl*>::getAsVoidPointer(clang::NonTypeTemplateParmDecl*)
Line
Count
Source
56
479k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::DefaultArgStorage<clang::NonTypeTemplateParmDecl, clang::Expr*>::Chain*>::getAsVoidPointer(clang::DefaultArgStorage<clang::NonTypeTemplateParmDecl, clang::Expr*>::Chain*)
Line
Count
Source
56
58
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::TemplateArgumentLoc*>::getAsVoidPointer(clang::TemplateArgumentLoc*)
Line
Count
Source
56
15.4k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::TemplateTemplateParmDecl*>::getAsVoidPointer(clang::TemplateTemplateParmDecl*)
Line
Count
Source
56
192
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::DefaultArgStorage<clang::TemplateTemplateParmDecl, clang::TemplateArgumentLoc*>::Chain*>::getAsVoidPointer(clang::DefaultArgStorage<clang::TemplateTemplateParmDecl, clang::TemplateArgumentLoc*>::Chain*)
Line
Count
Source
56
58
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ClassTemplatePartialSpecializationDecl*>::getAsVoidPointer(clang::ClassTemplatePartialSpecializationDecl*)
Line
Count
Source
56
420k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ClassTemplateDecl*>::getAsVoidPointer(clang::ClassTemplateDecl*)
Line
Count
Source
56
4.04M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ClassTemplateSpecializationDecl::SpecializedPartialSpecialization*>::getAsVoidPointer(clang::ClassTemplateSpecializationDecl::SpecializedPartialSpecialization*)
Line
Count
Source
56
237k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::VarTemplatePartialSpecializationDecl*>::getAsVoidPointer(clang::VarTemplatePartialSpecializationDecl*)
Line
Count
Source
56
1.13k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::VarTemplateDecl*>::getAsVoidPointer(clang::VarTemplateDecl*)
Line
Count
Source
56
5.44k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::VarTemplateSpecializationDecl::SpecializedPartialSpecialization*>::getAsVoidPointer(clang::VarTemplateSpecializationDecl::SpecializedPartialSpecialization*)
Line
Count
Source
56
185
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::FileEntry*>::getAsVoidPointer(clang::FileEntry*)
Line
Count
Source
56
11.7k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::CXXMemberCallExpr*>::getAsVoidPointer(clang::CXXMemberCallExpr*)
Line
Count
Source
56
54
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ValueDecl*>::getAsVoidPointer(clang::ValueDecl*)
Line
Count
Source
56
27.5M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::MacroDefinitionRecord*>::getAsVoidPointer(clang::MacroDefinitionRecord*)
Line
Count
Source
56
1.19k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::DefMacroDirective*>::getAsVoidPointer(clang::DefMacroDirective*)
Line
Count
Source
56
32.5M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::IdentifierLoc*>::getAsVoidPointer(clang::IdentifierLoc*)
Line
Count
Source
56
772k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ParsedAttr*>::getAsVoidPointer(clang::ParsedAttr*)
Line
Count
Source
56
169M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::ParsedAttr*, 4u>*>::getAsVoidPointer(llvm::SmallVector<clang::ParsedAttr*, 4u>*)
Line
Count
Source
56
8.13M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::Preprocessor::ModuleMacroInfo*>::getAsVoidPointer(clang::Preprocessor::ModuleMacroInfo*)
Line
Count
Source
56
7.56k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::MacroDirective*>::getAsVoidPointer(clang::MacroDirective*)
Line
Count
Source
56
88.4M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ModuleMacro*>::getAsVoidPointer(clang::ModuleMacro*)
Line
Count
Source
56
49.8k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::ModuleMacro*, 4u>*>::getAsVoidPointer(llvm::SmallVector<clang::ModuleMacro*, 4u>*)
Line
Count
Source
56
492
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::GlobalIndirectSymbol*>::getAsVoidPointer(llvm::GlobalIndirectSymbol*)
Line
Count
Source
56
47
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::Function*, 4u>*>::getAsVoidPointer(llvm::SmallVector<llvm::Function*, 4u>*)
Line
Count
Source
56
8
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::RecordDecl*>::getAsVoidPointer(clang::RecordDecl*)
Line
Count
Source
56
692k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::CXXDeleteExpr*>::getAsVoidPointer(clang::CXXDeleteExpr*)
Line
Count
Source
56
271
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ObjCMethodList*>::getAsVoidPointer(clang::ObjCMethodList*)
Line
Count
Source
56
84.8k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::CXXMethodDecl*>::getAsVoidPointer(clang::CXXMethodDecl*)
Line
Count
Source
56
1.18M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::StoredDiagnostic*>::getAsVoidPointer(clang::StoredDiagnostic*)
Line
Count
Source
56
593
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::Diagnostic*>::getAsVoidPointer(clang::Diagnostic*)
Line
Count
Source
56
21.1k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::DirectoryEntry*>::getAsVoidPointer(clang::DirectoryEntry*)
Line
Count
Source
56
99.9k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::HeaderMap*>::getAsVoidPointer(clang::HeaderMap*)
Line
Count
Source
56
41
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::serialization::ModuleFile*>::getAsVoidPointer(clang::serialization::ModuleFile*)
Line
Count
Source
56
329k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<void*, 4u>*>::getAsVoidPointer(llvm::SmallVector<void*, 4u>*)
Line
Count
Source
56
1.36k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::serialization::MultiOnDiskHashTable<clang::serialization::reader::ASTDeclContextNameLookupTrait>::MergedTable*>::getAsVoidPointer(clang::serialization::MultiOnDiskHashTable<clang::serialization::reader::ASTDeclContextNameLookupTrait>::MergedTable*)
Line
Count
Source
56
40
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::TypedefNameDecl*>::getAsVoidPointer(clang::TypedefNameDecl*)
Line
Count
Source
56
4.81M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::QualifierInfo*>::getAsVoidPointer(clang::QualifierInfo*)
Line
Count
Source
56
68.3k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::DeclaratorDecl::ExtInfo*>::getAsVoidPointer(clang::DeclaratorDecl::ExtInfo*)
Line
Count
Source
56
335k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::FunctionTemplateSpecializationInfo*>::getAsVoidPointer(clang::FunctionTemplateSpecializationInfo*)
Line
Count
Source
56
304k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ObjCCategoryDecl*>::getAsVoidPointer(clang::ObjCCategoryDecl*)
Line
Count
Source
56
276
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::MemberSpecializationInfo*>::getAsVoidPointer(clang::MemberSpecializationInfo*)
Line
Count
Source
56
1.52M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::serialization::ModuleFile*, 4u>*>::getAsVoidPointer(llvm::SmallVector<clang::serialization::ModuleFile*, 4u>*)
Line
Count
Source
56
40
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::serialization::MultiOnDiskHashTable<clang::serialization::reader::ASTDeclContextNameLookupTrait>::OnDiskTable*>::getAsVoidPointer(clang::serialization::MultiOnDiskHashTable<clang::serialization::reader::ASTDeclContextNameLookupTrait>::OnDiskTable*)
Line
Count
Source
56
12.9k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::NamedDecl*, 4u>*>::getAsVoidPointer(llvm::SmallVector<clang::NamedDecl*, 4u>*)
Line
Count
Source
56
1.11M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<polly::ScopArrayInfo*>::getAsVoidPointer(polly::ScopArrayInfo*)
Line
Count
Source
56
3.80k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::Region*>::getAsVoidPointer(llvm::Region*)
Line
Count
Source
56
1.19k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<polly::MemoryAccess*>::getAsVoidPointer(polly::MemoryAccess*)
Line
Count
Source
56
348
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::IntrusiveBackListNode*>::getAsVoidPointer(llvm::IntrusiveBackListNode*)
Line
Count
Source
56
3.92M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::DIE*>::getAsVoidPointer(llvm::DIE*)
Line
Count
Source
56
382k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::DIEUnit*>::getAsVoidPointer(llvm::DIEUnit*)
Line
Count
Source
56
3.05k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::DbgVariable*>::getAsVoidPointer(llvm::DbgVariable*)
Line
Count
Source
56
1.06k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::DISubprogram*>::getAsVoidPointer(llvm::DISubprogram*)
Line
Count
Source
56
35.7k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::DIExpression*>::getAsVoidPointer(llvm::DIExpression*)
Line
Count
Source
56
6
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::DISubprogram const*, 4u>*>::getAsVoidPointer(llvm::SmallVector<llvm::DISubprogram const*, 4u>*)
Line
Count
Source
56
10
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::LoadSDNode*>::getAsVoidPointer(llvm::LoadSDNode*)
Line
Count
Source
56
11.3k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<int*>::getAsVoidPointer(int*)
Line
Count
Source
56
432
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<int*, 4u>*>::getAsVoidPointer(llvm::SmallVector<int*, 4u>*)
Line
Count
Source
56
22
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::MachineMemOperand**>::getAsVoidPointer(llvm::MachineMemOperand**)
Line
Count
Source
56
5.40k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::CoroSubFnInst*>::getAsVoidPointer(llvm::CoroSubFnInst*)
Line
Count
Source
56
3
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::CoroBeginInst*>::getAsVoidPointer(llvm::CoroBeginInst*)
Line
Count
Source
56
3
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::Error*>::getAsVoidPointer(llvm::Error*)
Line
Count
Source
56
3.08k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ObjCProtocolDecl*>::getAsVoidPointer(clang::ObjCProtocolDecl*)
Line
Count
Source
56
18.7k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::TagDecl*>::getAsVoidPointer(clang::TagDecl*)
Line
Count
Source
56
159
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ObjCPropertyDecl*>::getAsVoidPointer(clang::ObjCPropertyDecl*)
Line
Count
Source
56
112
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::ObjCPropertyDecl*, 4u>*>::getAsVoidPointer(llvm::SmallVector<clang::ObjCPropertyDecl*, 4u>*)
Line
Count
Source
56
18
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::CallGraphNode*>::getAsVoidPointer(clang::CallGraphNode*)
Line
Count
Source
56
23.2k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>*>::getAsVoidPointer(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>*)
Line
Count
Source
56
475k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::LocationContext*>::getAsVoidPointer(clang::LocationContext*)
Line
Count
Source
56
6.93M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ProgramPointTag*>::getAsVoidPointer(clang::ProgramPointTag*)
Line
Count
Source
56
6.85M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::DeclaratorDecl*>::getAsVoidPointer(clang::DeclaratorDecl*)
Line
Count
Source
56
41
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ento::PointerToMemberData*>::getAsVoidPointer(clang::ento::PointerToMemberData*)
Line
Count
Source
56
24
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::AnalysisDeclContext*>::getAsVoidPointer(clang::AnalysisDeclContext*)
Line
Count
Source
56
32.0k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ento::ExplodedNode*>::getAsVoidPointer(clang::ento::ExplodedNode*)
Line
Count
Source
56
10.4M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ento::MemRegion*>::getAsVoidPointer(clang::ento::MemRegion*)
Line
Count
Source
56
1.29M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::CFGBlock*>::getAsVoidPointer(clang::CFGBlock*)
Line
Count
Source
56
5.34M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::DomTreeNodeBase<clang::CFGBlock>*>::getAsVoidPointer(llvm::DomTreeNodeBase<clang::CFGBlock>*)
Line
Count
Source
56
785
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ento::SymExpr*>::getAsVoidPointer(clang::ento::SymExpr*)
Line
Count
Source
56
9.20k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ento::TypedValueRegion*>::getAsVoidPointer(clang::ento::TypedValueRegion*)
Line
Count
Source
56
125
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::StackFrameContext*>::getAsVoidPointer(clang::StackFrameContext*)
Line
Count
Source
56
224k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::PseudoObjectExpr*>::getAsVoidPointer(clang::PseudoObjectExpr*)
Line
Count
Source
56
3.72k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::BumpVector<clang::ento::ExplodedNode*>*>::getAsVoidPointer(clang::BumpVector<clang::ento::ExplodedNode*>*)
Line
Count
Source
56
37.8k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ento::VarRegion*>::getAsVoidPointer(clang::ento::VarRegion*)
Line
Count
Source
56
161
  static inline void *getAsVoidPointer(T *P) { return P; }
RegionStore.cpp:llvm::PointerLikeTypeTraits<llvm::ImmutableMap<(anonymous namespace)::BindingKey, clang::ento::SVal, llvm::ImutKeyValueInfo<(anonymous namespace)::BindingKey, clang::ento::SVal> >*>::getAsVoidPointer(llvm::ImmutableMap<(anonymous namespace)::BindingKey, clang::ento::SVal, llvm::ImutKeyValueInfo<(anonymous namespace)::BindingKey, clang::ento::SVal> >*)
Line
Count
Source
56
2.91M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::OMPClause*>::getAsVoidPointer(clang::OMPClause*)
Line
Count
Source
56
55.3k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::UninitUse, 2u>*>::getAsVoidPointer(llvm::SmallVector<clang::UninitUse, 2u>*)
Line
Count
Source
56
472
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::AttributedStmt*>::getAsVoidPointer(clang::AttributedStmt*)
Line
Count
Source
56
92
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::Stmt const*, 4u>*>::getAsVoidPointer(llvm::SmallVector<clang::Stmt const*, 4u>*)
Line
Count
Source
56
753
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::BlockDecl*>::getAsVoidPointer(clang::BlockDecl*)
Line
Count
Source
56
2.62k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::VarDecl*, 4u>*>::getAsVoidPointer(llvm::SmallVector<clang::VarDecl*, 4u>*)
Line
Count
Source
56
33.4k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ParmVarDecl*>::getAsVoidPointer(clang::ParmVarDecl*)
Line
Count
Source
56
36.5k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::EnumConstantDecl*>::getAsVoidPointer(clang::EnumConstantDecl*)
Line
Count
Source
56
118
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<std::__1::pair<clang::NamedDecl const*, unsigned int>*>::getAsVoidPointer(std::__1::pair<clang::NamedDecl const*, unsigned int>*)
Line
Count
Source
56
333
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<std::__1::pair<clang::NamedDecl const*, unsigned int>, 4u>*>::getAsVoidPointer(llvm::SmallVector<std::__1::pair<clang::NamedDecl const*, unsigned int>, 4u>*)
Line
Count
Source
56
80
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::EnumConstantDecl*, 3u>*>::getAsVoidPointer(llvm::SmallVector<clang::EnumConstantDecl*, 3u>*)
Line
Count
Source
56
10
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::CXXBaseSpecifier*>::getAsVoidPointer(clang::CXXBaseSpecifier*)
Line
Count
Source
56
573k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::CXXConstructorDecl*>::getAsVoidPointer(clang::CXXConstructorDecl*)
Line
Count
Source
56
1.35k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::CXXCtorInitializer*>::getAsVoidPointer(clang::CXXCtorInitializer*)
Line
Count
Source
56
317k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::RecordType*>::getAsVoidPointer(clang::RecordType*)
Line
Count
Source
56
599k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::TypeDecl*>::getAsVoidPointer(clang::TypeDecl*)
Line
Count
Source
56
4.24k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::InitializedEntity*>::getAsVoidPointer(clang::InitializedEntity*)
Line
Count
Source
56
12.9M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::SwitchStmt*>::getAsVoidPointer(clang::SwitchStmt*)
Line
Count
Source
56
14.9k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::ParmVarDecl*, 4u>*>::getAsVoidPointer(llvm::SmallVector<clang::ParmVarDecl*, 4u>*)
Line
Count
Source
56
2
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::TemplateTypeParmType*>::getAsVoidPointer(clang::TemplateTypeParmType*)
Line
Count
Source
56
272k
  static inline void *getAsVoidPointer(T *P) { return P; }
CFG.cpp:llvm::PointerLikeTypeTraits<(anonymous namespace)::LocalScope*>::getAsVoidPointer((anonymous namespace)::LocalScope*)
Line
Count
Source
56
920
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::threadSafety::til::SExpr*>::getAsVoidPointer(clang::threadSafety::til::SExpr*)
Line
Count
Source
56
222
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ast_matchers::MatchFinder::MatchCallback*>::getAsVoidPointer(clang::ast_matchers::MatchFinder::MatchCallback*)
Line
Count
Source
56
28.3k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::StoredDeclsMap*>::getAsVoidPointer(clang::StoredDeclsMap*)
Line
Count
Source
56
2.12M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::Module*, 4u>*>::getAsVoidPointer(llvm::SmallVector<clang::Module*, 4u>*)
Line
Count
Source
56
309
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::CXXMethodDecl const*, 4u>*>::getAsVoidPointer(llvm::SmallVector<clang::CXXMethodDecl const*, 4u>*)
Line
Count
Source
56
583
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ast_type_traits::DynTypedNode*>::getAsVoidPointer(clang::ast_type_traits::DynTypedNode*)
Line
Count
Source
56
6.90k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::ast_type_traits::DynTypedNode, 2u>*>::getAsVoidPointer(llvm::SmallVector<clang::ast_type_traits::DynTypedNode, 2u>*)
Line
Count
Source
56
230
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::EvaluatedStmt*>::getAsVoidPointer(clang::EvaluatedStmt*)
Line
Count
Source
56
508k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::DependentFunctionTemplateSpecializationInfo*>::getAsVoidPointer(clang::DependentFunctionTemplateSpecializationInfo*)
Line
Count
Source
56
1.43k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::Decl::MultipleDC*>::getAsVoidPointer(clang::Decl::MultipleDC*)
Line
Count
Source
56
520k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::IndirectFieldDecl*>::getAsVoidPointer(clang::IndirectFieldDecl*)
Line
Count
Source
56
792
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ObjCInterfaceDecl::DefinitionData*>::getAsVoidPointer(clang::ObjCInterfaceDecl::DefinitionData*)
Line
Count
Source
56
13.4k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ObjCProtocolDecl::DefinitionData*>::getAsVoidPointer(clang::ObjCProtocolDecl::DefinitionData*)
Line
Count
Source
56
3.40k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::APValue*>::getAsVoidPointer(clang::APValue*)
Line
Count
Source
56
19.8k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::MaterializeTemporaryExpr::ExtraState*>::getAsVoidPointer(clang::MaterializeTemporaryExpr::ExtraState*)
Line
Count
Source
56
1.63k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<unsigned long long*>::getAsVoidPointer(unsigned long long*)
Line
Count
Source
56
345k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::CXXRecordDecl const*, 4u>*>::getAsVoidPointer(llvm::SmallVector<clang::CXXRecordDecl const*, 4u>*)
Line
Count
Source
56
5.98k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::CapturedDecl*>::getAsVoidPointer(clang::CapturedDecl*)
Line
Count
Source
56
323k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::TemplateDecl*>::getAsVoidPointer(clang::TemplateDecl*)
Line
Count
Source
56
10.9M
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::UncommonTemplateNameStorage*>::getAsVoidPointer(clang::UncommonTemplateNameStorage*)
Line
Count
Source
56
166k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::QualifiedTemplateName*>::getAsVoidPointer(clang::QualifiedTemplateName*)
Line
Count
Source
56
304k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::DependentTemplateName*>::getAsVoidPointer(clang::DependentTemplateName*)
Line
Count
Source
56
118k
  static inline void *getAsVoidPointer(T *P) { return P; }
llvm::PointerLikeTypeTraits<clang::ObjCObjectType*>::getAsVoidPointer(clang::ObjCObjectType*)
Line
Count
Source
56
92
  static inline void *getAsVoidPointer(T *P) { return P; }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::AnalysisKey*, 4u>*>::getAsVoidPointer(llvm::SmallVector<llvm::AnalysisKey*, 4u>*)
llvm::PointerLikeTypeTraits<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, unsigned int>*>::getAsVoidPointer(std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, unsigned int>*)
Line
Count
Source
56
240
  static inline void *getAsVoidPointer(T *P) { return P; }
57
22.2G
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::cl::SubCommand*>::getFromVoidPointer(void*)
Line
Count
Source
57
2.87M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::ValueHandleBase**>::getFromVoidPointer(void*)
Line
Count
Source
57
381M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::FileEntry*>::getFromVoidPointer(void*)
Line
Count
Source
57
30.1k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::DirectoryEntry*>::getFromVoidPointer(void*)
Line
Count
Source
57
6.67k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::MemoryBuffer*>::getFromVoidPointer(void*)
Line
Count
Source
57
132M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::SrcMgr::ContentCache*>::getFromVoidPointer(void*)
Line
Count
Source
57
105M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::Module*>::getFromVoidPointer(void*)
Line
Count
Source
57
7.56M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::ilist_node_base<true>*>::getFromVoidPointer(void*)
Line
Count
Source
57
825M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::LLVMContext*>::getFromVoidPointer(void*)
Line
Count
Source
57
10.0M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::ReplaceableMetadataImpl*>::getFromVoidPointer(void*)
Line
Count
Source
57
2.36M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::unique_function<bool (llvm::StringRef, llvm::Any)>::TrivialCallback*>::getFromVoidPointer(void*)
Line
Count
Source
57
818
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::unique_function<bool (llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>::getFromVoidPointer(void*)
llvm::PointerLikeTypeTraits<llvm::unique_function<void (llvm::StringRef, llvm::Any)>::TrivialCallback*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.66k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::unique_function<void (llvm::StringRef, llvm::Any)>::NonTrivialCallbacks*>::getFromVoidPointer(void*)
llvm::PointerLikeTypeTraits<llvm::unique_function<void (llvm::StringRef)>::TrivialCallback*>::getFromVoidPointer(void*)
Line
Count
Source
57
40
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::unique_function<void (llvm::StringRef)>::NonTrivialCallbacks*>::getFromVoidPointer(void*)
llvm::PointerLikeTypeTraits<llvm::AnalysisKey*>::getFromVoidPointer(void*)
Line
Count
Source
57
16.1k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::Instruction*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.05G
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::BasicBlock*>::getFromVoidPointer(void*)
Line
Count
Source
57
220M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SCEV*>::getFromVoidPointer(void*)
Line
Count
Source
57
135M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::LazyCallGraph::Node*>::getFromVoidPointer(void*)
Line
Count
Source
57
28.8k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::MCFragment*>::getFromVoidPointer(void*)
Line
Count
Source
57
166M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::PseudoSourceValue*>::getFromVoidPointer(void*)
Line
Count
Source
57
5.90M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::Value*>::getFromVoidPointer(void*)
Line
Count
Source
57
62.6M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::MachineMemOperand*>::getFromVoidPointer(void*)
Line
Count
Source
57
219M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::MachineInstr::ExtraInfo*>::getFromVoidPointer(void*)
Line
Count
Source
57
16.6M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::MCSymbol*>::getFromVoidPointer(void*)
Line
Count
Source
57
13.2M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::TargetRegisterClass*>::getFromVoidPointer(void*)
Line
Count
Source
57
243M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::RegisterBank*>::getFromVoidPointer(void*)
Line
Count
Source
57
74.5M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::MachineMemOperand**>::getFromVoidPointer(void*)
Line
Count
Source
57
5.42k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::StringMapEntry<llvm::DwarfStringPoolEntry>*>::getFromVoidPointer(void*)
Line
Count
Source
57
770k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::StructType*>::getFromVoidPointer(void*)
Line
Count
Source
57
294M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::Type*>::getFromVoidPointer(void*)
Line
Count
Source
57
445M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::InterleaveGroup<llvm::Instruction>*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.61k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::IndexListEntry*>::getFromVoidPointer(void*)
Line
Count
Source
57
8.85G
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SUnit*>::getFromVoidPointer(void*)
Line
Count
Source
57
386M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::Function*>::getFromVoidPointer(void*)
Line
Count
Source
57
107k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::MachineBasicBlock*>::getFromVoidPointer(void*)
Line
Count
Source
57
2.10M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
Unexecuted instantiation: AMDGPUMachineCFGStructurizer.cpp:llvm::PointerLikeTypeTraits<(anonymous namespace)::PHILinearize::PHIInfoElementT*>::getFromVoidPointer(void*)
llvm::PointerLikeTypeTraits<llvm::MachineInstr*>::getFromVoidPointer(void*)
Line
Count
Source
57
17.4M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::RegionNode*>::getFromVoidPointer(void*)
Line
Count
Source
57
141k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::MachineRegionNode*>::getFromVoidPointer(void*)
llvm::PointerLikeTypeTraits<llvm::GlobalVariable*>::getFromVoidPointer(void*)
Line
Count
Source
57
449
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::BasicBlock*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
366
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::ConstantInt*>::getFromVoidPointer(void*)
Line
Count
Source
57
2.40k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::PHINode*>::getFromVoidPointer(void*)
Line
Count
Source
57
240
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SDNode*>::getFromVoidPointer(void*)
Line
Count
Source
57
10.4M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::MCSymbolELF*>::getFromVoidPointer(void*)
Line
Count
Source
57
6
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::LandingPadInst*>::getFromVoidPointer(void*)
Line
Count
Source
57
2.63k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::AnalysisKey*, 4u>*>::getFromVoidPointer(void*)
llvm::PointerLikeTypeTraits<llvm::Loop*>::getFromVoidPointer(void*)
Line
Count
Source
57
246M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<std::__1::pair<unsigned long long const, llvm::GlobalValueSummaryInfo>*>::getFromVoidPointer(void*)
Line
Count
Source
57
115k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::GlobalValue*>::getFromVoidPointer(void*)
Line
Count
Source
57
8.56M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SCEVPredicate*>::getFromVoidPointer(void*)
Line
Count
Source
57
2.35k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::MDNode*>::getFromVoidPointer(void*)
Line
Count
Source
57
484k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SelectInst*>::getFromVoidPointer(void*)
Line
Count
Source
57
26
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::DomTreeNodeBase<llvm::MachineBasicBlock>*>::getFromVoidPointer(void*)
Line
Count
Source
57
380k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::MCSymbol*, 4u>*>::getFromVoidPointer(void*)
llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::MachineInstr*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
51
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::LiveInterval*>::getFromVoidPointer(void*)
Line
Count
Source
57
88.0k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::VNInfo*>::getFromVoidPointer(void*)
Line
Count
Source
57
3.07M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::DIVariable*>::getFromVoidPointer(void*)
Line
Count
Source
57
51
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::Module*>::getFromVoidPointer(void*)
Line
Count
Source
57
559
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::Pass*>::getFromVoidPointer(void*)
Line
Count
Source
57
170M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::MetadataAsValue*>::getFromVoidPointer(void*)
Line
Count
Source
57
601k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::Metadata*>::getFromVoidPointer(void*)
Line
Count
Source
57
201k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::ReturnInst*>::getFromVoidPointer(void*)
Line
Count
Source
57
738
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::Metadata*, 4u>*>::getFromVoidPointer(void*)
LowerTypeTests.cpp:llvm::PointerLikeTypeTraits<(anonymous namespace)::GlobalTypeMember*>::getFromVoidPointer(void*)
Line
Count
Source
57
120
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
LowerTypeTests.cpp:llvm::PointerLikeTypeTraits<(anonymous namespace)::ICallBranchFunnel*>::getFromVoidPointer(void*)
Line
Count
Source
57
22
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::Constant*>::getFromVoidPointer(void*)
Line
Count
Source
57
6.27M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::DbgVariableIntrinsic*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
20
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::DbgVariableIntrinsic*>::getFromVoidPointer(void*)
Line
Count
Source
57
5.51M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::AllocaInst*>::getFromVoidPointer(void*)
Line
Count
Source
57
204
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::MCCodePaddingPolicy*>::getFromVoidPointer(void*)
llvm::PointerLikeTypeTraits<llvm::CallInst*>::getFromVoidPointer(void*)
Line
Count
Source
57
9
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::MemoryPhi*>::getFromVoidPointer(void*)
Line
Count
Source
57
32
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::MemoryAccess*>::getFromVoidPointer(void*)
Line
Count
Source
57
16
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::User*>::getFromVoidPointer(void*)
Line
Count
Source
57
21.6k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::Use*>::getFromVoidPointer(void*)
Line
Count
Source
57
25.5M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::Value*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
92
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::PHINode*, 4u>*>::getFromVoidPointer(void*)
llvm::PointerLikeTypeTraits<llvm::cl::OptionCategory*>::getFromVoidPointer(void*)
Line
Count
Source
57
105
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >*>::getFromVoidPointer(void*)
Line
Count
Source
57
939k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<std::__1::vector<unsigned short, std::__1::allocator<unsigned short> >*>::getFromVoidPointer(void*)
Line
Count
Source
57
51.7k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >*>::getFromVoidPointer(void*)
Line
Count
Source
57
43.0k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<std::__1::vector<unsigned long long, std::__1::allocator<unsigned long long> >*>::getFromVoidPointer(void*)
llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::Instruction*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
16.9k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::VPValue*>::getFromVoidPointer(void*)
Line
Count
Source
57
242
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::VPBlockBase*>::getFromVoidPointer(void*)
llvm::PointerLikeTypeTraits<clang::NestedNameSpecifier*>::getFromVoidPointer(void*)
Line
Count
Source
57
118M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ObjCObjectType*>::getFromVoidPointer(void*)
Line
Count
Source
57
646
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::Decl::MultipleDC*>::getFromVoidPointer(void*)
Line
Count
Source
57
142M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::DeclContext*>::getFromVoidPointer(void*)
Line
Count
Source
57
3.32G
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::Decl*>::getFromVoidPointer(void*)
Line
Count
Source
57
692M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::NamespaceDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
282M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::DeclaratorDecl::ExtInfo*>::getFromVoidPointer(void*)
Line
Count
Source
57
2.38M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::TypeSourceInfo*>::getFromVoidPointer(void*)
Line
Count
Source
57
119M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::LazyGenerationalUpdatePtr<clang::Decl const*, clang::Decl*, &(clang::ExternalASTSource::CompleteRedeclChain(clang::Decl const*))>::LazyData*>::getFromVoidPointer(void*)
Line
Count
Source
57
5.40M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::TypedefNameDecl::ModedTInfo*>::getFromVoidPointer(void*)
Line
Count
Source
57
30.5k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::QualifierInfo*>::getFromVoidPointer(void*)
Line
Count
Source
57
69.8k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::TypedefNameDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
294k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::VarDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
31.9M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::Expr*>::getFromVoidPointer(void*)
Line
Count
Source
57
764M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::FieldDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.69M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::InitListExpr*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.16M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::RawComment*>::getFromVoidPointer(void*)
Line
Count
Source
57
10.5k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::Module*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
4.95k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::DeclAccessPair*>::getFromVoidPointer(void*)
Line
Count
Source
57
116k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::IndirectFieldDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
4.79k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::UsingShadowDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
219k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ObjCInterfaceDecl::DefinitionData*>::getFromVoidPointer(void*)
Line
Count
Source
57
6.14M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ObjCProtocolDecl::DefinitionData*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.00M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::CXXRecordDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
190k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::Stmt*>::getFromVoidPointer(void*)
Line
Count
Source
57
147M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::MaterializeTemporaryExpr::ExtraState*>::getFromVoidPointer(void*)
Line
Count
Source
57
31.0k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::NamedDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
143M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ObjCMethodDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
271k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ObjCInterfaceDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
204
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::TemplateParameterList*>::getFromVoidPointer(void*)
Line
Count
Source
57
29.6M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ConstrainedTemplateDeclInfo*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.27M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::FunctionDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.12M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::FunctionTemplateDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
77.2M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::RedeclarableTemplateDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.86M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::TemplateTypeParmDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
686k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::DefaultArgStorage<clang::TemplateTypeParmDecl, clang::TypeSourceInfo*>::Chain*>::getFromVoidPointer(void*)
Line
Count
Source
57
142
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::NonTypeTemplateParmDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
583k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::DefaultArgStorage<clang::NonTypeTemplateParmDecl, clang::Expr*>::Chain*>::getFromVoidPointer(void*)
Line
Count
Source
57
88
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::TemplateArgumentLoc*>::getFromVoidPointer(void*)
Line
Count
Source
57
26.2k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::TemplateTemplateParmDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
285
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::DefaultArgStorage<clang::TemplateTemplateParmDecl, clang::TemplateArgumentLoc*>::Chain*>::getFromVoidPointer(void*)
Line
Count
Source
57
186
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ClassTemplateSpecializationDecl::SpecializedPartialSpecialization*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.22M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ClassTemplateDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
87.3M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ClassTemplatePartialSpecializationDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
479k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::VarTemplateSpecializationDecl::SpecializedPartialSpecialization*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.30k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::VarTemplateDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
2.69M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::VarTemplatePartialSpecializationDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.17k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ValueDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
53.4M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::MacroDefinitionRecord*>::getFromVoidPointer(void*)
Line
Count
Source
57
258
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::DefMacroDirective*>::getFromVoidPointer(void*)
Line
Count
Source
57
88.0M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::IdentifierLoc*>::getFromVoidPointer(void*)
Line
Count
Source
57
885k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ParsedAttr*>::getFromVoidPointer(void*)
Line
Count
Source
57
641M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::ParsedAttr*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
76.9M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::ModuleMacro*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
3.27k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::Preprocessor::ModuleMacroInfo*>::getFromVoidPointer(void*)
Line
Count
Source
57
481k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::MacroDirective*>::getFromVoidPointer(void*)
Line
Count
Source
57
61.0M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ModuleMacro*>::getFromVoidPointer(void*)
Line
Count
Source
57
207k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::unique_function<void (clang::Token const&)>::TrivialCallback*>::getFromVoidPointer(void*)
Line
Count
Source
57
902M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::unique_function<void (clang::Token const&)>::NonTrivialCallbacks*>::getFromVoidPointer(void*)
llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::Function*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
28
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::CXXMemberCallExpr*>::getFromVoidPointer(void*)
Line
Count
Source
57
54
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::CXXDeleteExpr*>::getFromVoidPointer(void*)
Line
Count
Source
57
271
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ObjCMethodList*>::getFromVoidPointer(void*)
Line
Count
Source
57
65.0k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::CXXMethodDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
2.75M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::Diagnostic*>::getFromVoidPointer(void*)
Line
Count
Source
57
706
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::serialization::ModuleFile*>::getFromVoidPointer(void*)
Line
Count
Source
57
44.1k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::serialization::ModuleFile*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.81k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<void*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
62.8k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::serialization::MultiOnDiskHashTable<clang::serialization::reader::ASTDeclContextNameLookupTrait>::OnDiskTable*>::getFromVoidPointer(void*)
Line
Count
Source
57
50.5k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::serialization::MultiOnDiskHashTable<clang::serialization::reader::ASTDeclContextNameLookupTrait>::MergedTable*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.80k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::FunctionTemplateSpecializationInfo*>::getFromVoidPointer(void*)
Line
Count
Source
57
5.76M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::MemberSpecializationInfo*>::getFromVoidPointer(void*)
Line
Count
Source
57
46.2M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::NamedDecl*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
19.0M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::Region*>::getFromVoidPointer(void*)
Line
Count
Source
57
371
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<polly::MemoryAccess*>::getFromVoidPointer(void*)
Line
Count
Source
57
131
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::IntrusiveBackListNode*>::getFromVoidPointer(void*)
Line
Count
Source
57
6.57M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::DIE*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.76M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::DIEUnit*>::getFromVoidPointer(void*)
Line
Count
Source
57
898k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::DbgVariable*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.06k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<llvm::DISubprogram const*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
44
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::DISubprogram*>::getFromVoidPointer(void*)
Line
Count
Source
57
285
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::DIExpression*>::getFromVoidPointer(void*)
Line
Count
Source
57
6
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::LoadSDNode*>::getFromVoidPointer(void*)
Line
Count
Source
57
877
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<int*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
4.49k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<int*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.48k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::CoroSubFnInst*>::getFromVoidPointer(void*)
Line
Count
Source
57
3
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::Error*>::getFromVoidPointer(void*)
Line
Count
Source
57
12.5k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ObjCProtocolDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
592
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::ObjCPropertyDecl*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
171
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ObjCPropertyDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
500
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>*>::getFromVoidPointer(void*)
Line
Count
Source
57
16.2M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::CFGBlock*>::getFromVoidPointer(void*)
Line
Count
Source
57
2.24M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ProgramPointTag*>::getFromVoidPointer(void*)
Line
Count
Source
57
6.24M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::LocationContext*>::getFromVoidPointer(void*)
Line
Count
Source
57
20.5M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ento::MemRegion*>::getFromVoidPointer(void*)
Line
Count
Source
57
3.05M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::DeclaratorDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
395
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ento::PointerToMemberData*>::getFromVoidPointer(void*)
Line
Count
Source
57
63
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::PseudoObjectExpr*>::getFromVoidPointer(void*)
Line
Count
Source
57
646
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ento::ExplodedNode*>::getFromVoidPointer(void*)
Line
Count
Source
57
32.1M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::BumpVector<clang::ento::ExplodedNode*>*>::getFromVoidPointer(void*)
Line
Count
Source
57
106k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ento::VarRegion*>::getFromVoidPointer(void*)
Line
Count
Source
57
161
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::StackFrameContext*>::getFromVoidPointer(void*)
Line
Count
Source
57
205k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<clang::AnalysisDeclContext*>::getFromVoidPointer(void*)
llvm::PointerLikeTypeTraits<clang::CXXBaseSpecifier*>::getFromVoidPointer(void*)
Line
Count
Source
57
634k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::CXXCtorInitializer*>::getFromVoidPointer(void*)
Line
Count
Source
57
317k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::UninitUse, 2u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.92k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::AttributedStmt*>::getFromVoidPointer(void*)
Line
Count
Source
57
16
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::Stmt const*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.20k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::VarDecl*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
65.7k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::TemplateTypeParmType*>::getFromVoidPointer(void*)
Line
Count
Source
57
258k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::BlockDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
2.62k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::ParmVarDecl*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
14
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<std::__1::pair<clang::NamedDecl const*, unsigned int>, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
349
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<std::__1::pair<clang::NamedDecl const*, unsigned int>*>::getFromVoidPointer(void*)
Line
Count
Source
57
414
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::SwitchStmt*>::getFromVoidPointer(void*)
Line
Count
Source
57
236k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::EnumConstantDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
49
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::EnumConstantDecl*, 3u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
4
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ParmVarDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
11
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::CXXConstructorDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
659
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::TypeDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
4.26k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::InitializedEntity*>::getFromVoidPointer(void*)
Line
Count
Source
57
12.9M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::threadSafety::til::SExpr*>::getFromVoidPointer(void*)
Line
Count
Source
57
386
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ast_matchers::MatchFinder::MatchCallback*>::getFromVoidPointer(void*)
Line
Count
Source
57
16.0k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::ast_type_traits::DynTypedNode, 2u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
511
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::ast_type_traits::DynTypedNode*>::getFromVoidPointer(void*)
Line
Count
Source
57
9.48k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::CXXMethodDecl const*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
14.9k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::EvaluatedStmt*>::getFromVoidPointer(void*)
Line
Count
Source
57
16.0M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::DependentFunctionTemplateSpecializationInfo*>::getFromVoidPointer(void*)
Line
Count
Source
57
4.32k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::StoredDeclsMap*>::getFromVoidPointer(void*)
Line
Count
Source
57
211k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::Stmt**>::getFromVoidPointer(void*)
Line
Count
Source
57
1.87M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::APValue*>::getFromVoidPointer(void*)
Line
Count
Source
57
8.94k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<unsigned long long*>::getFromVoidPointer(void*)
Line
Count
Source
57
305k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<llvm::SmallVector<clang::CXXRecordDecl const*, 4u>*>::getFromVoidPointer(void*)
Line
Count
Source
57
38.6k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::CapturedDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
329k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::TemplateDecl*>::getFromVoidPointer(void*)
Line
Count
Source
57
62.0M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::UncommonTemplateNameStorage*>::getFromVoidPointer(void*)
Line
Count
Source
57
426k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::QualifiedTemplateName*>::getFromVoidPointer(void*)
Line
Count
Source
57
1.32M
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<clang::DependentTemplateName*>::getFromVoidPointer(void*)
Line
Count
Source
57
63.6k
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
llvm::PointerLikeTypeTraits<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, unsigned int>*>::getFromVoidPointer(void*)
Line
Count
Source
57
520
  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
58
59
  enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
60
};
61
62
template <> struct PointerLikeTypeTraits<void *> {
63
71.8M
  static inline void *getAsVoidPointer(void *P) { return P; }
64
49.4M
  static inline void *getFromVoidPointer(void *P) { return P; }
65
66
  /// Note, we assume here that void* is related to raw malloc'ed memory and
67
  /// that malloc returns objects at least 4-byte aligned. However, this may be
68
  /// wrong, or pointers may be from something other than malloc. In this case,
69
  /// you should specify a real typed pointer or avoid this template.
70
  ///
71
  /// All clients should use assertions to do a run-time check to ensure that
72
  /// this is actually true.
73
  enum { NumLowBitsAvailable = 2 };
74
};
75
76
// Provide PointerLikeTypeTraits for const things.
77
template <typename T> struct PointerLikeTypeTraits<const T> {
78
  typedef PointerLikeTypeTraits<T> NonConst;
79
80
747k
  static inline const void *getAsVoidPointer(const T P) {
81
747k
    return NonConst::getAsVoidPointer(P);
82
747k
  }
llvm::PointerLikeTypeTraits<llvm::PointerUnion<llvm::Value const*, llvm::PseudoSourceValue const*> const>::getAsVoidPointer(llvm::PointerUnion<llvm::Value const*, llvm::PseudoSourceValue const*>)
Line
Count
Source
80
2.11k
  static inline const void *getAsVoidPointer(const T P) {
81
2.11k
    return NonConst::getAsVoidPointer(P);
82
2.11k
  }
llvm::PointerLikeTypeTraits<llvm::PointerIntPair<llvm::Value*, 1u, bool, llvm::PointerLikeTypeTraits<llvm::Value*>, llvm::PointerIntPairInfo<llvm::Value*, 1u, llvm::PointerLikeTypeTraits<llvm::Value*> > > const>::getAsVoidPointer(llvm::PointerIntPair<llvm::Value*, 1u, bool, llvm::PointerLikeTypeTraits<llvm::Value*>, llvm::PointerIntPairInfo<llvm::Value*, 1u, llvm::PointerLikeTypeTraits<llvm::Value*> > >)
Line
Count
Source
80
42.9k
  static inline const void *getAsVoidPointer(const T P) {
81
42.9k
    return NonConst::getAsVoidPointer(P);
82
42.9k
  }
llvm::PointerLikeTypeTraits<clang::QualType const>::getAsVoidPointer(clang::QualType)
Line
Count
Source
80
683k
  static inline const void *getAsVoidPointer(const T P) {
81
683k
    return NonConst::getAsVoidPointer(P);
82
683k
  }
llvm::PointerLikeTypeTraits<clang::Selector const>::getAsVoidPointer(clang::Selector)
Line
Count
Source
80
14.1k
  static inline const void *getAsVoidPointer(const T P) {
81
14.1k
    return NonConst::getAsVoidPointer(P);
82
14.1k
  }
llvm::PointerLikeTypeTraits<clang::CanQual<clang::Type> const>::getAsVoidPointer(clang::CanQual<clang::Type>)
Line
Count
Source
80
5.22k
  static inline const void *getAsVoidPointer(const T P) {
81
5.22k
    return NonConst::getAsVoidPointer(P);
82
5.22k
  }
83
  static inline const T getFromVoidPointer(const void *P) {
84
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
85
  }
86
  enum { NumLowBitsAvailable = NonConst::NumLowBitsAvailable };
87
};
88
89
// Provide PointerLikeTypeTraits for const pointers.
90
template <typename T> struct PointerLikeTypeTraits<const T *> {
91
  typedef PointerLikeTypeTraits<T *> NonConst;
92
93
3.98G
  static inline const void *getAsVoidPointer(const T *P) {
94
3.98G
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
3.98G
  }
llvm::PointerLikeTypeTraits<llvm::MemoryBuffer const*>::getAsVoidPointer(llvm::MemoryBuffer const*)
Line
Count
Source
93
1.24M
  static inline const void *getAsVoidPointer(const T *P) {
94
1.24M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
1.24M
  }
llvm::PointerLikeTypeTraits<clang::SrcMgr::ContentCache const*>::getAsVoidPointer(clang::SrcMgr::ContentCache const*)
Line
Count
Source
93
652k
  static inline const void *getAsVoidPointer(const T *P) {
94
652k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
652k
  }
llvm::PointerLikeTypeTraits<void const*>::getAsVoidPointer(void const*)
Line
Count
Source
93
47.7M
  static inline const void *getAsVoidPointer(const T *P) {
94
47.7M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
47.7M
  }
llvm::PointerLikeTypeTraits<llvm::AnalysisKey const*>::getAsVoidPointer(llvm::AnalysisKey const*)
Line
Count
Source
93
35.4k
  static inline const void *getAsVoidPointer(const T *P) {
94
35.4k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
35.4k
  }
llvm::PointerLikeTypeTraits<llvm::Instruction const*>::getAsVoidPointer(llvm::Instruction const*)
Line
Count
Source
93
312M
  static inline const void *getAsVoidPointer(const T *P) {
94
312M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
312M
  }
llvm::PointerLikeTypeTraits<llvm::BasicBlock const*>::getAsVoidPointer(llvm::BasicBlock const*)
Line
Count
Source
93
777M
  static inline const void *getAsVoidPointer(const T *P) {
94
777M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
777M
  }
llvm::PointerLikeTypeTraits<llvm::SCEVPredicate const*>::getAsVoidPointer(llvm::SCEVPredicate const*)
Line
Count
Source
93
2.42k
  static inline const void *getAsVoidPointer(const T *P) {
94
2.42k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
2.42k
  }
llvm::PointerLikeTypeTraits<llvm::SCEV const*>::getAsVoidPointer(llvm::SCEV const*)
Line
Count
Source
93
395M
  static inline const void *getAsVoidPointer(const T *P) {
94
395M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
395M
  }
llvm::PointerLikeTypeTraits<llvm::Value const*>::getAsVoidPointer(llvm::Value const*)
Line
Count
Source
93
805M
  static inline const void *getAsVoidPointer(const T *P) {
94
805M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
805M
  }
llvm::PointerLikeTypeTraits<llvm::PseudoSourceValue const*>::getAsVoidPointer(llvm::PseudoSourceValue const*)
Line
Count
Source
93
4.08M
  static inline const void *getAsVoidPointer(const T *P) {
94
4.08M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
4.08M
  }
llvm::PointerLikeTypeTraits<llvm::MachineBasicBlock const*>::getAsVoidPointer(llvm::MachineBasicBlock const*)
Line
Count
Source
93
133M
  static inline const void *getAsVoidPointer(const T *P) {
94
133M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
133M
  }
llvm::PointerLikeTypeTraits<llvm::SDNode const*>::getAsVoidPointer(llvm::SDNode const*)
Line
Count
Source
93
158M
  static inline const void *getAsVoidPointer(const T *P) {
94
158M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
158M
  }
llvm::PointerLikeTypeTraits<llvm::MachineInstr const*>::getAsVoidPointer(llvm::MachineInstr const*)
Line
Count
Source
93
79.9M
  static inline const void *getAsVoidPointer(const T *P) {
94
79.9M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
79.9M
  }
llvm::PointerLikeTypeTraits<llvm::StringMapEntry<llvm::DwarfStringPoolEntry> const*>::getAsVoidPointer(llvm::StringMapEntry<llvm::DwarfStringPoolEntry> const*)
Line
Count
Source
93
424k
  static inline const void *getAsVoidPointer(const T *P) {
94
424k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
424k
  }
llvm::PointerLikeTypeTraits<llvm::MCSymbol const*>::getAsVoidPointer(llvm::MCSymbol const*)
Line
Count
Source
93
4.27M
  static inline const void *getAsVoidPointer(const T *P) {
94
4.27M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
4.27M
  }
llvm::PointerLikeTypeTraits<llvm::Function const*>::getAsVoidPointer(llvm::Function const*)
Line
Count
Source
93
4.23M
  static inline const void *getAsVoidPointer(const T *P) {
94
4.23M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
4.23M
  }
llvm::PointerLikeTypeTraits<llvm::Constant const*>::getAsVoidPointer(llvm::Constant const*)
Line
Count
Source
93
1.36M
  static inline const void *getAsVoidPointer(const T *P) {
94
1.36M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
1.36M
  }
llvm::PointerLikeTypeTraits<llvm::RegionNode const*>::getAsVoidPointer(llvm::RegionNode const*)
Line
Count
Source
93
28
  static inline const void *getAsVoidPointer(const T *P) {
94
28
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
28
  }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::MachineRegionNode const*>::getAsVoidPointer(llvm::MachineRegionNode const*)
llvm::PointerLikeTypeTraits<llvm::SUnit const*>::getAsVoidPointer(llvm::SUnit const*)
Line
Count
Source
93
158k
  static inline const void *getAsVoidPointer(const T *P) {
94
158k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
158k
  }
llvm::PointerLikeTypeTraits<llvm::AllocaInst const*>::getAsVoidPointer(llvm::AllocaInst const*)
Line
Count
Source
93
1.66M
  static inline const void *getAsVoidPointer(const T *P) {
94
1.66M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
1.66M
  }
llvm::PointerLikeTypeTraits<llvm::GlobalVariable const*>::getAsVoidPointer(llvm::GlobalVariable const*)
Line
Count
Source
93
39.7k
  static inline const void *getAsVoidPointer(const T *P) {
94
39.7k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
39.7k
  }
llvm::PointerLikeTypeTraits<llvm::LoadInst const*>::getAsVoidPointer(llvm::LoadInst const*)
Line
Count
Source
93
159
  static inline const void *getAsVoidPointer(const T *P) {
94
159
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
159
  }
llvm::PointerLikeTypeTraits<llvm::PHINode const*>::getAsVoidPointer(llvm::PHINode const*)
Line
Count
Source
93
2.52M
  static inline const void *getAsVoidPointer(const T *P) {
94
2.52M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
2.52M
  }
llvm::PointerLikeTypeTraits<llvm::CallInst const*>::getAsVoidPointer(llvm::CallInst const*)
Line
Count
Source
93
4
  static inline const void *getAsVoidPointer(const T *P) {
94
4
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
4
  }
llvm::PointerLikeTypeTraits<llvm::Loop const*>::getAsVoidPointer(llvm::Loop const*)
Line
Count
Source
93
27.6M
  static inline const void *getAsVoidPointer(const T *P) {
94
27.6M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
27.6M
  }
llvm::PointerLikeTypeTraits<llvm::LazyCallGraph::SCC const*>::getAsVoidPointer(llvm::LazyCallGraph::SCC const*)
Line
Count
Source
93
18.0k
  static inline const void *getAsVoidPointer(const T *P) {
94
18.0k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
18.0k
  }
llvm::PointerLikeTypeTraits<llvm::LazyCallGraph::Node const*>::getAsVoidPointer(llvm::LazyCallGraph::Node const*)
Line
Count
Source
93
1.03k
  static inline const void *getAsVoidPointer(const T *P) {
94
1.03k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
1.03k
  }
llvm::PointerLikeTypeTraits<llvm::Use const*>::getAsVoidPointer(llvm::Use const*)
Line
Count
Source
93
94.2M
  static inline const void *getAsVoidPointer(const T *P) {
94
94.2M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
94.2M
  }
llvm::PointerLikeTypeTraits<llvm::GlobalValue const*>::getAsVoidPointer(llvm::GlobalValue const*)
Line
Count
Source
93
9.47M
  static inline const void *getAsVoidPointer(const T *P) {
94
9.47M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
9.47M
  }
llvm::PointerLikeTypeTraits<llvm::LazyCallGraph::RefSCC const*>::getAsVoidPointer(llvm::LazyCallGraph::RefSCC const*)
Line
Count
Source
93
2.29k
  static inline const void *getAsVoidPointer(const T *P) {
94
2.29k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
2.29k
  }
llvm::PointerLikeTypeTraits<llvm::MDNode const*>::getAsVoidPointer(llvm::MDNode const*)
Line
Count
Source
93
1.19M
  static inline const void *getAsVoidPointer(const T *P) {
94
1.19M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
1.19M
  }
llvm::PointerLikeTypeTraits<llvm::DomTreeNodeBase<llvm::BasicBlock> const*>::getAsVoidPointer(llvm::DomTreeNodeBase<llvm::BasicBlock> const*)
Line
Count
Source
93
41.4M
  static inline const void *getAsVoidPointer(const T *P) {
94
41.4M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
41.4M
  }
llvm::PointerLikeTypeTraits<std::__1::pair<unsigned long long const, llvm::GlobalValueSummaryInfo> const*>::getAsVoidPointer(std::__1::pair<unsigned long long const, llvm::GlobalValueSummaryInfo> const*)
Line
Count
Source
93
126k
  static inline const void *getAsVoidPointer(const T *P) {
94
126k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
126k
  }
llvm::PointerLikeTypeTraits<llvm::User const*>::getAsVoidPointer(llvm::User const*)
Line
Count
Source
93
4.70M
  static inline const void *getAsVoidPointer(const T *P) {
94
4.70M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
4.70M
  }
llvm::PointerLikeTypeTraits<llvm::Metadata const*>::getAsVoidPointer(llvm::Metadata const*)
Line
Count
Source
93
6.94M
  static inline const void *getAsVoidPointer(const T *P) {
94
6.94M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
6.94M
  }
llvm::PointerLikeTypeTraits<llvm::VNInfo const*>::getAsVoidPointer(llvm::VNInfo const*)
Line
Count
Source
93
2.76M
  static inline const void *getAsVoidPointer(const T *P) {
94
2.76M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
2.76M
  }
llvm::PointerLikeTypeTraits<llvm::DomTreeNodeBase<llvm::MachineBasicBlock> const*>::getAsVoidPointer(llvm::DomTreeNodeBase<llvm::MachineBasicBlock> const*)
Line
Count
Source
93
12.0M
  static inline const void *getAsVoidPointer(const T *P) {
94
12.0M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
12.0M
  }
llvm::PointerLikeTypeTraits<llvm::TargetRegisterClass const*>::getAsVoidPointer(llvm::TargetRegisterClass const*)
Line
Count
Source
93
18.5M
  static inline const void *getAsVoidPointer(const T *P) {
94
18.5M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
18.5M
  }
llvm::PointerLikeTypeTraits<llvm::RegisterBank const*>::getAsVoidPointer(llvm::RegisterBank const*)
Line
Count
Source
93
25.4M
  static inline const void *getAsVoidPointer(const T *P) {
94
25.4M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
25.4M
  }
llvm::PointerLikeTypeTraits<llvm::LiveInterval const*>::getAsVoidPointer(llvm::LiveInterval const*)
Line
Count
Source
93
17
  static inline const void *getAsVoidPointer(const T *P) {
94
17
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
17
  }
llvm::PointerLikeTypeTraits<llvm::ConstantExpr const*>::getAsVoidPointer(llvm::ConstantExpr const*)
Line
Count
Source
93
114k
  static inline const void *getAsVoidPointer(const T *P) {
94
114k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
114k
  }
llvm::PointerLikeTypeTraits<llvm::GlobalAlias const*>::getAsVoidPointer(llvm::GlobalAlias const*)
Line
Count
Source
93
3.96k
  static inline const void *getAsVoidPointer(const T *P) {
94
3.96k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
3.96k
  }
llvm::PointerLikeTypeTraits<llvm::Argument const*>::getAsVoidPointer(llvm::Argument const*)
Line
Count
Source
93
120k
  static inline const void *getAsVoidPointer(const T *P) {
94
120k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
120k
  }
llvm::PointerLikeTypeTraits<llvm::Comdat const*>::getAsVoidPointer(llvm::Comdat const*)
Line
Count
Source
93
5.94k
  static inline const void *getAsVoidPointer(const T *P) {
94
5.94k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
5.94k
  }
llvm::PointerLikeTypeTraits<llvm::CallGraphNode const*>::getAsVoidPointer(llvm::CallGraphNode const*)
Line
Count
Source
93
6.43k
  static inline const void *getAsVoidPointer(const T *P) {
94
6.43k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
6.43k
  }
llvm::PointerLikeTypeTraits<llvm::MemoryPhi const*>::getAsVoidPointer(llvm::MemoryPhi const*)
Line
Count
Source
93
532
  static inline const void *getAsVoidPointer(const T *P) {
94
532
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
532
  }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::MemoryAccess const*>::getAsVoidPointer(llvm::MemoryAccess const*)
llvm::PointerLikeTypeTraits<llvm::DbgVariableIntrinsic const*>::getAsVoidPointer(llvm::DbgVariableIntrinsic const*)
Line
Count
Source
93
18
  static inline const void *getAsVoidPointer(const T *P) {
94
18
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
18
  }
llvm::PointerLikeTypeTraits<llvm::VPBlockBase const*>::getAsVoidPointer(llvm::VPBlockBase const*)
Line
Count
Source
93
99
  static inline const void *getAsVoidPointer(const T *P) {
94
99
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
99
  }
llvm::PointerLikeTypeTraits<llvm::DomTreeNodeBase<llvm::VPBlockBase> const*>::getAsVoidPointer(llvm::DomTreeNodeBase<llvm::VPBlockBase> const*)
Line
Count
Source
93
111
  static inline const void *getAsVoidPointer(const T *P) {
94
111
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
111
  }
llvm::PointerLikeTypeTraits<clang::Type const*>::getAsVoidPointer(clang::Type const*)
Line
Count
Source
93
705M
  static inline const void *getAsVoidPointer(const T *P) {
94
705M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
705M
  }
llvm::PointerLikeTypeTraits<clang::ExtQuals const*>::getAsVoidPointer(clang::ExtQuals const*)
Line
Count
Source
93
476k
  static inline const void *getAsVoidPointer(const T *P) {
94
476k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
476k
  }
llvm::PointerLikeTypeTraits<clang::RawComment const*>::getAsVoidPointer(clang::RawComment const*)
Line
Count
Source
93
6.48k
  static inline const void *getAsVoidPointer(const T *P) {
94
6.48k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
6.48k
  }
llvm::PointerLikeTypeTraits<clang::Decl const*>::getAsVoidPointer(clang::Decl const*)
Line
Count
Source
93
199M
  static inline const void *getAsVoidPointer(const T *P) {
94
199M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
199M
  }
llvm::PointerLikeTypeTraits<clang::CodeGen::CGFunctionInfo const*>::getAsVoidPointer(clang::CodeGen::CGFunctionInfo const*)
Line
Count
Source
93
4.88M
  static inline const void *getAsVoidPointer(const T *P) {
94
4.88M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
4.88M
  }
llvm::PointerLikeTypeTraits<clang::CXXRecordDecl const*>::getAsVoidPointer(clang::CXXRecordDecl const*)
Line
Count
Source
93
4.01M
  static inline const void *getAsVoidPointer(const T *P) {
94
4.01M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
4.01M
  }
llvm::PointerLikeTypeTraits<clang::FileEntry const*>::getAsVoidPointer(clang::FileEntry const*)
Line
Count
Source
93
11.7k
  static inline const void *getAsVoidPointer(const T *P) {
94
11.7k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
11.7k
  }
llvm::PointerLikeTypeTraits<clang::CXXMemberCallExpr const*>::getAsVoidPointer(clang::CXXMemberCallExpr const*)
Line
Count
Source
93
54
  static inline const void *getAsVoidPointer(const T *P) {
94
54
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
54
  }
llvm::PointerLikeTypeTraits<clang::FieldDecl const*>::getAsVoidPointer(clang::FieldDecl const*)
Line
Count
Source
93
28
  static inline const void *getAsVoidPointer(const T *P) {
94
28
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
28
  }
llvm::PointerLikeTypeTraits<clang::ValueDecl const*>::getAsVoidPointer(clang::ValueDecl const*)
Line
Count
Source
93
27.2M
  static inline const void *getAsVoidPointer(const T *P) {
94
27.2M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
27.2M
  }
llvm::PointerLikeTypeTraits<llvm::GlobalIndirectSymbol const*>::getAsVoidPointer(llvm::GlobalIndirectSymbol const*)
Line
Count
Source
93
47
  static inline const void *getAsVoidPointer(const T *P) {
94
47
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
47
  }
llvm::PointerLikeTypeTraits<clang::RecordDecl const*>::getAsVoidPointer(clang::RecordDecl const*)
Line
Count
Source
93
692k
  static inline const void *getAsVoidPointer(const T *P) {
94
692k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
692k
  }
llvm::PointerLikeTypeTraits<clang::CXXDeleteExpr const*>::getAsVoidPointer(clang::CXXDeleteExpr const*)
Line
Count
Source
93
271
  static inline const void *getAsVoidPointer(const T *P) {
94
271
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
271
  }
llvm::PointerLikeTypeTraits<clang::StoredDiagnostic const*>::getAsVoidPointer(clang::StoredDiagnostic const*)
Line
Count
Source
93
593
  static inline const void *getAsVoidPointer(const T *P) {
94
593
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
593
  }
llvm::PointerLikeTypeTraits<clang::Diagnostic const*>::getAsVoidPointer(clang::Diagnostic const*)
Line
Count
Source
93
21.1k
  static inline const void *getAsVoidPointer(const T *P) {
94
21.1k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
21.1k
  }
llvm::PointerLikeTypeTraits<clang::DirectoryEntry const*>::getAsVoidPointer(clang::DirectoryEntry const*)
Line
Count
Source
93
99.9k
  static inline const void *getAsVoidPointer(const T *P) {
94
99.9k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
99.9k
  }
llvm::PointerLikeTypeTraits<clang::HeaderMap const*>::getAsVoidPointer(clang::HeaderMap const*)
Line
Count
Source
93
41
  static inline const void *getAsVoidPointer(const T *P) {
94
41
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
41
  }
llvm::PointerLikeTypeTraits<clang::serialization::ModuleFile const*>::getAsVoidPointer(clang::serialization::ModuleFile const*)
Line
Count
Source
93
326k
  static inline const void *getAsVoidPointer(const T *P) {
94
326k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
326k
  }
llvm::PointerLikeTypeTraits<polly::ScopArrayInfo const*>::getAsVoidPointer(polly::ScopArrayInfo const*)
Line
Count
Source
93
3.80k
  static inline const void *getAsVoidPointer(const T *P) {
94
3.80k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
3.80k
  }
llvm::PointerLikeTypeTraits<polly::MemoryAccess const*>::getAsVoidPointer(polly::MemoryAccess const*)
Line
Count
Source
93
123
  static inline const void *getAsVoidPointer(const T *P) {
94
123
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
123
  }
llvm::PointerLikeTypeTraits<llvm::DISubprogram const*>::getAsVoidPointer(llvm::DISubprogram const*)
Line
Count
Source
93
35.7k
  static inline const void *getAsVoidPointer(const T *P) {
94
35.7k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
35.7k
  }
llvm::PointerLikeTypeTraits<llvm::DIExpression const*>::getAsVoidPointer(llvm::DIExpression const*)
Line
Count
Source
93
6
  static inline const void *getAsVoidPointer(const T *P) {
94
6
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
6
  }
llvm::PointerLikeTypeTraits<clang::DeclContext const*>::getAsVoidPointer(clang::DeclContext const*)
Line
Count
Source
93
995
  static inline const void *getAsVoidPointer(const T *P) {
94
995
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
995
  }
llvm::PointerLikeTypeTraits<clang::VarDecl const*>::getAsVoidPointer(clang::VarDecl const*)
Line
Count
Source
93
26.1k
  static inline const void *getAsVoidPointer(const T *P) {
94
26.1k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
26.1k
  }
llvm::PointerLikeTypeTraits<clang::ObjCProtocolDecl const*>::getAsVoidPointer(clang::ObjCProtocolDecl const*)
Line
Count
Source
93
174
  static inline const void *getAsVoidPointer(const T *P) {
94
174
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
174
  }
llvm::PointerLikeTypeTraits<clang::ObjCInterfaceDecl const*>::getAsVoidPointer(clang::ObjCInterfaceDecl const*)
Line
Count
Source
93
822
  static inline const void *getAsVoidPointer(const T *P) {
94
822
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
822
  }
llvm::PointerLikeTypeTraits<clang::TagDecl const*>::getAsVoidPointer(clang::TagDecl const*)
Line
Count
Source
93
140
  static inline const void *getAsVoidPointer(const T *P) {
94
140
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
140
  }
llvm::PointerLikeTypeTraits<clang::LocationContext const*>::getAsVoidPointer(clang::LocationContext const*)
Line
Count
Source
93
6.93M
  static inline const void *getAsVoidPointer(const T *P) {
94
6.93M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
6.93M
  }
llvm::PointerLikeTypeTraits<clang::ProgramPointTag const*>::getAsVoidPointer(clang::ProgramPointTag const*)
Line
Count
Source
93
6.85M
  static inline const void *getAsVoidPointer(const T *P) {
94
6.85M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
6.85M
  }
llvm::PointerLikeTypeTraits<clang::DeclaratorDecl const*>::getAsVoidPointer(clang::DeclaratorDecl const*)
Line
Count
Source
93
41
  static inline const void *getAsVoidPointer(const T *P) {
94
41
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
41
  }
llvm::PointerLikeTypeTraits<clang::ento::PointerToMemberData const*>::getAsVoidPointer(clang::ento::PointerToMemberData const*)
Line
Count
Source
93
24
  static inline const void *getAsVoidPointer(const T *P) {
94
24
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
24
  }
llvm::PointerLikeTypeTraits<clang::ento::ExplodedNode const*>::getAsVoidPointer(clang::ento::ExplodedNode const*)
Line
Count
Source
93
1.12M
  static inline const void *getAsVoidPointer(const T *P) {
94
1.12M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
1.12M
  }
llvm::PointerLikeTypeTraits<clang::Expr const*>::getAsVoidPointer(clang::Expr const*)
Line
Count
Source
93
719k
  static inline const void *getAsVoidPointer(const T *P) {
94
719k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
719k
  }
llvm::PointerLikeTypeTraits<clang::ento::MemRegion const*>::getAsVoidPointer(clang::ento::MemRegion const*)
Line
Count
Source
93
1.29M
  static inline const void *getAsVoidPointer(const T *P) {
94
1.29M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
1.29M
  }
llvm::PointerLikeTypeTraits<clang::CFGBlock const*>::getAsVoidPointer(clang::CFGBlock const*)
Line
Count
Source
93
48.9k
  static inline const void *getAsVoidPointer(const T *P) {
94
48.9k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
48.9k
  }
llvm::PointerLikeTypeTraits<clang::Stmt const*>::getAsVoidPointer(clang::Stmt const*)
Line
Count
Source
93
166k
  static inline const void *getAsVoidPointer(const T *P) {
94
166k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
166k
  }
llvm::PointerLikeTypeTraits<clang::ento::SymExpr const*>::getAsVoidPointer(clang::ento::SymExpr const*)
Line
Count
Source
93
9.20k
  static inline const void *getAsVoidPointer(const T *P) {
94
9.20k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
9.20k
  }
llvm::PointerLikeTypeTraits<clang::ento::TypedValueRegion const*>::getAsVoidPointer(clang::ento::TypedValueRegion const*)
Line
Count
Source
93
125
  static inline const void *getAsVoidPointer(const T *P) {
94
125
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
125
  }
llvm::PointerLikeTypeTraits<clang::StackFrameContext const*>::getAsVoidPointer(clang::StackFrameContext const*)
Line
Count
Source
93
224k
  static inline const void *getAsVoidPointer(const T *P) {
94
224k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
224k
  }
llvm::PointerLikeTypeTraits<clang::PseudoObjectExpr const*>::getAsVoidPointer(clang::PseudoObjectExpr const*)
Line
Count
Source
93
3.72k
  static inline const void *getAsVoidPointer(const T *P) {
94
3.72k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
3.72k
  }
llvm::PointerLikeTypeTraits<clang::ento::VarRegion const*>::getAsVoidPointer(clang::ento::VarRegion const*)
Line
Count
Source
93
161
  static inline const void *getAsVoidPointer(const T *P) {
94
161
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
161
  }
RegionStore.cpp:llvm::PointerLikeTypeTraits<llvm::ImmutableMap<(anonymous namespace)::BindingKey, clang::ento::SVal, llvm::ImutKeyValueInfo<(anonymous namespace)::BindingKey, clang::ento::SVal> > const*>::getAsVoidPointer(llvm::ImmutableMap<(anonymous namespace)::BindingKey, clang::ento::SVal, llvm::ImutKeyValueInfo<(anonymous namespace)::BindingKey, clang::ento::SVal> > const*)
Line
Count
Source
93
2.91M
  static inline const void *getAsVoidPointer(const T *P) {
94
2.91M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
2.91M
  }
llvm::PointerLikeTypeTraits<clang::AttributedStmt const*>::getAsVoidPointer(clang::AttributedStmt const*)
Line
Count
Source
93
92
  static inline const void *getAsVoidPointer(const T *P) {
94
92
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
92
  }
llvm::PointerLikeTypeTraits<clang::NamedDecl const*>::getAsVoidPointer(clang::NamedDecl const*)
Line
Count
Source
93
25.8M
  static inline const void *getAsVoidPointer(const T *P) {
94
25.8M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
25.8M
  }
llvm::PointerLikeTypeTraits<clang::BlockDecl const*>::getAsVoidPointer(clang::BlockDecl const*)
Line
Count
Source
93
2.62k
  static inline const void *getAsVoidPointer(const T *P) {
94
2.62k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
2.62k
  }
llvm::PointerLikeTypeTraits<clang::ParmVarDecl const*>::getAsVoidPointer(clang::ParmVarDecl const*)
Line
Count
Source
93
36.5k
  static inline const void *getAsVoidPointer(const T *P) {
94
36.5k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
36.5k
  }
llvm::PointerLikeTypeTraits<clang::EnumConstantDecl const*>::getAsVoidPointer(clang::EnumConstantDecl const*)
Line
Count
Source
93
66
  static inline const void *getAsVoidPointer(const T *P) {
94
66
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
66
  }
llvm::PointerLikeTypeTraits<std::__1::pair<clang::NamedDecl const*, unsigned int> const*>::getAsVoidPointer(std::__1::pair<clang::NamedDecl const*, unsigned int> const*)
Line
Count
Source
93
333
  static inline const void *getAsVoidPointer(const T *P) {
94
333
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
333
  }
llvm::PointerLikeTypeTraits<clang::CXXConstructorDecl const*>::getAsVoidPointer(clang::CXXConstructorDecl const*)
Line
Count
Source
93
58
  static inline const void *getAsVoidPointer(const T *P) {
94
58
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
58
  }
llvm::PointerLikeTypeTraits<clang::CXXBaseSpecifier const*>::getAsVoidPointer(clang::CXXBaseSpecifier const*)
Line
Count
Source
93
1.95k
  static inline const void *getAsVoidPointer(const T *P) {
94
1.95k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
1.95k
  }
llvm::PointerLikeTypeTraits<clang::RecordType const*>::getAsVoidPointer(clang::RecordType const*)
Line
Count
Source
93
599k
  static inline const void *getAsVoidPointer(const T *P) {
94
599k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
599k
  }
llvm::PointerLikeTypeTraits<clang::CXXMethodDecl const*>::getAsVoidPointer(clang::CXXMethodDecl const*)
Line
Count
Source
93
783k
  static inline const void *getAsVoidPointer(const T *P) {
94
783k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
783k
  }
llvm::PointerLikeTypeTraits<clang::NamespaceDecl const*>::getAsVoidPointer(clang::NamespaceDecl const*)
Line
Count
Source
93
121k
  static inline const void *getAsVoidPointer(const T *P) {
94
121k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
121k
  }
llvm::PointerLikeTypeTraits<clang::InitializedEntity const*>::getAsVoidPointer(clang::InitializedEntity const*)
Line
Count
Source
93
12.9M
  static inline const void *getAsVoidPointer(const T *P) {
94
12.9M
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
12.9M
  }
llvm::PointerLikeTypeTraits<clang::ObjCMethodDecl const*>::getAsVoidPointer(clang::ObjCMethodDecl const*)
Line
Count
Source
93
120
  static inline const void *getAsVoidPointer(const T *P) {
94
120
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
120
  }
llvm::PointerLikeTypeTraits<clang::TemplateTypeParmType const*>::getAsVoidPointer(clang::TemplateTypeParmType const*)
Line
Count
Source
93
272k
  static inline const void *getAsVoidPointer(const T *P) {
94
272k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
272k
  }
CFG.cpp:llvm::PointerLikeTypeTraits<(anonymous namespace)::LocalScope const*>::getAsVoidPointer((anonymous namespace)::LocalScope const*)
Line
Count
Source
93
920
  static inline const void *getAsVoidPointer(const T *P) {
94
920
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
920
  }
llvm::PointerLikeTypeTraits<clang::CallGraphNode const*>::getAsVoidPointer(clang::CallGraphNode const*)
Line
Count
Source
93
31
  static inline const void *getAsVoidPointer(const T *P) {
94
31
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
31
  }
llvm::PointerLikeTypeTraits<clang::threadSafety::til::SExpr const*>::getAsVoidPointer(clang::threadSafety::til::SExpr const*)
Line
Count
Source
93
222
  static inline const void *getAsVoidPointer(const T *P) {
94
222
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
222
  }
llvm::PointerLikeTypeTraits<clang::ObjCObjectType const*>::getAsVoidPointer(clang::ObjCObjectType const*)
Line
Count
Source
93
92
  static inline const void *getAsVoidPointer(const T *P) {
94
92
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
92
  }
llvm::PointerLikeTypeTraits<clang::Module const*>::getAsVoidPointer(clang::Module const*)
Line
Count
Source
93
97.3k
  static inline const void *getAsVoidPointer(const T *P) {
94
97.3k
    return NonConst::getAsVoidPointer(const_cast<T *>(P));
95
97.3k
  }
96
2.93G
  static inline const T *getFromVoidPointer(const void *P) {
97
2.93G
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
2.93G
  }
llvm::PointerLikeTypeTraits<clang::FileEntry const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
30.1k
  static inline const T *getFromVoidPointer(const void *P) {
97
30.1k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
30.1k
  }
llvm::PointerLikeTypeTraits<clang::DirectoryEntry const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
6.67k
  static inline const T *getFromVoidPointer(const void *P) {
97
6.67k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
6.67k
  }
llvm::PointerLikeTypeTraits<llvm::MemoryBuffer const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
132M
  static inline const T *getFromVoidPointer(const void *P) {
97
132M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
132M
  }
llvm::PointerLikeTypeTraits<clang::SrcMgr::ContentCache const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
105M
  static inline const T *getFromVoidPointer(const void *P) {
97
105M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
105M
  }
llvm::PointerLikeTypeTraits<llvm::Instruction const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
844M
  static inline const T *getFromVoidPointer(const void *P) {
97
844M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
844M
  }
llvm::PointerLikeTypeTraits<llvm::SCEV const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
135M
  static inline const T *getFromVoidPointer(const void *P) {
97
135M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
135M
  }
llvm::PointerLikeTypeTraits<llvm::PseudoSourceValue const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
5.90M
  static inline const T *getFromVoidPointer(const void *P) {
97
5.90M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
5.90M
  }
llvm::PointerLikeTypeTraits<llvm::Value const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
34.3M
  static inline const T *getFromVoidPointer(const void *P) {
97
34.3M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
34.3M
  }
llvm::PointerLikeTypeTraits<llvm::TargetRegisterClass const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
243M
  static inline const T *getFromVoidPointer(const void *P) {
97
243M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
243M
  }
llvm::PointerLikeTypeTraits<llvm::RegisterBank const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
74.5M
  static inline const T *getFromVoidPointer(const void *P) {
97
74.5M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
74.5M
  }
llvm::PointerLikeTypeTraits<llvm::StringMapEntry<llvm::DwarfStringPoolEntry> const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
770k
  static inline const T *getFromVoidPointer(const void *P) {
97
770k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
770k
  }
llvm::PointerLikeTypeTraits<llvm::RegionNode const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
22
  static inline const T *getFromVoidPointer(const void *P) {
97
22
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
22
  }
Unexecuted instantiation: llvm::PointerLikeTypeTraits<llvm::MachineRegionNode const*>::getFromVoidPointer(void const*)
llvm::PointerLikeTypeTraits<llvm::SUnit const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
11.5k
  static inline const T *getFromVoidPointer(const void *P) {
97
11.5k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
11.5k
  }
llvm::PointerLikeTypeTraits<llvm::GlobalVariable const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
397
  static inline const T *getFromVoidPointer(const void *P) {
97
397
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
397
  }
llvm::PointerLikeTypeTraits<llvm::MachineInstr const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
16.0M
  static inline const T *getFromVoidPointer(const void *P) {
97
16.0M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
16.0M
  }
llvm::PointerLikeTypeTraits<llvm::PHINode const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
28
  static inline const T *getFromVoidPointer(const void *P) {
97
28
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
28
  }
llvm::PointerLikeTypeTraits<llvm::BasicBlock const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
172M
  static inline const T *getFromVoidPointer(const void *P) {
97
172M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
172M
  }
llvm::PointerLikeTypeTraits<llvm::Loop const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
246M
  static inline const T *getFromVoidPointer(const void *P) {
97
246M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
246M
  }
llvm::PointerLikeTypeTraits<std::__1::pair<unsigned long long const, llvm::GlobalValueSummaryInfo> const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
115k
  static inline const T *getFromVoidPointer(const void *P) {
97
115k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
115k
  }
llvm::PointerLikeTypeTraits<llvm::SCEVPredicate const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
2.35k
  static inline const T *getFromVoidPointer(const void *P) {
97
2.35k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
2.35k
  }
llvm::PointerLikeTypeTraits<llvm::MDNode const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
484k
  static inline const T *getFromVoidPointer(const void *P) {
97
484k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
484k
  }
llvm::PointerLikeTypeTraits<llvm::MachineBasicBlock const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
467k
  static inline const T *getFromVoidPointer(const void *P) {
97
467k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
467k
  }
llvm::PointerLikeTypeTraits<llvm::Metadata const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
9.39k
  static inline const T *getFromVoidPointer(const void *P) {
97
9.39k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
9.39k
  }
llvm::PointerLikeTypeTraits<llvm::MemoryPhi const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
21
  static inline const T *getFromVoidPointer(const void *P) {
97
21
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
21
  }
llvm::PointerLikeTypeTraits<clang::ExtQuals const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
1.60M
  static inline const T *getFromVoidPointer(const void *P) {
97
1.60M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
1.60M
  }
llvm::PointerLikeTypeTraits<clang::Type const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
749M
  static inline const T *getFromVoidPointer(const void *P) {
97
749M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
749M
  }
llvm::PointerLikeTypeTraits<clang::ObjCObjectType const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
646
  static inline const T *getFromVoidPointer(const void *P) {
97
646
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
646
  }
llvm::PointerLikeTypeTraits<void const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
28.8M
  static inline const T *getFromVoidPointer(const void *P) {
97
28.8M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
28.8M
  }
llvm::PointerLikeTypeTraits<clang::RawComment const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
10.5k
  static inline const T *getFromVoidPointer(const void *P) {
97
10.5k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
10.5k
  }
llvm::PointerLikeTypeTraits<clang::Decl const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
41.0M
  static inline const T *getFromVoidPointer(const void *P) {
97
41.0M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
41.0M
  }
llvm::PointerLikeTypeTraits<clang::CXXRecordDecl const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
190k
  static inline const T *getFromVoidPointer(const void *P) {
97
190k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
190k
  }
llvm::PointerLikeTypeTraits<clang::ValueDecl const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
53.4M
  static inline const T *getFromVoidPointer(const void *P) {
97
53.4M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
53.4M
  }
llvm::PointerLikeTypeTraits<clang::Expr const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
4.93M
  static inline const T *getFromVoidPointer(const void *P) {
97
4.93M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
4.93M
  }
llvm::PointerLikeTypeTraits<clang::FieldDecl const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
28
  static inline const T *getFromVoidPointer(const void *P) {
97
28
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
28
  }
llvm::PointerLikeTypeTraits<clang::CXXMemberCallExpr const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
54
  static inline const T *getFromVoidPointer(const void *P) {
97
54
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
54
  }
llvm::PointerLikeTypeTraits<clang::CXXDeleteExpr const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
271
  static inline const T *getFromVoidPointer(const void *P) {
97
271
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
271
  }
llvm::PointerLikeTypeTraits<clang::Diagnostic const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
706
  static inline const T *getFromVoidPointer(const void *P) {
97
706
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
706
  }
llvm::PointerLikeTypeTraits<llvm::DISubprogram const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
285
  static inline const T *getFromVoidPointer(const void *P) {
97
285
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
285
  }
llvm::PointerLikeTypeTraits<llvm::DIExpression const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
6
  static inline const T *getFromVoidPointer(const void *P) {
97
6
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
6
  }
llvm::PointerLikeTypeTraits<clang::ProgramPointTag const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
6.24M
  static inline const T *getFromVoidPointer(const void *P) {
97
6.24M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
6.24M
  }
llvm::PointerLikeTypeTraits<clang::LocationContext const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
20.5M
  static inline const T *getFromVoidPointer(const void *P) {
97
20.5M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
20.5M
  }
llvm::PointerLikeTypeTraits<clang::ento::MemRegion const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
3.05M
  static inline const T *getFromVoidPointer(const void *P) {
97
3.05M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
3.05M
  }
llvm::PointerLikeTypeTraits<clang::VarDecl const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
10
  static inline const T *getFromVoidPointer(const void *P) {
97
10
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
10
  }
llvm::PointerLikeTypeTraits<clang::DeclaratorDecl const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
395
  static inline const T *getFromVoidPointer(const void *P) {
97
395
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
395
  }
llvm::PointerLikeTypeTraits<clang::ento::PointerToMemberData const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
63
  static inline const T *getFromVoidPointer(const void *P) {
97
63
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
63
  }
llvm::PointerLikeTypeTraits<clang::PseudoObjectExpr const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
646
  static inline const T *getFromVoidPointer(const void *P) {
97
646
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
646
  }
llvm::PointerLikeTypeTraits<clang::ento::VarRegion const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
161
  static inline const T *getFromVoidPointer(const void *P) {
97
161
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
161
  }
llvm::PointerLikeTypeTraits<clang::StackFrameContext const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
205k
  static inline const T *getFromVoidPointer(const void *P) {
97
205k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
205k
  }
llvm::PointerLikeTypeTraits<clang::AttributedStmt const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
16
  static inline const T *getFromVoidPointer(const void *P) {
97
16
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
16
  }
llvm::PointerLikeTypeTraits<clang::NamedDecl const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
1.65k
  static inline const T *getFromVoidPointer(const void *P) {
97
1.65k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
1.65k
  }
llvm::PointerLikeTypeTraits<clang::Stmt const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
21.8k
  static inline const T *getFromVoidPointer(const void *P) {
97
21.8k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
21.8k
  }
llvm::PointerLikeTypeTraits<clang::TemplateTypeParmType const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
258k
  static inline const T *getFromVoidPointer(const void *P) {
97
258k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
258k
  }
llvm::PointerLikeTypeTraits<clang::BlockDecl const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
2.62k
  static inline const T *getFromVoidPointer(const void *P) {
97
2.62k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
2.62k
  }
llvm::PointerLikeTypeTraits<std::__1::pair<clang::NamedDecl const*, unsigned int> const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
414
  static inline const T *getFromVoidPointer(const void *P) {
97
414
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
414
  }
llvm::PointerLikeTypeTraits<clang::InitializedEntity const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
12.9M
  static inline const T *getFromVoidPointer(const void *P) {
97
12.9M
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
12.9M
  }
llvm::PointerLikeTypeTraits<clang::ObjCMethodDecl const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
186
  static inline const T *getFromVoidPointer(const void *P) {
97
186
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
186
  }
llvm::PointerLikeTypeTraits<clang::threadSafety::til::SExpr const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
386
  static inline const T *getFromVoidPointer(const void *P) {
97
386
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
386
  }
llvm::PointerLikeTypeTraits<clang::CXXMethodDecl const*>::getFromVoidPointer(void const*)
Line
Count
Source
96
668k
  static inline const T *getFromVoidPointer(const void *P) {
97
668k
    return NonConst::getFromVoidPointer(const_cast<void *>(P));
98
668k
  }
99
  enum { NumLowBitsAvailable = NonConst::NumLowBitsAvailable };
100
};
101
102
// Provide PointerLikeTypeTraits for uintptr_t.
103
template <> struct PointerLikeTypeTraits<uintptr_t> {
104
0
  static inline void *getAsVoidPointer(uintptr_t P) {
105
0
    return reinterpret_cast<void *>(P);
106
0
  }
107
0
  static inline uintptr_t getFromVoidPointer(void *P) {
108
0
    return reinterpret_cast<uintptr_t>(P);
109
0
  }
110
  // No bits are available!
111
  enum { NumLowBitsAvailable = 0 };
112
};
113
114
/// Provide suitable custom traits struct for function pointers.
115
///
116
/// Function pointers can't be directly given these traits as functions can't
117
/// have their alignment computed with `alignof` and we need different casting.
118
///
119
/// To rely on higher alignment for a specialized use, you can provide a
120
/// customized form of this template explicitly with higher alignment, and
121
/// potentially use alignment attributes on functions to satisfy that.
122
template <int Alignment, typename FunctionPointerT>
123
struct FunctionPointerLikeTypeTraits {
124
  enum { NumLowBitsAvailable = detail::ConstantLog2<Alignment>::value };
125
  static inline void *getAsVoidPointer(FunctionPointerT P) {
126
    assert((reinterpret_cast<uintptr_t>(P) &
127
            ~((uintptr_t)-1 << NumLowBitsAvailable)) == 0 &&
128
           "Alignment not satisfied for an actual function pointer!");
129
    return reinterpret_cast<void *>(P);
130
  }
131
  static inline FunctionPointerT getFromVoidPointer(void *P) {
132
    return reinterpret_cast<FunctionPointerT>(P);
133
  }
134
};
135
136
/// Provide a default specialization for function pointers that assumes 4-byte
137
/// alignment.
138
///
139
/// We assume here that functions used with this are always at least 4-byte
140
/// aligned. This means that, for example, thumb functions won't work or systems
141
/// with weird unaligned function pointers won't work. But all practical systems
142
/// we support satisfy this requirement.
143
template <typename ReturnT, typename... ParamTs>
144
struct PointerLikeTypeTraits<ReturnT (*)(ParamTs...)>
145
    : FunctionPointerLikeTypeTraits<4, ReturnT (*)(ParamTs...)> {};
146
147
} // end namespace llvm
148
149
#endif