Lines Matching defs:selector
59 mlir::Value genTypeDescCompare(mlir::Location loc, mlir::Value selector,
64 mlir::Value selector,
260 auto selector = selectType.getSelector();
268 // 1. If a TYPE IS type guard statement matches the selector, the block
271 // selector, the block following that statement is executed.
273 // selector, one of these statements will inevitably specify a type that
337 else if (mlir::failed(genTypeLadderStep(loc, selector, typeGuards[idx],
346 mlir::Location loc, mlir::Value selector, mlir::Attribute attr,
364 loc, rewriter.getI8Type(), selector);
372 genTypeDescCompare(loc, selector, a.getType(), mod, rewriter);
392 // Prepare the selector descriptor for the runtime call.
395 rewriter.create<ConvertOp>(loc, descNoneTy, selector);
429 SelectTypeConv::genTypeDescCompare(mlir::Location loc, mlir::Value selector,
446 rewriter.create<fir::BoxTypeDescOp>(loc, tdescType, selector);