|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/MapVector.h 174 Map.erase(Iterator->first);
214 Map.erase(I->first);
221 Map[O->first] = O - Vector.begin();
include/llvm/Analysis/CallGraph.h 241 I->second->DropRef();
include/llvm/DebugInfo/CodeView/TypeHashing.h 129 if (HashIt->empty()) {
include/llvm/DebugInfo/DWARF/DWARFUnit.h 481 if (It != DieArray.end() && It->getOffset() == Offset)
include/llvm/ProfileData/Coverage/CoverageMapping.h 638 : LineCoverageIterator(CD, CD.begin()->Line) {}
include/llvm/ProfileData/InstrProf.h 563 if (Result != MD5NameMap.end() && Result->first == FuncMD5Hash)
564 return Result->second;
574 if (Result != MD5FuncMap.end() && Result->first == FuncMD5Hash)
575 return Result->second;
include/llvm/Support/BranchProbability.h 243 I->N = (I->N * uint64_t(D) + Sum / 2) / Sum;
243 I->N = (I->N * uint64_t(D) + Sum / 2) / Sum;
lib/Analysis/CallGraph.cpp 189 if (I->first == &Call) {
190 I->second->DropRef();
233 if (I->first == &Call) {
234 I->second->DropRef();
235 I->first = &NewCall;
236 I->second = NewNode;
lib/Analysis/CallGraphSCCPass.cpp 232 auto *Call = dyn_cast_or_null<CallBase>(I->first);
233 if (!I->first ||
237 Calls.count(I->first) ||
251 if (!I->second->getFunction())
270 assert(!Calls.count(I->first) &&
277 Calls.insert(std::make_pair(I->first, I->second));
277 Calls.insert(std::make_pair(I->first, I->second));
lib/Analysis/GlobalsModRef.cpp 538 if (Function *Callee = CI->second->getFunction()) {
lib/Analysis/MemoryDependenceAnalysis.cpp 848 if (Entry != Cache.begin() && std::prev(Entry)->getBB() == DirtyBB)
853 Entry->getBB() == DirtyBB) {
856 if (!Entry->getResult().isDirty())
985 if (Entry != Cache->begin() && (Entry - 1)->getBB() == BB)
989 if (Entry != Cache->begin() + NumSortedEntries && Entry->getBB() == BB)
lib/Analysis/TargetLibraryInfo.cpp 1558 return I != VectorDescs.end() && StringRef(I->ScalarFnName) == funcName;
1568 while (I != VectorDescs.end() && StringRef(I->ScalarFnName) == F) {
1569 if (I->VectorizationFactor == VF)
1570 return I->VectorFnName;
1584 if (I == VectorDescs.end() || StringRef(I->VectorFnName) != F)
1586 VF = I->VectorizationFactor;
1587 return I->ScalarFnName;
lib/Bitcode/Reader/ValueList.cpp 196 assert(It != ResolveConstants.end() && It->first == *I);
197 NewOp = operator[](It->second);
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 1335 CurFn = Insertion.first->second.get();
lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp 86 MCSymbol *Label = PI->Label;
116 AP.emitInt16(LI->StackOffset / IntPtrSize);
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp 167 AP.OutStreamer->EmitSymbolValue(J->Label, IntPtrSize);
174 if (K->StackOffset >= 1 << 16) {
180 AP.emitInt16(K->StackOffset);
lib/CodeGen/BranchFolding.cpp 744 CurMPIter != B && CurMPIter->getHash() == CurHash; --CurMPIter) {
745 for (MPIterator I = std::prev(CurMPIter); I->getHash() == CurHash; --I) {
747 if (ProfitableToMerge(CurMPIter->getBlock(), I->getBlock(),
747 if (ProfitableToMerge(CurMPIter->getBlock(), I->getBlock(),
776 CurMPIter->getHash() == CurHash; --CurMPIter) {
778 MachineBasicBlock *CurMBB = CurMPIter->getBlock();
784 if (CurMPIter->getHash() != CurHash)
1216 MergePotentials.begin()->getBlock() != PredBB)
1217 FixTail(MergePotentials.begin()->getBlock(), IBB, TII);
lib/CodeGen/CodeGenPrepare.cpp 1897 auto GEPs = std::move(it->second);
lib/CodeGen/GCMetadata.cpp 115 OS << "\t" << RI->Num << "\t" << RI->StackOffset << "[sp]\n";
115 OS << "\t" << RI->Num << "\t" << RI->StackOffset << "[sp]\n";
121 OS << "\t" << PI->Label->getName() << ": " << "post-call"
127 OS << " " << RI->Num;
lib/CodeGen/GCRootLowering.cpp 296 if (MF.getFrameInfo().isDeadObjectIndex(RI->Num)) {
301 RI->StackOffset = TFI->getFrameIndexReference(MF, RI->Num, FrameReg);
301 RI->StackOffset = TFI->getFrameIndexReference(MF, RI->Num, FrameReg);
lib/CodeGen/GlobalISel/IRTranslator.cpp 655 JumpTableHeader *JTH = &SL->JTCases[I->JTCasesIndex].first;
656 SwitchCG::JumpTable *JT = &SL->JTCases[I->JTCasesIndex].second;
671 auto JumpProb = I->Prob;
725 if (I->Low == I->High) {
725 if (I->Low == I->High) {
729 RHS = I->Low;
734 LHS = I->Low;
736 RHS = I->High;
741 CaseBlock CB(Pred, FallthroughUnreachable, LHS, RHS, MHS, I->MBB, Fallthrough,
742 CurMBB, MIB.getDebugLoc(), I->Prob, UnhandledProbs);
776 if (I->Prob > W.LastCluster->Prob)
776 if (I->Prob > W.LastCluster->Prob)
778 if (I->Kind == CC_Range && I->MBB == NextMBB) {
778 if (I->Kind == CC_Range && I->MBB == NextMBB) {
789 UnhandledProbs += I->Prob;
804 UnhandledProbs -= I->Prob;
806 switch (I->Kind) {
lib/CodeGen/MachineBasicBlock.cpp 454 I->LaneMask &= ~LaneMask;
455 if (I->LaneMask.none())
469 return I != livein_end() && (I->LaneMask & LaneMask).any();
482 unsigned PhysReg = I->PhysReg;
483 LaneBitmask LaneMask = I->LaneMask;
484 for (J = std::next(I); J != LiveIns.end() && J->PhysReg == PhysReg; ++J)
485 LaneMask |= J->LaneMask;
486 Out->PhysReg = PhysReg;
487 Out->LaneMask = LaneMask;
750 if (!ProbIter->isUnknown())
lib/CodeGen/MachineFunction.cpp 503 OS << printReg(I->first, TRI);
504 if (I->second)
505 OS << " in " << printReg(I->second, TRI);
lib/CodeGen/MachinePipeliner.cpp 687 for (auto Load : I->second) {
lib/CodeGen/MachineRegisterInfo.cpp 444 if (I->first == Reg || I->second == Reg)
444 if (I->first == Reg || I->second == Reg)
453 if (I->second == VReg)
454 return I->first;
462 if (I->first == PReg)
463 return I->second;
lib/CodeGen/ScheduleDAGInstrs.cpp 632 assert(NumNodes >= Itr->second.size());
633 NumNodes -= Itr->second.size();
635 Itr->second.clear();
673 addChainDependencies(SU, Itr->second,
694 SUList &sus = CurrItr->second;
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 1165 DanglingDebugInfoVector &DDIV = DanglingDbgInfoIt->second;
10126 if (I->Prob > W.LastCluster->Prob)
10126 if (I->Prob > W.LastCluster->Prob)
10128 if (I->Kind == CC_Range && I->MBB == NextMBB) {
10128 if (I->Kind == CC_Range && I->MBB == NextMBB) {
10139 UnhandledProbs += I->Prob;
10156 UnhandledProbs -= I->Prob;
10158 switch (I->Kind) {
10161 JumpTableHeader *JTH = &SL->JTCases[I->JTCasesIndex].first;
10162 SwitchCG::JumpTable *JT = &SL->JTCases[I->JTCasesIndex].second;
10168 auto JumpProb = I->Prob;
10210 BitTestBlock *BTB = &SL->BitTestCases[I->BTCasesIndex];
10244 if (I->Low == I->High) {
10244 if (I->Low == I->High) {
10248 RHS=I->Low;
10253 LHS = I->Low;
10255 RHS = I->High;
10263 CaseBlock CB(CC, LHS, RHS, MHS, I->MBB, Fallthrough, CurMBB,
10264 getCurSDLoc(), I->Prob, UnhandledProbs);
10294 assert(W.FirstCluster->Low->getValue().slt(W.LastCluster->Low->getValue()) &&
10294 assert(W.FirstCluster->Low->getValue().slt(W.LastCluster->Low->getValue()) &&
10304 auto LeftProb = LastLeft->Prob + W.DefaultProb / 2;
10305 auto RightProb = FirstRight->Prob + W.DefaultProb / 2;
10314 LeftProb += (++LastLeft)->Prob;
10316 RightProb += (--FirstRight)->Prob;
10374 const ConstantInt *Pivot = PivotCluster->Low;
10384 if (FirstLeft == LastLeft && FirstLeft->Kind == CC_Range &&
10385 FirstLeft->Low == W.GE &&
10386 (FirstLeft->High->getValue() + 1LL) == Pivot->getValue()) {
10387 LeftMBB = FirstLeft->MBB;
10401 if (FirstRight == LastRight && FirstRight->Kind == CC_Range &&
10402 W.LT && (FirstRight->High->getValue() + 1ULL) == W.LT->getValue()) {
10403 RightMBB = FirstRight->MBB;
lib/CodeGen/StackMaps.cpp 358 CurrentIt->second.RecordCount++;
lib/DebugInfo/DWARF/DWARFDebugAranges.cpp 119 if (It != Aranges.end() && It->LowPC <= Address)
120 return It->CUOffset;
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp 539 return It->get();
lib/DebugInfo/DWARF/DWARFDebugLine.cpp 924 assert(FirstRow->Address.Address <= Row.Address.Address &&
929 assert(Seq.SectionIndex == RowPos->Address.SectionIndex);
956 if (It == Sequences.end() || It->SectionIndex != Address.SectionIndex)
990 if (SeqPos == LastSeq || !SeqPos->containsPC(Address))
998 while (SeqPos != LastSeq && SeqPos->LowPC < EndAddr) {
lib/DebugInfo/DWARF/DWARFVerifier.cpp 36 if (Pos->intersects(R))
40 if (Iter->intersects(R))
70 bool Covered = I1->LowPC <= R.LowPC;
71 if (R.LowPC == R.HighPC || (Covered && R.HighPC <= I1->HighPC)) {
79 if (R.LowPC < I1->HighPC)
80 R.LowPC = I1->HighPC;
90 if (I1->intersects(*I2))
92 if (I1->LowPC < I2->LowPC)
92 if (I1->LowPC < I2->LowPC)
lib/DebugInfo/GSYM/GsymCreator.cpp 197 if (Prev->Range.intersects(Curr->Range)) {
197 if (Prev->Range.intersects(Curr->Range)) {
199 if (Prev->Range == Curr->Range) {
199 if (Prev->Range == Curr->Range) {
211 if (!Prev->hasRichInfo() && Curr->hasRichInfo()) {
211 if (!Prev->hasRichInfo() && Curr->hasRichInfo()) {
229 } else if (Prev->Range.size() == 0 &&
230 Curr->Range.contains(Prev->Range.Start)) {
230 Curr->Range.contains(Prev->Range.Start)) {
lib/DebugInfo/GSYM/LineTable.cpp 146 if (Pos != End && Pos->Delta == LineDelta)
147 ++Pos->Count;
lib/DebugInfo/GSYM/Range.cpp 26 while (It2 != Ranges.end() && It2->Start < Range.End)
lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp 95 while (++I != E && OI->first.Addr == I->first.Addr) {
95 while (++I != E && OI->first.Addr == I->first.Addr) {
151 uint32_t NextOffset = I != E ? I->Offset : Export.Offset + 1;
233 if (SymbolIterator->first.Size != 0 &&
234 SymbolIterator->first.Addr + SymbolIterator->first.Size <= Address)
234 SymbolIterator->first.Addr + SymbolIterator->first.Size <= Address)
236 Name = SymbolIterator->second.str();
237 Addr = SymbolIterator->first.Addr;
238 Size = SymbolIterator->first.Size;
lib/IR/LegacyPassManager.cpp 508 I->second->dumpPassStructure(Offset + 2);
lib/IR/Verifier.cpp 2123 Terminator = TermI->second;
lib/LTO/LTOBackend.cpp 529 return I->second.getLazyModule(Mod.getContext(),
lib/LTO/ThinLTOCodeGenerator.cpp 111 return StrongDefForLinker->get();
122 return FirstDefForLinker->get();
lib/LineEditor/LineEditor.cpp 43 size_t Len = std::min(CommonPrefix.size(), I->TypedText.size());
46 if (CommonPrefix[CommonLen] != I->TypedText[CommonLen])
74 Action.Completions.push_back(I->DisplayText);
lib/MC/ConstantPools.cpp 71 return &CP->second;
lib/MC/MCCodeView.cpp 350 unsigned CurFileNum = I->getFileNum();
370 OS.emitAbsoluteSymbolDiff(J->getLabel(), FuncBegin, 4);
371 unsigned LineData = J->getLine();
372 if (J->isStmt())
378 OS.EmitIntValue(J->getColumn(), 2);
lib/MC/MCWin64EH.cpp 471 const auto &Instrs = InstrsIter->second;
lib/MC/MachObjectWriter.cpp 489 const MCSectionMachO &Section = cast<MCSectionMachO>(*it->Section);
495 MCSymbol &Symbol = *it->Symbol;
505 const MCSectionMachO &Section = cast<MCSectionMachO>(*it->Section);
512 IndirectSymBase.insert(std::make_pair(it->Section, IndirectIndex));
514 Asm.registerSymbol(*it->Symbol);
521 const MCSectionMachO &Section = cast<MCSectionMachO>(*it->Section);
528 IndirectSymBase.insert(std::make_pair(it->Section, IndirectIndex));
534 Asm.registerSymbol(*it->Symbol, &Created);
536 cast<MCSymbolMachO>(it->Symbol)->setReferenceTypeUndefinedLazy(true);
1017 static_cast<const MCSectionMachO &>(*it->Section);
1020 if (it->Symbol->isDefined() && !it->Symbol->isExternal()) {
1020 if (it->Symbol->isDefined() && !it->Symbol->isExternal()) {
1022 if (it->Symbol->isAbsolute())
1029 W.write<uint32_t>(it->Symbol->getIndex());
lib/ObjectYAML/COFFEmitter.cpp 282 if (i->FunctionDefinition)
284 if (i->bfAndefSymbol)
286 if (i->WeakExternal)
288 if (!i->File.empty())
290 (i->File.size() + CP.getSymbolSize() - 1) / CP.getSymbolSize();
291 if (i->SectionDefinition)
293 if (i->CLRToken)
295 i->Header.NumberOfAuxSymbols = NumberOfAuxSymbols;
478 OS.write(i->Header.Name, COFF::NameSize);
479 OS << binary_le(i->Header.VirtualSize)
480 << binary_le(i->Header.VirtualAddress)
481 << binary_le(i->Header.SizeOfRawData)
482 << binary_le(i->Header.PointerToRawData)
483 << binary_le(i->Header.PointerToRelocations)
484 << binary_le(i->Header.PointerToLineNumbers)
485 << binary_le(i->Header.NumberOfRelocations)
486 << binary_le(i->Header.NumberOfLineNumbers)
487 << binary_le(i->Header.Characteristics);
496 SymbolTableIndexMap[I->Name] = CurSymbol;
497 CurSymbol += 1 + I->Header.NumberOfAuxSymbols;
529 OS.write(i->Header.Name, COFF::NameSize);
530 OS << binary_le(i->Header.Value);
532 OS << binary_le(i->Header.SectionNumber);
534 OS << binary_le(static_cast<int16_t>(i->Header.SectionNumber));
535 OS << binary_le(i->Header.Type) << binary_le(i->Header.StorageClass)
535 OS << binary_le(i->Header.Type) << binary_le(i->Header.StorageClass)
536 << binary_le(i->Header.NumberOfAuxSymbols);
538 if (i->FunctionDefinition) {
539 OS << binary_le(i->FunctionDefinition->TagIndex)
540 << binary_le(i->FunctionDefinition->TotalSize)
541 << binary_le(i->FunctionDefinition->PointerToLinenumber)
542 << binary_le(i->FunctionDefinition->PointerToNextFunction)
543 << zeros(i->FunctionDefinition->unused);
546 if (i->bfAndefSymbol) {
547 OS << zeros(i->bfAndefSymbol->unused1)
548 << binary_le(i->bfAndefSymbol->Linenumber)
549 << zeros(i->bfAndefSymbol->unused2)
550 << binary_le(i->bfAndefSymbol->PointerToNextFunction)
551 << zeros(i->bfAndefSymbol->unused3);
554 if (i->WeakExternal) {
555 OS << binary_le(i->WeakExternal->TagIndex)
556 << binary_le(i->WeakExternal->Characteristics)
557 << zeros(i->WeakExternal->unused);
560 if (!i->File.empty()) {
563 (i->File.size() + SymbolSize - 1) / SymbolSize;
565 uint32_t NumZeros = NumberOfAuxBytes - i->File.size();
566 OS.write(i->File.data(), i->File.size());
566 OS.write(i->File.data(), i->File.size());
569 if (i->SectionDefinition) {
570 OS << binary_le(i->SectionDefinition->Length)
571 << binary_le(i->SectionDefinition->NumberOfRelocations)
572 << binary_le(i->SectionDefinition->NumberOfLinenumbers)
573 << binary_le(i->SectionDefinition->CheckSum)
574 << binary_le(static_cast<int16_t>(i->SectionDefinition->Number))
575 << binary_le(i->SectionDefinition->Selection)
576 << zeros(i->SectionDefinition->unused)
577 << binary_le(static_cast<int16_t>(i->SectionDefinition->Number >> 16));
580 if (i->CLRToken) {
581 OS << binary_le(i->CLRToken->AuxType) << zeros(i->CLRToken->unused1)
581 OS << binary_le(i->CLRToken->AuxType) << zeros(i->CLRToken->unused1)
582 << binary_le(i->CLRToken->SymbolTableIndex)
583 << zeros(i->CLRToken->unused2);
lib/ObjectYAML/DWARFVisitor.cpp 62 dwarf::Form Form = AbbrForm->Form;
68 onVariableSizeValue(FormVal->Value, Unit.AddrSize);
71 onVariableSizeValue(FormVal->Value, getRefSize(Unit));
75 onValue((uint64_t)FormVal->BlockData.size(), true);
77 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0],
78 FormVal->BlockData.size()),
82 auto writeSize = FormVal->BlockData.size();
85 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0],
86 FormVal->BlockData.size()),
91 auto writeSize = FormVal->BlockData.size();
94 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0],
95 FormVal->BlockData.size()),
100 auto writeSize = FormVal->BlockData.size();
103 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0],
104 FormVal->BlockData.size()),
113 onValue((uint8_t)FormVal->Value);
119 onValue((uint16_t)FormVal->Value);
126 onValue((uint32_t)FormVal->Value);
131 onValue((uint64_t)FormVal->Value);
134 onValue((int64_t)FormVal->Value, true);
138 onValue((uint64_t)FormVal->Value, true);
141 onValue(FormVal->CStr);
144 onValue((uint64_t)FormVal->Value, true);
146 Form = static_cast<dwarf::Form>((uint64_t)FormVal->Value);
155 onVariableSizeValue(FormVal->Value, getOffsetSize(Unit));
158 onValue((uint64_t)FormVal->Value);
162 onValue((uint64_t)FormVal->Value, true);
lib/ObjectYAML/ELFYAML.cpp 899 return It->second;
lib/ProfileData/Coverage/CoverageMapping.cpp 356 while (I != E && I->FileID != FileID)
359 auto &Functions = InstantiatedFunctions[I->startLoc()];
786 while (Next != CD.end() && Next->Line == Line)
lib/ProfileData/GCOV.cpp 777 GCOVCoverage &FuncCoverage = FuncCoverages.find(Function)->second;
876 GCOVCoverage &FuncCoverage = FuncCoverages.find(Function)->second;
lib/ProfileData/InstrProf.cpp 373 if (It != AddrToMD5Map.end() && It->first == Address)
374 return (uint64_t)It->second;
lib/ProfileData/SampleProfWriter.cpp 279 encodeULEB128(ret->second, *OutputStream);
lib/Support/DAGDeltaAlgorithm.cpp 190 Predecessors[it->second].push_back(it->first);
190 Predecessors[it->second].push_back(it->first);
191 Successors[it->first].push_back(it->second);
191 Successors[it->first].push_back(it->second);
lib/Support/DeltaAlgorithm.cpp 89 Changes.begin(), Changes.end(), it->begin(), it->end(),
89 Changes.begin(), Changes.end(), it->begin(), it->end(),
lib/Support/FileCheck.cpp 1702 std::next(PatItr)->getCheckTy() == Check::CheckNot) {
lib/Target/AMDGPU/AMDGPULibCalls.cpp 508 UseNative.begin()->empty());
lib/Target/AMDGPU/GCNIterativeScheduler.cpp 351 Res.push_back(D->first);
lib/Target/ARC/ARCFrameLowering.cpp 340 if (reg == I->getReg())
375 if (RegI == CSI.end() || RegI->getFrameIdx() == 0) {
380 RegI->setFrameIdx(FI);
382 MFI.setObjectOffset(RegI->getFrameIdx(), CurOffset);
lib/Target/ARM/ARMConstantIslandPass.cpp 2332 ++Entry->RefCount;
lib/Target/ARM/Thumb1FrameLowering.cpp 269 unsigned Reg = I->getReg();
270 int FI = I->getFrameIdx();
lib/Target/Hexagon/HexagonBitSimplify.cpp 3273 if (!isSameShuffle(G.Out.Reg, G.Inp.Reg, F->PR.Reg, PrehR)) {
3274 const MachineInstr *DefPrehR = MRI->getVRegDef(F->PR.Reg);
3283 if (RC != MRI->getRegClass(F->PR.Reg)) {
3292 PrehR = F->PR.Reg;
3302 moveGroup(G, *F->LB, *F->PB, F->LB->getFirstNonPHI(), F->DefR, PrehR);
3302 moveGroup(G, *F->LB, *F->PB, F->LB->getFirstNonPHI(), F->DefR, PrehR);
3302 moveGroup(G, *F->LB, *F->PB, F->LB->getFirstNonPHI(), F->DefR, PrehR);
3302 moveGroup(G, *F->LB, *F->PB, F->LB->getFirstNonPHI(), F->DefR, PrehR);
lib/Target/Hexagon/HexagonBlockRanges.cpp 94 bool Merge = MergeAdjacent && (Iter->end() == Next->start());
94 bool Merge = MergeAdjacent && (Iter->end() == Next->start());
95 if (Merge || Iter->overlaps(*Next)) {
96 Iter->merge(*Next);
446 if (A->start() != IndexType::Entry) {
447 IndexType DE = IndexMap.getPrevIndex(A->start());
455 IndexType AE = (A->end() == IndexType::None) ? A->start() : A->end();
455 IndexType AE = (A->end() == IndexType::None) ? A->start() : A->end();
455 IndexType AE = (A->end() == IndexType::None) ? A->start() : A->end();
458 IndexType DE = IndexMap.getPrevIndex(A->start());
464 if (Z->end() != IndexType::Exit) {
465 IndexType ZE = (Z->end() == IndexType::None) ? Z->start() : Z->end();
465 IndexType ZE = (Z->end() == IndexType::None) ? Z->start() : Z->end();
465 IndexType ZE = (Z->end() == IndexType::None) ? Z->start() : Z->end();
lib/Target/Hexagon/HexagonFrameLowering.cpp 955 Offset = MFI.getObjectOffset(F->getFrameIdx());
958 Offset = getFrameIndexReference(MF, F->getFrameIdx(), FrameReg);
lib/Target/Hexagon/RDFLiveness.cpp 813 LV.push_back(RegisterRef(I->PhysReg, I->LaneMask));
813 LV.push_back(RegisterRef(I->PhysReg, I->LaneMask));
840 T.push_back(I->PhysReg);
lib/Target/Mips/Mips16FrameLowering.cpp 77 int64_t Offset = MFI.getObjectOffset(I->getFrameIdx());
78 unsigned Reg = I->getReg();
lib/Target/Mips/MipsSEFrameLowering.cpp 457 int64_t Offset = MFI.getObjectOffset(I->getFrameIdx());
458 unsigned Reg = I->getReg();
lib/Target/X86/X86FloatingPoint.cpp 129 MCPhysReg Reg = I->PhysReg;
lib/Target/X86/X86FrameLowering.cpp 475 int64_t Offset = MFI.getObjectOffset(I->getFrameIdx());
476 unsigned Reg = I->getReg();
lib/Target/X86/X86InstrFoldTables.cpp 5669 if (I != Table.end() && I->KeyOp == MemOp)
lib/Target/XCore/XCoreFrameLowering.cpp 434 unsigned Reg = it->getReg();
441 TII.storeRegToStackSlot(MBB, MI, Reg, true, it->getFrameIdx(), RC, TRI);
464 unsigned Reg = it->getReg();
469 TII.loadRegFromStackSlot(MBB, MI, Reg, it->getFrameIdx(), RC, TRI);
lib/TextAPI/MachO/InterfaceFile.cpp 25 if (I != Container.end() && I->getInstallName() == InstallName)
51 Client->addTarget(Target);
57 Lib->addTarget(Target);
65 if ((Iter != ParentUmbrellas.end()) && !(Target_ < Iter->first)) {
66 Iter->second = Parent;
79 if ((Iter != UUIDs.end()) && !(Target_ < Iter->first)) {
80 Iter->second = UUID;
lib/Transforms/IPO/MergeFunctions.cpp 410 if ((I != S && std::prev(I)->first == I->first) ||
410 if ((I != S && std::prev(I)->first == I->first) ||
411 (std::next(I) != IE && std::next(I)->first == I->first) ) {
411 (std::next(I) != IE && std::next(I)->first == I->first) ) {
412 Deferred.push_back(WeakTrackingVH(I->second));
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 290 return Loc->second;
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 1001 Region *NextSubR = NextIt != R->end() ? NextIt->get() : nullptr;
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp 963 for (unsigned val = 0, n = i->first->getNumIncomingValues(); val != n;
965 i->second->setIncomingValue(
966 val, DFSF.getShadow(i->first->getIncomingValue(val)));
lib/Transforms/ObjCARC/ObjCARCOpts.cpp 379 Pair.first->second.Merge(Pair.second ? TopDownPtrState() : MI->second,
379 Pair.first->second.Merge(Pair.second ? TopDownPtrState() : MI->second,
386 if (Other.PerPtrTopDown.find(MI->first) == Other.PerPtrTopDown.end())
387 MI->second.Merge(TopDownPtrState(), /*TopDown=*/true);
422 Pair.first->second.Merge(Pair.second ? BottomUpPtrState() : MI->second,
422 Pair.first->second.Merge(Pair.second ? BottomUpPtrState() : MI->second,
430 if (Other.PerPtrBottomUp.find(MI->first) == Other.PerPtrBottomUp.end())
431 MI->second.Merge(BottomUpPtrState(), /*TopDown=*/false);
442 const PtrState &P = I->second;
443 OS << " Ptr: " << *I->first
462 const PtrState &P = I->second;
463 OS << " Ptr: " << *I->first
1114 TopDownPtrState &S = I->second;
1115 const Sequence Seq = I->second.GetSeq();
1126 const Value *Arg = I->first;
1250 const Value *Ptr = MI->first;
1253 BottomUpPtrState &S = MI->second;
1386 const Value *Ptr = MI->first;
1389 TopDownPtrState &S = MI->second;
1649 const RRInfo &NewRetainRRI = It->second;
1728 const RRInfo &NewReleaseRetainRRI = Jt->second;
1833 Value *V = I->first;
lib/Transforms/Scalar/ConstantHoisting.cpp 558 NumUses += ConstCand->Uses.size();
559 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost)
559 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost)
568 auto Value = ConstCand->ConstInt->getValue();
569 Type *Ty = ConstCand->ConstInt->getType();
571 NumUses += ConstCand->Uses.size();
572 LLVM_DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue()
575 for (auto User : ConstCand->Uses) {
583 C2->ConstInt->getValue(),
584 ConstCand->ConstInt->getValue());
599 LLVM_DEBUG(dbgs() << "New candidate: " << MaxCostItr->ConstInt->getValue()
618 ConstantInt *ConstInt = MaxCostItr->ConstInt;
619 ConstantExpr *ConstExpr = MaxCostItr->ConstExpr;
627 APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue();
630 ConstCand->ConstExpr ? ConstCand->ConstExpr->getType() : nullptr;
630 ConstCand->ConstExpr ? ConstCand->ConstExpr->getType() : nullptr;
632 RebasedConstantInfo(std::move(ConstCand->Uses), Offset, ConstTy));
661 if (MinValItr->ConstInt->getType() == CC->ConstInt->getType()) {
661 if (MinValItr->ConstInt->getType() == CC->ConstInt->getType()) {
663 for (auto &U : CC->Uses) {
678 APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue();
678 APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue();
lib/Transforms/Scalar/Float2Int.cpp 153 IT->second = std::move(R);
228 if (SeenInsts.find(I)->second != badRange())
302 OpRanges.push_back(SeenInsts.find(OI)->second);
369 R = R.unionWith(SeenI->second);
lib/Transforms/Scalar/LoopRerollPass.cpp 1081 while (I != In.end() && (I->second.test(Val) == 0 ||
1082 Exclude.count(I->first) != 0))
1110 if (U == It->first)
1225 Instruction *BaseInst = BaseIt->first;
1226 Instruction *RootInst = RootIt->first;
1257 !BaseInst->isSameOperationAs(TryIt->first) &&
1264 instrDependsOn(TryIt->first, RootIt, TryIt)) {
1271 RootInst = TryIt->first;
1283 Instruction *I = LastRootIt->first;
1284 if (LastRootIt->second.find_first() < (int)Iter)
1301 if (RootIt->second.count() > 1) {
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 629 return Found->second;
860 return I->second;
1614 Value *Base = PointerToBase.find(L)->second;
lib/Transforms/Scalar/SCCP.cpp 415 LatticeVal LV = It->second;
845 mergeInValue(TFRVI->second, F, getValueState(ResultOp));
1361 mergeInValue(I, TFRVI->second);
lib/Transforms/Utils/InlineFunction.cpp 1202 const Value *OrigCall = I->first;
1230 if (!I->second->getFunction())
1238 CallerNode->addCalledFunction(NewCall, I->second);
lib/Transforms/Utils/LowerSwitch.cpp 67 return I != Ranges.end() && I->Low <= R.Low;
191 O << "[" << B->Low->getValue() << ", " << B->High->getValue() << "]";
191 O << "[" << B->Low->getValue() << ", " << B->High->getValue() << "]";
261 if (Begin->Low == LowerBound && Begin->High == UpperBound) {
261 if (Begin->Low == LowerBound && Begin->High == UpperBound) {
264 fixPhis(Begin->BB, OrigBlock, Predecessor, NumMergedCases);
265 return Begin->BB;
417 int64_t nextValue = J->Low->getSExtValue();
418 int64_t currentValue = I->High->getSExtValue();
419 BasicBlock* nextBB = J->BB;
420 BasicBlock* currentBB = I->BB;
426 I->High = J->High;
426 I->High = J->High;
554 assert(I->Low <= I->High);
554 assert(I->Low <= I->High);
557 assert(Next->Low > I->High);
557 assert(Next->Low > I->High);
lib/Transforms/Vectorize/LoopVectorize.cpp 1801 auto ID = II->second;
lib/Transforms/Vectorize/SLPVectorizer.cpp 6294 if (I != ExtraArgs.end() && !I->second) {
7115 if (it->second.size() < 2)
7119 << it->second.size() << ".\n");
7125 for (unsigned CI = 0, CE = it->second.size(); CI < CE; CI += 16) {
7127 Changed |= vectorizeStores(makeArrayRef(&it->second[CI], Len), R);
tools/bugpoint/OptimizerDriver.cpp 223 Args.push_back(I->c_str());
tools/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp 72 *sema.LateParsedTemplateMap.find(FD)->second;
tools/clang/lib/ARCMigrate/PlistReporter.cpp 53 AddFID(FM, Fids, SM, RI->getBegin());
54 AddFID(FM, Fids, SM, RI->getEnd());
tools/clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp 49 AfterMacroLoc = I->getLocWithOffset(getARCMTMacroName().size());
tools/clang/lib/ARCMigrate/TransformActions.cpp 569 CharSourceRange range = CharSourceRange::getCharRange(I->first.Begin,
570 I->first.End);
571 receiver.increaseIndentation(range, I->second);
tools/clang/lib/AST/ASTContext.cpp10247 return I != MangleNumbers.end() ? I->second : 1;
10257 return I != StaticLocalNumbers.end() ? I->second : 1;
tools/clang/lib/AST/CXXInheritance.cpp 563 for (overriding_const_iterator M = I->second.begin(),
564 MEnd = I->second.end();
567 add(I->first, *M);
573 I->second.clear();
574 I->second.push_back(Overriding);
651 const CXXMethodDecl *CanonOM = OM->first->getCanonicalDecl();
652 Overriders[CanonOM].add(OM->second);
tools/clang/lib/AST/DeclCXX.cpp 1881 for (OverridingMethods::iterator SO = M->second.begin(),
1882 SOEnd = M->second.end();
1884 assert(SO->second.size() > 0 &&
1891 if (SO->second.front().Method->isPure()) {
tools/clang/lib/AST/Interp/Function.cpp 39 if (It == SrcMap.end() || It->first != Offset)
41 return It->second;
tools/clang/lib/AST/VTableBuilder.cpp 3466 const CXXRecordDecl *TopLevelRD = SpecificPath.begin()->getBase();
tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp 542 if (!I->first)
tools/clang/lib/Analysis/CFG.cpp 1549 CFGBlock *B = I->block;
1557 prependAutomaticObjLifetimeWithTerminator(B, I->scopePosition,
1559 prependAutomaticObjDtorsWithTerminator(B, I->scopePosition,
1562 B, I->scopePosition, JT.scopePosition);
1567 CFGBlock *Successor = (I+1)->block;
tools/clang/lib/CodeGen/CGObjCGNU.cpp 3835 TheModule.getGlobalVariable("_OBJC_CLASS_" + iter->first, true);
3839 {TheClass, MakeConstantString(iter->second)});
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 7981 It->second.begin(), It->second.end(), [VD](const MapInfo &MI) {
7981 It->second.begin(), It->second.end(), [VD](const MapInfo &MI) {
7986 if (CI != It->second.end()) {
8061 for (const DeferredDevicePtrEntryTy &L : CI->second) {
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 2332 assert(SecIt->second.IsOnePerTeam &&
2334 LValue SecVarAddr = CGF.EmitLValueForField(SecBase, SecIt->second.FD);
4797 return VDI->second.PrivateAddr;
4806 return VDI->second.PrivateAddr;
tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp 571 if (Member->Kind == MemberInfo::Field) {
572 if (!Member->FD || isZeroInitializable(Member->FD))
572 if (!Member->FD || isZeroInitializable(Member->FD))
575 } else if (Member->Kind == MemberInfo::Base ||
576 Member->Kind == MemberInfo::VBase) {
577 if (isZeroInitializable(Member->RD))
580 if (Member->Kind == MemberInfo::Base)
588 CharUnits Tail = getSize(Prior->Data);
593 if (!Member->Data && Member->Kind != MemberInfo::Scissor)
593 if (!Member->Data && Member->Kind != MemberInfo::Scissor)
595 if (Member->Offset < Tail) {
596 assert(Prior->Kind == MemberInfo::Field &&
598 if (!Prior->FD || Prior->FD->isBitField())
598 if (!Prior->FD || Prior->FD->isBitField())
599 Prior->Data = getByteArrayType(bitsToCharUnits(llvm::alignTo(
600 cast<llvm::IntegerType>(Prior->Data)->getIntegerBitWidth(), 8)));
602 assert(Prior->FD->hasAttr<NoUniqueAddressAttr>() &&
604 Prior->Data = getByteArrayType(
605 Context.getTypeInfoDataSizeInChars(Prior->FD->getType()).first);
608 if (Member->Data)
610 Tail = Prior->Offset + getSize(Prior->Data);
610 Tail = Prior->Offset + getSize(Prior->Data);
624 if (!Member->Data)
628 if (Member->Offset % getAlignment(Member->Data))
628 if (Member->Offset % getAlignment(Member->Data))
630 if (Member->Offset < NVSize)
631 NVAlignment = std::max(NVAlignment, getAlignment(Member->Data));
632 Alignment = std::max(Alignment, getAlignment(Member->Data));
654 if (!Member->Data)
656 CharUnits Offset = Member->Offset;
660 Size.alignTo(Packed ? CharUnits::One() : getAlignment(Member->Data)))
662 Size = Offset + getSize(Member->Data);
670 Members.push_back(StorageInfo(Pad->first, getByteArrayType(Pad->second)));
670 Members.push_back(StorageInfo(Pad->first, getByteArrayType(Pad->second)));
678 if (Member->Data)
679 FieldTypes.push_back(Member->Data);
680 if (Member->Kind == MemberInfo::Field) {
681 if (Member->FD)
682 Fields[Member->FD->getCanonicalDecl()] = FieldTypes.size() - 1;
684 if (!Member->Data)
685 setBitFieldInfo(Member->FD, Member->Offset, FieldTypes.back());
685 setBitFieldInfo(Member->FD, Member->Offset, FieldTypes.back());
686 } else if (Member->Kind == MemberInfo::Base)
687 NonVirtualBases[Member->RD] = FieldTypes.size() - 1;
688 else if (Member->Kind == MemberInfo::VBase)
689 VirtualBases[Member->RD] = FieldTypes.size() - 1;
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 613 I->second.second,
614 I->second.first ? I->second.first->getType() : Arg->getType(),
614 I->second.first ? I->second.first->getType() : Arg->getType(),
tools/clang/lib/CodeGen/CodeGenModule.cpp 1089 return FoundName->second;
3816 R.first->second = nullptr;
5509 I->second = false;
tools/clang/lib/Frontend/ASTUnit.cpp 2065 if ((C->ShowInContexts & InContexts) == 0)
2078 if (C->Kind != CXCursor_MacroDefinition &&
2079 HiddenNames.count(C->Completion->getTypedText()))
2083 unsigned Priority = C->Priority;
2084 CodeCompletionString *Completion = C->Completion;
2086 if (C->Kind == CXCursor_MacroDefinition) {
2087 Priority = getMacroUsagePriority(C->Completion->getTypedText(),
2090 } else if (C->Type) {
2095 if (ExpectedSTC == C->TypeClass) {
2101 if (Pos != CachedCompletionTypes.end() && Pos->second == C->Type)
2110 if (C->Kind == CXCursor_MacroDefinition &&
2115 CCP_CodePattern, C->Availability);
2116 Builder.AddTypedTextChunk(C->Completion->getTypedText());
2121 AllResults.push_back(Result(Completion, Priority, C->Kind,
2122 C->Availability));
tools/clang/lib/Frontend/FrontendActions.cpp 615 if (I->second)
619 Out << I->first << "\n";
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp 243 *S.LateParsedTemplateMap.find(cast<FunctionDecl>(FD))->second;
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp 852 if (I->first.isInvalid() || !SourceMgr)
857 SourceMgr->getFileID(I->first)))
859 OS << " Line " << SourceMgr->getPresumedLineNumber(I->first);
861 OS << ": " << I->second;
935 unsigned LineNo2 = SourceMgr.getPresumedLineNumber(II->first);
941 !IsFromSameFile(SourceMgr, D.DiagnosticLoc, II->first))
944 const std::string &RightText = II->second;
tools/clang/lib/Lex/PPConditionalDirectiveRecord.cpp 33 if (SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), low->getLoc()))
41 uppRegion = upp->getRegionLoc();
43 return low->getRegionLoc() != uppRegion;
60 return low->getRegionLoc();
tools/clang/lib/Sema/SemaDecl.cpp16680 for (OverridingMethods::iterator SO = M->second.begin(),
16681 SOEnd = M->second.end();
16683 assert(SO->second.size() > 0 &&
16685 if (SO->second.size() == 1)
16693 << (const NamedDecl *)M->first << Record;
16694 Diag(M->first->getLocation(),
16697 OM = SO->second.begin(),
16698 OMEnd = SO->second.end();
16701 << (const NamedDecl *)M->first << OM->Method->getParent();
tools/clang/lib/Sema/SemaDeclAttr.cpp 7417 WeakInfo W = I->second;
tools/clang/lib/Sema/SemaDeclCXX.cpp 5557 for (OverridingMethods::iterator SO = M->second.begin(),
5558 SOEnd = M->second.end();
5566 if (SO->second.size() != 1)
5569 if (!SO->second.front().Method->isPure())
5572 if (!SeenPureMethods.insert(SO->second.front().Method).second)
5575 Diag(SO->second.front().Method->getLocation(),
5577 << SO->second.front().Method->getDeclName() << RD->getDeclName();
15760 for (OverridingMethods::const_iterator OI = I->second.begin(),
15761 OE = I->second.end();
15763 assert(OI->second.size() > 0 && "no final overrider");
15764 CXXMethodDecl *Overrider = OI->second.front().Method;
tools/clang/lib/Sema/SemaExprObjC.cpp 3203 if (Pos != S.ReferencedSelectors.end() && Pos->second == Loc)
tools/clang/lib/Sema/SemaLookup.cpp 5494 return Entry->second;
tools/clang/lib/Sema/SemaOpenMP.cpp 5937 return buildCapture(SemaRef, Capture, I->second);
tools/clang/lib/Sema/SemaStmt.cpp 1163 Expr *CaseExpr = RI->second->getLHS();
1165 RI->first))
1170 RI->second->getRHS()->EvaluateKnownConstInt(Context);
1173 CaseExpr = RI->second->getRHS();
1215 RI->second->getRHS()->EvaluateKnownConstInt(Context);
1221 if (RI == CaseRanges.end() || EI->first < RI->first) {
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 4281 LateTemplateParser(OpaqueParser, *LPTIter->second);
tools/clang/lib/Serialization/GlobalModuleIndex.cpp 445 return Known->second;
797 Record.push_back(M->second.ID);
798 Record.push_back(M->first->getSize());
799 Record.push_back(M->first->getModificationTime());
802 StringRef Name(M->first->getName());
807 Record.push_back(M->second.Dependencies.size());
808 Record.append(M->second.Dependencies.begin(), M->second.Dependencies.end());
808 Record.append(M->second.Dependencies.begin(), M->second.Dependencies.end());
tools/clang/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp 122 const BlockEdge &BE = I->first;
tools/clang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp 206 unsigned ArgIdx = I->second;
tools/clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp 183 QualType CastedType = i->CastedExpr->getType();
190 for (CallExpr::const_arg_iterator ai = i->AllocCall->arg_begin(),
191 ae = i->AllocCall->arg_end(); ai != ae; ++ai) {
211 if (i->CastedExprParent.is<const VarDecl *>()) {
213 i->CastedExprParent.get<const VarDecl *>()->getTypeSourceInfo();
215 TSI = i->ExplicitCastType;
222 const FunctionDecl *Callee = i->AllocCall->getDirectCallee();
231 Ranges.push_back(i->AllocCall->getCallee()->getSourceRange());
237 PathDiagnosticLocation::createBegin(i->AllocCall->getCallee(),
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp 293 os << "<div id=File" << I->getHashValue() << ">\n";
297 os << "<div class=FileNav><a href=\"#File" << (I - 1)->getHashValue()
305 os << "<div class=FileNav><a href=\"#File" << (I + 1)->getHashValue()
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp 280 SM.getExpansionLoc(I->getStart().asRange().getBegin()));
285 SourceRange EndEdge(SM.getExpansionLoc(I->getEnd().asRange().getBegin()));
767 StringRef newName = CI->first;
776 o << " <string>" << CI->second << "</string>\n";
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp 291 assert(CheckerIt != Checkers.end() && CheckerIt->FullName == Entry.first &&
297 DependencyIt->FullName == Entry.second &&
300 CheckerIt->Dependencies.emplace_back(&*DependencyIt);
372 It->CmdLineOptions.emplace_back(Option);
490 isOptionContainedIn(CheckerIt->CmdLineOptions, SuppliedCheckerOrPackage,
tools/clang/lib/Tooling/Syntax/Tokens.cpp 147 if (ExpandedIndex < It->EndExpanded)
148 return {&File.SpelledTokens[It->BeginSpelled], /*Mapping*/ &*It};
153 &File.SpelledTokens[It->EndSpelled + (ExpandedIndex - It->EndExpanded)],
153 &File.SpelledTokens[It->EndSpelled + (ExpandedIndex - It->EndExpanded)],
224 if (M == File.Mappings.end() || M->BeginSpelled != SpelledIndex)
228 E.Spelled = llvm::makeArrayRef(File.SpelledTokens.data() + M->BeginSpelled,
229 File.SpelledTokens.data() + M->EndSpelled);
230 E.Expanded = llvm::makeArrayRef(ExpandedTokens.data() + M->BeginExpanded,
231 ExpandedTokens.data() + M->EndExpanded);
tools/clang/tools/diagtool/DiagTool.cpp 56 unsigned spaces = (maxName + 3) - (it->size());
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 973 auto &SM = *NsMoves.begin()->SourceMgr;
974 llvm::StringRef Code = SM.getBufferData(NsMoves.begin()->FID);
tools/clang/tools/extra/clang-doc/Generators.cpp 106 if (It->Path.empty())
107 It->Path = Info->Path;
108 if (It->Name.empty())
109 It->Name = Info->extractName();
tools/clang/tools/extra/clang-include-fixer/SymbolIndexManager.cpp 111 if (SymbolContext->second == *IdentiferContext) {
114 } else if (SymbolContext->first ==
tools/clang/tools/extra/clang-move/tool/ClangMove.cpp 140 llvm::outs() << " \"DeclarationName\": \"" << I->QualifiedName
142 llvm::outs() << " \"DeclarationType\": \"" << I->Kind << "\",\n";
143 llvm::outs() << " \"Templated\": " << (I->Templated ? "true" : "false")
tools/clang/tools/extra/clang-query/Query.cpp 111 for (auto BI = MI->getMap().begin(), BE = MI->getMap().end(); BI != BE;
111 for (auto BI = MI->getMap().begin(), BE = MI->getMap().end(); BI != BE;
136 if (MI->getMap().empty())
tools/clang/tools/extra/clang-query/QueryParser.cpp 170 Completions.push_back(LineEditor::Completion(I->TypedText, I->MatcherDecl));
170 Completions.push_back(LineEditor::Completion(I->TypedText, I->MatcherDecl));
tools/clang/tools/extra/clangd/Selection.cpp 86 for (auto It = Start; It != Tokens.end() && It->StartOffset < End; ++It) {
87 if (It->Selected) {
88 if (!It->Claimed) {
90 It->Claimed = true;
93 PartialSelection |= (It->Selected == SelectionTree::Partial);
tools/clang/tools/extra/clangd/TUScheduler.cpp 98 if (It == LRU.end() || !It->second)
100 return It->second->getUsedBytes();
128 std::unique_ptr<ParsedAST> V = std::move(Existing->second);
tools/clang/tools/extra/clangd/index/Symbol.cpp 40 if (It != Symbols.end() && It->ID == ID)
tools/clang/tools/extra/clangd/unittests/FileIndexTests.cpp 214 EXPECT_THAT(Symbols.begin()->IncludeHeaders.front().IncludeHeader,
225 EXPECT_THAT(Symbols.begin()->IncludeHeaders.front().IncludeHeader,
tools/clang/tools/extra/clangd/unittests/SerializationTests.cpp 148 auto Ref1 = ParsedYAML->Refs->begin()->second.front();
tools/clang/tools/extra/clangd/unittests/SymbolCollectorTests.cpp 984 EXPECT_THAT(Symbols.begin()->IncludeHeaders,
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp 2201 << AST.getDiagnostics().begin()->Message;
2271 << AST.getDiagnostics().begin()->Message;
tools/clang/tools/extra/modularize/Modularize.cpp 344 Argv.push_back(I->c_str());
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp 611 if ((I->MacroExpanded == MacroExpanded) &&
612 (I->DefinitionLocation == DefinitionLocation)) {
701 if (I->ConditionValue == ConditionValue) {
840 if ((I->File == CurrentHeaderHandle) && (I->Line == DirectiveLine))
840 if ((I->File == CurrentHeaderHandle) && (I->Line == DirectiveLine))
875 if ((I->File == SourceHandle) && (I->Line >= BlockStartLine) &&
875 if ((I->File == SourceHandle) && (I->Line >= BlockStartLine) &&
876 (I->Line < BlockEndLine)) {
878 OS << SourcePath << ":" << I->Line << ":" << I->Column << ":\n";
878 OS << SourcePath << ":" << I->Line << ":" << I->Column << ":\n";
879 OS << getSourceLine(PP, FileID, I->Line) << "\n";
880 if (I->Column > 0)
881 OS << std::string(I->Column - 1, ' ') << "^\n";
1014 if (I->Path == Path)
tools/clang/tools/libclang/ARCMigrate.cpp 68 llvm::errs() << I->second << '\n';
112 llvm::errs() << I->second << '\n';
tools/clang/tools/libclang/CIndex.cpp 8684 if (sm.getFileID(i->getBegin()) == wantedFileID || sm.getFileID(i->getEnd()) == wantedFileID)
8684 if (sm.getFileID(i->getBegin()) == wantedFileID || sm.getFileID(i->getEnd()) == wantedFileID)
8686 else if (isMainFile && (astUnit->isInPreambleFileID(i->getBegin()) || astUnit->isInPreambleFileID(i->getEnd())))
8686 else if (isMainFile && (astUnit->isInPreambleFileID(i->getBegin()) || astUnit->isInPreambleFileID(i->getEnd())))
tools/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp 118 if (I->TypedText == TypedText &&
119 (MatcherDecl.empty() || I->MatcherDecl == MatcherDecl)) {
tools/clang/unittests/Driver/MultilibTest.cpp 187 if (I->gccSuffix() == "/64")
188 ASSERT_TRUE(I->flags()[0] == "+m64");
189 else if (I->gccSuffix() == "")
190 ASSERT_TRUE(I->flags()[0] == "-m64");
192 FAIL() << "Unrecognized gccSufix: " << I->gccSuffix();
203 ASSERT_TRUE(I->isValid()) << "Multilb " << *I << " should be valid";
204 ASSERT_TRUE(llvm::StringSwitch<bool>(I->gccSuffix())
208 ASSERT_TRUE(llvm::StringSwitch<bool>(I->gccSuffix())
215 ASSERT_TRUE(llvm::StringSwitch<bool>(I->gccSuffix())
231 ASSERT_TRUE(llvm::StringSwitch<bool>(I->gccSuffix())
250 ASSERT_TRUE(I->gccSuffix() != "/one/two/three")
279 ASSERT_FALSE(StringRef(I->gccSuffix()).startswith("/p"))
tools/clang/unittests/Tooling/CommentHandlerTest.cpp 105 << Current->Message << "\" at line " << Current->Line << ", column "
105 << Current->Message << "\" at line " << Current->Line << ", column "
106 << Current->Col;
tools/clang/unittests/Tooling/TestVisitor.h 154 It->ExpectFound();
169 EXPECT_FALSE(It->Matches(Name, FullLocation))
176 It->UpdateFor(Name, FullLocation, this->Context->getSourceManager());
tools/clang/utils/TableGen/ClangAttrEmitter.cpp 2360 OS << "AT_" << ParsedAttrSpellingItr->first;
3684 emitArgInfo(*I->second, SS);
3685 SS << ", " << I->second->getValueAsBit("HasCustomParsing");
3686 SS << ", " << I->second->isSubClassOf("TargetSpecificAttr");
3688 << (I->second->isSubClassOf("TypeAttr") ||
3689 I->second->isSubClassOf("DeclOrTypeAttr"));
3690 SS << ", " << I->second->isSubClassOf("StmtAttr");
3691 SS << ", " << IsKnownToGCC(*I->second);
3692 SS << ", " << PragmaAttributeSupport.isAttributedSupported(*I->second);
3693 SS << ", " << GenerateAppertainsTo(*I->second, OS);
3694 SS << ", " << GenerateLangOptRequirements(*I->second, OS);
3695 SS << ", " << GenerateTargetRequirements(*I->second, Dupes, OS);
3696 SS << ", " << GenerateSpellingIndexToSemanticSpelling(*I->second, OS);
3698 << PragmaAttributeSupport.generateStrictConformsTo(*I->second, OS);
3704 SS << " // AT_" << I->first << "\n";
3987 Heading = Spellings.begin()->name();
3992 std::string Spelling = NormalizeNameForSpellingComparison(I->name());
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 782 Width = std::max(Width, I->size());
784 (*I) += std::string(Width - I->size(), ' ');
tools/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp 358 SignIndex = it->second;
394 OS << TypeMap.find(R)->second << ", ";
tools/dsymutil/DwarfLinker.cpp 114 return CU != Units.end() ? CU->get() : nullptr;
1784 if (InsertPoint != Rows.end() && InsertPoint->Address == Front &&
1785 InsertPoint->EndSequence) {
tools/dsymutil/DwarfStreamer.cpp 355 uint64_t RangeStart = Range->first;
357 while ((Range + 1) != End && Range->second == (Range + 1)->first)
357 while ((Range + 1) != End && Range->second == (Range + 1)->first)
359 MS->EmitIntValue(Range->second - RangeStart, AddressSize);
376 MS->EmitIntValue(Range->first + PcOffset, AddressSize);
377 while (Range + 1 != End && Range->second == (Range + 1)->first)
377 while (Range + 1 != End && Range->second == (Range + 1)->first)
379 MS->EmitIntValue(Range->second + PcOffset, AddressSize);
tools/lld/COFF/Writer.cpp 487 if (nextReplacement != endReplacement && nextReplacement->first == i) {
488 newRelocs[i].SymbolTableIndex = nextReplacement->second;
tools/lld/ELF/AArch64ErrataFix.cpp 552 (relIt->type == R_AARCH64_JUMP26 || relIt->expr == R_RELAX_TLS_IE_TO_LE))
552 (relIt->type == R_AARCH64_JUMP26 || relIt->expr == R_RELAX_TLS_IE_TO_LE))
567 {relIt->expr, relIt->type, 0, relIt->addend, relIt->sym});
567 {relIt->expr, relIt->type, 0, relIt->addend, relIt->sym});
567 {relIt->expr, relIt->type, 0, relIt->addend, relIt->sym});
567 {relIt->expr, relIt->type, 0, relIt->addend, relIt->sym});
tools/lld/ELF/InputSection.cpp 594 if (it->type == R_RISCV_PCREL_HI20 || it->type == R_RISCV_GOT_HI20 ||
594 if (it->type == R_RISCV_PCREL_HI20 || it->type == R_RISCV_GOT_HI20 ||
595 it->type == R_RISCV_TLS_GD_HI20 || it->type == R_RISCV_TLS_GOT_HI20)
595 it->type == R_RISCV_TLS_GD_HI20 || it->type == R_RISCV_TLS_GOT_HI20)
tools/lld/ELF/LinkerScript.cpp 996 defPhdrs.push_back(firstPtLoad->name);
tools/lld/ELF/SyntheticSections.cpp 1716 } while (i != e && (i - 1)->r_offset + config->wordsize == i->r_offset);
1716 } while (i != e && (i - 1)->r_offset + config->wordsize == i->r_offset);
1760 while (j != e && i->r_info == j->r_info &&
1760 while (j != e && i->r_info == j->r_info &&
1761 (!config->isRela || i->r_addend == j->r_addend))
1761 (!config->isRela || i->r_addend == j->r_addend))
1763 if (j - i < 3 || (config->isRela && i->r_addend != 0))
1806 add(i->r_addend - addend);
1807 addend = i->r_addend;
2339 uint32_t hash = i->hash;
2340 bool isLastInChain = (i + 1) == e || i->bucketIdx != (i + 1)->bucketIdx;
2340 bool isLastInChain = (i + 1) == e || i->bucketIdx != (i + 1)->bucketIdx;
2344 if (i->bucketIdx == oldBucket)
2348 write32(buckets + i->bucketIdx,
2349 getPartition().dynSymTab->getSymbolIndex(i->sym));
2350 oldBucket = i->bucketIdx;
tools/lld/lib/ReaderWriter/MachO/File.h 161 *foundOffsetAtom = offsetInSect - atomPos->offset;
162 return atomPos->atom;
tools/lldb/include/lldb/Core/UniqueCStringMap.h 84 if (pos != m_map.end() && pos->cstring == unique_cstr)
85 return pos->value;
96 if (pos != m_map.end() && pos->cstring == unique_cstr)
136 if (regex.Execute(pos->cstring.GetCString()))
137 values.push_back(pos->value);
tools/lldb/include/lldb/DataFormatters/FormattersContainer.h 91 if (iter->first == name) {
245 const RegularExpression ®ex = pos->first;
tools/lldb/include/lldb/Expression/ExpressionVariable.h 192 if (vi->get() == var_sp.get()) {
tools/lldb/include/lldb/Utility/RangeMap.h 358 if (pos != end && pos->Union(entry)) {
364 if (prev->Union(entry)) {
507 if (pos != end && pos->Contains(addr)) {
511 if (pos->Contains(addr))
529 if (pos != end && pos->Contains(addr)) {
533 if (pos->Contains(addr)) {
569 if (prev->Union(*pos))
578 if (pos->Union(*next))
tools/lldb/include/lldb/Utility/StreamTee.h 69 Stream *strm = pos->get();
125 Stream *strm = pos->get();
tools/lldb/source/Core/FileSpecList.cpp 50 pos->Dump(s);
108 mem_size += pos->MemorySize();
tools/lldb/source/Core/ModuleList.cpp 178 if (pos->get() == module_sp.get())
207 if (pos->get() == module_sp.get()) {
247 if (pos->get() == module_ptr) {
248 if (pos->unique()) {
272 if (pos->unique()) {
499 if (search_first == pos->get()) {
513 if (search_first != pos->get())
585 Module *module = pos->get();
tools/lldb/source/Core/PluginManager.cpp 246 if (pos->create_callback == create_callback) {
271 if (name == pos->name)
272 return pos->create_callback;
311 if (pos->create_callback == create_callback) {
376 if (pos->create_callback == create_callback) {
403 if (name == pos->name)
404 return pos->create_callback;
461 if (pos->create_callback == create_callback) {
488 if (name == pos->name)
489 return pos->create_callback;
545 if (pos->create_callback == create_callback) {
571 if (name == pos->name)
572 return pos->create_callback;
625 if (pos->create_callback == create_callback) {
652 if (name == pos->name)
653 return pos->create_callback;
710 if (pos->create_callback == create_callback) {
737 if (name == pos->name)
738 return pos->create_callback;
789 if (pos->create_callback == create_callback) {
815 if (name == pos->name)
816 return pos->create_callback;
874 if (pos->create_callback == create_callback) {
919 if (name == pos->name)
920 return pos->create_callback;
972 if (pos->create_callback == create_callback) {
999 if (name == pos->name)
1000 return pos->create_callback;
1063 if (pos->create_callback == create_callback) {
1109 if (name == pos->name)
1110 return pos->create_callback;
1125 if (name == pos->name)
1126 return pos->create_memory_callback;
1140 if (pos->save_core && pos->save_core(process_sp, outfile, error))
1140 if (pos->save_core && pos->save_core(process_sp, outfile, error))
1199 if (pos->create_callback == create_callback) {
1226 if (name == pos->name)
1227 return pos->create_callback;
1311 if (pos->create_callback == create_callback) {
1337 if (name == pos->name)
1338 return pos->create_callback;
1355 llvm::StringRef plugin_name(pos->name.GetCString());
1427 if (pos->create_callback == create_callback) {
1453 if (name == pos->name)
1454 return pos->create_callback;
1512 if (pos->create_callback != create_callback)
1539 if (pos->language == lldb::eScriptLanguageNone)
1540 none_instance = pos->create_callback;
1542 if (script_lang == pos->language)
1543 return pos->create_callback(debugger);
1609 if (pos->create_callback == create_callback) {
1637 if (name == pos->name)
1638 return pos->create_callback;
1708 if (pos->create_callback == create_callback) {
1735 if (name == pos->name)
1736 return pos->create_callback;
1788 if (pos->create_callback == create_callback) {
1815 if (name == pos->name)
1816 return pos->create_callback;
1868 if (pos->create_callback == create_callback) {
1895 if (name == pos->name)
1896 return pos->create_callback;
1948 if (pos->create_callback == create_callback) {
1975 if (name == pos->name)
1976 return pos->create_callback;
2036 if (pos->create_callback == create_callback) {
2076 if (name == pos->name)
2077 return pos->create_callback;
2132 if (pos->create_callback == create_callback) {
2159 if (name == pos->name)
2160 return pos->create_callback;
2231 if (pos->create_callback == create_callback) {
2256 if (name == pos->name)
2257 return pos->create_callback;
2282 if (pos->debugger_init_callback)
2283 pos->debugger_init_callback(debugger);
2294 if (pos->debugger_init_callback)
2295 pos->debugger_init_callback(debugger);
2306 if (pos->debugger_init_callback)
2307 pos->debugger_init_callback(debugger);
2318 if (pos->debugger_init_callback)
2319 pos->debugger_init_callback(debugger);
tools/lldb/source/Core/Section.cpp 450 if (sect_iter->get() == sect) {
511 Section *child_section = sect_iter->get();
569 Section *sect = sect_iter->get();
tools/lldb/source/Expression/Materializer.cpp 402 iter->reset(new EntityPersistentVariable(persistent_variable_sp, delegate));
755 iter->reset(new EntityVariable(variable_sp));
1035 iter->reset(new EntityResultVariable(type, is_program_reference,
1152 iter->reset(new EntitySymbol(symbol_sp));
1329 iter->reset(new EntityRegister(register_info));
tools/lldb/source/Interpreter/Options.cpp 868 OptionGroup *group = pos->option_group;
881 OptionGroup *group = pos->option_group;
926 result.AppendArgument(pos->ref(), pos->GetQuoteChar());
926 result.AppendArgument(pos->ref(), pos->GetQuoteChar());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp 330 current_id, i->second.GetName().AsCString(),
331 i->first->GetFileSpec().GetFilename().GetCString());
337 i->first->FindTypesInNamespace(name, &i->second, UINT32_MAX, types);
337 i->first->FindTypesInNamespace(name, &i->second, UINT32_MAX, types);
756 current_id, i->second.GetName().AsCString(),
757 i->first->GetFileSpec().GetFilename().GetCString());
759 FindExternalVisibleDecls(context, i->first, i->second, current_id);
759 FindExternalVisibleDecls(context, i->first, i->second, current_id);
1880 parent_map->begin()->second.GetName().AsCString());
1895 lldb::ModuleSP module_sp = i->first;
1896 CompilerDeclContext module_parent_namespace_decl = i->second;
1957 const CompilerDeclContext &namespace_decl = namespace_decls->begin()->second;
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp 756 current_id, i->second.GetName().AsCString(),
757 i->first->GetFileSpec().GetFilename().GetCString());
759 FindExternalVisibleDecls(context, i->first, i->second, current_id);
759 FindExternalVisibleDecls(context, i->first, i->second, current_id);
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp 1402 ConstString name(shstr_data.PeekCStr(I->sh_name));
1404 I->section_name = name;
1800 ConstString &name = I->section_name;
2851 if (I->sh_type == SHT_RELA || I->sh_type == SHT_REL) {
2851 if (I->sh_type == SHT_RELA || I->sh_type == SHT_REL) {
2852 const char *hay_name = I->section_name.GetCString();
3184 const char *section_name = I->section_name.AsCString("");
tools/lldb/source/Plugins/ObjectFile/PECOFF/PECallFrameInfo.cpp 373 row->SetOffset(m_begin->offset);
379 switch (it->type) {
381 row->GetCFAValue().SetIsRegisterPlusOffset(it->reg, cfa_frame_offset -
382 it->frame_offset);
397 switch (it->type) {
400 it->reg, rsp_frame_offset - cfa_frame_offset, false);
401 rsp_frame_offset += it->frame_offset;
404 rsp_frame_offset += it->frame_offset;
408 it->reg, it->frame_offset - cfa_frame_offset, false);
408 it->reg, it->frame_offset - cfa_frame_offset, false);
424 switch (it->type) {
427 result += it->frame_offset;
487 if (it->offset == last_offset)
494 last_offset = it->offset;
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp 1247 MemoryRegionInfo &proc_entry_info = it->first;
tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp 669 if (pos->kinds[kind] == num)
tools/lldb/source/Plugins/Process/Utility/RegisterInfoInterface.h 52 if (::strcmp(reg_name, pos->name) == 0)
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp 228 m_thread_data.begin()->signo =
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 1332 continue_packet.Printf(";C%2.2x:%4.4" PRIx64, s_pos->second,
1333 s_pos->first);
1355 continue_packet.Printf(";S%2.2x:%4.4" PRIx64, s_pos->second,
1356 s_pos->first);
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp 352 std::prev(pos)->GetRange().Contains(load_addr)) {
360 region.GetRange().SetRangeBase(std::prev(pos)->GetRange().GetRangeEnd());
365 region.GetRange().SetRangeEnd(pos->GetRange().GetRangeBase());
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp 587 auto *symbol = llvm::dyn_cast<postfix::SymbolNode>(it->second);
592 if (!postfix::ResolveSymbols(it->second, symbol_resolver)) {
597 llvm::ArrayRef<uint8_t> saved = SaveAsDWARF(*it->second);
604 it->second = postfix::MakeNode<postfix::InitialValueNode>(node_alloc);
609 const RegisterInfo *info = ResolveRegister(resolver, it->first);
614 if (!postfix::ResolveSymbols(it->second, symbol_resolver)) {
620 llvm::ArrayRef<uint8_t> saved = SaveAsDWARF(*it->second);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp 2011 pi->Finalize();
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp 59 if (pos->Code() == abbrCode)
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp 168 if (pos == m_type_hash_to_unit_index.end() || pos->first != hash)
170 return llvm::cast<DWARFTypeUnit>(GetUnitAtIndex(pos->second));
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp 68 if (pos->tag != rhs_pos->tag) {
68 if (pos->tag != rhs_pos->tag) {
71 if (pos->tag == DW_TAG_structure_type &&
72 rhs_pos->tag == DW_TAG_class_type)
74 if (pos->tag == DW_TAG_class_type &&
75 rhs_pos->tag == DW_TAG_structure_type)
82 if (!pos->NameMatches(*rhs_pos))
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp 392 if (pos->Tag() == tag)
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpression.cpp 65 ResolveSymbols(it->second, [&](SymbolNode &symbol) -> Node * {
82 if (it->first == register_name) {
84 return it->second;
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp 2050 if (DataOffset < it->Offset + it->Size)
2050 if (DataOffset < it->Offset + it->Size)
2051 return it->CompilandId;
tools/lldb/source/Symbol/ArmUnwindInfo.cpp 361 if (it->data == 0x1)
364 if (it->data & 0x80000000)
365 return (const uint8_t *)&it->data;
367 addr_t data_file_addr = it->file_address + 4 + Prel31ToAddr(it->data);
367 addr_t data_file_addr = it->file_address + 4 + Prel31ToAddr(it->data);
tools/lldb/source/Symbol/Block.cpp 421 Block *child_block = pos->get();
509 if (pos->get() == child_block) {
511 return pos->get();
tools/lldb/source/Symbol/CompactUnwindInfo.cpp 523 if (it->function_offset != key.function_offset) {
528 if (it->sentinal_entry) {
537 unwind_info.valid_range_offset_end = next_it->function_offset;
540 offset_t second_page_offset = it->second_level;
541 offset_t lsda_array_start = it->lsda_array_start;
542 offset_t lsda_array_count = (it->lsda_array_end - it->lsda_array_start) / 8;
542 offset_t lsda_array_count = (it->lsda_array_end - it->lsda_array_start) / 8;
631 it->function_offset, &unwind_info.valid_range_offset_start,
tools/lldb/source/Symbol/LineTable.cpp 120 while (pos < end_pos && !((pos - 1)->is_terminal_entry))
129 assert(prev_pos->is_terminal_entry);
188 if (pos->file_addr != search_entry.file_addr)
190 else if (pos->file_addr == search_entry.file_addr) {
194 if (pos->is_terminal_entry) {
200 if (pos->file_addr != search_entry.file_addr)
210 if (prev_pos->file_addr == search_entry.file_addr &&
211 prev_pos->is_terminal_entry == false)
224 if (pos->file_addr > so_addr.GetFileAddress())
230 if (pos != end_pos && pos->is_terminal_entry == false) {
tools/lldb/source/Symbol/SymbolContext.cpp 1237 if (pos->block && pos->block->GetContainingInlinedBlock())
1237 if (pos->block && pos->block->GetContainingInlinedBlock())
1240 if (pos->function) {
1241 if (pos->function->GetAddressRange().GetBaseAddress() ==
1244 if (pos->symbol == sc.symbol)
1246 if (pos->symbol == nullptr) {
1247 pos->symbol = sc.symbol;
1272 pos->GetDescription(s, eDescriptionLevelVerbose, target);
tools/lldb/source/Symbol/Symtab.cpp 100 pos->Dump(s, target, std::distance(begin, pos));
115 const char *name = pos->GetName().AsCString();
866 if (pos->ValueIsAddress()) {
867 entry.SetRangeBase(pos->GetAddressRef().GetFileAddress());
868 entry.SetByteSize(pos->GetByteSize());
tools/lldb/source/Symbol/TypeList.cpp 96 pos->get()->Dump(s, show_context);
126 Type *the_type = pos->get();
200 Type *the_type = pos->get();
tools/lldb/source/Symbol/VariableList.cpp 66 if (pos->get() == var_sp.get())
tools/lldb/source/Target/PathMappingList.cpp 277 if (pos->first == path)
290 if (pos->first == path)
313 if (pos->first == path)
tools/lldb/source/Target/Process.cpp 656 if (pos->baton == callbacks.baton &&
657 pos->initialize == callbacks.initialize &&
658 pos->process_state_changed == callbacks.process_state_changed) {
671 if (notification_pos->process_state_changed)
672 notification_pos->process_state_changed(notification_pos->baton, this,
672 notification_pos->process_state_changed(notification_pos->baton, this,
tools/lldb/source/Target/StackFrameList.cpp 781 if (pos->get() == frame) {
931 if (pos->get() == stack_frame_ptr) {
tools/lldb/source/Target/TargetList.cpp 448 if (pos->get() == target_sp.get()) {
606 if (pos->get() == target) {
tools/lli/lli.cpp 843 J->getObjLinkingLayer(), EAItr->c_str())));
tools/llvm-cov/SourceCoverageView.cpp 205 unsigned FirstLine = StartSegment != EndSegment ? StartSegment->Line : 0;
226 if (NextESV != EndESV && NextESV->getLine() == LI.line_number() &&
228 ExpansionColumn = NextESV->getStartCol();
239 for (; NextESV != EndESV && NextESV->getLine() == LI.line_number();
246 ExpansionColumn = NextESV->getStartCol();
255 for (; NextISV != EndISV && NextISV->Line == LI.line_number(); ++NextISV) {
tools/llvm-dwp/llvm-dwp.cpp 228 auto &Entry = P.first->second;
577 P.first->second.Name = ID.Name;
578 P.first->second.DWOName = ID.DWOName;
604 auto &NewEntry = P.first->second;
tools/llvm-exegesis/lib/Analysis.cpp 567 SchedClassClusterIt->addPoint(PointId, Clustering_);
tools/llvm-exegesis/lib/SchedClassResolution.cpp 294 : ProcResPressureIt->second;
tools/llvm-objcopy/ELF/Object.h 1045 return SecIt == Sections.end() ? nullptr : SecIt->get();
tools/llvm-objcopy/MachO/MachOWriter.cpp 294 SymbolEntry *Sym = Iter->get();
tools/llvm-objdump/MachODump.cpp 416 DTI->second.getLength(Length);
418 DTI->second.getKind(Kind);
421 (PC == (DTI->first + Length - 1)) && (Length & 1))
1515 symbol_iterator RelocSym = Reloc->second;
1530 uint64_t SectAddress = Sect->getAddress();
1531 uint64_t SectSize = Sect->getSize();
1534 Expected<StringRef> SectNameOrErr = Sect->getName();
1540 DataRefImpl Ref = Sect->getRawDataRefImpl();
1553 StringRef BytesStr = unwrapOrError(Sect->getContents(), O->getFileName());
1665 symbol_iterator RelocSym = Reloc->second;
tools/llvm-objdump/llvm-objdump.cpp 762 while ((RelCur != RelEnd) && (RelCur->getOffset() <= Address.Address)) {
763 if (RelCur->getOffset() == Address.Address) {
1191 AllSymbols[Sec->second].emplace_back(VA, Name, ELF::STT_NOTYPE);
1392 MaxOffset = RelCur->getOffset() - Index;
1450 TargetSectionSymbols = &AllSymbols[It->second];
1490 uint64_t Offset = RelCur->getOffset();
1502 if (RelCur->getSymbol() != Obj->symbol_end()) {
1504 RelCur->getSymbol()->getSection();
tools/llvm-rc/ResourceScriptParser.cpp 38 (CurLoc == End ? "<EOF>" : CurLoc->value()).str();
tools/polly/include/polly/ScopInfo.h 2830 return MapIt->second.get();
unittests/ADT/MapVectorTest.cpp 22 EXPECT_EQ(R.first->first, 1);
23 EXPECT_EQ(R.first->second, 2);
37 EXPECT_EQ(I->first, 1);
38 EXPECT_EQ(I->second, 2);
47 EXPECT_EQ(R.first->first, 1);
48 EXPECT_EQ(R.first->second, 2);
53 EXPECT_EQ(R.first->first, 1);
54 EXPECT_EQ(R.first->second, 2);
59 EXPECT_EQ(R.first->first, 4);
60 EXPECT_EQ(R.first->second, 5);
73 EXPECT_EQ(R.first->first, 4);
74 EXPECT_EQ(R.first->second, 7);
156 ASSERT_EQ(*MV.find(2)->second, 2);
178 EXPECT_EQ(R.first->first, 1);
179 EXPECT_EQ(R.first->second, 2);
185 EXPECT_EQ(R.first->first, 1);
186 EXPECT_EQ(R.first->second, 2);
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp 1784 if (it->getNumAttributes() == 0)
1787 auto A = it->getAttrByIndex(0);
1790 auto FormValue = it->getAttributeValue(/* offset */ 0, A, *U);
1800 it->dump(OS);
unittests/ExecutionEngine/JITLink/MachO_x86_64_Tests.cpp 178 EXPECT_EQ(P.getBlock().edges().begin()->getKind(), Pointer64)
192 EXPECT_EQ(Bar.getBlock().edges().begin()->getKind(), Branch32)
202 EXPECT_EQ(Foo.getBlock().edges().begin()->getKind(), Branch32);
211 EXPECT_EQ(Foo_1.getBlock().edges().begin()->getKind(), PCRel32);
219 EXPECT_EQ(Foo_2.getBlock().edges().begin()->getKind(), PCRel32);
223 Foo_2.getBlock().edges().begin()->getOffset();
unittests/ProfileData/CoverageMappingTest.cpp 327 EXPECT_EQ(I, Data.begin()->Line);
unittests/ProfileData/InstrProfTest.cpp 173 ASSERT_EQ(576460752303423488U, EightyPerc->MinCount);
174 ASSERT_EQ(288230376151711744U, NinetyPerc->MinCount);
175 ASSERT_EQ(288230376151711744U, NinetyFivePerc->MinCount);
176 ASSERT_EQ(72057594037927936U, NinetyNinePerc->MinCount);
unittests/ProfileData/SampleProfTest.cpp 233 ASSERT_EQ(60000u, EightyPerc->MinCount);
234 ASSERT_EQ(12557u, NinetyPerc->MinCount);
235 ASSERT_EQ(12557u, NinetyFivePerc->MinCount);
236 ASSERT_EQ(610u, NinetyNinePerc->MinCount);
utils/FileCheck/FileCheck.cpp 304 A.CheckLine = DiagItr->CheckLine;
306 Label << GetCheckTypeAbbreviation(DiagItr->CheckTy) << ":"
307 << DiagItr->CheckLine;
310 if (DiagNext != DiagEnd && DiagItr->CheckTy == DiagNext->CheckTy &&
310 if (DiagNext != DiagEnd && DiagItr->CheckTy == DiagNext->CheckTy &&
311 DiagItr->CheckLine == DiagNext->CheckLine)
311 DiagItr->CheckLine == DiagNext->CheckLine)
324 A.Marker = GetMarker(DiagItr->MatchTy);
326 DiagItr->MatchTy == FileCheckDiag::MatchFoundAndExpected;
330 A.InputLine = DiagItr->InputStartLine;
331 A.InputStartCol = DiagItr->InputStartCol;
332 if (DiagItr->InputStartLine == DiagItr->InputEndLine) {
332 if (DiagItr->InputStartLine == DiagItr->InputEndLine) {
337 std::max(DiagItr->InputStartCol + 1, DiagItr->InputEndCol);
337 std::max(DiagItr->InputStartCol + 1, DiagItr->InputEndCol);
340 assert(DiagItr->InputStartLine < DiagItr->InputEndLine &&
340 assert(DiagItr->InputStartLine < DiagItr->InputEndLine &&
344 for (unsigned L = DiagItr->InputStartLine + 1, E = DiagItr->InputEndLine;
344 for (unsigned L = DiagItr->InputStartLine + 1, E = DiagItr->InputEndLine;
348 if (DiagItr->InputEndCol == 1 && L == E)
362 B.InputEndCol = DiagItr->InputEndCol;
441 for (auto I = AnnotationItr; I != AnnotationEnd && I->InputLine == Line;
443 if (I->FoundAndExpectedMatch)
481 AnnotationItr->InputLine == Line) {
482 WithColor COS(OS, AnnotationItr->Marker.Color, true);
484 COS << left_justify(AnnotationItr->Label, LabelWidth) << " ";
486 for (Col = 1; Col < AnnotationItr->InputStartCol; ++Col)
488 COS << AnnotationItr->Marker.Lead;
490 for (++Col; Col < AnnotationItr->InputEndCol && Col <= InputLineWidth;
493 const std::string &Note = AnnotationItr->Marker.Note;
utils/TableGen/CodeGenDAGPatterns.cpp 3662 ->first;
3671 if (InstResultIter == InstResults.end() || !InstResultIter->second)
3674 TreePatternNodePtr RNode = InstResultIter->second;
3691 InstResultIter->second = nullptr;
utils/TableGen/CodeGenRegisters.cpp 1653 for (RegUnitIterator UnitI(I->Regs); UnitI.isValid(); ++UnitI) {
1671 if (I->Weight != MaxWeight) {
1675 : I->Regs) dbgs()
1679 I->Weight = MaxWeight;
1683 for (const auto R : I->Regs) {
1684 if (R->getRegUnits().count() == 1 && R->getWeight(RegBank) == I->Weight) {
1685 I->SingularDeterminants |= R->getRegUnits();
1796 if (I->Units == Set.Units)
utils/TableGen/CodeGenSchedule.cpp 437 It->ProcModelMask |= CpuMask;
1629 I->WriteSequences.emplace_back();
1640 I->ReadSequences.emplace_back();
2211 PCI = TI->PredTerm.begin(), PCE = TI->PredTerm.end();
2211 PCI = TI->PredTerm.begin(), PCE = TI->PredTerm.end();
2213 if (PCI != TI->PredTerm.begin())
2220 WSI = TI->WriteSequences.begin(), WSE = TI->WriteSequences.end();
2220 WSI = TI->WriteSequences.begin(), WSE = TI->WriteSequences.end();
utils/TableGen/DAGISelEmitter.cpp 146 I->getSrcPattern()->dump();
148 I->getDstPattern()->dump();
utils/TableGen/DAGISelMatcherEmitter.cpp 78 return It->second;
utils/TableGen/FastISelEmitter.cpp 625 OS << "static bool " << I->getFnName() << "(int64_t Imm) {\n";
626 OS << I->getImmediatePredicateCode() << "\n}\n";
utils/TableGen/FixedLenDecoderEmitter.cpp 724 Dest->insert(Dest->end(), Source->begin(), Source->end());
724 Dest->insert(Dest->end(), Source->begin(), Source->end());
724 Dest->insert(Dest->end(), Source->begin(), Source->end());
724 Dest->insert(Dest->end(), Source->begin(), Source->end());
utils/TableGen/GlobalISelEmitter.cpp 586 if (NextI->EmitStr == "" &&
587 NextI->Flags == MatchTableRecord::MTRF_LineBreakFollows)
591 if (I->Flags & MatchTableRecord::MTRF_Indent)
594 I->emit(OS, LineBreakIsNext, *this);
595 if (I->Flags & MatchTableRecord::MTRF_LineBreakFollows)
598 if (I->Flags & MatchTableRecord::MTRF_Outdent)
utils/TableGen/OptParserEmitter.cpp 72 if (int Cmp = StrCmpOptionName(APre->str().c_str(), BPre->str().c_str()))
72 if (int Cmp = StrCmpOptionName(APre->str().c_str(), BPre->str().c_str()))
utils/TableGen/RegisterInfoEmitter.cpp 392 for (unsigned i = I->second.size(), e = maxLength; i != e; ++i)
393 I->second.push_back(-1);
414 int DwarfRegNo = I->second[i];
417 Dwarf2LMap[DwarfRegNo] = I->first;
456 assert(AliasIter != DwarfRegNums.end() && AliasIter->first == Alias &&
463 assert(RegIter != DwarfRegNums.end() && RegIter->first == Reg &&
465 RegIter->second = AliasIter->second;
465 RegIter->second = AliasIter->second;
480 int RegNo = I->second[i];
484 OS << " { " << getQualifiedName(I->first) << ", " << RegNo
utils/TableGen/SubtargetEmitter.cpp 565 Record *ItinsDef = PI->ItinsDef;
1298 if (!PI->hasInstrSchedModel())
1307 << PI->ModelName << "SchedClasses[] = {\n";
1334 OS << "}; // " << PI->ModelName << "SchedClasses\n";
1594 OS << "{ // " << (SchedModels.procModelBegin() + PI)->ModelName << '\n';
utils/unittest/googlemock/src/gmock-matchers.cc 320 << "element #" << it->first << ", "
321 << "matcher #" << it->second << ")";
utils/unittest/googlemock/src/gmock-spec-builders.cc 453 if (it->get() == exp) {
474 ExpectationBase* const untyped_expectation = it->get();
utils/unittest/googletest/include/gtest/internal/gtest-param-util.h 553 const string& instantiation_name = gen_it->name;
554 ParamGenerator<ParamType> generator((*gen_it->generator)());
555 ParamNameGeneratorFunc* name_func = gen_it->name_func;
556 const char* file = gen_it->file;
557 int line = gen_it->line;
utils/unittest/googletest/src/gtest-death-test.cc 924 args_.insert(args_.end() - 1, posix::StrDup(i->c_str()));
utils/unittest/googletest/src/gtest.cc 2070 property_with_matching_key->SetValue(test_property.value());