#ifndef LLVM_LIB_TARGET_NVPTX_NVPTX_H
#define LLVM_LIB_TARGET_NVPTX_NVPTX_H
#include "llvm/IR/PassManager.h"
#include "llvm/Pass.h"
#include "llvm/Support/AtomicOrdering.h"
#include "llvm/Support/CodeGen.h"
namespace llvm {
class FunctionPass;
class MachineFunctionPass;
class NVPTXTargetMachine;
class PassRegistry;
namespace NVPTXCC {
enum CondCodes { … };
}
FunctionPass *createNVPTXISelDag(NVPTXTargetMachine &TM,
llvm::CodeGenOptLevel OptLevel);
ModulePass *createNVPTXAssignValidGlobalNamesPass();
ModulePass *createGenericToNVVMLegacyPass();
ModulePass *createNVPTXCtorDtorLoweringLegacyPass();
FunctionPass *createNVVMIntrRangePass();
FunctionPass *createNVVMReflectPass(unsigned int SmVersion);
MachineFunctionPass *createNVPTXPrologEpilogPass();
MachineFunctionPass *createNVPTXReplaceImageHandlesPass();
FunctionPass *createNVPTXImageOptimizerPass();
FunctionPass *createNVPTXLowerArgsPass();
FunctionPass *createNVPTXLowerAllocaPass();
FunctionPass *createNVPTXLowerUnreachablePass(bool TrapUnreachable,
bool NoTrapAfterNoreturn);
MachineFunctionPass *createNVPTXPeephole();
MachineFunctionPass *createNVPTXProxyRegErasurePass();
struct NVVMIntrRangePass : PassInfoMixin<NVVMIntrRangePass> { … };
struct NVVMReflectPass : PassInfoMixin<NVVMReflectPass> { … };
struct GenericToNVVMPass : PassInfoMixin<GenericToNVVMPass> { … };
namespace NVPTX {
enum DrvInterface { … };
enum VecInstType { … };
enum SimpleMove { … };
enum LoadStore { … };
OrderingUnderlyingType;
enum Ordering : OrderingUnderlyingType { … };
ScopeUnderlyingType;
enum Scope : ScopeUnderlyingType { … };
AddressSpaceUnderlyingType;
enum AddressSpace : AddressSpaceUnderlyingType { … };
namespace PTXLdStInstCode {
enum FromType { … };
enum VecType { … };
}
namespace PTXCvtMode {
enum CvtMode { … };
}
namespace PTXCmpMode {
enum CmpMode { … };
}
namespace PTXPrmtMode {
enum PrmtMode { … };
}
}
void initializeNVPTXDAGToDAGISelLegacyPass(PassRegistry &);
}
#define GET_REGINFO_ENUM
#include "NVPTXGenRegisterInfo.inc"
#define GET_INSTRINFO_ENUM
#define GET_INSTRINFO_MC_HELPER_DECLS
#include "NVPTXGenInstrInfo.inc"
#endif