Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RewriteCall (0.24 sec)

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

      callee.setFunctionType(FunctionType::get(callee.getContext(),
                                               callee.getBody().getArgumentTypes(),
                                               callee.getResultTypes()));
    }
    
    void RewriteCall(tf_device::ClusterFuncOp cluster_func_op, SymbolTable &symtab,
                     OpBuilder &builder) {
      llvm::SmallVector<Value> non_resource_args, resource_args;
      bool has_resources = false, in_order = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/expand_calls.go

    	}
    
    	// Rewrite calls
    	for _, v := range calls {
    		switch v.Op {
    		case OpStaticLECall:
    			rewriteCall(v, OpStaticCall, 0)
    		case OpTailLECall:
    			rewriteCall(v, OpTailCall, 0)
    		case OpClosureLECall:
    			rewriteCall(v, OpClosureCall, 2)
    		case OpInterLECall:
    			rewriteCall(v, OpInterCall, 1)
    		}
    	}
    
    	// Rewrite results from exit blocks
    	for _, b := range exitBlocks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    			continue
    		}
    		start := f.offset(call.Call.Pos())
    		end := f.offset(call.Call.End())
    		str, nu := p.rewriteCall(f, call)
    		if str != "" {
    			f.Edit.Replace(start, end, str)
    			if nu {
    				needsUnsafe = true
    			}
    		}
    	}
    	return needsUnsafe
    }
    
    // rewriteCall rewrites one call to add pointer checks.
    // If any pointer checks are required, we rewrite the call into a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top