//===-- Analysis/EHUtils.h - Exception handling related utils --*-//C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // #ifndef LLVM_ANALYSIS_EHUTILS_H #define LLVM_ANALYSIS_EHUTILS_H #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseSet.h" namespace llvm { /// Compute a list of blocks that are only reachable via EH paths. template <typename FunctionT, typename BlockT> static void computeEHOnlyBlocks(FunctionT &F, DenseSet<BlockT *> &EHBlocks) { … } } // namespace llvm #endif