//===-------- llvm/GlobalAlias.h - GlobalAlias class ------------*- 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 // //===----------------------------------------------------------------------===// // // This file contains the declaration of the GlobalAlias class, which // represents a single function or variable alias in the IR. // //===----------------------------------------------------------------------===// #ifndef LLVM_IR_GLOBALALIAS_H #define LLVM_IR_GLOBALALIAS_H #include "llvm/ADT/ilist_node.h" #include "llvm/IR/GlobalValue.h" #include "llvm/IR/OperandTraits.h" #include "llvm/IR/Value.h" namespace llvm { class Twine; class Module; template <typename ValueSubClass, typename... Args> class SymbolTableListTraits; class GlobalAlias : public GlobalValue, public ilist_node<GlobalAlias> { … }; template <> struct OperandTraits<GlobalAlias> : public FixedNumOperandTraits<GlobalAlias, 1> { … }; DEFINE_TRANSPARENT_OPERAND_ACCESSORS(…) } // end namespace llvm #endif // LLVM_IR_GLOBALALIAS_H