|
MLIR 24.0.0git
|
Attribute collections provide a dictionary-like interface. More...
Functions | |
| LogicalResult | verifyHasDefaultDLTIDataLayoutTrait (Operation *op) |
| DataLayoutSpecInterface | getDataLayoutSpec (Operation *op) |
| TargetSystemSpecInterface | getTargetSystemSpec (Operation *op) |
| LogicalResult | foldCastInterfaceOp (Operation *op, ArrayRef< Attribute > attrOperands, SmallVectorImpl< OpFoldResult > &foldResults) |
| Attempt to fold the given cast operation. | |
| LogicalResult | verifyCastInterfaceOp (Operation *op) |
| Attempt to verify the given cast operation. | |
| void | ensureRegionTerminator (Region ®ion, OpBuilder &builder, Location loc, function_ref< Operation *(OpBuilder &, Location)> buildTerminatorOp) |
| Insert an operation, generated by buildTerminatorOp, at the end of the region's only block if it does not have a terminator already. | |
| void | ensureRegionTerminator (Region ®ion, Builder &builder, Location loc, function_ref< Operation *(OpBuilder &, Location)> buildTerminatorOp) |
| Create a simple OpBuilder and forward to the OpBuilder version of this function. | |
| template<typename IteratorT, typename NameT> | |
| std::pair< IteratorT, bool > | findAttrUnsorted (IteratorT first, IteratorT last, NameT name) |
| Unsorted string search or identifier lookups are linear scans. | |
| template<typename IteratorT> | |
| std::pair< IteratorT, bool > | findAttrSorted (IteratorT first, IteratorT last, StringRef name) |
| Using llvm::lower_bound requires an extra string comparison to check whether the returned iterator points to the found element or whether it indicates the lower bound. | |
| template<typename IteratorT> | |
| std::pair< IteratorT, bool > | findAttrSorted (IteratorT first, IteratorT last, StringAttr name) |
| StringAttr lookups on large attribute lists will switch to string binary search. | |
| template<typename IteratorT, typename NameT> | |
| Attribute | getAttrFromSortedRange (IteratorT first, IteratorT last, NameT name) |
| Get an attribute from a sorted range of named attributes. | |
| template<typename IteratorT, typename NameT> | |
| std::optional< NamedAttribute > | getNamedAttrFromSortedRange (IteratorT first, IteratorT last, NameT name) |
| Get an attribute from a sorted range of named attributes. | |
| ParseResult | parseOptionalVisibilityKeyword (OpAsmParser &parser, NamedAttrList &attrs) |
| Parse an optional visibility attribute keyword (i.e., public, private, or nested) without quotes in a string attribute named 'attrName'. | |
| std::unique_ptr<::mlir::Pass > | createLowerAffinePass () |
| std::unique_ptr<::mlir::Pass > | createConvertAMDGPUToROCDLPass () |
| std::unique_ptr<::mlir::Pass > | createConvertAMDGPUToROCDLPass (ConvertAMDGPUToROCDLPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createArithToAPFloatConversionPass () |
| std::unique_ptr<::mlir::Pass > | createMathToAPFloatConversionPass () |
| std::unique_ptr<::mlir::Pass > | createArithToAMDGPUConversionPass () |
| std::unique_ptr<::mlir::Pass > | createArithToAMDGPUConversionPass (ArithToAMDGPUConversionPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createArithToArmSMEConversionPass () |
| std::unique_ptr<::mlir::Pass > | createConvertArithToEmitC () |
| std::unique_ptr<::mlir::Pass > | createArithToLLVMConversionPass () |
| std::unique_ptr<::mlir::Pass > | createArithToLLVMConversionPass (ArithToLLVMConversionPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertArithToSPIRVPass () |
| std::unique_ptr<::mlir::Pass > | createConvertArithToSPIRVPass (ConvertArithToSPIRVPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertArmNeon2dToIntrPass () |
| std::unique_ptr<::mlir::Pass > | createConvertArmSMEToSCFPass () |
| std::unique_ptr<::mlir::Pass > | createConvertAsyncToLLVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertBufferizationToMemRefPass () |
| std::unique_ptr<::mlir::Pass > | createConvertComplexToLibm () |
| std::unique_ptr<::mlir::Pass > | createConvertComplexToLLVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertComplexToLLVMPass (ConvertComplexToLLVMPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertComplexToROCDLLibraryCalls () |
| std::unique_ptr<::mlir::Pass > | createConvertComplexToSPIRVPass () |
| std::unique_ptr<::mlir::Pass > | createConvertComplexToStandardPass () |
| std::unique_ptr<::mlir::Pass > | createConvertComplexToStandardPass (ConvertComplexToStandardPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertControlFlowToLLVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertControlFlowToLLVMPass (ConvertControlFlowToLLVMPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createLiftControlFlowToSCFPass () |
| std::unique_ptr<::mlir::Pass > | createConvertControlFlowToSPIRVPass () |
| std::unique_ptr<::mlir::Pass > | createConvertControlFlowToSPIRVPass (ConvertControlFlowToSPIRVPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertToEmitC () |
| std::unique_ptr<::mlir::Pass > | createConvertToEmitC (ConvertToEmitCOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertToLLVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertToLLVMPass (ConvertToLLVMPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertFuncToEmitC () |
| std::unique_ptr<::mlir::Pass > | createConvertFuncToEmitC (ConvertFuncToEmitCOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertFuncToLLVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertFuncToLLVMPass (ConvertFuncToLLVMPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createSetLLVMModuleDataLayoutPass () |
| std::unique_ptr<::mlir::Pass > | createSetLLVMModuleDataLayoutPass (SetLLVMModuleDataLayoutPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertFuncToSPIRVPass () |
| std::unique_ptr<::mlir::Pass > | createConvertFuncToSPIRVPass (ConvertFuncToSPIRVPassOptions options) |
| LogicalResult | scalarizeVectorOp (Operation *op, ValueRange operands, ConversionPatternRewriter &rewriter, const LLVMTypeConverter &converter) |
| Unrolls op to array/vector elements. | |
| std::unique_ptr<::mlir::Pass > | createGpuToLLVMConversionPass () |
| std::unique_ptr<::mlir::Pass > | createGpuToLLVMConversionPass (GpuToLLVMConversionPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertGpuOpsToLLVMSPVOps () |
| std::unique_ptr<::mlir::Pass > | createConvertGpuOpsToLLVMSPVOps (ConvertGpuOpsToLLVMSPVOpsOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertGpuOpsToNVVMOps () |
| std::unique_ptr<::mlir::Pass > | createConvertGpuOpsToNVVMOps (ConvertGpuOpsToNVVMOpsOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertGpuOpsToROCDLOps () |
| std::unique_ptr<::mlir::Pass > | createConvertGpuOpsToROCDLOps (ConvertGpuOpsToROCDLOpsOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertIndexToLLVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertIndexToLLVMPass (ConvertIndexToLLVMPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertIndexToSPIRVPass () |
| std::unique_ptr<::mlir::Pass > | createConvertIndexToSPIRVPass (ConvertIndexToSPIRVPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertLinalgToStandardPass () |
| std::unique_ptr<::mlir::Pass > | createConvertMathToEmitC () |
| std::unique_ptr<::mlir::Pass > | createConvertMathToEmitC (ConvertMathToEmitCOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertMathToFuncs () |
| std::unique_ptr<::mlir::Pass > | createConvertMathToFuncs (ConvertMathToFuncsOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertMathToLibmPass () |
| std::unique_ptr<::mlir::Pass > | createConvertMathToLLVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertMathToLLVMPass (ConvertMathToLLVMPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertMathToNVVM () |
| std::unique_ptr<::mlir::Pass > | createConvertMathToROCDL () |
| std::unique_ptr<::mlir::Pass > | createConvertMathToROCDL (ConvertMathToROCDLOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertMathToSPIRVPass () |
| std::unique_ptr<::mlir::Pass > | createConvertMathToXeVM () |
| std::unique_ptr<::mlir::Pass > | createConvertMathToXeVM (ConvertMathToXeVMOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertMemRefToEmitC () |
| std::unique_ptr<::mlir::Pass > | createConvertMemRefToEmitC (ConvertMemRefToEmitCOptions options) |
| std::unique_ptr<::mlir::Pass > | createFinalizeMemRefToLLVMConversionPass () |
| std::unique_ptr<::mlir::Pass > | createFinalizeMemRefToLLVMConversionPass (FinalizeMemRefToLLVMConversionPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertMemRefToSPIRVPass () |
| std::unique_ptr<::mlir::Pass > | createConvertMemRefToSPIRVPass (ConvertMemRefToSPIRVPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertNVGPUToNVVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertNVVMToLLVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertACCToLLVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertOpenACCToSCFPass () |
| std::unique_ptr<::mlir::Pass > | createConvertOpenMPToLLVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertPDLToPDLInterpPass () |
| std::unique_ptr<::mlir::Pass > | createRaiseWasmMLIR () |
| std::unique_ptr<::mlir::Pass > | createReconcileUnrealizedCastsPass () |
| std::unique_ptr<::mlir::Pass > | createRaiseSCFToAffinePass () |
| std::unique_ptr<::mlir::Pass > | createSCFToControlFlowPass () |
| std::unique_ptr<::mlir::Pass > | createSCFToControlFlowPass (SCFToControlFlowPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createSCFToEmitC () |
| std::unique_ptr<::mlir::Pass > | createConvertAffineForToGPUPass () |
| std::unique_ptr<::mlir::Pass > | createConvertAffineForToGPUPass (ConvertAffineForToGPUPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertParallelLoopToGpuPass () |
| std::unique_ptr<::mlir::Pass > | createConvertSCFToOpenMPPass () |
| std::unique_ptr<::mlir::Pass > | createConvertSCFToOpenMPPass (ConvertSCFToOpenMPPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createSCFToSPIRV () |
| std::unique_ptr<::mlir::Pass > | createConvertShapeConstraintsPass () |
| std::unique_ptr<::mlir::Pass > | createConvertShapeToStandardPass () |
| std::unique_ptr<::mlir::Pass > | createConvertShardToMPIPass () |
| std::unique_ptr<::mlir::Pass > | createLowerHostCodeToLLVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertSPIRVToLLVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertSPIRVToLLVMPass (ConvertSPIRVToLLVMPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertTensorToLinalgPass () |
| std::unique_ptr<::mlir::Pass > | createConvertTensorToSPIRVPass () |
| std::unique_ptr<::mlir::Pass > | createConvertTensorToSPIRVPass (ConvertTensorToSPIRVPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createTosaToArithPass () |
| std::unique_ptr<::mlir::Pass > | createTosaToArithPass (TosaToArithPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createTosaToMLProgram () |
| std::unique_ptr<::mlir::Pass > | createTosaToSCFPass () |
| std::unique_ptr<::mlir::Pass > | createTosaToTensorPass () |
| std::unique_ptr<::mlir::Pass > | createUBToLLVMConversionPass () |
| std::unique_ptr<::mlir::Pass > | createUBToLLVMConversionPass (UBToLLVMConversionPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createUBToSPIRVConversionPass () |
| std::unique_ptr<::mlir::Pass > | createConvertVectorToAMX () |
| std::unique_ptr<::mlir::Pass > | createConvertVectorToArmSMEPass () |
| std::unique_ptr<::mlir::Pass > | createConvertVectorToLLVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertVectorToLLVMPass (ConvertVectorToLLVMPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertVectorToSPIRVPass () |
| std::unique_ptr<::mlir::Pass > | createConvertVectorToXeGPU () |
| std::unique_ptr<::mlir::Pass > | createConvertXeGPUToXeVMPass () |
| std::unique_ptr<::mlir::Pass > | createConvertXeGPUToXeVMPass (ConvertXeGPUToXeVMPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createConvertXeVMToLLVMPass () |
| std::unique_ptr<::mlir::Pass > | createOptReductionPass () |
| std::unique_ptr<::mlir::Pass > | createOptReductionPass (OptReductionPassOptions options) |
| std::unique_ptr<::mlir::Pass > | createReductionTreePass () |
| std::unique_ptr<::mlir::Pass > | createReductionTreePass (ReductionTreePassOptions options) |
Attribute collections provide a dictionary-like interface.
Define common lookup functions.
| std::unique_ptr<::mlir::Pass > mlir::impl::createArithToAMDGPUConversionPass | ( | ) |
Definition at line 180 of file ArithToAMDGPU.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createArithToAMDGPUConversionPass | ( | ArithToAMDGPUConversionPassOptions | options | ) |
Definition at line 184 of file ArithToAMDGPU.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createArithToAPFloatConversionPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 265 of file ArithToAPFloat.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createArithToArmSMEConversionPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 340 of file ArithToArmSME.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createArithToLLVMConversionPass | ( | ) |
Definition at line 427 of file ArithToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createArithToLLVMConversionPass | ( | ArithToLLVMConversionPassOptions | options | ) |
Definition at line 431 of file ArithToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertACCToLLVMPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 511 of file ACCToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertAffineForToGPUPass | ( | ) |
Definition at line 697 of file SCFToGPUPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertAffineForToGPUPass | ( | ConvertAffineForToGPUPassOptions | options | ) |
Definition at line 701 of file SCFToGPUPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertAMDGPUToROCDLPass | ( | ) |
Definition at line 599 of file AMDGPUToROCDL.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertAMDGPUToROCDLPass | ( | ConvertAMDGPUToROCDLPassOptions | options | ) |
Definition at line 603 of file AMDGPUToROCDL.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertArithToEmitC | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 780 of file ArithToEmitCPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertArithToSPIRVPass | ( | ) |
Definition at line 870 of file ArithToSPIRV.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertArithToSPIRVPass | ( | ConvertArithToSPIRVPassOptions | options | ) |
Definition at line 874 of file ArithToSPIRV.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertArmNeon2dToIntrPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 954 of file ArmNeon2dToIntr.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertArmSMEToSCFPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 1102 of file ArmSMEToSCF.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertAsyncToLLVMPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 1180 of file AsyncToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertBufferizationToMemRefPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 1258 of file BufferizationToMemRef.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertComplexToLibm | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 1432 of file ComplexToLibm.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertComplexToLLVMPass | ( | ) |
Definition at line 1349 of file ComplexToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertComplexToLLVMPass | ( | ConvertComplexToLLVMPassOptions | options | ) |
Definition at line 1353 of file ComplexToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertComplexToROCDLLibraryCalls | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 1507 of file ComplexToROCDLLibraryCalls.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertComplexToSPIRVPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 1582 of file ComplexToSPIRVPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertComplexToStandardPass | ( | ) |
Definition at line 1673 of file ComplexToStandard.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertComplexToStandardPass | ( | ConvertComplexToStandardPassOptions | options | ) |
Definition at line 1677 of file ComplexToStandard.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertControlFlowToLLVMPass | ( | ) |
Definition at line 1768 of file ControlFlowToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertControlFlowToLLVMPass | ( | ConvertControlFlowToLLVMPassOptions | options | ) |
Definition at line 1772 of file ControlFlowToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertControlFlowToSPIRVPass | ( | ) |
Definition at line 1866 of file ControlFlowToSPIRVPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertControlFlowToSPIRVPass | ( | ConvertControlFlowToSPIRVPassOptions | options | ) |
Definition at line 1870 of file ControlFlowToSPIRVPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertFuncToEmitC | ( | ) |
Definition at line 1961 of file FuncToEmitCPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertFuncToEmitC | ( | ConvertFuncToEmitCOptions | options | ) |
Definition at line 1965 of file FuncToEmitCPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertFuncToLLVMPass | ( | ) |
Definition at line 2059 of file FuncToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertFuncToLLVMPass | ( | ConvertFuncToLLVMPassOptions | options | ) |
Definition at line 2063 of file FuncToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertFuncToSPIRVPass | ( | ) |
Definition at line 2157 of file FuncToSPIRVPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertFuncToSPIRVPass | ( | ConvertFuncToSPIRVPassOptions | options | ) |
Definition at line 2161 of file FuncToSPIRVPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertGpuOpsToLLVMSPVOps | ( | ) |
Definition at line 2322 of file GPUToLLVMSPV.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertGpuOpsToLLVMSPVOps | ( | ConvertGpuOpsToLLVMSPVOpsOptions | options | ) |
Definition at line 2326 of file GPUToLLVMSPV.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertGpuOpsToNVVMOps | ( | ) |
Definition at line 2431 of file LowerGpuOpsToNVVMOps.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertGpuOpsToNVVMOps | ( | ConvertGpuOpsToNVVMOpsOptions | options | ) |
Definition at line 2435 of file LowerGpuOpsToNVVMOps.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertGpuOpsToROCDLOps | ( | ) |
Definition at line 2546 of file LowerGpuOpsToROCDLOps.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertGpuOpsToROCDLOps | ( | ConvertGpuOpsToROCDLOpsOptions | options | ) |
Definition at line 2550 of file LowerGpuOpsToROCDLOps.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertIndexToLLVMPass | ( | ) |
Definition at line 2641 of file IndexToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertIndexToLLVMPass | ( | ConvertIndexToLLVMPassOptions | options | ) |
Definition at line 2645 of file IndexToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertIndexToSPIRVPass | ( | ) |
Definition at line 2736 of file IndexToSPIRV.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertIndexToSPIRVPass | ( | ConvertIndexToSPIRVPassOptions | options | ) |
Definition at line 2740 of file IndexToSPIRV.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertLinalgToStandardPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 2820 of file LinalgToStandard.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMathToEmitC | ( | ) |
Definition at line 2910 of file MathToEmitCPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMathToEmitC | ( | ConvertMathToEmitCOptions | options | ) |
Definition at line 2914 of file MathToEmitCPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMathToFuncs | ( | ) |
Definition at line 3013 of file MathToFuncs.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMathToFuncs | ( | ConvertMathToFuncsOptions | options | ) |
Definition at line 3017 of file MathToFuncs.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMathToLibmPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 3193 of file MathToLibm.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMathToLLVMPass | ( | ) |
Definition at line 3108 of file MathToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMathToLLVMPass | ( | ConvertMathToLLVMPassOptions | options | ) |
Definition at line 3112 of file MathToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMathToNVVM | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 3271 of file MathToNVVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMathToROCDL | ( | ) |
Definition at line 3361 of file MathToROCDL.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMathToROCDL | ( | ConvertMathToROCDLOptions | options | ) |
Definition at line 3365 of file MathToROCDL.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMathToSPIRVPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 3444 of file MathToSPIRVPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMathToXeVM | ( | ) |
Definition at line 3537 of file MathToXeVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMathToXeVM | ( | ConvertMathToXeVMOptions | options | ) |
Definition at line 3541 of file MathToXeVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMemRefToEmitC | ( | ) |
Definition at line 3632 of file MemRefToEmitCPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMemRefToEmitC | ( | ConvertMemRefToEmitCOptions | options | ) |
Definition at line 3636 of file MemRefToEmitCPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMemRefToSPIRVPass | ( | ) |
Definition at line 3730 of file MemRefToSPIRVPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertMemRefToSPIRVPass | ( | ConvertMemRefToSPIRVPassOptions | options | ) |
Definition at line 3734 of file MemRefToSPIRVPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertNVGPUToNVVMPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 3817 of file NVGPUToNVVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertNVVMToLLVMPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 3892 of file NVVMToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertOpenACCToSCFPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 3968 of file OpenACCToSCF.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertOpenMPToLLVMPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 4043 of file OpenMPToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertParallelLoopToGpuPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 4194 of file SCFToGPUPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertPDLToPDLInterpPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 4118 of file PDLToPDLInterp.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertSCFToOpenMPPass | ( | ) |
Definition at line 4283 of file SCFToOpenMP.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertSCFToOpenMPPass | ( | ConvertSCFToOpenMPPassOptions | options | ) |
Definition at line 4287 of file SCFToOpenMP.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertShapeConstraintsPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 4468 of file ConvertShapeConstraints.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertShapeToStandardPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 4543 of file ShapeToStandard.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertShardToMPIPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 4625 of file ShardToMPI.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertSPIRVToLLVMPass | ( | ) |
Definition at line 4384 of file SPIRVToLLVMPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertSPIRVToLLVMPass | ( | ConvertSPIRVToLLVMPassOptions | options | ) |
Definition at line 4388 of file SPIRVToLLVMPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertTensorToLinalgPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 4701 of file TensorToLinalgPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertTensorToSPIRVPass | ( | ) |
Definition at line 4791 of file TensorToSPIRVPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertTensorToSPIRVPass | ( | ConvertTensorToSPIRVPassOptions | options | ) |
Definition at line 4795 of file TensorToSPIRVPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertToEmitC | ( | ) |
Definition at line 4889 of file ConvertToEmitCPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertToEmitC | ( | ConvertToEmitCOptions | options | ) |
Definition at line 4893 of file ConvertToEmitCPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertToLLVMPass | ( | ) |
Definition at line 4990 of file ConvertToLLVMPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertToLLVMPass | ( | ConvertToLLVMPassOptions | options | ) |
Definition at line 4994 of file ConvertToLLVMPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertVectorToAMX | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 5078 of file VectorToAMX.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertVectorToArmSMEPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 5154 of file VectorToArmSMEPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertVectorToLLVMPass | ( | ) |
Definition at line 5362 of file ConvertVectorToLLVMPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertVectorToLLVMPass | ( | ConvertVectorToLLVMPassOptions | options | ) |
Definition at line 5366 of file ConvertVectorToLLVMPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertVectorToSPIRVPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 5527 of file VectorToSPIRVPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertVectorToXeGPU | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 5605 of file VectorToXeGPU.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertXeGPUToXeVMPass | ( | ) |
Definition at line 5699 of file XeGPUToXeVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertXeGPUToXeVMPass | ( | ConvertXeGPUToXeVMPassOptions | options | ) |
Definition at line 5703 of file XeGPUToXeVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createConvertXeVMToLLVMPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 5782 of file XeVMToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createFinalizeMemRefToLLVMConversionPass | ( | ) |
Definition at line 5875 of file MemRefToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createFinalizeMemRefToLLVMConversionPass | ( | FinalizeMemRefToLLVMConversionPassOptions | options | ) |
Definition at line 5879 of file MemRefToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createGpuToLLVMConversionPass | ( | ) |
Definition at line 5977 of file GPUToLLVMConversion.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createGpuToLLVMConversionPass | ( | GpuToLLVMConversionPassOptions | options | ) |
Definition at line 5981 of file GPUToLLVMConversion.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createLiftControlFlowToSCFPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 6063 of file ControlFlowToSCF.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createLowerAffinePass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 6141 of file AffineToStandard.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createLowerHostCodeToLLVMPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 6216 of file ConvertLaunchFuncToLLVMCalls.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createMathToAPFloatConversionPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 6362 of file MathToAPFloat.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createOptReductionPass | ( | ) |
Definition at line 95 of file OptReductionPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createOptReductionPass | ( | OptReductionPassOptions | options | ) |
Definition at line 99 of file OptReductionPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createRaiseSCFToAffinePass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 6438 of file SCFToAffine.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createRaiseWasmMLIR | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 6519 of file RaiseWasmMLIR.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createReconcileUnrealizedCastsPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 6594 of file ReconcileUnrealizedCasts.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createReductionTreePass | ( | ) |
Definition at line 196 of file ReductionTreePass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createReductionTreePass | ( | ReductionTreePassOptions | options | ) |
Definition at line 200 of file ReductionTreePass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createSCFToControlFlowPass | ( | ) |
Definition at line 6681 of file SCFToControlFlow.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createSCFToControlFlowPass | ( | SCFToControlFlowPassOptions | options | ) |
Definition at line 6685 of file SCFToControlFlow.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createSCFToEmitC | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 6764 of file SCFToEmitC.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createSCFToSPIRV | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 6839 of file SCFToSPIRVPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createSetLLVMModuleDataLayoutPass | ( | ) |
Definition at line 6926 of file FuncToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createSetLLVMModuleDataLayoutPass | ( | SetLLVMModuleDataLayoutPassOptions | options | ) |
Definition at line 6930 of file FuncToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createTosaToArithPass | ( | ) |
Definition at line 7024 of file TosaToArithPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createTosaToArithPass | ( | TosaToArithPassOptions | options | ) |
Definition at line 7028 of file TosaToArithPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createTosaToMLProgram | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 7248 of file TosaToMLProgramPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createTosaToSCFPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 7323 of file TosaToSCFPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createTosaToTensorPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 7529 of file TosaToTensorPass.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createUBToLLVMConversionPass | ( | ) |
Definition at line 7616 of file UBToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createUBToLLVMConversionPass | ( | UBToLLVMConversionPassOptions | options | ) |
Definition at line 7620 of file UBToLLVM.cpp.
| std::unique_ptr<::mlir::Pass > mlir::impl::createUBToSPIRVConversionPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 7699 of file UBToSPIRV.cpp.
| void mlir::impl::ensureRegionTerminator | ( | Region & | region, |
| Builder & | builder, | ||
| Location | loc, | ||
| function_ref< Operation *(OpBuilder &, Location)> | buildTerminatorOp ) |
Create a simple OpBuilder and forward to the OpBuilder version of this function.
Definition at line 1431 of file Operation.cpp.
References ensureRegionTerminator(), and mlir::Builder::getContext().
| void mlir::impl::ensureRegionTerminator | ( | Region & | region, |
| OpBuilder & | builder, | ||
| Location | loc, | ||
| function_ref< Operation *(OpBuilder &, Location)> | buildTerminatorOp ) |
Insert an operation, generated by buildTerminatorOp, at the end of the region's only block if it does not have a terminator already.
If the region is empty, insert a new block first. buildTerminatorOp should return the terminator operation to insert.
Definition at line 1414 of file Operation.cpp.
References mlir::Block::back(), mlir::Region::back(), mlir::OpBuilder::createBlock(), mlir::Block::empty(), mlir::Region::empty(), mlir::Operation::hasTrait(), mlir::OpBuilder::insert(), and mlir::OpBuilder::setInsertionPointToEnd().
Referenced by ensureRegionTerminator(), mlir::OpTrait::SingleBlockImplicitTerminator< TerminatorOpType >::Impl< ConcreteType >::ensureTerminator(), and mlir::OpTrait::SingleBlockImplicitTerminator< TerminatorOpType >::Impl< ConcreteType >::ensureTerminator().
| std::pair< IteratorT, bool > mlir::impl::findAttrSorted | ( | IteratorT | first, |
| IteratorT | last, | ||
| StringAttr | name ) |
StringAttr lookups on large attribute lists will switch to string binary search.
String binary searches become significantly faster than linear scans with the identifier when the attribute list becomes very large.
Definition at line 791 of file OperationSupport.h.
References findAttrSorted(), and findAttrUnsorted().
| std::pair< IteratorT, bool > mlir::impl::findAttrSorted | ( | IteratorT | first, |
| IteratorT | last, | ||
| StringRef | name ) |
Using llvm::lower_bound requires an extra string comparison to check whether the returned iterator points to the found element or whether it indicates the lower bound.
Skip this redundant comparison by checking if compare == / 0 during the binary search.
Definition at line 767 of file OperationSupport.h.
References findAttrSorted().
Referenced by findAttrSorted(), findAttrSorted(), getAttrFromSortedRange(), and getNamedAttrFromSortedRange().
| std::pair< IteratorT, bool > mlir::impl::findAttrUnsorted | ( | IteratorT | first, |
| IteratorT | last, | ||
| NameT | name ) |
Unsorted string search or identifier lookups are linear scans.
Definition at line 754 of file OperationSupport.h.
References findAttrUnsorted().
Referenced by findAttrSorted(), and findAttrUnsorted().
| LogicalResult mlir::impl::foldCastInterfaceOp | ( | Operation * | op, |
| ArrayRef< Attribute > | attrOperands, | ||
| SmallVectorImpl< OpFoldResult > & | foldResults ) |
Attempt to fold the given cast operation.
Definition at line 22 of file CastInterfaces.cpp.
References foldCastInterfaceOp(), mlir::Operation::getOperands(), mlir::Operation::getResults(), mlir::OperandRange::getTypes(), mlir::ResultRange::getTypes(), and success().
Referenced by foldCastInterfaceOp().
| Attribute mlir::impl::getAttrFromSortedRange | ( | IteratorT | first, |
| IteratorT | last, | ||
| NameT | name ) |
Get an attribute from a sorted range of named attributes.
Returns null if the attribute was not found.
Definition at line 802 of file OperationSupport.h.
References findAttrSorted(), getAttrFromSortedRange(), and result.
Referenced by getAttrFromSortedRange().
| DataLayoutSpecInterface mlir::impl::getDataLayoutSpec | ( | Operation * | op | ) |
Definition at line 26 of file Traits.cpp.
References mlir::Operation::getAttrOfType().
Referenced by mlir::HasDefaultDLTIDataLayout< ConcreteOp >::getDataLayoutSpec().
| std::optional< NamedAttribute > mlir::impl::getNamedAttrFromSortedRange | ( | IteratorT | first, |
| IteratorT | last, | ||
| NameT | name ) |
Get an attribute from a sorted range of named attributes.
Returns std::nullopt if the attribute was not found.
Definition at line 811 of file OperationSupport.h.
References findAttrSorted(), getNamedAttrFromSortedRange(), and result.
Referenced by getNamedAttrFromSortedRange().
| TargetSystemSpecInterface mlir::impl::getTargetSystemSpec | ( | Operation * | op | ) |
Definition at line 31 of file Traits.cpp.
References mlir::Operation::getAttrOfType().
Referenced by mlir::HasDefaultDLTIDataLayout< ConcreteOp >::getTargetSystemSpec().
| ParseResult mlir::impl::parseOptionalVisibilityKeyword | ( | OpAsmParser & | parser, |
| NamedAttrList & | attrs ) |
Parse an optional visibility attribute keyword (i.e., public, private, or nested) without quotes in a string attribute named 'attrName'.
Definition at line 1107 of file SymbolTable.cpp.
References mlir::AsmParser::getBuilder(), mlir::Builder::getNamedAttr(), mlir::Builder::getStringAttr(), mlir::AsmParser::parseOptionalKeyword(), mlir::NamedAttrList::push_back(), and success().
Referenced by mlir::function_interface_impl::parseFunctionOp().
| LogicalResult mlir::impl::scalarizeVectorOp | ( | Operation * | op, |
| ValueRange | operands, | ||
| ConversionPatternRewriter & | rewriter, | ||
| const LLVMTypeConverter & | converter ) |
Unrolls op to array/vector elements.
Definition at line 654 of file GPUOpsLowering.cpp.
References mlir::Operation::getResultTypes(), mlir::LLVM::detail::handleMultidimensionalVectors(), scalarizeVectorOpHelper(), and success().
Referenced by mlir::ScalarizeVectorOpLowering< SourceOp >::matchAndRewrite().
| LogicalResult mlir::impl::verifyCastInterfaceOp | ( | Operation * | op | ) |
Attempt to verify the given cast operation.
Definition at line 39 of file CastInterfaces.cpp.
References diag(), mlir::Operation::emitOpError(), mlir::Operation::getOperandTypes(), mlir::Operation::getResultTypes(), success(), and verifyCastInterfaceOp().
Referenced by verifyCastInterfaceOp().
| LogicalResult mlir::impl::verifyHasDefaultDLTIDataLayoutTrait | ( | Operation * | op | ) |
Definition at line 15 of file Traits.cpp.
References success().
Referenced by mlir::HasDefaultDLTIDataLayout< ConcreteOp >::verifyTrait().