MLIR 24.0.0git
ROCDLTargetInfo.h File Reference
#include "mlir/IR/Diagnostics.h"
#include "mlir/Support/LLVM.h"
#include "llvm/TargetParser/AMDGPUTargetParser.h"
#include "llvm/TargetParser/Triple.h"
#include <optional>

Go to the source code of this file.

Classes

class  mlir::ROCDL::TargetInfo
 Describes the AMDGPU target a lowering is producing code for: the triple's subarch (which identifies the GPU) together with the resolved set of frontend-visible target features. More...

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::ROCDL

Functions

StringRef mlir::ROCDL::resolveArchOption (StringRef arch, StringRef deprecatedAlias)
 Returns the target architecture that a pass should parse, given its arch option and the value of the deprecated alias that arch replaced.