Lines Matching defs:auto
220 for (auto Byte : enumerate(TmpBuf->Bytes)) {
237 auto SingleLocExprOpt = DIExpression::convertToNonVariadicExpression(Expr);
532 if (auto *SkelCU = CU.getSkeleton())
547 auto *SP = cast<DISubprogram>(Scope->getScopeNode());
555 auto &CU = getOrCreateDwarfCompileUnit(SP->getUnit());
556 if (auto *SkelCU = CU.getSkeleton()) {
601 for (auto Param : DescribedParams) {
632 auto I = Worklist.insert({Reg, {}});
633 auto &ParamsForFwdReg = I.first->second;
634 for (auto Param : ParamsToAdd) {
659 const auto &TRI = *MF->getSubtarget().getRegisterInfo();
660 const auto &TII = *MF->getSubtarget().getInstrInfo();
661 const auto &TLI = *MF->getSubtarget().getTargetLowering();
687 auto getForwardingRegsDefinedByMI = [&](const MachineInstr &MI,
694 for (auto &FwdReg : ForwardedRegWorklist)
717 auto IsRegClobberedInMeantime = [&](Register Reg) -> bool {
718 for (auto &RegUnit : ClobberedRegUnits)
724 for (auto ParamFwdReg : FwdRegDefs) {
725 if (auto ParamValue = TII.describeLoadedValue(*CurMI, ParamFwdReg)) {
755 for (auto ParamFwdReg : FwdRegDefs)
764 for (auto &New : TmpWorklistItems)
800 const auto &CalleesMap = MF->getCallSitesInfo();
801 auto CSInfo = CalleesMap.find(CallMI);
810 auto I = std::next(CallMI->getReverseIterator());
818 for (const auto &ArgReg : CSInfo->second.ArgRegPairs) {
827 for (const auto &MO : CallMI->uses())
844 auto Suc = std::next(CallMI->getIterator());
846 auto BundleEnd = llvm::getBundleEnd(CallMI->getIterator());
867 for (auto &RegEntry : ForwardedRegWorklist) {
892 auto delaySlotSupported = [&](const MachineInstr &MI) {
895 auto Suc = std::next(MI.getIterator());
896 auto CallInstrBundle = getBundleStart(MI.getIterator());
898 auto DelaySlotBundle = getBundleStart(Suc);
1076 if (auto *CU = CUMap.lookup(DIUnit))
1088 auto OwnedUnit = std::make_unique<DwarfCompileUnit>(
1127 auto FragmentA = A.Expr->getFragmentInfo();
1128 auto FragmentB = B.Expr->getFragmentInfo();
1162 for (auto *GVE : GVs)
1200 for (auto *GVE : CUNode->getGlobalVariables()) {
1204 auto &GVMapEntry = GVMap[GVE->getVariable()];
1205 auto *Expr = GVE->getExpression();
1211 for (auto *GVE : CUNode->getGlobalVariables()) {
1217 for (auto *Ty : CUNode->getEnumTypes())
1220 for (auto *Ty : CUNode->getRetainedTypes()) {
1231 for (const auto &Entity : ConcreteEntities) {
1270 for (const auto &P : CUMap) {
1271 auto &TheCU = *P.second;
1281 auto *SkCU = TheCU.getSkeleton();
1356 auto *CUNode = cast<DICompileUnit>(P.first);
1387 for (auto *CUNode : MMI->getModule()->debug_compile_units())
1410 for (const auto &P : CUMap) {
1411 const auto *CUNode = cast<DICompileUnit>(P.first);
1415 for (auto *IE : CUNode->getImportedEntities()) {
1420 for (const auto *D : CU->getDeferredLocalDecls()) {
1421 if (auto *IE = dyn_cast<DIImportedEntity>(D))
1514 if (const auto *LV = dyn_cast<DILocalVariable>(N))
1516 else if (const auto *L = dyn_cast<DILabel>(N))
1518 else if (const auto *IE = dyn_cast<DIImportedEntity>(N))
1532 for (const auto &VI : Asm->MF->getVariableDbgInfo()) {
1554 auto *PreviousMMI = std::get_if<Loc::MMI>(PreviousLoc);
1555 auto *PreviousEntryValue = std::get_if<Loc::EntryValue>(PreviousLoc);
1575 auto RegVar = std::make_unique<DbgVariable>(
1598 auto MBB = DbgValue->getParent();
1599 auto DL = DbgValue->getDebugLoc();
1600 auto *LScope = LScopes.findLexicalScope(DL);
1604 auto &LSRange = LScope->getRanges();
1621 auto PredDL = Pred->getDebugLoc();
1628 auto *PredScope = LScopes.findLexicalScope(PredDL);
1699 for (auto EB = Entries.begin(), EI = EB, EE = Entries.end(); EI != EE; ++EI) {
1740 auto Value = getDebugLocValue(Instr);
1766 for (auto &R : OpenRanges)
1795 auto CurEntry = DebugLoc.rbegin();
1798 for (auto &Value : CurEntry->getValues())
1803 auto PrevEntry = std::next(CurEntry);
1828 auto *CurEntry = DebugLoc.begin();
1829 auto *NextEntry = std::next(CurEntry);
1879 for (const auto &I : DbgValues) {
1885 const auto &HistoryMapEntries = I.second;
1916 const auto *End =
1950 for (auto &Entry : Entries)
1956 for (const auto &I : DbgLabels) {
1986 const auto *LS = getRetainedNodeScope(DN);
2002 const auto *SP = MF.getFunction().getSubprogram();
2007 auto delaySlotSupported = [](const MachineInstr &MI) {
2010 auto Suc = std::next(MI.getIterator());
2146 for (const auto &MBB : *MF) {
2147 for (const auto &MI : MBB) {
2176 if (auto *Scope = cast_or_null<DIScope>(S)) {
2179 if (auto *LBF = dyn_cast<DILexicalBlockFile>(Scope))
2220 auto *SP = MF->getFunction().getSubprogram();
2248 const auto &CURanges = CU->getRanges();
2249 auto &LineTable = Asm->OutStreamer->getContext().getMCDwarfLineTable(
2291 for (const auto &R : Asm->MBBSectionRanges)
2300 for (const auto &R : Asm->MBBSectionRanges)
2313 const auto *SP = cast<DISubprogram>(AScope->getScopeNode());
2315 const auto *LS = getRetainedNodeScope(DN);
2317 auto *LexS = LScopes.getOrCreateAbstractScope(LS);
2338 if (auto *SkelCU = TheCU.getSkeleton())
2505 for (const auto &NU : CUMap) {
2536 if (auto *Skeleton = TheU->getSkeleton())
2554 for (const auto &GI : Globals)
2556 llvm::sort(Vec, [](auto &A, auto &B) {
2559 for (const auto &[Name, Entity] : Vec) {
2595 auto &&Comments = DebugLocs.getComments(Entry);
2596 auto Comment = Comments.begin();
2597 auto End = Comments.end();
2612 for (const auto &Op : Expr) {
2639 auto *DIExpr = Value.getExpression();
2662 auto EmitValueLocEntry = [&DwarfExpr, &BT,
2749 for (const auto &Fragment : Values)
2805 const auto &DebugLocs = DD.getDebugLocs();
2811 for (const auto &List : DebugLocs.getLists())
2827 auto Size = Asm->MAI->getCodePointerSize();
2837 for (const auto &Range : R)
2842 for (const auto &P : SectionRanges) {
2843 auto *Base = CUBase;
2871 for (const auto *RS : P.second) {
2936 for (const auto &List : DebugLocs.getLists())
2960 for (const auto &List : DebugLocs.getLists()) {
2965 for (const auto &Entry : DebugLocs.getEntries(List)) {
3015 for (auto &I : SectionMap) {
3062 for (const auto &it : Spans) {
3077 if (auto *Skel = CU->getSkeleton())
3118 auto SizeRef = SymSize.find(Span.Start);
3149 [](auto) {});
3178 const auto &Holder = useSplitDwarf() ? SkeletonHolder : InfoHolder;
3218 for (auto *MN : Nodes) {
3219 if (auto *M = dyn_cast<DIMacro>(MN))
3221 else if (auto *F = dyn_cast<DIMacroFile>(MN))
3306 for (const auto &P : CUMap) {
3307 auto &TheCU = *P.second;
3308 auto *SkCU = TheCU.getSkeleton();
3310 auto *CUNode = cast<DICompileUnit>(P.first);
3326 auto &ObjLower = Asm->getObjFileLowering();
3333 auto &ObjLower = Asm->getObjFileLowering();
3353 auto OwnedUnit = std::make_unique<DwarfCompileUnit>(
3445 auto Ins = TypeSignatures.insert(std::make_pair(CTy, 0));
3455 auto OwnedUnit = std::make_unique<DwarfTypeUnit>(
3502 auto TypeUnitsToAdd = std::move(TypeUnitsUnderConstruction);
3512 for (const auto &TU : TypeUnitsToAdd)
3526 for (auto &TU : TypeUnitsToAdd) {