Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsIntrinsicCall (0.13 sec)

  1. src/cmd/compile/internal/walk/assign.go

    func walkAssignFunc(init *ir.Nodes, n *ir.AssignListStmt) ir.Node {
    	init.Append(ir.TakeInit(n)...)
    
    	r := n.Rhs[0]
    	walkExprListSafe(n.Lhs, init)
    	r = walkExpr(r, init)
    
    	if ir.IsIntrinsicCall(r.(*ir.CallExpr)) {
    		n.Rhs = []ir.Node{r}
    		return n
    	}
    	init.Append(r)
    
    	ll := ascompatet(n.Lhs, r.Type())
    	return ir.NewBlockStmt(src.NoXPos, ll)
    }
    
    // walkAssignList walks an OAS2 node.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    	case ir.OBLOCK:
    		n := n.(*ir.BlockStmt)
    		s.stmtList(n.List)
    
    	case ir.OFALL: // no-op
    
    	// Expression statements
    	case ir.OCALLFUNC:
    		n := n.(*ir.CallExpr)
    		if ir.IsIntrinsicCall(n) {
    			s.intrinsicCall(n)
    			return
    		}
    		fallthrough
    
    	case ir.OCALLINTER:
    		n := n.(*ir.CallExpr)
    		s.callResult(n, callNormal)
    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