MLIR
20.0.0git
|
Public Member Functions | |
LogicalResult | matchAndRewrite (spirv::AccessChainOp acOp, OpAdaptor adaptor, ConversionPatternRewriter &rewriter) const override |
ConvertAliasResource (const ResourceAliasAnalysis &analysis, MLIRContext *context, PatternBenefit benefit=1) | |
Public Member Functions inherited from ConvertAliasResource< spirv::AccessChainOp > | |
ConvertAliasResource (const ResourceAliasAnalysis &analysis, MLIRContext *context, PatternBenefit benefit=1) | |
Additional Inherited Members | |
Protected Attributes inherited from ConvertAliasResource< spirv::AccessChainOp > | |
const ResourceAliasAnalysis & | analysis |
Definition at line 344 of file UnifyAliasedResourcePass.cpp.
|
inline |
Definition at line 307 of file UnifyAliasedResourcePass.cpp.
|
inlineoverride |
Definition at line 348 of file UnifyAliasedResourcePass.cpp.
References ConvertAliasResource< spirv::AccessChainOp >::analysis, areSameBitwidthScalarType(), mlir::OpBuilder::create(), mlir::Builder::getIntegerAttr(), mlir::spirv::SPIRVType::getSizeInBytes(), mlir::Value::getType(), mlir::Type::isIntOrFloat(), mlir::RewriterBase::notifyMatchFailure(), and mlir::RewriterBase::replaceOpWithNewOp().