Home
last modified time | relevance | path

Searched refs:HexagonBlockRanges (Results 1 – 16 of 16) sorted by relevance

/external/llvm/lib/Target/Hexagon/
DHexagonBlockRanges.cpp30 bool HexagonBlockRanges::IndexRange::overlaps(const IndexRange &A) const { in overlaps()
44 bool HexagonBlockRanges::IndexRange::contains(const IndexRange &A) const { in contains()
56 void HexagonBlockRanges::IndexRange::merge(const IndexRange &A) { in merge()
74 void HexagonBlockRanges::RangeList::include(const RangeList &RL) { in include()
83 void HexagonBlockRanges::RangeList::unionize(bool MergeAdjacent) { in unionize()
106 void HexagonBlockRanges::RangeList::addsub(const IndexRange &A, in addsub()
143 void HexagonBlockRanges::RangeList::subtract(const IndexRange &Range) { in subtract()
160 HexagonBlockRanges::InstrIndexMap::InstrIndexMap(MachineBasicBlock &B) in InstrIndexMap()
175 MachineInstr *HexagonBlockRanges::InstrIndexMap::getInstr(IndexType Idx) const { in getInstr()
181 HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getIndex( in getIndex()
[all …]
DHexagonBlockRanges.h32 struct HexagonBlockRanges { struct
33 HexagonBlockRanges(MachineFunction &MF);
166 inline HexagonBlockRanges::IndexType::operator unsigned() const { argument
171 inline bool HexagonBlockRanges::IndexType::operator== (unsigned x) const {
175 inline bool HexagonBlockRanges::IndexType::operator== (IndexType Idx) const {
179 inline bool HexagonBlockRanges::IndexType::operator!= (unsigned x) const {
183 inline bool HexagonBlockRanges::IndexType::operator!= (IndexType Idx) const {
188 HexagonBlockRanges::IndexType HexagonBlockRanges::IndexType::operator++ () {
198 inline bool HexagonBlockRanges::IndexType::operator< (unsigned Idx) const {
202 inline bool HexagonBlockRanges::IndexType::operator< (IndexType Idx) const {
[all …]
DHexagonFrameLowering.h131 unsigned findPhysReg(MachineFunction &MF, HexagonBlockRanges::IndexRange &FIR,
132 HexagonBlockRanges::InstrIndexMap &IndexMap,
133 HexagonBlockRanges::RegToRangeMap &DeadMap,
DHexagonFrameLowering.cpp1828 HexagonBlockRanges::IndexRange &FIR, in findPhysReg()
1829 HexagonBlockRanges::InstrIndexMap &IndexMap, in findPhysReg()
1830 HexagonBlockRanges::RegToRangeMap &DeadMap, in findPhysReg()
1847 for (auto R : HexagonBlockRanges::expandToSubRegs({Reg,0}, MRI, HRI)) { in findPhysReg()
1865 HexagonBlockRanges HBR(MF); in optimizeSpillSlots()
1867 typedef std::map<MachineBasicBlock*,HexagonBlockRanges::InstrIndexMap> in optimizeSpillSlots()
1869 typedef std::map<MachineBasicBlock*,HexagonBlockRanges::RangeList> in optimizeSpillSlots()
1871 typedef HexagonBlockRanges::IndexType IndexType; in optimizeSpillSlots()
1885 auto getRegClass = [&MRI,&HRI] (HexagonBlockRanges::RegisterRef R) in optimizeSpillSlots()
1922 std::make_pair(&B, HexagonBlockRanges::InstrIndexMap(B))); in optimizeSpillSlots()
[all …]
DCMakeLists.txt20 HexagonBlockRanges.cpp
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonBlockRanges.cpp34 bool HexagonBlockRanges::IndexRange::overlaps(const IndexRange &A) const { in overlaps()
47 bool HexagonBlockRanges::IndexRange::contains(const IndexRange &A) const { in contains()
58 void HexagonBlockRanges::IndexRange::merge(const IndexRange &A) { in merge()
75 void HexagonBlockRanges::RangeList::include(const RangeList &RL) { in include()
83 void HexagonBlockRanges::RangeList::unionize(bool MergeAdjacent) { in unionize()
105 void HexagonBlockRanges::RangeList::addsub(const IndexRange &A, in addsub()
141 void HexagonBlockRanges::RangeList::subtract(const IndexRange &Range) { in subtract()
157 HexagonBlockRanges::InstrIndexMap::InstrIndexMap(MachineBasicBlock &B) in InstrIndexMap()
171 MachineInstr *HexagonBlockRanges::InstrIndexMap::getInstr(IndexType Idx) const { in getInstr()
176 HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getIndex( in getIndex()
[all …]
DHexagonBlockRanges.h31 struct HexagonBlockRanges { struct
32 HexagonBlockRanges(MachineFunction &MF);
177 inline HexagonBlockRanges::IndexType::operator unsigned() const { argument
182 inline bool HexagonBlockRanges::IndexType::operator== (unsigned x) const {
186 inline bool HexagonBlockRanges::IndexType::operator== (IndexType Idx) const {
190 inline bool HexagonBlockRanges::IndexType::operator!= (unsigned x) const {
194 inline bool HexagonBlockRanges::IndexType::operator!= (IndexType Idx) const {
199 HexagonBlockRanges::IndexType HexagonBlockRanges::IndexType::operator++ () {
209 inline bool HexagonBlockRanges::IndexType::operator< (unsigned Idx) const {
213 inline bool HexagonBlockRanges::IndexType::operator< (IndexType Idx) const {
[all …]
DHexagonFrameLowering.h164 unsigned findPhysReg(MachineFunction &MF, HexagonBlockRanges::IndexRange &FIR,
165 HexagonBlockRanges::InstrIndexMap &IndexMap,
166 HexagonBlockRanges::RegToRangeMap &DeadMap,
DHexagonFrameLowering.cpp2181 HexagonBlockRanges::IndexRange &FIR, in findPhysReg()
2182 HexagonBlockRanges::InstrIndexMap &IndexMap, in findPhysReg()
2183 HexagonBlockRanges::RegToRangeMap &DeadMap, in findPhysReg()
2200 for (auto R : HexagonBlockRanges::expandToSubRegs({Reg,0}, MRI, HRI)) { in findPhysReg()
2218 HexagonBlockRanges HBR(MF); in optimizeSpillSlots()
2221 std::map<MachineBasicBlock *, HexagonBlockRanges::InstrIndexMap>; in optimizeSpillSlots()
2223 std::map<MachineBasicBlock *, HexagonBlockRanges::RangeList>; in optimizeSpillSlots()
2224 using IndexType = HexagonBlockRanges::IndexType; in optimizeSpillSlots()
2262 std::make_pair(&B, HexagonBlockRanges::InstrIndexMap(B))); in optimizeSpillSlots()
2338 HexagonBlockRanges::RangeList &RL = FIRangeMap[FI].Map[&B]; in optimizeSpillSlots()
[all …]
DCMakeLists.txt23 HexagonBlockRanges.cpp
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonBlockRanges.cpp34 bool HexagonBlockRanges::IndexRange::overlaps(const IndexRange &A) const { in overlaps()
47 bool HexagonBlockRanges::IndexRange::contains(const IndexRange &A) const { in contains()
58 void HexagonBlockRanges::IndexRange::merge(const IndexRange &A) { in merge()
75 void HexagonBlockRanges::RangeList::include(const RangeList &RL) { in include()
83 void HexagonBlockRanges::RangeList::unionize(bool MergeAdjacent) { in unionize()
105 void HexagonBlockRanges::RangeList::addsub(const IndexRange &A, in addsub()
141 void HexagonBlockRanges::RangeList::subtract(const IndexRange &Range) { in subtract()
157 HexagonBlockRanges::InstrIndexMap::InstrIndexMap(MachineBasicBlock &B) in InstrIndexMap()
171 MachineInstr *HexagonBlockRanges::InstrIndexMap::getInstr(IndexType Idx) const { in getInstr()
176 HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getIndex( in getIndex()
[all …]
DHexagonBlockRanges.h30 struct HexagonBlockRanges { struct
31 HexagonBlockRanges(MachineFunction &MF);
174 inline HexagonBlockRanges::IndexType::operator unsigned() const { argument
179 inline bool HexagonBlockRanges::IndexType::operator== (unsigned x) const {
183 inline bool HexagonBlockRanges::IndexType::operator== (IndexType Idx) const {
187 inline bool HexagonBlockRanges::IndexType::operator!= (unsigned x) const {
191 inline bool HexagonBlockRanges::IndexType::operator!= (IndexType Idx) const {
196 HexagonBlockRanges::IndexType HexagonBlockRanges::IndexType::operator++ () {
206 inline bool HexagonBlockRanges::IndexType::operator< (unsigned Idx) const {
210 inline bool HexagonBlockRanges::IndexType::operator< (IndexType Idx) const {
[all …]
DHexagonFrameLowering.h158 unsigned findPhysReg(MachineFunction &MF, HexagonBlockRanges::IndexRange &FIR,
159 HexagonBlockRanges::InstrIndexMap &IndexMap,
160 HexagonBlockRanges::RegToRangeMap &DeadMap,
DHexagonFrameLowering.cpp2031 HexagonBlockRanges::IndexRange &FIR, in findPhysReg()
2032 HexagonBlockRanges::InstrIndexMap &IndexMap, in findPhysReg()
2033 HexagonBlockRanges::RegToRangeMap &DeadMap, in findPhysReg()
2050 for (auto R : HexagonBlockRanges::expandToSubRegs({Reg,0}, MRI, HRI)) { in findPhysReg()
2068 HexagonBlockRanges HBR(MF); in optimizeSpillSlots()
2071 std::map<MachineBasicBlock *, HexagonBlockRanges::InstrIndexMap>; in optimizeSpillSlots()
2073 std::map<MachineBasicBlock *, HexagonBlockRanges::RangeList>; in optimizeSpillSlots()
2074 using IndexType = HexagonBlockRanges::IndexType; in optimizeSpillSlots()
2112 std::make_pair(&B, HexagonBlockRanges::InstrIndexMap(B))); in optimizeSpillSlots()
2188 HexagonBlockRanges::RangeList &RL = FIRangeMap[FI].Map[&B]; in optimizeSpillSlots()
[all …]
DCMakeLists.txt21 HexagonBlockRanges.cpp
/external/llvm-project/llvm/utils/gn/secondary/llvm/lib/Target/Hexagon/
DBUILD.gn46 "HexagonBlockRanges.cpp",