[CodeGenPrepare] Drop nsw flags in `optimizeLoadExt` (#118180)
[llvm-project.git] / bolt / lib / Passes / StackPointerTracking.cpp
blob0749bf7c78fafda8829e24f42e27043420d41223
1 //===- bolt/Passes/StackPointerTracking.cpp -------------------------------===//
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 implements the StackPointerTracking class.
11 //===----------------------------------------------------------------------===//
13 #include "bolt/Passes/StackPointerTracking.h"
15 namespace llvm {
16 namespace bolt {
18 StackPointerTracking::StackPointerTracking(
19 BinaryFunction &BF, MCPlusBuilder::AllocatorIdTy AllocatorId)
20 : StackPointerTrackingBase<StackPointerTracking>(BF, AllocatorId) {}
22 } // end namespace bolt
23 } // end namespace llvm
25 llvm::raw_ostream &llvm::operator<<(llvm::raw_ostream &OS,
26 const std::pair<int, int> &Val) {
27 OS << Val.first << ", " << Val.second;
28 return OS;