Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for isExternal (0.14 sec)

  1. src/cmd/link/internal/x86/asm.go

    	}
    
    	// Reread the reloc to incorporate any changes in type above.
    	relocs := ldr.Relocs(s)
    	r = relocs.At(rIdx)
    
    	switch r.Type() {
    	case objabi.R_CALL,
    		objabi.R_PCREL:
    		if target.IsExternal() {
    			// External linker will do this relocation.
    			return true
    		}
    		addpltsym(target, ldr, syms, targ)
    		su := ldr.MakeSymbolUpdater(s)
    		su.SetRelocSym(rIdx, syms.PLT)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/symbolbuilder.go

    // the lookup tables and caches point to the new version, not the old
    // version.
    func (l *Loader) MakeSymbolUpdater(symIdx Sym) *SymbolBuilder {
    	if symIdx == 0 {
    		panic("can't update the null symbol")
    	}
    	if !l.IsExternal(symIdx) {
    		// Create a clone with the same name/version/kind etc.
    		l.cloneToExternal(symIdx)
    	}
    
    	// Construct updater and return.
    	sb := &SymbolBuilder{l: l, symIdx: symIdx}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/amd64/asm.go

    	r = relocs.At(rIdx)
    
    	switch r.Type() {
    	case objabi.R_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, for both ELF and Mach-O.
    		// Build a PLT entry and change the relocation target to that entry.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/link/internal/ld/pe.go

    			return
    		}
    
    		name := ldr.SymName(s)
    
    		// Only windows/386 requires underscore prefix on external symbols.
    		if ctxt.Is386() && ctxt.IsExternal() &&
    			(t == sym.SHOSTOBJ || t == sym.SUNDEFEXT || ldr.AttrCgoExport(s) ||
    				// TODO(cuonglm): remove this hack
    				//
    				// Previously, windows/386 requires underscore prefix on external symbols,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

      assert(operands.empty() && "constant has no operands");
    
      // Return the held attribute value.
      return getValue();
    }
    
    // CallableOpInterface
    Region *TFRFuncOp::getCallableRegion() {
      return isExternal() ? nullptr : &getBody().front();
    }
    
    //===----------------------------------------------------------------------===//
    // Dialect type definitions
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.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