LLVMStmt Module
Functions and values
| Function or value | Description | 
            
                
              
              
                  Full Usage: 
                   
              mkBinop id op sz lhs rhs
                  Parameters: 
 LLVMIdentifier
                    
                    op : string
                    
                    sz : string
                    
                    lhs : LLVMExpr
                    
                    rhs : LLVMExpr
                    
                    Returns: LLVMStmt
                  
                   | 
          
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              mkBitcast id expr typ
                  Parameters: 
 LLVMIdentifier
                    
                    expr : LLVMExpr
                    
                    typ : string
                    
                    Returns: LLVMStmt
                  
                   | 
          
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              mkCast id op fromSz e toSz
                  Parameters: 
 LLVMIdentifier
                    
                    op : string
                    
                    fromSz : string
                    
                    e : LLVMExpr
                    
                    toSz : string
                    
                    Returns: LLVMStmt
                  
                   | 
          
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              mkGetElementPtr id ptr offset
                  Parameters: 
 LLVMIdentifier
                    
                    ptr : LLVMIdentifier
                    
                    offset : int
                    
                    Returns: LLVMStmt
                  
                   | 
          
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              mkIcmp id op sz lhs rhs
                  Parameters: 
 LLVMIdentifier
                    
                    op : string
                    
                    sz : string
                    
                    lhs : LLVMExpr
                    
                    rhs : LLVMExpr
                    
                    Returns: LLVMStmt
                  
                   | 
          
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              mkIntToPtr id itype expr ptyp
                  Parameters: 
 LLVMIdentifier
                    
                    itype : string
                    
                    expr : LLVMExpr
                    
                    ptyp : string
                    
                    Returns: LLVMStmt
                  
                   | 
          
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              mkLoad id addr comment
                  Parameters: 
 LLVMIdentifier
                    
                    addr : LLVMIdentifier
                    
                    comment : string option
                    
                    Returns: LLVMStmt
                  
                   | 
          
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              mkSelect id cond typ t f
                  Parameters: 
 LLVMIdentifier
                    
                    cond : LLVMExpr
                    
                    typ : string
                    
                    t : LLVMExpr
                    
                    f : LLVMExpr
                    
                    Returns: LLVMStmt
                  
                   | 
          
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              mkStore v addr align comment
                  Parameters: 
 LLVMExpr
                    
                    addr : LLVMIdentifier
                    
                    align : string option
                    
                    comment : string option
                    
                    Returns: LLVMStmt
                  
                   | 
          
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              mkTrunc id expr typ
                  Parameters: 
 LLVMIdentifier
                    
                    expr : LLVMExpr
                    
                    typ : string
                    
                    Returns: LLVMStmt
                  
                   | 
          
            
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              mkZExt id expr typ
                  Parameters: 
 LLVMIdentifier
                    
                    expr : LLVMExpr
                    
                    typ : string
                    
                    Returns: LLVMStmt
                  
                   | 
          
            
 
  | 
        
            B2R2