Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 212 for cond_a (0.13 sec)

  1. src/cmd/compile/internal/ssa/rewriteRISCV64latelower.go

    	}
    	return false
    }
    func rewriteValueRISCV64latelower_OpRISCV64SLLI(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (SLLI [c] (MOVBUreg x))
    	// cond: c <= 56
    	// result: (SRLI [56-c] (SLLI <typ.UInt64> [56] x))
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpRISCV64MOVBUreg {
    			break
    		}
    		x := v_0.Args[0]
    		if !(c <= 56) {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteS390X.go

    	v_0 := v.Args[0]
    	// match: (Load <t> ptr mem)
    	// cond: (is64BitInt(t) || isPtr(t))
    	// result: (MOVDload ptr mem)
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is64BitInt(t) || isPtr(t)) {
    			break
    		}
    		v.reset(OpS390XMOVDload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: is32BitInt(t) && t.IsSigned()
    	// result: (MOVWload ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  3. 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)
  4. pilot/pkg/model/status/helper.go

    		return false
    	}
    	return defaultValue
    }
    
    func GetCondition(conditions []*v1alpha1.IstioCondition, condition string) *v1alpha1.IstioCondition {
    	for _, cond := range conditions {
    		if cond.Type == condition {
    			return cond
    		}
    	}
    	return nil
    }
    
    func UpdateConfigCondition(cfg config.Config, condition *v1alpha1.IstioCondition) config.Config {
    	cfg = cfg.DeepCopy()
    	var status *v1alpha1.IstioStatus
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 15:06:10 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite386.go

    		v.AddArg(x)
    		return true
    	}
    	// match: (ANDLconst [c] _)
    	// cond: c==0
    	// result: (MOVLconst [0])
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if !(c == 0) {
    			break
    		}
    		v.reset(Op386MOVLconst)
    		v.AuxInt = int32ToAuxInt(0)
    		return true
    	}
    	// match: (ANDLconst [c] x)
    	// cond: c==-1
    	// result: x
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		x := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/defaultValues/while.kt

    fun test() {
        var x = 0
        <expr>consume(x)
        while (cond()) {
            consume(++x)
        }</expr>
    }
    
    fun cond(): Boolean = true
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 10:53:11 UTC 2024
    - 156 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/deduplicate_if_results.mlir

    // CHECK-LABEL: else/tfrt_dedup_results
    // CHECK: return {{%.*}} : tensor<i32>
    
    // CHECK-LABEL: @basic
    func.func @basic(%cond: tensor<i1>, %x: tensor<i32>, %y: tensor<i32>) -> (tensor<i32>, tensor<i32>) {
      // CHECK-NEXT: [[r:%.*]] = "tf.If"
      // CHECK-NEXT: return [[r]], [[r]] : tensor<i32>, tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jul 01 23:50:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/replicate_tensor_list_init_ops.mlir

      %while:1 = "tf.WhileRegion"(%tl) ({
        ^bb0(%barg1: tensor<!tf_type.variant<tensor<?x1xf32>>>): // no predeceessors
          %cond = "tf.false"():()-> tensor<i1>
          "tf.Yield"(%cond) : (tensor<i1>) -> ()
      }, {
        ^bb0(%barg1: tensor<!tf_type.variant<tensor<?x1xf32>>>): // no predeceessors
        "tf.Yield"(%barg1) : (tensor<!tf_type.variant<tensor<?x1xf32>>>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 22 17:28:34 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewritePPC64.go

    	typ := &b.Func.Config.Types
    	// match: (Load <t> ptr mem)
    	// cond: (is64BitInt(t) || isPtr(t))
    	// result: (MOVDload ptr mem)
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is64BitInt(t) || isPtr(t)) {
    			break
    		}
    		v.reset(OpPPC64MOVDload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: is32BitInt(t) && t.IsSigned()
    	// result: (MOVWload ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  10. 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)
Back to top