Coverage Report

Created: 2019-07-24 05:18

/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
16.0M
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
AArch64FrameLowering.cpp:llvm::detail::scope_exit<llvm::AArch64FrameLowering::emitPrologue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>::scope_exit<llvm::AArch64FrameLowering::emitPrologue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>(llvm::AArch64FrameLowering::emitPrologue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0&&)
Line
Count
Source
31
257k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
AArch64FrameLowering.cpp:llvm::detail::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_1>::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_1>(llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_1&&)
Line
Count
Source
31
365k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
AArch64FrameLowering.cpp:llvm::detail::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_2>::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_2>(llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_2&&)
Line
Count
Source
31
365k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
X86FlagsCopyLowering.cpp:llvm::detail::scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_2>::scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_2>((anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_2&&)
Line
Count
Source
31
80
  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
24.4k
  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)::$_25>::scope_exit<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_25>(llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_25&&)
Line
Count
Source
31
9.31M
  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)::$_26>::scope_exit<llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_26>(llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_26&&)
Line
Count
Source
31
2.62M
  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
39
  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.55M
  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.24k
  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.61k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
IRTranslator.cpp:llvm::detail::scope_exit<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_3>::scope_exit<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_3>(llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_3&&)
Line
Count
Source
31
237k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
ASTImporter.cpp:llvm::detail::scope_exit<clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*, clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind)::$_1>::scope_exit<clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*, clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind)::$_1&>(clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*, clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind)::$_1&&&)
Line
Count
Source
31
1.01k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
ASTImporter.cpp:llvm::detail::scope_exit<clang::ASTImporter::Import(clang::Decl*)::$_2>::scope_exit<clang::ASTImporter::Import(clang::Decl*)::$_2>(clang::ASTImporter::Import(clang::Decl*)::$_2&&)
Line
Count
Source
31
25.4k
  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::emitPrologue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>::release()
Unexecuted instantiation: AArch64FrameLowering.cpp:llvm::detail::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_1>::release()
Unexecuted instantiation: AArch64FrameLowering.cpp:llvm::detail::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_2>::release()
Unexecuted instantiation: X86FlagsCopyLowering.cpp:llvm::detail::scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_2>::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)::$_25>::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)::$_26>::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&)::$_3>::release()
Unexecuted instantiation: ASTImporter.cpp:llvm::detail::scope_exit<clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*, clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind)::$_1>::release()
Unexecuted instantiation: ASTImporter.cpp:llvm::detail::scope_exit<clang::ASTImporter::Import(clang::Decl*)::$_2>::release()
42
43
16.0M
  ~scope_exit() {
44
16.0M
    if (Engaged)
45
16.0M
      ExitFunction();
46
16.0M
  }
AArch64FrameLowering.cpp:llvm::detail::scope_exit<llvm::AArch64FrameLowering::emitPrologue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>::~scope_exit()
Line
Count
Source
43
257k
  ~scope_exit() {
44
257k
    if (Engaged)
45
257k
      ExitFunction();
46
257k
  }
AArch64FrameLowering.cpp:llvm::detail::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_1>::~scope_exit()
Line
Count
Source
43
365k
  ~scope_exit() {
44
365k
    if (Engaged)
45
365k
      ExitFunction();
46
365k
  }
AArch64FrameLowering.cpp:llvm::detail::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_2>::~scope_exit()
Line
Count
Source
43
365k
  ~scope_exit() {
44
365k
    if (Engaged)
45
365k
      ExitFunction();
46
365k
  }
X86FlagsCopyLowering.cpp:llvm::detail::scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_2>::~scope_exit()
Line
Count
Source
43
80
  ~scope_exit() {
44
80
    if (Engaged)
45
80
      ExitFunction();
46
80
  }
LoopInfo.cpp:llvm::detail::scope_exit<llvm::LoopInfo::erase(llvm::Loop*)::$_4>::~scope_exit()
Line
Count
Source
43
24.4k
  ~scope_exit() {
44
24.4k
    if (Engaged)
45
24.4k
      ExitFunction();
46
24.4k
  }
ScalarEvolution.cpp:llvm::detail::scope_exit<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_25>::~scope_exit()
Line
Count
Source
43
9.31M
  ~scope_exit() {
44
9.31M
    if (Engaged)
45
9.31M
      ExitFunction();
46
9.31M
  }
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)::$_26>::~scope_exit()
Line
Count
Source
43
2.62M
  ~scope_exit() {
44
2.62M
    if (Engaged)
45
2.62M
      ExitFunction();
46
2.62M
  }
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
39
  ~scope_exit() {
44
39
    if (Engaged)
45
39
      ExitFunction();
46
39
  }
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.55M
  ~scope_exit() {
44
2.55M
    if (Engaged)
45
2.55M
      ExitFunction();
46
2.55M
  }
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.24k
  ~scope_exit() {
44
6.24k
    if (Engaged)
45
6.24k
      ExitFunction();
46
6.24k
  }
