LLVM 19.0.0git
SPIRV.h
Go to the documentation of this file.
1//===-- SPIRV.h - Top-level interface for SPIR-V representation -*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_LIB_TARGET_SPIRV_SPIRV_H
10#define LLVM_LIB_TARGET_SPIRV_SPIRV_H
11
15
16namespace llvm {
17class SPIRVTargetMachine;
18class SPIRVSubtarget;
19class InstructionSelector;
20class RegisterBankInfo;
21
22ModulePass *createSPIRVPrepareFunctionsPass(const SPIRVTargetMachine &TM);
29 const SPIRVSubtarget &Subtarget,
30 const RegisterBankInfo &RBI);
31
36} // namespace llvm
37
38#endif // LLVM_LIB_TARGET_SPIRV_SPIRV_H
const char LLVMTargetMachineRef TM
FunctionPass class - This class is used to implement most global optimizations.
Definition: Pass.h:311
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition: PassRegistry.h:37
Holds all the information related to register banks.
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
void initializeSPIRVEmitIntrinsicsPass(PassRegistry &)
FunctionPass * createSPIRVPreLegalizerPass()
FunctionPass * createSPIRVStripConvergenceIntrinsicsPass()
FunctionPass * createSPIRVEmitIntrinsicsPass(SPIRVTargetMachine *TM)
void initializeSPIRVModuleAnalysisPass(PassRegistry &)
InstructionSelector * createSPIRVInstructionSelector(const SPIRVTargetMachine &TM, const SPIRVSubtarget &Subtarget, const RegisterBankInfo &RBI)
FunctionPass * createSPIRVRegularizerPass()
void initializeSPIRVPreLegalizerPass(PassRegistry &)
void initializeSPIRVConvergenceRegionAnalysisWrapperPassPass(PassRegistry &)
ModulePass * createSPIRVPrepareFunctionsPass(const SPIRVTargetMachine &TM)