- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 131 for Cond (0.06 sec)
-
src/cmd/compile/internal/ssa/rewritePPC64latelower.go
// cond: v.Block == z.Block // result: (CMPconst [0] convertPPC64OpToOpCC(z)) for { if auxIntToInt64(v.AuxInt) != 0 { break } z := v_0 if z.Op != OpPPC64CNTLZD { break } if !(v.Block == z.Block) { break } v.reset(OpPPC64CMPconst) v.AuxInt = int64ToAuxInt(0) v.AddArg(convertPPC64OpToOpCC(z)) return true } // match: (CMPconst [0] z:(RLDICL x))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 16.5K bytes - Viewed (0) -
src/cmd/compile/internal/walk/switch.go
// because walkExpr will lower the string // conversion into a runtime call. // See issue 24937 for more discussion. if cond.Op() == ir.OBYTES2STR && allCaseExprsAreSideEffectFree(sw) { cond := cond.(*ir.ConvExpr) cond.SetOp(ir.OBYTES2STRTMP) } cond = walkExpr(cond, sw.PtrInit()) if cond.Op() != ir.OLITERAL && cond.Op() != ir.ONIL { cond = copyExpr(cond, cond.Type(), &sw.Compiled) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/sink_in_invariant_ops.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 21K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/localize_var_handles.mlir
attributes {tf_saved_model.exported_names = ["read_from_global"]} { // CHECK: [[name:%.*]] = "tf.VarHandleOp" // CHECK: "tf.ReadVariableOp"([[name]]) %cond = builtin.unrealized_conversion_cast to tensor<i1> %0 = "tf.IfRegion"(%cond) ({ "tf.Yield"(%arg0) : (tensor<!tf_type.resource<tensor<10xf32>>>) -> () }, { "tf.Yield"(%arg0) : (tensor<!tf_type.resource<tensor<10xf32>>>) -> ()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 23 21:12:02 UTC 2023 - 10.3K bytes - Viewed (0) -
src/cmd/compile/internal/walk/range.go
body = append(body, rangeAssign(nrange, hv1t)) } } } typecheck.Stmts(init) nfor.PtrInit().Append(init...) typecheck.Stmts(nfor.Cond.Init()) nfor.Cond = typecheck.Expr(nfor.Cond) nfor.Cond = typecheck.DefaultLit(nfor.Cond, nil) nfor.Post = typecheck.Stmt(nfor.Post) typecheck.Stmts(body) nfor.Body.Append(body...) nfor.Body.Append(nrange.Body...) var n ir.Node = nfor
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:33 UTC 2023 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/aot/tests/tfcompile_test.cc
} TEST(TFCompileTest, Cond) { CondComp cond; EXPECT_EQ(cond.arg0_data(), cond.arg_data(0)); EXPECT_EQ(cond.arg1_data(), cond.arg_data(1)); EXPECT_EQ(cond.arg2_data(), cond.arg_data(2)); cond.arg1() = 10; cond.arg2() = 20; { cond.arg0() = true; const int32 expected_result = cond.arg1(); EXPECT_TRUE(cond.Run()); EXPECT_EQ(cond.result0(), expected_result);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 26.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritedec.go
v_0 := v.Args[0] // match: (ArrayMake1 x) // cond: x.Type.IsPtrShaped() // result: x for { x := v_0 if !(x.Type.IsPtrShaped()) { break } v.copyOf(x) return true } return false } func rewriteValuedec_OpArraySelect(v *Value) bool { v_0 := v.Args[0] b := v.Block // match: (ArraySelect [0] x) // cond: x.Type.IsPtrShaped() // result: x for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:48:31 UTC 2023 - 24.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/embedding_sequencing.mlir
%cst_main = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32> %0 = "tf.While"(%cst_main) {body = @while_body, cond = @while_cond, is_stateless = false} : (tensor<i32>) -> (tensor<i32>) // expected-error @+1 {{'tf.While' op multiple users of function.}} %1 = "tf.While"(%cst_main) {body = @while_body, cond = @while_cond, is_stateless = false} : (tensor<i32>) -> (tensor<i32>) return }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 01 21:27:49 UTC 2023 - 19.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/region-control-flow-to-functional.mlir
// CHECK: [[Result:%.*]]:2 = "tf.While"(%arg0, %arg1) <{body = @while_body, cond = @while_cond %0:2 = "tf.WhileRegion"(%arg0, %arg1) ( { ^bb0(%carg0: tensor<*xf32>, %carg1: tensor<i32>): %cond = func.call @while_cond(%carg0, %carg1) : (tensor<*xf32>, tensor<i32>) -> tensor<i1> "tf.Yield"(%cond) : (tensor<i1>) -> () }, { // loop body
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 02 11:15:34 UTC 2024 - 44.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/control_flow.mlir
func.return %1 : tensor<i32> } // CHECK-LABEL: func @cond(%arg0: !tfrt.chain, %arg1: !tfrt_fallback.tf_tensor, %arg2: !tfrt_fallback.tf_tensor) -> (!tfrt.chain, !tfrt_fallback.tf_tensor) func.func @cond(%arg0: tensor<i1>, %arg1: tensor<i32>) -> tensor<i32> { // CHECK: [[cond:%.*]] = tfrt_fallback_async.predicate // CHECK: [[cond_res:%.*]]:2 = tfrt.cond [[cond]]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 00:40:32 UTC 2024 - 17.5K bytes - Viewed (0)