ASTWriter.cpp:llvm::detail::scope_exit<clang::ASTWriter::WriteComments()::$_4>::~scope_exit()
Line
Count
Source
43
3.61k
  ~scope_exit() {
44
3.61k
    if (Engaged)
45
3.61k
      ExitFunction();
46
3.61k
  }
IRTranslator.cpp:llvm::detail::scope_exit<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_3>::~scope_exit()
Line
Count
Source
43
237k
  ~scope_exit() {
44
237k
    if (Engaged)
45
237k
      ExitFunction();
46
237k
  }
ASTImporter.cpp:llvm::detail::scope_exit<clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*, clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind)::$_1>::~scope_exit()
Line
Count
Source
43
1.01k
  ~scope_exit() {
44
1.01k
    if (Engaged)
45
1.01k
      ExitFunction();
46
1.01k
  }
ASTImporter.cpp:llvm::detail::scope_exit<clang::ASTImporter::Import(clang::Decl*)::$_2>::~scope_exit()
Line
Count
Source
43
25.4k
  ~scope_exit() {
44
25.4k
    if (Engaged)
45
25.4k
      ExitFunction();
46
25.4k
  }
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
16.0M
make_scope_exit(Callable &&F) {
59
16.0M
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
16.0M
      std::forward<Callable>(F));
61
16.0M
}
AArch64FrameLowering.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::AArch64FrameLowering::emitPrologue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>::type> llvm::make_scope_exit<llvm::AArch64FrameLowering::emitPrologue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>(llvm::AArch64FrameLowering::emitPrologue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0&&)
Line
Count
Source
58
257k
make_scope_exit(Callable &&F) {
59
257k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
257k
      std::forward<Callable>(F));
61
257k
}
AArch64FrameLowering.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_1>::type> llvm::make_scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_1>(llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_1&&)
Line
Count
Source
58
365k
make_scope_exit(Callable &&F) {
59
365k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
365k
      std::forward<Callable>(F));
61
365k
}
AArch64FrameLowering.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_2>::type> llvm::make_scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_2>(llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_2&&)
Line
Count
Source
58
365k
make_scope_exit(Callable &&F) {
59
365k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
365k
      std::forward<Callable>(F));
61
365k
}
X86FlagsCopyLowering.cpp:llvm::detail::scope_exit<std::__1::decay<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_2>::type> llvm::make_scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_2>((anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_2&&)
Line
Count
Source
58
80
make_scope_exit(Callable &&F) {
59
80
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
80
      std::forward<Callable>(F));
61
80
}
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
24.4k
make_scope_exit(Callable &&F) {
59
24.4k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
24.4k
      std::forward<Callable>(F));
61
24.4k
}
ScalarEvolution.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_25>::type> llvm::make_scope_exit<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_25>(llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_25&&)
Line
Count
Source
58
9.31M
make_scope_exit(Callable &&F) {
59
9.31M
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
9.31M
      std::forward<Callable>(F));
61
9.31M
}
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)::$_26>::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)::$_26>(llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_26&&)
Line
Count
Source
58
2.62M
make_scope_exit(Callable &&F) {
59
2.62M
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
2.62M
      std::forward<Callable>(F));
61
2.62M
}
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
39
make_scope_exit(Callable &&F) {
59
39
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
39
      std::forward<Callable>(F));
61
39
}
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.55M
make_scope_exit(Callable &&F) {
59
2.55M
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
2.55M
      std::forward<Callable>(F));
61
2.55M
}
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.24k
make_scope_exit(Callable &&F) {
59
6.24k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
6.24k
      std::forward<Callable>(F));
61
6.24k
}
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.61k
make_scope_exit(Callable &&F) {
59
3.61k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
3.61k
      std::forward<Callable>(F));
61
3.61k
}
IRTranslator.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_3>::type> llvm::make_scope_exit<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_3>(llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_3&&)
Line
Count
Source
58
237k
make_scope_exit(Callable &&F) {
59
237k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
237k
      std::forward<Callable>(F));
61
237k
}
ASTImporter.cpp:llvm::detail::scope_exit<std::__1::decay<clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*, clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind)::$_1&>::type> llvm::make_scope_exit<clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*, clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind)::$_1&>(clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*, clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind)::$_1&&&)
Line
Count
Source
58
1.01k
make_scope_exit(Callable &&F) {
59
1.01k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
1.01k
      std::forward<Callable>(F));
61
1.01k
}
ASTImporter.cpp:llvm::detail::scope_exit<std::__1::decay<clang::ASTImporter::Import(clang::Decl*)::$_2>::type> llvm::make_scope_exit<clang::ASTImporter::Import(clang::Decl*)::$_2>(clang::ASTImporter::Import(clang::Decl*)::$_2&&)
Line
Count
Source
58
25.4k
make_scope_exit(Callable &&F) {
59
25.4k
  return detail::scope_exit<typename std::decay<Callable>::type>(
60
25.4k
      std::forward<Callable>(F));
61
25.4k
}
62
63
} // end namespace llvm
64
65
#endif