Go to the documentation of this file.
33 #ifndef TTA_GLOBAL_SCOPE_HH
34 #define TTA_GLOBAL_SCOPE_HH
const CodeLabel & codeLabel(const std::string &name) const
UInt32 InstructionAddress
std::vector< LabelOwner * > LabelOwnerList
List for LabelOwners.
const Label & label() const
virtual Scope * copyAndRelocate(const TTAProgram::Program &program) const
const Scope * owner_
The owner scope of the label.
const DataLabel & globalDataLabel(Address address, int index) const
virtual Scope * copy() const
LabelOwnerList allDataLabels_
Container for all data labels.
const Scope & scope() const
LabelOwner(const Label &label, const Scope &owner)
virtual void setDataLabelAddressSpace(const TTAMachine::AddressSpace &space)
int globalDataLabelCount() const
LabelOwnerList allCodeLabels_
Container for all code labels contained in the global scope and its child scopes.
virtual void removeCodeLabels(InstructionAddress address)
GlobalScope & operator=(const GlobalScope &)
Assignment not allowed.
const CodeLabel & globalCodeLabel(Address address, int index) const
const Label * label_
The label.
find Finds info of the inner loops in the program
virtual void addGlobalCodeLabel(const CodeLabel &codeLabel, const Scope &owner)
virtual bool isGlobal() const
virtual void addGlobalDataLabel(const DataLabel &codeLabel, const Scope &owner)
int globalCodeLabelCount() const