//===-- NVPTXTargetMachine.h - Define TargetMachine for NVPTX ---*- 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 declares the NVPTX specific subclass of TargetMachine. // //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXTARGETMACHINE_H #define LLVM_LIB_TARGET_NVPTX_NVPTXTARGETMACHINE_H #include "NVPTXSubtarget.h" #include "llvm/Target/TargetMachine.h" #include <optional> #include <utility> namespace llvm { /// NVPTXTargetMachine /// class NVPTXTargetMachine : public LLVMTargetMachine { … }; // NVPTXTargetMachine. class NVPTXTargetMachine32 : public NVPTXTargetMachine { … }; class NVPTXTargetMachine64 : public NVPTXTargetMachine { … }; } // end namespace llvm #endif