Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for used_args (0.26 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

      int num_args = cloned_branches[0].getNumArguments();
      llvm::BitVector used_args(num_args);
      for (func::FuncOp func : branches) {
        for (BlockArgument arg : func.getArguments()) {
          if (!arg.use_empty()) used_args.set(arg.getArgNumber());
        }
      }
    
      // There are some unused args that we can drop. Also drop the corresponding
      // input operand.
      if (used_args.count() != num_args) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc

          // TODO(b/246310765): This doesn't fully handle recursion.
          if (!use_count[arg.getArgNumber()]) unused_args.set(arg.getArgNumber());
        }
    
        EraseReturnOperands(region, unused_results);
        func.eraseResults(unused_results);
        func.eraseArguments(unused_args);
    
        args_to_erase.insert(std::make_pair(op, unused_args));
        results_to_erase.insert(std::make_pair(op, unused_results));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ppc64/ssa.go

    		p := s.Prog(obj.ACALL)
    		p.To.Type = obj.TYPE_MEM
    		p.To.Name = obj.NAME_EXTERN
    		p.To.Sym = ssagen.BoundsCheckFunc[v.AuxInt]
    		s.UseArgs(16) // space used in callee args area by assembly stubs
    
    	case ssa.OpPPC64LoweredNilCheck:
    		if buildcfg.GOOS == "aix" {
    			// CMP Rarg0, $0
    			// BNE 2(PC)
    			// STW R0, 0(R0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    		}
    	}
    
    	if s.maxarg < v.AuxInt {
    		s.maxarg = v.AuxInt
    	}
    }
    
    // UseArgs records the fact that an instruction needs a certain amount of
    // callee args space for its use.
    func (s *State) UseArgs(n int64) {
    	if s.maxarg < n {
    		s.maxarg = n
    	}
    }
    
    // fieldIdx finds the index of the field referred to by the ODOT node n.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top