- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isConst (0.38 sec)
-
src/cmd/compile/internal/ssagen/ssa.go
return s.load(n.Type(), p) case ir.OINDEX: n := n.(*ir.IndexExpr) switch { case n.X.Type().IsString(): if n.Bounded() && ir.IsConst(n.X, constant.String) && ir.IsConst(n.Index, constant.Int) { // Replace "abc"[1] with 'b'. // Delayed until now because "abc"[1] is not an ideal constant. // See test/fixedbugs/issue11370.go.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
for (auto i = 0; i < slice_sizes.size(); ++i) { if (slice_sizes[i] == tensorflow::kTFDynamicSize) { Value i_const = rewriter.create<arith::ConstantOp>( op.getLoc(), rewriter.getIndexAttr(i)); Value slice_size_index = rewriter.create<shape::DimOp>(op.getLoc(), op.getValue(), i_const); Value index_to_i64 = rewriter.create<arith::IndexCastOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
ChangeLog.md
### IR. Interpreter - [`KT-64079`](https://youtrack.jetbrains.com/issue/KT-64079) Native library evolution behaviour for constants - [`KT-62683`](https://youtrack.jetbrains.com/issue/KT-62683) K2: FIR2IR: IrConst*Transformer doesn't evaluate an expression for const val initializer ### IR. Tree
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 17:14:23 UTC 2024 - 292.1K bytes - Viewed (0)