Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for isExternal (0.14 sec)

  1. tensorflow/compiler/mlir/tfr/passes/decompose.cc

        // Find out the compose function
        auto compose_func_name = GetComposeFuncName(op->getName().getStringRef());
        auto compose_func = table.lookup<TFRFuncOp>(compose_func_name);
        if (!compose_func || compose_func.isExternal()) {
          // There are no decomposition methods defined for this op, skip.
          return WalkResult::advance();
        }
    
        // Make sure all the attributes are valid. An attribute is valid when it is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/config.go

    func (c Config) DeepCopy() Config {
    	newc := c
    	newc.Cluster = nil
    	newc = copyInternal(newc).(Config)
    	newc.Cluster = c.Cluster
    	newc.Namespace = c.Namespace
    	return newc
    }
    
    func (c Config) IsExternal() bool {
    	return c.HostHeader() != c.ClusterLocalFQDN()
    }
    
    const (
    	defaultService   = "echo"
    	defaultVersion   = "v1"
    	defaultNamespace = "echo"
    	defaultDomain    = constants.DefaultClusterLocalDomain
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. src/cmd/link/internal/arm64/asm.go

    	r = relocs.At(rIdx)
    
    	switch r.Type() {
    	case objabi.R_CALLARM64:
    		if targType != sym.SDYNIMPORT {
    			// nothing to do, the relocation will be laid out in reloc
    			return true
    		}
    		if target.IsExternal() {
    			// External linker will do this relocation.
    			return true
    		}
    		// Internal linking.
    		if r.Add() != 0 {
    			ldr.Errorf(s, "PLT call with non-zero addend (%v)", r.Add())
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/macho.go

    		sb = ctxt.loader.MakeSymbolUpdater(s)
    		sb.SetType(sym.SMACHOINDIRECTGOT)
    		sb.SetReachable(true)
    	}
    
    	// Add a dummy symbol that will become the __asm marker section.
    	if ctxt.IsExternal() {
    		s = ctxt.loader.LookupOrCreateSym(".llvmasm", 0)
    		sb = ctxt.loader.MakeSymbolUpdater(s)
    		sb.SetType(sym.SMACHO)
    		sb.SetReachable(true)
    		sb.AddUint8(0)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  5. src/cmd/link/internal/riscv64/asm.go

    	r = relocs.At(rIdx)
    
    	switch r.Type() {
    	case objabi.R_RISCV_CALL:
    		if targType != sym.SDYNIMPORT {
    			// nothing to do, the relocation will be laid out in reloc
    			return true
    		}
    		if target.IsExternal() {
    			// External linker will do this relocation.
    			return true
    		}
    		// Internal linking.
    		if r.Add() != 0 {
    			ldr.Errorf(s, "PLT reference with non-zero addend (%v)", r.Add())
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

      // external func ops have the trailing underscore.
      std::string external_callee_name = call_op.getCallee().str().append("_");
      TFRFuncOp func = symbol_table_.lookup<TFRFuncOp>(external_callee_name);
      if (!func || !func.isExternal()) return failure();
      // Get the inputs and attributes. The attributes include these from the
      // argument list and also these derived from the inputs.
      SmallVector<Value, 4> inputs;
      NamedAttrList argument_attrs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/deadcode.go

    		// so we make sure we're pulling in all outer symbols, and their sub
    		// symbols. This is not ideal, and these carrier/section symbols could
    		// be removed.
    		if d.ldr.IsExternal(symIdx) {
    			d.mark(d.ldr.OuterSym(symIdx), symIdx)
    			d.mark(d.ldr.SubSym(symIdx), symIdx)
    		}
    
    		if len(methods) != 0 {
    			if !isgotype {
    				panic("method found on non-type symbol")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

      // because the symbol user map is invalidated once we start deleting while
      // ops.
      for (auto func : module.getOps<func::FuncOp>()) {
        if (func.isExternal()) continue;
        SmallVector<TF::WhileOp> while_callers = GetWhileCallers(func, symbol_map);
        if (while_callers.empty()) continue;
        while_body_func_to_while_ops[func] = while_callers;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

        // backtrack through that function call (our analysis will be correct but
        // pessimistic).
        for (CallGraphNode* node : scc) {
          if (node->isExternal()) continue;
          Region* region = node->getCallableRegion();
          GetOrCreateAnalysis(*region);
        }
      }
    
      // This above call graph analysis will cover all regions attached to functions
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

      // of constructing the table is offset by the number of queries.
      SymbolTable symbol_table(module);
      for (auto function : module.getOps<FuncOp>()) {
        if (function.isExternal())
          return errors::FailedPrecondition("External functions not supported");
    
        if (function.getName() == entry_func_id &&
            !configs.export_entry_func_to_flib) {
          entry_func.emplace(function);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top