Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlJSCodeGenerator::CodegenState Struct Reference

#include <qqmljscodegenerator_p.h>

Inheritance diagram for QQmlJSCodeGenerator::CodegenState:
Collaboration diagram for QQmlJSCodeGenerator::CodegenState:

Public Attributes

QString accumulatorVariableIn
QString accumulatorVariableOut
Public Attributes inherited from QQmlJSCompilePass::State
VirtualRegisters registers
VirtualRegisters lookups

Additional Inherited Members

Public Member Functions inherited from QQmlJSCompilePass::State
QQmlJSRegisterContent accumulatorIn () const
 The accumulatorIn is the input register of the current instruction.
QQmlJSRegisterContent accumulatorOut () const
 The accumulatorOut is the output register of the current instruction.
void setRegister (int registerIndex, QQmlJSRegisterContent content)
void clearChangedRegister ()
int changedRegisterIndex () const
QQmlJSRegisterContent changedRegister () const
void addReadRegister (int registerIndex, QQmlJSRegisterContent reg)
void addReadAccumulator (QQmlJSRegisterContent reg)
VirtualRegisters takeReadRegisters () const
void setReadRegisters (VirtualRegisters readReagisters)
QQmlJSRegisterContent readRegister (int registerIndex) const
bool canMoveReadRegister (int registerIndex) const
bool isRegisterAffectedBySideEffects (int registerIndex) const
QQmlJSRegisterContent readAccumulator () const
 The readAccumulator is the register content expected by the current instruction.
bool readsRegister (int registerIndex) const
bool hasInternalSideEffects () const
bool hasExternalSideEffects () const
void resetSideEffects ()
void applyExternalSideEffects (bool hasExternalSideEffects)
void setHasInternalSideEffects ()
void setHasExternalSideEffects ()
bool isRename () const
void setIsRename (bool isRename)
bool isShadowable () const
void setIsShadowable (bool isShadowable)
int renameSourceRegisterIndex () const
void applyAnnotation (const InstructionAnnotation &annotation)

Detailed Description

Definition at line 42 of file qqmljscodegenerator_p.h.

Member Data Documentation

◆ accumulatorVariableIn

QString QQmlJSCodeGenerator::CodegenState::accumulatorVariableIn

Definition at line 44 of file qqmljscodegenerator_p.h.

◆ accumulatorVariableOut

QString QQmlJSCodeGenerator::CodegenState::accumulatorVariableOut

Definition at line 45 of file qqmljscodegenerator_p.h.


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