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
QQmlJSTypePropagator::PassState Struct Reference

#include <qqmljstypepropagator_p.h>

Inheritance diagram for QQmlJSTypePropagator::PassState:
Collaboration diagram for QQmlJSTypePropagator::PassState:

Public Attributes

InstructionAnnotations annotations
QSet< int > jumpTargets
bool skipInstructionsUntilNextJumpTarget = false
bool needsMorePasses = false
bool instructionHasError = false
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 181 of file qqmljstypepropagator_p.h.

Member Data Documentation

◆ annotations

InstructionAnnotations QQmlJSTypePropagator::PassState::annotations

Definition at line 183 of file qqmljstypepropagator_p.h.

◆ instructionHasError

bool QQmlJSTypePropagator::PassState::instructionHasError = false

Definition at line 187 of file qqmljstypepropagator_p.h.

◆ jumpTargets

QSet<int> QQmlJSTypePropagator::PassState::jumpTargets

Definition at line 184 of file qqmljstypepropagator_p.h.

◆ needsMorePasses

bool QQmlJSTypePropagator::PassState::needsMorePasses = false

Definition at line 186 of file qqmljstypepropagator_p.h.

◆ skipInstructionsUntilNextJumpTarget

bool QQmlJSTypePropagator::PassState::skipInstructionsUntilNextJumpTarget = false

Definition at line 185 of file qqmljstypepropagator_p.h.


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