Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
const QQmlJSRegisterContentaccumulatorIn () const
 The accumulatorIn is the input register of the current instruction.
 
const QQmlJSRegisterContentaccumulatorOut () const
 The accumulatorOut is the output register of the current instruction.
 
void setRegister (int registerIndex, QQmlJSRegisterContent content)
 
void clearChangedRegister ()
 
int changedRegisterIndex () const
 
const QQmlJSRegisterContentchangedRegister () const
 
void addReadRegister (int registerIndex, const QQmlJSRegisterContent &reg)
 
void addReadAccumulator (const 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 hasSideEffects () const
 
void markSideEffects (bool hasSideEffects)
 
void applySideEffects (bool hasSideEffects)
 
void setHasSideEffects (bool hasSideEffects)
 
bool isRename () const
 
void setIsRename (bool isRename)
 
int renameSourceRegisterIndex () const
 

Detailed Description

Definition at line 43 of file qqmljscodegenerator_p.h.

Member Data Documentation

◆ accumulatorVariableIn

◆ accumulatorVariableOut


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