//===- lib/Support/IntervalMap.cpp - A sorted interval map ----------------===// // // 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 // //===----------------------------------------------------------------------===// // // This file implements the few non-templated functions in IntervalMap. // //===----------------------------------------------------------------------===// #include "llvm/ADT/IntervalMap.h" #include <cassert> namespace llvm { namespace IntervalMapImpl { void Path::replaceRoot(void *Root, unsigned Size, IdxPair Offsets) { … } NodeRef Path::getLeftSibling(unsigned Level) const { … } void Path::moveLeft(unsigned Level) { … } NodeRef Path::getRightSibling(unsigned Level) const { … } void Path::moveRight(unsigned Level) { … } IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, const unsigned *CurSize, unsigned NewSize[], unsigned Position, bool Grow) { … } } // namespace IntervalMapImpl } // namespace llvm