Lines Matching defs:scf
17 namespace scf {
28 /// %0 = scf.for ... iter_args(%arg0 = %t) -> tensor<?xf32> {
31 /// scf.yield %1 : tensor<?xf32>
37 /// %0 = scf.for ... iter_args(%arg0 = %t) -> tensor<?xf32> {
41 /// scf.yield %1 : tensor<?xf32>
45 static void populateIterArgBounds(scf::ForOp forOp, Value value,
56 Value yieldedValue = cast<scf::YieldOp>(forOp.getBody()->getTerminator())
158 static void populateBounds(scf::IfOp ifOp, Value value,
214 } // namespace scf
217 void mlir::scf::registerValueBoundsOpInterfaceExternalModels(
219 registry.addExtension(+[](MLIRContext *ctx, scf::SCFDialect *dialect) {
220 scf::ForOp::attachInterface<scf::ForOpInterface>(*ctx);
221 scf::ForallOp::attachInterface<scf::ForallOpInterface>(*ctx);
222 scf::IfOp::attachInterface<scf::IfOpInterface>(*ctx);