//===- AMDGPUAliasAnalysis --------------------------------------*- 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 // //===----------------------------------------------------------------------===// /// \file /// This is the AMGPU address space based alias analysis pass. //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUALIASANALYSIS_H #define LLVM_LIB_TARGET_AMDGPU_AMDGPUALIASANALYSIS_H #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/IR/Module.h" namespace llvm { class DataLayout; class MemoryLocation; /// A simple AA result that uses TBAA metadata to answer queries. class AMDGPUAAResult : public AAResultBase { … }; /// Analysis pass providing a never-invalidated alias analysis result. class AMDGPUAA : public AnalysisInfoMixin<AMDGPUAA> { … }; /// Legacy wrapper pass to provide the AMDGPUAAResult object. class AMDGPUAAWrapperPass : public ImmutablePass { … }; // Wrapper around ExternalAAWrapperPass so that the default constructor gets the // callback. class AMDGPUExternalAAWrapper : public ExternalAAWrapperPass { … }; } // end namespace llvm #endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUALIASANALYSIS_H