|
clang 23.0.0git
|
Implementation of the dialect interface that converts CIR attributes to LLVM IR metadata. More...
Public Member Functions | |
| mlir::LogicalResult | convertOperation (mlir::Operation *op, llvm::IRBuilderBase &builder, mlir::LLVM::ModuleTranslation &moduleTranslation) const final |
| Translates the given operation to LLVM IR using the provided IR builder and saving the state in moduleTranslation. | |
| virtual mlir::LogicalResult | amendOperation (mlir::Operation *op, llvm::ArrayRef< llvm::Instruction * > instructions, mlir::NamedAttribute attribute, mlir::LLVM::ModuleTranslation &moduleTranslation) const override |
| Any named attribute in the CIR dialect, i.e, with name started with "cir.", will be handled here. | |
Implementation of the dialect interface that converts CIR attributes to LLVM IR metadata.
Definition at line 30 of file LowerToLLVMIR.cpp.
|
inlineoverridevirtual |
Any named attribute in the CIR dialect, i.e, with name started with "cir.", will be handled here.
Definition at line 51 of file LowerToLLVMIR.cpp.
|
inlinefinal |
Translates the given operation to LLVM IR using the provided IR builder and saving the state in moduleTranslation.
Definition at line 37 of file LowerToLLVMIR.cpp.