MLIR
20.0.0git
|
Functions | |
void | populateControlFlowToLLVMConversionPatterns (LLVMTypeConverter &converter, RewritePatternSet &patterns) |
Collect the patterns to convert from the ControlFlow dialect to LLVM. More... | |
void | populateAssertToLLVMConversionPattern (LLVMTypeConverter &converter, RewritePatternSet &patterns, bool abortOnFailure=true) |
Populate the cf.assert to LLVM conversion pattern. More... | |
void | registerConvertControlFlowToLLVMInterface (DialectRegistry ®istry) |
void | populateControlFlowToSPIRVPatterns (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 | ( | 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 214 of file ControlFlowToLLVM.cpp.
References mlir::RewritePatternSet::add().
void mlir::cf::populateControlFlowToLLVMConversionPatterns | ( | 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.
Definition at line 203 of file ControlFlowToLLVM.cpp.
References mlir::RewritePatternSet::add().
void mlir::cf::populateControlFlowToSPIRVPatterns | ( | 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::RewritePatternSet::add(), and mlir::RewritePatternSet::getContext().
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 274 of file ControlFlowToLLVM.cpp.
References mlir::DialectRegistry::addExtension().
Referenced by mlir::registerAllExtensions().