//===-- llvm/CodeGen/PseudoSourceValue.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 // //===----------------------------------------------------------------------===// // // This file contains the declaration of the PseudoSourceValue class. // //===----------------------------------------------------------------------===// #ifndef LLVM_CODEGEN_PSEUDOSOURCEVALUE_H #define LLVM_CODEGEN_PSEUDOSOURCEVALUE_H namespace llvm { class GlobalValue; class MachineFrameInfo; class MachineMemOperand; class MIRFormatter; class PseudoSourceValue; class raw_ostream; class TargetMachine; raw_ostream &operator<<(raw_ostream &OS, const PseudoSourceValue* PSV); /// Special value supplied for machine level alias analysis. It indicates that /// a memory access references the functions stack frame (e.g., a spill slot), /// below the stack frame (e.g., argument space), or constant pool. class PseudoSourceValue { … }; /// A specialized PseudoSourceValue for holding FixedStack values, which must /// include a frame index. class FixedStackPseudoSourceValue : public PseudoSourceValue { … }; class CallEntryPseudoSourceValue : public PseudoSourceValue { … }; /// A specialized pseudo source value for holding GlobalValue values. class GlobalValuePseudoSourceValue : public CallEntryPseudoSourceValue { … }; /// A specialized pseudo source value for holding external symbol values. class ExternalSymbolPseudoSourceValue : public CallEntryPseudoSourceValue { … }; } // end namespace llvm #endif