Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
Public Member Functions | List of all members
proteus::IRValue Class Reference

#include <IRValue.h>

Inheritance diagram for proteus::IRValue:
Inheritance graph
[legend]

Public Member Functions

virtual ~IRValue ()=default
 

Detailed Description

A backend-independent opaque handle to an IR value.

IRValue is an abstract base class. Backend-specific subclasses hold the native value. The code builder owns all value objects; the frontend passes raw IRValue* pointers around — cheap, trivially copyable, no indirection cost.

Lifetime: every IRValue* is owned by the LLVMCodeBuilder (and thus by the JitModule) that created it. Callers must never delete them.

Constructor & Destructor Documentation

◆ ~IRValue()

virtual proteus::IRValue::~IRValue ( )
virtualdefault

The documentation for this class was generated from the following file: