Lines Matching refs:Locs

399     SmallVector<MachineLoc, 8> Locs;  member
416 auto It = find(Locs, ML); in VarLoc()
417 if (It == Locs.end()) { in VarLoc()
418 Locs.push_back(ML); in VarLoc()
423 unsigned OpIdx = Locs.size(); in VarLoc()
424 unsigned DuplicatingIdx = std::distance(Locs.begin(), It); in VarLoc()
460 assert(VL.Locs.size() == 1 && in CreateEntryLoc()
461 VL.Locs[0].Kind == MachineLocKind::RegisterKind); in CreateEntryLoc()
464 VL.Locs[0].Value.RegNo = Reg; in CreateEntryLoc()
476 assert(VL.Locs.size() == 1 && in CreateEntryBackupLoc()
477 VL.Locs[0].Kind == MachineLocKind::RegisterKind); in CreateEntryBackupLoc()
491 assert(VL.Locs.size() == 1 && in CreateEntryCopyBackupLoc()
492 VL.Locs[0].Kind == MachineLocKind::RegisterKind); in CreateEntryCopyBackupLoc()
495 VL.Locs[0].Value.RegNo = NewReg; in CreateEntryCopyBackupLoc()
504 for (size_t I = 0, E = VL.Locs.size(); I < E; ++I) in CreateCopyLoc()
505 if (VL.Locs[I] == OldML) { in CreateCopyLoc()
506 VL.Locs[I].Kind = MachineLocKind::RegisterKind; in CreateCopyLoc()
507 VL.Locs[I].Value.RegNo = NewReg; in CreateCopyLoc()
518 for (int I = 0, E = VL.Locs.size(); I < E; ++I) in CreateSpillLoc()
519 if (VL.Locs[I] == OldML) { in CreateSpillLoc()
520 VL.Locs[I].Kind = MachineLocKind::SpillLocKind; in CreateSpillLoc()
521 VL.Locs[I].Value.SpillLocation = {SpillBase, SpillOffset}; in CreateSpillLoc()
542 for (unsigned I = 0, E = Locs.size(); I < E; ++I) { in BuildDbgValue()
543 MachineLocKind LocKind = Locs[I].Kind; in BuildDbgValue()
544 MachineLocValue Loc = Locs[I].Value; in BuildDbgValue()
622 return is_contained(Locs, RegML); in usesReg()
627 for (unsigned Idx = 0; Idx < Locs.size(); ++Idx) in getRegIdx()
628 if (Locs[Idx].Kind == MachineLocKind::RegisterKind && in getRegIdx()
629 Locs[Idx].Value.RegNo == Reg) in getRegIdx()
638 for (auto Loc : Locs) in getDescribingRegs()
647 return any_of(Locs, [](VarLoc::MachineLoc ML) { in containsSpillLocs()
658 return is_contained(Locs, SpillML); in usesSpillLoc()
664 for (unsigned Idx = 0; Idx < Locs.size(); ++Idx) in getSpillLocIdx()
665 if (Locs[Idx].Kind == MachineLocKind::SpillLocKind && in getSpillLocIdx()
666 Locs[Idx].Value.SpillLocation == SpillLocation) in getSpillLocIdx()
681 for (const MachineLoc &MLoc : Locs) { in dump()
682 if (Locs.begin() != &MLoc) in dump()
717 return std::tie(EVKind, Var, Expr, Locs) == in operator ==()
718 std::tie(Other.EVKind, Other.Var, Other.Expr, Other.Locs); in operator ==()
723 return std::tie(Var, EVKind, Locs, Expr) < in operator <()
724 std::tie(Other.Var, Other.EVKind, Other.Locs, Other.Expr); in operator <()
928 VarLocSet &getVarLocsInMBB(const MachineBasicBlock *MBB, VarLocInMBB &Locs) { in getVarLocsInMBB() argument
929 std::unique_ptr<VarLocSet> &VLS = Locs[MBB]; in getVarLocsInMBB()
936 const VarLocInMBB &Locs) const { in getVarLocsInMBB()
937 auto It = Locs.find(MBB); in getVarLocsInMBB()
938 assert(It != Locs.end() && "MBB not in map"); in getVarLocsInMBB()
1378 EntryVL.Locs[0].Value.RegNo); in emitEntryValues()
1634 VarLoc::MachineLoc OldLoc = VL.Locs[SpillLocIdx]; in transferSpillOrRestoreInst()
1683 VarLoc::MachineLoc MLoc = VL.Locs[LocIdx]; in transferSpillOrRestoreInst()