class ScheduleDAGInstrs::Value2SUsMap

Declaration

class ScheduleDAGInstrs::Value2SUsMap : public MapVector { /* full declaration omitted */ };

Description

A map from ValueType to SUList, used during DAG construction, as a means of remembering which SUs depend on which memory locations.

Declared at: llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:605

Inherits from: MapVector

Member Variables

private unsigned int NumNodes = 0
Current total number of SUs in map.
private unsigned int TrueMemOrderLatency
1 for loads, 0 for stores. (see comment in SUList)

Method Overview

Methods

Value2SUsMap(unsigned int lat = 0)

Declared at: llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:613

Parameters

unsigned int lat = 0

void clear()

Description

Clears map from all contents.

Declared at: llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:639

inline void clearList(llvm::ValueType V)

Description

Clears the list of SUs mapped to V.

Declared at: llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:628

Parameters

llvm::ValueType V

void dump()

Declared at: llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:657

inline unsigned int getTrueMemOrderLatency() const

Declared at: llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:653

inline void insert(llvm::SUnit* SU,
                   llvm::ValueType V)

Description

Adds SU to the SUList of V. If Map grows huge, reduce its size by calling reduce().

Declared at: llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:622

Parameters

llvm::SUnit* SU
llvm::ValueType V

void reComputeSize()

Description

Counts the number of SUs in this map after a reduction.

Declared at: llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:647

inline unsigned int size() const

Declared at: llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:644