LLVMIRBuilder Type
LLVM IR builder, which takes in a series of LowUIR stmts and creates an LLVM function that corresponds to the LowUIR stmts.
Constructors
| Constructor | Description | 
            
                
              
              
                  Full Usage: 
                   
              LLVMIRBuilder(fname, addr, hdl, ctxt)
                  Parameters: 
 string
                    
                    addr : Addr
                    
                    hdl : BinHandle
                    
                    ctxt : LLVMContext
                    
                    Returns: LLVMIRBuilder
                  
                   | 
          
            
 
  | 
        
Instance members
| Instance member | Description | 
            
                
              
               | 
          
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.EmitBinOp
                  Parameters: 
 string
                    
                    typ : int<MeasureProduct<rt, MeasureOne>>
                    
                    lhs : LLVMExpr
                    
                    rhs : LLVMExpr
                    
                    Returns: LLVMExpr
                  
                   | 
          
            
 
  | 
        
            
                
              
              
             | 
          |
            
                
              
              
                  Full Usage: 
                   
              this.EmitBranchToFinal
                   | 
          |
            
                
              
              
                  Full Usage: 
                   
              this.EmitCast
                  Parameters: 
 LLVMExpr
                    
                    kind : string
                    
                    etyp : int<MeasureProduct<rt, MeasureOne>>
                    
                    rt : int<MeasureProduct<rt, MeasureOne>>
                    
                    Returns: LLVMExpr
                  
                   | 
          
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.EmitComment
                  Parameters: 
 string
                    
                     | 
          
            
  | 
        
            
                
              
              
             | 
          |
            
                
              
              
             | 
          
            
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.EmitInterCJmp
                  Parameters: 
 int<MeasureProduct<rt, MeasureOne>>
                    
                    cond : LLVMExpr
                    
                    t : LLVMExpr
                    
                    f : LLVMExpr
                    
                    succs : Addr list
                    
                     | 
          
            
  | 
        
            
                
              
              
             | 
          |
            
                
              
               | 
          
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.EmitMemLoad
                  Parameters: 
 LLVMExpr
                    
                    mtyp : int<MeasureProduct<rt, MeasureOne>>
                    
                    Returns: LLVMExpr
                  
                   | 
          
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.EmitMemStore
                  Parameters: 
 LLVMExpr
                    
                    mtyp : int<MeasureProduct<rt, MeasureOne>>
                    
                    v : LLVMExpr
                    
                     | 
          
            
  | 
        
            
                
              
               | 
          
            
  | 
        
            
                
              
               | 
          
            
  | 
        
            
                
              
               | 
          
            
 
  | 
        
            
                
              
               | 
          
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.EmitRelOp
                  Parameters: 
 string
                    
                    typ : int<MeasureProduct<rt, MeasureOne>>
                    
                    lhs : LLVMExpr
                    
                    rhs : LLVMExpr
                    
                    Returns: LLVMExpr
                  
                   | 
          
            
 
  | 
        
            
                
              
               | 
          
            
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.EmitUnOp
                  Parameters: 
 string
                    
                    exp : LLVMExpr
                    
                    etyp : int<MeasureProduct<rt, MeasureOne>>
                    
                    Returns: LLVMExpr
                  
                   | 
          
            
 
  | 
        
            
                
              
              
             | 
          
            
 
  | 
        
            B2R2