Go to the documentation of this file.
128 if (index == found) {
230 if (index == found) {
316 newDataLabels_.push_back(labelOwner);
350 program.instructionReferenceManager().createReference(
367 if ((*i)->label().address().location() == address) {
387 label_(&label), owner_(&owner) {
const CodeLabel & codeLabel(const std::string &name) const
UInt32 InstructionAddress
std::vector< LabelOwner * > LabelOwnerList
List for LabelOwners.
virtual void addDataLabel(const DataLabel *dataLabel)
const Label & label() const
virtual Scope * copyAndRelocate(const TTAProgram::Program &program) const
const TTAMachine::AddressSpace & space() const
const DataLabel & globalDataLabel(Address address, int index) const
virtual Address address() 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 addCodeLabel(const CodeLabel *codeLabel)
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.
InstructionAddress location() const
virtual Address address() const
virtual void removeCodeLabels(InstructionAddress address)
const DataLabel & dataLabel(const std::string &name) const
const CodeLabel & globalCodeLabel(Address address, int index) const
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