Rework optimization of global variables #65764
                        
                     
                 
             
            
                
                    
                        
                        
                            
                                
                            
                        
                            
                            
                            
                        
                            
                            
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            handle debug_step in static initializers of globals and in the const …
                                         
                                        
                                            85aa1c12
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Handle `builtin.once` in BottomUpFunctionOrder
                                         
                                        
                                            3560360d
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            alias analysis: compute more precise memory effects of `builtin "once"`
                                         
                                        
                                            8a8a8952
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Swift Optimizer: add simplification for `cond_fail`
                                         
                                        
                                            a8c9aae1
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Swift Optimizer: add simplification of `debug_step`
                                         
                                        
                                            0a051240
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Swift Optimizer: add simplifications for `destructure_struct` and `de…
                                         
                                        
                                            5a3ab6ee
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Swift Optimizer: add simplification for `tuple_extract`
                                         
                                        
                                            88973a3c
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Swift Optimizer: constant fold builtins in the simplification passes
                                         
                                        
                                            9b51e69d
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Swift Optimizer: simplify `builtin "once"`
                                         
                                        
                                            c4096bc7
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Swift SIL: add some APIs for global variables
                                         
                                        
                                            e95c6425
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            make ModulePassContext conform to CustomStringConvertible
                                         
                                        
                                            3e04b868
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Passmanager: fix a problem with skipping the inliner pass
                                         
                                        
                                            260e68b1
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            LICM: hoist `builtin "once"` calls out of loops
                                         
                                        
                                            47a7acd4
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            CSE: cse `builtin "once"` calls
                                         
                                        
                                            56c09c3a
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            StringOptimization: handle inlined global accessors.
                                         
                                        
                                            19b828bc
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Inliner: don't distinguish between the "mid-level" and "late" inliner
                                         
                                        
                                            ee2924fd
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            WalkUtils: Don't treat `end_access` as leaf-use in the AddressDefUseW…
                                         
                                        
                                            78ce13db
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Swift Optimizer: add APIs to copy from or to a global static initializer
                                         
                                        
                                            2b117fd3
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Swift Optimizer: add the InitializeStaticGlobals function pass
                                         
                                        
                                            6d6b94e4
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Swift Optimizer: add simplification for `load`
                                         
                                        
                                            88a4a976
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Swift Optimizer: add the module pass ReadOnlyGlobalVariables
                                         
                                        
                                            960ca70d
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Pass Pipeline: replace the old GlobalOpt with the new InitializeStati…
                                         
                                        
                                            1e6511e7
                                        
                                     
                                 
                            
                        
                            
                                
                                    
                                    
                                        
                                        
                                            
                                            
        
    
                                            
                                            Optimizer: remove the now obsolete GlobalOpt pass
                                         
                                        
                                            df7c71ba
                                        
                                     
                                 
                            
                        
                            
                                
    
    
        
        
            
            
        
    
            
        eeckstein
    
            
            
                                    force pushed
                                    
                                    
                                    to
                                    df7c71ba
                                    
                                    2 years ago
                                
         
     
 
                            
                        
                            
                            
                            
                        
                            
                            
                            
                        
                            
                                
    
    
        
        
            
            
        
    
            
        eeckstein
    
            
            
                                    merged
                                    
                                    af933b0e
                                    
                                    into main 2 years ago
                                
         
     
 
                            
                        
                            
                                
    
    
        
        
            
            
        
    
            
        eeckstein
    
            
            
                                    deleted the globalopt branch 2 years ago
                                
         
     
 
                            
                        
                            
                            
                                
                                
                                    
                                        
                                            
                                            
                                            
                                        
                                        
                                            
        atrick
    
                                            
                                            
                                            commented
                                            
                                            on 2023-05-09
                                            
                                         
                                     
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                 
                             
                            
                        
                            
                            
                            
                        
                            
                            
                            
                        
                     
                    
                    
                    
                 
                
                    
                    
                        Assignees
                        
                        
                            No one assigned
                        
                        
                     
                    
                    
                 
             
         
        
        
     
 
     
Login to write a write a comment.
Login via GitHub