Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for visibility (0.16 sec)

  1. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

      for (Value arg : arguments) {
        arg_locs.push_back(arg.getLoc());
      }
    
      auto wrap_func = builder.create<func::FuncOp>(location, func_name, func_type);
      wrap_func.setVisibility(SymbolTable::Visibility::Private);
      // The callee function for TF::XlaCallModuleOp must have this attribute.
      if (call_op_type == FunctionCallOpType::TFXlaCallModuleOp) {
        wrap_func->setAttr(TF::kFromXlaCallModuleAttrName, builder.getUnitAttr());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      pass_manager->addNestedPass<mlir::func::FuncOp>(
          mlir::createCanonicalizerPass());
      pass_manager->addNestedPass<mlir::func::FuncOp>(mlir::createCSEPass());
      // This pass does dead code elimination based on symbol visibility.
      pass_manager->addPass(mlir::createSymbolDCEPass());
    
      if (!pass_config.disable_variable_freezing) {
        // This pass 'freezes' immutable global tensors and inlines them as tf
        // constant ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. src/encoding/json/encode.go

    // were fields in the outer struct, subject to the usual Go visibility rules amended
    // as described in the next paragraph.
    // An anonymous struct field with a name given in its JSON tag is treated as
    // having that name, rather than being anonymous.
    // An anonymous struct field of interface type is treated the same as having
    // that type as its name, rather than being anonymous.
    //
    // The Go visibility rules for struct fields are amended for JSON when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/util.go

    	// TODO For now, this is only used for debugging output, and if we need more/better information, it might change.
    	// An example of what we might want to see is the full stack of positions for inlined code, so we get some visibility into what is recorded there.
    	pos := p.Ctxt.InnermostPos(p.Pos)
    	if !pos.IsKnown() {
    		return "<unknown file name>"
    	}
    	return pos.Filename()
    }
    
    var armCondCode = []string{
    	".EQ",
    	".NE",
    	".CS",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/macho.go

    		} else {
    			if export || ldr.AttrCgoExportDynamic(s) {
    				symtab.AddUint8(0x0f) // N_SECT | N_EXT
    			} else if ldr.AttrCgoExportStatic(s) {
    				// Only export statically, not dynamically. (N_PEXT is like hidden visibility)
    				symtab.AddUint8(0x1f) // N_SECT | N_EXT | N_PEXT
    			} else {
    				symtab.AddUint8(0x0e) // N_SECT
    			}
    			o := s
    			if outer := ldr.OuterSym(o); outer != 0 {
    				o = outer
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/help/helpdoc.go

                        baz/           (go code in package baz)
                            z.go
                    quux/              (go code in package main)
                        y.go
    
    The same visibility rules apply as for internal, but the code
    in z.go is imported as "baz", not as "foo/vendor/baz".
    
    Code in vendor directories deeper in the source tree shadows
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. test/codegen/arithmetic.go

    	// 386:"SHRL",-"IDIVL"
    	// amd64:"SHRQ",-"IDIVQ"
    	// arm:"SRA",-".*udiv"
    	// arm64:"ASR",-"REM"
    	// ppc64x:"SRAD"
    	b := n2 % 64 // signed
    
    	return a, b
    }
    
    // Check that signed divisibility checks get converted to AND on low bits
    func Pow2DivisibleSigned(n1, n2 int) (bool, bool) {
    	// 386:"TESTL\t[$]63",-"DIVL",-"SHRL"
    	// amd64:"TESTQ\t[$]63",-"DIVQ",-"SHRQ"
    	// arm:"AND\t[$]63",-".*udiv",-"SRA"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top