#include "mlir/Dialect/Transform/LoopExtension/LoopExtensionOps.h"
#include "mlir/IR/OpImplementation.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Transforms/LoopInvariantCodeMotionUtils.h"
usingnamespacemlir;
#define GET_OP_CLASSES
#include "mlir/Dialect/Transform/LoopExtension/LoopExtensionOps.cpp.inc"
DiagnosedSilenceableFailure transform::HoistLoopInvariantSubsetsOp::applyToOne(
transform::TransformRewriter &rewriter, LoopLikeOpInterface loopLikeOp,
transform::ApplyToEachResultList &results,
transform::TransformState &state) { … }
void transform::HoistLoopInvariantSubsetsOp::getEffects(
SmallVectorImpl<MemoryEffects::EffectInstance> &effects) { … }