Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for Preds (0.04 sec)

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

    // phi values by calling b.removePhiArg(v, i).
    func (b *Block) removePred(i int) {
    	n := len(b.Preds) - 1
    	if i != n {
    		e := b.Preds[n]
    		b.Preds[i] = e
    		// Update the other end of the edge we moved.
    		e.b.Succs[e.i].i = i
    	}
    	b.Preds[n] = Edge{}
    	b.Preds = b.Preds[:n]
    	b.Func.invalidateCFG()
    }
    
    // removeSucc removes the ith output edge from b.
    // It is the responsibility of the caller to remove
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/check.go

    		if b.Func != f {
    			f.Fatalf("%s.Func=%s, want %s", b, b.Func.Name, f.Name)
    		}
    
    		for i, e := range b.Preds {
    			if se := e.b.Succs[e.i]; se.b != b || se.i != i {
    				f.Fatalf("block pred/succ not crosslinked correctly %d:%s %d:%s", i, b, se.i, se.b)
    			}
    		}
    		for i, e := range b.Succs {
    			if pe := e.b.Preds[e.i]; pe.b != b || pe.i != i {
    				f.Fatalf("block succ/pred not crosslinked correctly %d:%s %d:%s", i, b, pe.i, pe.b)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/debug.go

    		// blocks.  Therefore remove unchanged blocks from the
    		// predecessor list.
    		for i := len(preds) - 1; i >= 0; i-- {
    			pred := preds[i]
    			if blockLocs[pred.ID].lastChangedTime > locs.lastCheckedTime {
    				continue // keep this predecessor
    			}
    			preds[i] = preds[len(preds)-1]
    			preds = preds[:len(preds)-1]
    			if state.loggingLevel > 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/liveness/plive.go

    				decisionBlock = c
    			} else if len(c.Preds) == 1 && len(d.Preds) == 1 && c.Preds[0].Block() == d.Preds[0].Block() {
    				decisionBlock = c.Preds[0].Block()
    			} else {
    				lv.f.Fatalf("can't find write barrier pattern %v", v)
    			}
    			if len(decisionBlock.Succs) != 2 {
    				lv.f.Fatalf("common predecessor block the wrong type %s", decisionBlock.Kind)
    			}
    
    			// Flow backwards from the control value to find the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/looprotate.go

    	after := map[ID][]*Block{}
    
    	// Check each loop header and decide if we want to move it.
    	for _, loop := range loopnest.loops {
    		b := loop.header
    		var p *Block // b's in-loop predecessor
    		for _, e := range b.Preds {
    			if e.b.Kind != BlockPlain {
    				continue
    			}
    			if loopnest.b2l[e.b.ID] != loop {
    				continue
    			}
    			p = e.b
    		}
    		if p == nil {
    			continue
    		}
    		p.Hotness |= HotInitial
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    	// Max distance
    	d := 100
    
    	for d > 0 {
    		for _, x := range a {
    			if b == x.Block {
    				goto found
    			}
    		}
    		if len(b.Preds) > 1 {
    			// Don't know which way to go back. Abort.
    			return nil
    		}
    		b = b.Preds[0].b
    		d--
    	}
    	return nil // too far away
    found:
    	// At this point, r is the first value in a that we find by walking backwards.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/func.go

    	} else {
    		ID := f.bid.get()
    		if int(ID) < len(f.Cache.blocks) {
    			b = &f.Cache.blocks[ID]
    			b.ID = ID
    		} else {
    			b = &Block{ID: ID}
    		}
    	}
    	b.Kind = kind
    	b.Func = f
    	b.Preds = b.predstorage[:0]
    	b.Succs = b.succstorage[:0]
    	b.Values = b.valstorage[:0]
    	f.Blocks = append(f.Blocks, b)
    	f.invalidateCFG()
    	return b
    }
    
    func (f *Func) freeBlock(b *Block) {
    	if b.Func == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. cmd/jwt_test.go

    		b.Fatal(err)
    	}
    
    	creds := globalActiveCred
    	token, err := authenticateNode(creds.AccessKey, creds.SecretKey, "")
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	b.ResetTimer()
    	b.ReportAllocs()
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			err = xjwt.ParseWithStandardClaims(token, xjwt.NewStandardClaims(), []byte(creds.SecretKey))
    			if err != nil {
    				b.Fatal(err)
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:45:14 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

    	})
    	if err != nil {
    		c.Fatalf("Error initializing client: %v", err)
    	}
    
    	// Validate that the client from sts creds can access the bucket.
    	c.mustListObjects(ctx, minioClient, bucket)
    
    	// Create an madmin client with user creds
    	userAdmClient, err := madmin.NewWithOptions(s.endpoint, &madmin.Options{
    		Creds:  cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    		Secure: s.secure,
    	})
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  10. cmd/tier.go

    	case madmin.S3:
    		if creds.AWSRole {
    			cfg.S3.AWSRole = true
    		}
    		if creds.AWSRoleWebIdentityTokenFile != "" && creds.AWSRoleARN != "" {
    			cfg.S3.AWSRoleARN = creds.AWSRoleARN
    			cfg.S3.AWSRoleWebIdentityTokenFile = creds.AWSRoleWebIdentityTokenFile
    		}
    		if creds.AccessKey != "" && creds.SecretKey != "" {
    			cfg.S3.AccessKey = creds.AccessKey
    			cfg.S3.SecretKey = creds.SecretKey
    		}
    	case madmin.Azure:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top