//===- bolt/Passes/ThreeWayBranch.h -----------------------------*- 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 BOLT_PASSES_THREEWAYBRANCH_H #define BOLT_PASSES_THREEWAYBRANCH_H #include "bolt/Passes/BinaryPasses.h" namespace llvm { namespace bolt { /// Pass for optimizing a three way branch namely a single comparison and 2 /// conditional jumps by reordering blocks, replacing successors, and replacing /// jump conditions and destinations class ThreeWayBranch : public BinaryFunctionPass { … }; } // namespace bolt } // namespace llvm #endif