Coverage Report

Created: 2019-03-22 08:08

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/include/llvm/ADT/ScopeExit.h
Line
Count
Source (jump to first uncovered line)
1
//===- llvm/ADT/ScopeExit.h - Execute code at scope exit --------*- 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 make_scope_exit function, which executes user-defined
10
// cleanup logic at scope exit.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_ADT_SCOPE_EXIT_H
15
#define LLVM_ADT_SCOPE_EXIT_H
16
17
#include "llvm/Support/Compiler.h"
18
19
#include <type_traits>
20
#include <utility>
21
22
namespace llvm {
23
namespace detail {
24
25
template <typename Callable> class scope_exit {
26
  Callable ExitFunction;
27
  bool Engaged = true; // False once moved-from or release()d.
28
29
public:
30
  template <typename Fp>
31
12.7M
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
AArch64FrameLowering.cpp:llvm::detail::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>(llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0&&)
Line
Count
Source
31
364k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
X86FlagsCopyLowering.cpp:llvm::detail::scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1>::scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1>((anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1&&)
Line
Count
Source
31
78
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
LoopInfo.cpp:llvm::detail::scope_exit<llvm::LoopInfo::erase(llvm::Loop*)::$_4>::scope_exit<llvm::LoopInfo::erase(llvm::Loop*)::$_4>(llvm::LoopInfo::erase(llvm::Loop*)::$_4&&)
Line
Count
Source
31
27.0k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
ScalarEvolution.cpp:llvm::detail::scope_exit<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_23>::scope_exit<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_23>(llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_23&&)
Line
Count
Source
31
6.55M
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
ScalarEvolution.cpp:llvm::detail::scope_exit<llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_24>::scope_exit<llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_24>(llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_24&&)
Line
Count
Source
31
2.75M
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
IfConversion.cpp:llvm::detail::scope_exit<(anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0>::scope_exit<(anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0>((anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0&&)
Line
Count
Source
31
42
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
ResetMachineFunctionPass.cpp:llvm::detail::scope_exit<(anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()>::scope_exit<(anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()>((anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()&&)
Line
Count
Source
31
236k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
LoopUtils.cpp:llvm::detail::scope_exit<llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, llvm::MemorySSAUpdater*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()>::scope_exit<llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, llvm::MemorySSAUpdater*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()>(llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, llvm::MemorySSAUpdater*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()&&)
Line
Count
Source
31
2.54M
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
CGCoroutine.cpp:llvm::detail::scope_exit<emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0>::scope_exit<emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0>(emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0&&)
Line
Count
Source
31
103
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
ASTReader.cpp:llvm::detail::scope_exit<clang::ASTReader::ReadASTCore(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, clang::serialization::ModuleFile*, llvm::SmallVectorImpl<clang::ASTReader::ImportedModule>&, long long, long, clang::ASTFileSignature, unsigned int)::$_4>::scope_exit<clang::ASTReader::ReadASTCore(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, clang::serialization::ModuleFile*, llvm::SmallVectorImpl<clang::ASTReader::ImportedModule>&, long long, long, clang::ASTFileSignature, unsigned int)::$_4>(clang::ASTReader::ReadASTCore(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, clang::serialization::ModuleFile*, llvm::SmallVectorImpl<clang::ASTReader::ImportedModule>&, long long, long, clang::ASTFileSignature, unsigned int)::$_4&&)
Line
Count
Source
31
6.13k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
ASTWriter.cpp:llvm::detail::scope_exit<clang::ASTWriter::WriteComments()::$_4>::scope_exit<clang::ASTWriter::WriteComments()::$_4>(clang::ASTWriter::WriteComments()::$_4&&)
Line
Count
Source
31
3.53k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
IRTranslator.cpp:llvm::detail::scope_exit<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2>::scope_exit<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2>(llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2&&)
Line
Count
Source
31
236k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
32
33
  scope_exit(scope_exit &&Rhs)
34
      : ExitFunction(std::move(Rhs.ExitFunction)), Engaged(Rhs.Engaged) {
35
    Rhs.release();
36
  }
37
  scope_exit(const scope_exit &) = delete;
38
  scope_exit &operator=(scope_exit &&) = delete;
39
  scope_exit &operator=(const scope_exit &) = delete;
40
41
0
  void release() { Engaged = false; }
Unexecuted instantiation: AArch64FrameLowering.cpp:llvm::detail::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>::release()
Unexecuted instantiation: X86FlagsCopyLowering.cpp:llvm::detail::scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1>::release()
Unexecuted instantiation: LoopInfo.cpp:llvm::detail::scope_exit<llvm::LoopInfo::erase(llvm::Loop*)::$_4>::release()
Unexecuted instantiation: ScalarEvolution.cpp:llvm::detail::scope_exit<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_23>::release()
Unexecuted instantiation: ScalarEvolution.cpp:llvm::detail::scope_exit<llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_24>::release()
Unexecuted instantiation: IfConversion.cpp:llvm::detail::scope_exit<(anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0>::release()
Unexecuted instantiation: ResetMachineFunctionPass.cpp:llvm::detail::scope_exit<(anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()>::release()
Unexecuted instantiation: LoopUtils.cpp:llvm::detail::scope_exit<llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, llvm::MemorySSAUpdater*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()>::release()
Unexecuted instantiation: CGCoroutine.cpp:llvm::detail::scope_exit<emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0>::release()
Unexecuted instantiation: ASTReader.cpp:llvm::detail::scope_exit<clang::ASTReader::ReadASTCore(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, clang::serialization::ModuleFile*, llvm::SmallVectorImpl<clang::ASTReader::ImportedModule>&, long long, long, clang::ASTFileSignature, unsigned int)::$_4>::release()
Unexecuted instantiation: ASTWriter.cpp:llvm::detail::scope_exit<clang::ASTWriter::WriteComments()::$_4>::release()
Unexecuted instantiation: IRTranslator.cpp:llvm::detail::scope_exit<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2>::release()
42
43
12.7M
  ~scope_exit() {
44
12.7M
    if (Engaged)
45
12.7M
      ExitFunction();
46
12.7M
  }
AArch64FrameLowering.cpp:llvm::detail::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>::~scope_exit()
Line
Count
Source
43
364k
  ~scope_exit() {
44
364k
    if (Engaged)
45
364k
      ExitFunction();
46
364k
  }
X86FlagsCopyLowering.cpp:llvm::detail::scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1>::~scope_exit()
Line
Count
Source
43
78
  ~scope_exit() {
44
78
    if (Engaged)
45
78
      ExitFunction();
46
78
  }
LoopInfo.cpp:llvm::detail::scope_exit<llvm::LoopInfo::erase(llvm::Loop*)::$_4>::~scope_exit()
Line
Count
Source
43
27.0k
  ~scope_exit() {
44
27.0k
    if (Engaged)
45
27.0k
      ExitFunction();
46
27.0k
  }
ScalarEvolution.cpp:llvm::detail::scope_exit<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_23>::~scope_exit()
Line
Count
Source
43
6.55M
  ~scope_exit() {
44
6.55M
    if (Engaged)
45
6.55M
      ExitFunction();
46
6.55M
  }
ScalarEvolution.cpp:llvm::detail::scope_exit<llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_24>::~scope_exit()
Line
Count
Source
43
2.75M
  ~scope_exit() {
44
2.75M
    if (Engaged)
45
2.75M
      ExitFunction();
46
2.75M
  }
IfConversion.cpp:llvm::detail::scope_exit<(anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0>::~scope_exit()
Line
Count
Source
43
42
  ~scope_exit() {
44
42
    if (Engaged)
45
42
      ExitFunction();
46
42
  }
ResetMachineFunctionPass.cpp:llvm::detail::scope_exit<(anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()>::~scope_exit()
Line
Count
Source
43
236k
  ~scope_exit() {
44
236k
    if (Engaged)
45
236k
      ExitFunction();
46
236k
  }
LoopUtils.cpp:llvm::detail::scope_exit<llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, llvm::MemorySSAUpdater*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()>::~scope_exit()
Line
Count
Source
43
2.54M
  ~scope_exit() {
44
2.54M
    if (Engaged)
45
2.54M
      ExitFunction();
46
2.54M
  }
CGCoroutine.cpp:llvm::detail::scope_exit<emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0>::~scope_exit()
Line
Count
Source
43
103
  ~scope_exit() {
44
103
    if (Engaged)
45
103
      ExitFunction();
46
103
  }
ASTReader.cpp:llvm::detail::scope_exit<clang::ASTReader::ReadASTCore(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, clang::serialization::ModuleFile*, llvm::SmallVectorImpl<clang::ASTReader::ImportedModule>&, long long, long, clang::ASTFileSignature, unsigned int)::$_4>::~scope_exit()
Line
Count
Source
43
6.13k
  ~scope_exit() {
44
6.13k
    if (Engaged)
45
6.13k
      ExitFunction();
46
6.13k
  }
ASTWriter.cpp:llvm::detail::scope_exit<clang::ASTWriter::WriteComments()::$_4>::~scope_exit()
Line
Count
Source
43
3.53k
  ~scope_exit() {
44
3.53k
    if (Engaged)
45
3.53k
      ExitFunction();
46
3.53k
  }
IRTranslator.cpp:llvm::detail::scope_exit<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2>::~scope_exit()
Line
Count
Source
43
236k
  ~scope_exit() {
44
236k
    if (Engaged)
45
236k
      ExitFunction();
46
236k
  }
47
};
48
49
} // end namespace detail
50
51
// Keeps the callable object that is passed in, and execute it at the
52
// destruction of the returned object (usually at the scope exit where the
53
// returned object is kept).
54
//
55
// Interface is specified by p0052r2.
56
template <typename Callable>
57
LLVM_NODISCARD detail::scope_exit<typename std::decay<Callable>::type>
58
12.7M
make_scope_exit(Callable &&F) {
59
12.7M
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
12.7M
      std::forward<Callable>(F));
61
12.7M
}
AArch64FrameLowering.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>::type> llvm::make_scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>(llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0&&)
Line
Count
Source
58
364k
make_scope_exit(Callable &&F) {
59
364k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
364k
      std::forward<Callable>(F));
61
364k
}
X86FlagsCopyLowering.cpp:llvm::detail::scope_exit<std::__1::decay<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1>::type> llvm::make_scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1>((anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1&&)
Line
Count
Source
58
78
make_scope_exit(Callable &&F) {
59
78
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
78
      std::forward<Callable>(F));
61
78
}
LoopInfo.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::LoopInfo::erase(llvm::Loop*)::$_4>::type> llvm::make_scope_exit<llvm::LoopInfo::erase(llvm::Loop*)::$_4>(llvm::LoopInfo::erase(llvm::Loop*)::$_4&&)
Line
Count
Source
58
27.0k
make_scope_exit(Callable &&F) {
59
27.0k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
27.0k
      std::forward<Callable>(F));
61
27.0k
}
ScalarEvolution.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_23>::type> llvm::make_scope_exit<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_23>(llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_23&&)
Line
Count
Source
58
6.55M
make_scope_exit(Callable &&F) {
59
6.55M
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
6.55M
      std::forward<Callable>(F));
61
6.55M
}
ScalarEvolution.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_24>::type> llvm::make_scope_exit<llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_24>(llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_24&&)
Line
Count
Source
58
2.75M
make_scope_exit(Callable &&F) {
59
2.75M
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
2.75M
      std::forward<Callable>(F));
61
2.75M
}
IfConversion.cpp:llvm::detail::scope_exit<std::__1::decay<(anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0>::type> llvm::make_scope_exit<(anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0>((anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0&&)
Line
Count
Source
58
42
make_scope_exit(Callable &&F) {
59
42
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
42
      std::forward<Callable>(F));
61
42
}
ResetMachineFunctionPass.cpp:llvm::detail::scope_exit<std::__1::decay<(anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()>::type> llvm::make_scope_exit<(anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()>((anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()&&)
Line
Count
Source
58
236k
make_scope_exit(Callable &&F) {
59
236k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
236k
      std::forward<Callable>(F));
61
236k
}
LoopUtils.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, llvm::MemorySSAUpdater*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()>::type> llvm::make_scope_exit<llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, llvm::MemorySSAUpdater*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()>(llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, llvm::MemorySSAUpdater*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()&&)
Line
Count
Source
58
2.54M
make_scope_exit(Callable &&F) {
59
2.54M
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
2.54M
      std::forward<Callable>(F));
61
2.54M
}
CGCoroutine.cpp:llvm::detail::scope_exit<std::__1::decay<emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0>::type> llvm::make_scope_exit<emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0>(emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0&&)
Line
Count
Source
58
103
make_scope_exit(Callable &&F) {
59
103
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
103
      std::forward<Callable>(F));
61
103
}
ASTReader.cpp:llvm::detail::scope_exit<std::__1::decay<clang::ASTReader::ReadASTCore(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, clang::serialization::ModuleFile*, llvm::SmallVectorImpl<clang::ASTReader::ImportedModule>&, long long, long, clang::ASTFileSignature, unsigned int)::$_4>::type> llvm::make_scope_exit<clang::ASTReader::ReadASTCore(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, clang::serialization::ModuleFile*, llvm::SmallVectorImpl<clang::ASTReader::ImportedModule>&, long long, long, clang::ASTFileSignature, unsigned int)::$_4>(clang::ASTReader::ReadASTCore(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, clang::serialization::ModuleFile*, llvm::SmallVectorImpl<clang::ASTReader::ImportedModule>&, long long, long, clang::ASTFileSignature, unsigned int)::$_4&&)
Line
Count
Source
58
6.13k
make_scope_exit(Callable &&F) {
59
6.13k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
6.13k
      std::forward<Callable>(F));
61
6.13k
}
ASTWriter.cpp:llvm::detail::scope_exit<std::__1::decay<clang::ASTWriter::WriteComments()::$_4>::type> llvm::make_scope_exit<clang::ASTWriter::WriteComments()::$_4>(clang::ASTWriter::WriteComments()::$_4&&)
Line
Count
Source
58
3.53k
make_scope_exit(Callable &&F) {
59
3.53k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
3.53k
      std::forward<Callable>(F));
61
3.53k
}
IRTranslator.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2>::type> llvm::make_scope_exit<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2>(llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2&&)
Line
Count
Source
58
236k
make_scope_exit(Callable &&F) {
59
236k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
236k
      std::forward<Callable>(F));
61
236k
}
62
63
} // end namespace llvm
64
65
#endif