MLIR
20.0.0git
|
Functions | |
void | populateControlFlowToLLVMConversionPatterns (const LLVMTypeConverter &converter, RewritePatternSet &patterns) |
Collect the patterns to convert from the ControlFlow dialect to LLVM. More... | |
void | populateAssertToLLVMConversionPattern (const LLVMTypeConverter &converter, RewritePatternSet &patterns, bool abortOnFailure=true) |
Populate the cf.assert to LLVM conversion pattern. More... | |
void | registerConvertControlFlowToLLVMInterface (DialectRegistry ®istry) |
void | populateControlFlowToSPIRVPatterns (const SPIRVTypeConverter &typeConverter, RewritePatternSet &patterns) |
Appends to a pattern list additional patterns for translating ControlFLow ops to SPIR-V ops. More... | |
void | registerBufferDeallocationOpInterfaceExternalModels (DialectRegistry ®istry) |
void | registerBufferizableOpInterfaceExternalModels (DialectRegistry ®istry) |
void mlir::cf::populateAssertToLLVMConversionPattern | ( | const LLVMTypeConverter & | converter, |
RewritePatternSet & | patterns, | ||
bool | abortOnFailure = true |
||
) |
Populate the cf.assert to LLVM conversion pattern.
If abortOnFailure
is set to false, the program execution continues when a condition is unsatisfied.
Definition at line 224 of file ControlFlowToLLVM.cpp.
References mlir::patterns.
void mlir::cf::populateControlFlowToLLVMConversionPatterns | ( | const LLVMTypeConverter & | converter, |
RewritePatternSet & | patterns | ||
) |
Collect the patterns to convert from the ControlFlow dialect to LLVM.
The conversion patterns capture the LLVMTypeConverter by reference meaning the references have to remain alive during the entire pattern lifetime.
Note: This function does not populate the default cf.assert lowering. That is because some platforms have a custom cf.assert lowering. The default lowering can be populated with populateAssertToLLVMConversionPattern
.
Definition at line 214 of file ControlFlowToLLVM.cpp.
References mlir::patterns.
void mlir::cf::populateControlFlowToSPIRVPatterns | ( | const SPIRVTypeConverter & | typeConverter, |
RewritePatternSet & | patterns | ||
) |
Appends to a pattern list additional patterns for translating ControlFLow ops to SPIR-V ops.
Definition at line 111 of file ControlFlowToSPIRV.cpp.
References mlir::patterns.
void mlir::cf::registerBufferDeallocationOpInterfaceExternalModels | ( | DialectRegistry & | registry | ) |
Definition at line 158 of file BufferDeallocationOpInterfaceImpl.cpp.
References mlir::DialectRegistry::addExtension().
Referenced by mlir::registerAllDialects().
void mlir::cf::registerBufferizableOpInterfaceExternalModels | ( | DialectRegistry & | registry | ) |
Definition at line 64 of file BufferizableOpInterfaceImpl.cpp.
References mlir::DialectRegistry::addExtension().
Referenced by mlir::registerAllDialects().
void mlir::cf::registerConvertControlFlowToLLVMInterface | ( | DialectRegistry & | registry | ) |
Definition at line 294 of file ControlFlowToLLVM.cpp.
References mlir::DialectRegistry::addExtension().
Referenced by mlir::registerAllExtensions().