Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for visit_block (0.14 sec)

  1. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        self.symbol_table.enter_scope(scf_scope=True)
        self.visit_block(body_def.body)
        self.visit_block(get_state.body)
        self.symbol_table.exit_scope()
    
        self.emit('\n} else {')
    
        # Create a new scope in case the local variables are leaked.
        self.symbol_table.enter_scope(scf_scope=True)
        self.visit_block(orelse_def.body)
        self.visit_block(get_state.body)
        self.symbol_table.exit_scope()
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/sccp.go

    	t.edges = append(t.edges, Edge{f.Entry, 0})
    	t.defUse = make(map[*Value][]*Value)
    	t.defBlock = make(map[*Value][]*Block)
    	t.latticeCells = make(map[*Value]lattice)
    	t.visitedBlock = f.Cache.allocBoolSlice(f.NumBlocks())
    	defer f.Cache.freeBoolSlice(t.visitedBlock)
    
    	// build it early since we rely heavily on the def-use chain later
    	t.buildDefUses()
    
    	// pick up either an edge or SSA value from worklist, process it
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top