- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 395 for Cond (0.08 sec)
-
src/cmd/compile/internal/ssa/branchelim_test.go
Valu("const1", OpConst32, intType, 1, nil), Valu("const2", OpConst32, intType, 2, nil), Valu("addr", OpAddr, boolType.PtrTo(), 0, nil, "sb"), Valu("cond", OpLoad, boolType, 0, nil, "addr", "start"), If("cond", "b2", "b3")), Bloc("b2", Goto("b3")), Bloc("b3", Valu("phi", OpPhi, intType, 0, nil, "const1", "const2"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 24 15:51:15 UTC 2018 - 5.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/select.go
} } list.Append(cas.Body.Take()...) list.Append(ir.NewBranchStmt(base.Pos, ir.OBREAK, nil)) var r ir.Node if cond != nil { cond = typecheck.Expr(cond) cond = typecheck.DefaultLit(cond, nil) r = ir.NewIfStmt(base.Pos, cond, list, nil) } else { r = ir.NewBlockStmt(base.Pos, list) } init = append(init, r) } if dflt != nil { ir.SetPos(dflt)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 01:53:41 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteAMD64latelower.go
v_0 := v.Args[0] // match: (MOVBQZX x) // cond: zeroUpper56Bits(x,3) // result: x for { x := v_0 if !(zeroUpper56Bits(x, 3)) { break } v.copyOf(x) return true } return false } func rewriteValueAMD64latelower_OpAMD64MOVLQZX(v *Value) bool { v_0 := v.Args[0] // match: (MOVLQZX x) // cond: zeroUpper32Bits(x,3) // result: x for { x := v_0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/compile/internal/ir/visit.go
return cond(x) || DoChildren(x, do) } return do(n) } // AnyList calls Any(x, cond) for each node x in the list, in order. // If any call returns true, AnyList stops and returns true. // Otherwise, AnyList returns false after calling Any(x, cond) // for every x in the list. func AnyList(list Nodes, cond func(Node) bool) bool { for _, x := range list { if Any(x, cond) { return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 23 14:29:16 UTC 2023 - 6K 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/jit/deadness_analysis_test.cc
EXPECT_EQ(predicate_map[ControlOutputFor(add0)], "({#true,&,*iv0/cond:0}<fr0> & {#true,&,*iv1/cond:0}<fr0>)"); EXPECT_EQ(predicate_map[ControlOutputFor(add1)], "({#true,&,*iv1/cond:0}<fr0> & {#true,&,*iv2/cond:0}<fr0>)"); } } TEST(DeadnessAnalysisTest, ControlEquivalentLoopBodies) { Scope root = Scope::NewRootScope().ExitOnError();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 51.6K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop.cc
*merge_output = Output(merge_node, 0); return absl::OkStatus(); } // Creates the condition subgraph defined by `cond`. Status CreateCond(const Scope& scope, const CondGraphBuilderFn& cond, const std::vector<Output>& inputs, Output* output) { // The control dependency is for constants in the cond graph, and other ops // that do not depend on the loop variables. This ensures that these ops are
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 01:01:21 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/guarantee_func_has_one_use.mlir
module attributes {tf.versions = {producer = 888 : i32}} { // CHECK-LABEL: func @while_main // CHECK: %0 = "tf.While"(%arg0) // CHECK-SAME: body = @while_body // CHECK-SAME: cond = @while_cond // CHECK: "tf.While"(%arg1) // CHECK-SAME: body = @while_body_0 // CHECK-SAME: cond = @while_cond_1 // CHECK: func @while_body(%arg0: tensor<256x256xi32>) // CHECK: func @while_cond(%arg0: tensor<256x256xi32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 14:24:59 UTC 2022 - 1.5K bytes - Viewed (0) -
pilot/pkg/status/distribution/reporter_test.go
Expect(r.reverseStatus).To(Equal(map[string]sets.String{"a": {"conB~": x}, "c": {"conC~": x}, "d": {"conD~": x, "conA~": x}})) r.RegisterDisconnect("conA", sets.New[xds.EventType](typ)) Expect(r.status).To(Equal(map[string]string{"conB~": "a", "conC~": "c", "conD~": "d"})) Expect(r.reverseStatus).To(Equal(map[string]sets.String{"a": {"conB~": x}, "c": {"conC~": x}, "d": {"conD~": x}})) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 30 17:25:17 UTC 2024 - 4.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteAMD64.go
v_2 := v.Args[2] v_1 := v.Args[1] v_0 := v.Args[0] // match: (CMOVLCC x y (InvertFlags cond)) // result: (CMOVLLS x y cond) for { x := v_0 y := v_1 if v_2.Op != OpAMD64InvertFlags { break } cond := v_2.Args[0] v.reset(OpAMD64CMOVLLS) v.AddArg3(x, y, cond) return true } // match: (CMOVLCC _ x (FlagEQ)) // result: x for { x := v_1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 712.7K bytes - Viewed (0)