Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,386 for phis (0.09 sec)

  1. src/cmd/compile/internal/ssa/stackalloc.go

    			phis = phis[:0]
    			for i := len(b.Values) - 1; i >= 0; i-- {
    				v := b.Values[i]
    				live.remove(v.ID)
    				if v.Op == OpPhi {
    					// Save phi for later.
    					// Note: its args might need a stack slot even though
    					// the phi itself doesn't. So don't use needSlot.
    					if !v.Type.IsMemory() && !v.Type.IsVoid() {
    						phis = append(phis, v)
    					}
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/loopreschedchecks.go

    	}
    }
    
    // newPhiFor inserts a new Phi function into b,
    // with all inputs set to v.
    func newPhiFor(b *Block, v *Value) *Value {
    	phiV := b.NewValue0(b.Pos, OpPhi, v.Type)
    
    	for range b.Preds {
    		phiV.AddArg(v)
    	}
    	return phiV
    }
    
    // rewriteNewPhis updates newphis[h] to record all places where the new phi function inserted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/deadstore.go

    					// reaching an op, but some ops can take
    					// multiple pointers (e.g. NeqPtr, Phi etc.).
    					// This is rare, so just propagate the first
    					// value to keep things simple.
    					used.Add(n)
    					changed = true
    				}
    			}
    		}
    		if node == nil {
    			return
    		}
    		if addr[v] == nil {
    			// The address of an auto reaches this op.
    			addr[v] = node
    			changed = true
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/nilcheck.go

    	work = append(work, bp{block: f.Entry})
    
    	// map from value ID to known non-nil version of that value ID
    	// (in the current dominator path being walked). This slice is updated by
    	// walkStates to maintain the known non-nil values.
    	// If there is extrinsic information about non-nil-ness, this map
    	// points a value to itself. If a value is known non-nil because we
    	// already did a nil check on it, it points to the nil check operation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/nilcheck_test.go

    			If("bool2", "extra", "exit")),
    		Bloc("extra",
    			// prevent fuse from eliminating this block
    			Valu("store", OpStore, types.TypeMem, 0, ptrType, "ptr1", "nilptr", "mem"),
    			Goto("exit")),
    		Bloc("exit",
    			Valu("phi", OpPhi, types.TypeMem, 0, nil, "mem", "store"),
    			Exit("phi")))
    
    	CheckFunc(fun.f)
    	// we need the opt here to rewrite the user nilcheck
    	opt(fun.f)
    	nilcheckelim(fun.f)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/schedule.go

    				// of flag values.
    				score[v.ID] = ScoreReadFlags
    			case v.isFlagOp():
    				// Schedule flag register generation as late as possible.
    				// This makes sure that we only have one live flags
    				// value at a time.
    				// Note that this case is after the case above, so values
    				// which both read and generate flags are given ScoreReadFlags.
    				score[v.ID] = ScoreFlags
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/check.go

    					// If no mem phi, take mem of any predecessor.
    					mem = lastmem[b.Preds[0].b.ID]
    				}
    				for _, a := range v.Args {
    					if a.Type.IsMemory() && a != mem {
    						f.Fatalf("two live mems @ %s: %s and %s", v, mem, a)
    					}
    				}
    				if v.Type.IsMemory() {
    					mem = v
    				}
    			}
    		}
    	}
    
    	// Check that after scheduling, phis are always first in the block.
    	if f.scheduled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/block.go

    		b.Fatalf("inconsistent state for %v, num predecessors: %d, num phi args: %d", phi, n, numPhiArgs)
    	}
    	phi.Args[i].Uses--
    	phi.Args[i] = phi.Args[n]
    	phi.Args[n] = nil
    	phi.Args = phi.Args[:n]
    	phielimValue(phi)
    }
    
    // LackingPos indicates whether b is a block whose position should be inherited
    // from its successors.  This is true if all the values within it have unreliable positions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/sccp.go

    	// original value, this behavior is undesired, because the lattice of values
    	// may change multiple times, once it was rewritten, we lose the opportunity
    	// to change it permanently, which can lead to errors. For example, We cannot
    	// change its value immediately after visiting Phi, because some of its input
    	// edges may still not be visited at this moment.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
     *   http://www.apache.org/licenses/LICENSE-2.0
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top