• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/

Lines Matching defs:HexagonBlockRanges

1 //===- HexagonBlockRanges.cpp ---------------------------------------------===//
9 #include "HexagonBlockRanges.h"
34 bool HexagonBlockRanges::IndexRange::overlaps(const IndexRange &A) const {
47 bool HexagonBlockRanges::IndexRange::contains(const IndexRange &A) const {
58 void HexagonBlockRanges::IndexRange::merge(const IndexRange &A) {
75 void HexagonBlockRanges::RangeList::include(const RangeList &RL) {
83 void HexagonBlockRanges::RangeList::unionize(bool MergeAdjacent) {
105 void HexagonBlockRanges::RangeList::addsub(const IndexRange &A,
141 void HexagonBlockRanges::RangeList::subtract(const IndexRange &Range) {
157 HexagonBlockRanges::InstrIndexMap::InstrIndexMap(MachineBasicBlock &B)
171 MachineInstr *HexagonBlockRanges::InstrIndexMap::getInstr(IndexType Idx) const {
176 HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getIndex(
184 HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getPrevIndex(
196 HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getNextIndex(
206 void HexagonBlockRanges::InstrIndexMap::replaceInstr(MachineInstr *OldMI,
219 HexagonBlockRanges::HexagonBlockRanges(MachineFunction &mf)
232 HexagonBlockRanges::RegisterSet HexagonBlockRanges::getLiveIns(
261 HexagonBlockRanges::RegisterSet HexagonBlockRanges::expandToSubRegs(
290 void HexagonBlockRanges::computeInitialLiveRanges(InstrIndexMap &IndexMap,
421 HexagonBlockRanges::RegToRangeMap HexagonBlockRanges::computeLiveMap(
431 HexagonBlockRanges::RegToRangeMap HexagonBlockRanges::computeDeadMap(
494 HexagonBlockRanges::IndexType Idx) {
495 if (Idx == HexagonBlockRanges::IndexType::None)
497 if (Idx == HexagonBlockRanges::IndexType::Entry)
499 if (Idx == HexagonBlockRanges::IndexType::Exit)
501 return OS << unsigned(Idx)-HexagonBlockRanges::IndexType::First+1;
506 const HexagonBlockRanges::IndexRange &IR) {
514 const HexagonBlockRanges::RangeList &RL) {
521 const HexagonBlockRanges::InstrIndexMap &M) {
523 HexagonBlockRanges::IndexType Idx = M.getIndex(&In);
530 const HexagonBlockRanges::PrintRangeMap &P) {
532 const HexagonBlockRanges::RangeList &RL = I.second;