MLIR  22.0.0git
Namespaces | Macros | Functions
TargetUtils.cpp File Reference
#include "mlir/Target/LLVMIR/Transforms/Passes.h"
#include "mlir/Dialect/DLTI/DLTI.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Target/LLVMIR/Import.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/DebugLog.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Target/TargetMachine.h"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::LLVM
 
 mlir::LLVM::detail
 

Macros

#define DEBUG_TYPE   "mlir-llvm-target-utils"
 

Functions

void mlir::LLVM::detail::initializeBackendsOnce ()
 Idempotent helper to register/initialize all backends that LLVM has been configured to support. More...
 
FailureOr< std::unique_ptr< llvm::TargetMachine > > mlir::LLVM::detail::getTargetMachine (mlir::LLVM::TargetAttrInterface attr)
 Helper to obtain the TargetMachine specified by the properties of the TargetAttrInterface-implementing attribute. More...
 
FailureOr< llvm::DataLayout > mlir::LLVM::detail::getDataLayout (mlir::LLVM::TargetAttrInterface attr)
 Helper to obtain the DataLayout of the target specified by the properties of the TargetAttrInterface-implementing attribute. More...
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "mlir-llvm-target-utils"

Definition at line 20 of file TargetUtils.cpp.