|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/DepthFirstIterator.h 210 NodeRef getPath(unsigned n) const { return VisitStack[n].first; }
include/llvm/ADT/MapVector.h 114 return Pos == Map.end()? ValueT() : Vector[Pos->second].second;
include/llvm/ADT/SetVector.h 136 return vector_[n];
include/llvm/ADT/UniqueVector.h 71 return Vector[ID - 1];
include/llvm/Analysis/AliasSetTracker.h 200 return cast_or_null<Instruction>(UnknownInsts[i]);
include/llvm/Analysis/BlockFrequencyInfoImpl.h 538 return Freqs[0].Integer;
875 return RPOT[Node.Index];
1271 const BlockT *BB = BFI.RPOT[Irr.Node.Index];
include/llvm/Analysis/CallGraph.h 203 return CalledFunctions[i].second;
include/llvm/Analysis/LoopInfoImpl.h 612 TopLevelLoops[i]->print(OS);
include/llvm/Analysis/Trace.h 43 BasicBlock *getEntryBasicBlock () const { return BasicBlocks[0]; }
46 BasicBlock *operator[](unsigned i) const { return BasicBlocks[i]; }
47 BasicBlock *getBlock(unsigned i) const { return BasicBlocks[i]; }
60 if (BasicBlocks[i] == X)
include/llvm/Bitstream/BitstreamReader.h 61 if (BlockInfoRecords[i].BlockID == BlockID)
62 return &BlockInfoRecords[i];
include/llvm/Bitstream/BitstreamWriter.h 419 EmitVBR64(Vals[i], 6);
include/llvm/CodeGen/GlobalISel/LegalizerInfo.h 1254 switch (v[i].second) {
1287 assert(v[0].first == 1);
include/llvm/CodeGen/LatencyPriorityQueue.h 75 return NumNodesSolelyBlocking[NodeNum];
include/llvm/CodeGen/MachineFrameInfo.h 446 return Objects[ObjectIdx+NumFixedObjects].PreAllocated;
453 return Objects[ObjectIdx+NumFixedObjects].Size;
467 return Objects[ObjectIdx + NumFixedObjects].Alignment.value();
486 return Objects[ObjectIdx+NumFixedObjects].Alloca;
496 return Objects[ObjectIdx+NumFixedObjects].SPOffset;
502 return Objects[ObjectIdx+NumFixedObjects].isZExt;
514 return Objects[ObjectIdx+NumFixedObjects].isSExt;
536 return (SSPLayoutKind)Objects[ObjectIdx+NumFixedObjects].SSPLayout;
666 return Objects[ObjectIdx+NumFixedObjects].isAliased;
676 return Objects[ObjectIdx+NumFixedObjects].isImmutable;
690 return Objects[ObjectIdx+NumFixedObjects].isSpillSlot;
696 return Objects[ObjectIdx+NumFixedObjects].isStatepointSpillSlot;
701 return Objects[ObjectIdx+NumFixedObjects].StackID;
717 return Objects[ObjectIdx+NumFixedObjects].Size == ~0ULL;
725 return Objects[ObjectIdx + NumFixedObjects].Size == 0;
include/llvm/CodeGen/MachineFunction.h 588 assert(MBBNumbering[N] && "Block was removed from the machine function!");
589 return MBBNumbering[N];
include/llvm/CodeGen/MachineOutliner.h 209 unsigned getNumInstrs() const { return Candidates[0].getLength(); }
include/llvm/CodeGen/PBQP/Graph.h 186 return Nodes[NId];
190 const EdgeEntry& getEdge(EdgeId EId) const { return Edges[EId]; }
include/llvm/CodeGen/ResourcePriorityQueue.h 100 return NumNodesSolelyBlocking[NodeNum];
include/llvm/CodeGen/ScheduleDFS.h 146 return DFSNodeData[SU->NodeNum].InstrCount;
159 return ILPValue(DFSNodeData[SU->NodeNum].InstrCount, 1 + SU->getDepth());
173 return DFSNodeData[SU->NodeNum].SubtreeID;
181 return SubtreeConnectLevels[SubtreeID];
include/llvm/DebugInfo/DWARF/DWARFListTable.h 121 return Offsets[Index];
include/llvm/DebugInfo/GSYM/LineTable.h 167 return Lines[i];
include/llvm/DebugInfo/GSYM/Range.h 91 return Ranges[i];
include/llvm/DebugInfo/PDB/Native/HashTable.h 73 return Map->Buckets[Index];
227 if (Traits.storageKeyToLookupKey(Buckets[I].first) == K)
include/llvm/IR/DebugInfoMetadata.h 2330 return Elements[I];
include/llvm/LTO/LTO.h 182 const auto &Indices = ModuleSymIndices[I];
include/llvm/MC/MCDwarf.h 602 return StringRef(&Values[0], Values.size());
include/llvm/Object/StackMapParser.h 391 std::size_t RecordOffset = StackMapRecordOffsets[RecordIndex];
include/llvm/Object/TapiUniversal.h 44 MachO::getCPUTypeFromArchitecture(Parent->Architectures[Index]);
50 MachO::getCPUTypeFromArchitecture(Parent->Architectures[Index]);
55 return MachO::getArchitectureName(Parent->Architectures[Index]);
include/llvm/Option/OptTable.h 79 return OptionInfos[id - 1];
include/llvm/ProfileData/Coverage/CoverageMapping.h 448 if (Instantiations[I]->Name != Instantiations[0]->Name)
448 if (Instantiations[I]->Name != Instantiations[0]->Name)
456 return Instantiations[0]->Name;
include/llvm/Support/CommandLine.h 1585 return Positions[optnum];
include/llvm/Support/FormatVariadic.h 118 auto W = Adapters[R.Index];
include/llvm/Support/GraphWriter.h 275 if (EdgeSourceLabels) O << DOT::EscapeString((*EdgeSourceLabels)[i]);
include/llvm/Support/JSON.h 170 const Value &operator[](size_t I) const { return V[I]; }
include/llvm/Support/SourceMgr.h 129 return Buffers[i - 1];
134 return Buffers[i - 1].Buffer.get();
148 return Buffers[i - 1].IncludeLoc;
include/llvm/Testing/Support/Error.h 100 auto &Info = *Holder.Infos[0];
lib/Analysis/BlockFrequencyInfoImpl.cpp 555 return Freqs[Node.Index].Integer;
595 return Freqs[Node.Index].Scaled;
lib/Analysis/CFLGraph.h 91 return Levels[Level];
lib/Analysis/GlobalsModRef.cpp 493 Function *F = SCC[0]->getFunction();
536 for (CallGraphNode::iterator CI = SCC[i]->begin(), E = SCC[i]->end();
536 for (CallGraphNode::iterator CI = SCC[i]->begin(), E = SCC[i]->end();
620 FunctionInfos[SCC[i]->getFunction()] = CachedFI;
lib/Analysis/IntervalPartition.cpp 43 Intervals[i]->print(O);
lib/Analysis/StratifiedSets.h 103 return Links[Index];
lib/Bitcode/Reader/BitcodeAnalyzer.cpp 111 if (Info->RecordNames[i].first == CodeID)
112 return Info->RecordNames[i].second.c_str();
687 if (unsigned Freq = Stats.CodeFreq[i].NumInstances)
695 const PerRecordStats &RecStats = Stats.CodeFreq[FreqPairs[i].second];
lib/Bitcode/Reader/BitcodeReader.cpp 640 return FunctionBBs[ID];
645 return MAttributes[i-1];
lib/Bitcode/Reader/ValueList.h 82 return ValuePtrs[i];
lib/Bitcode/Writer/BitcodeWriter.cpp 795 AttributeList AL = Attrs[i];
870 Type *T = TypeList[i];
2310 const Value *V = Vals[i].first;
2540 if (!isa<GlobalValue>(Vals[i].first)) {
lib/CodeGen/AggressiveAntiDepBreaker.cpp 774 const SUnit *SU = &SUnits[i];
786 const SUnit *SU = &SUnits[i];
lib/CodeGen/AsmPrinter/ARMException.cpp 132 Asm->EmitTTypeReference((TypeID == 0 ? nullptr : TypeInfos[TypeID - 1]),
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 969 const MCCFIInstruction &CFI = Instrs[CFIIndex];
1717 const MachineConstantPoolEntry &CPE = CP[i];
1766 MachineConstantPoolEntry CPE = CP[CPI];
1816 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
1829 const MachineBasicBlock *MBB = JTBBs[ii];
1854 EmitJumpTableEntry(MJTI, JTBBs[ii], JTI);
2792 MF->getConstantPool()->getConstants()[CPID];
lib/CodeGen/AsmPrinter/DIE.cpp 513 uint64_t Offset = CU->ExprRefedBaseTypes[Index].Die->getOffset();
lib/CodeGen/AsmPrinter/DwarfDebug.cpp 2162 uint64_t Offset = CU->ExprRefedBaseTypes[Op.getRawOperand(I)].Die->getOffset();
lib/CodeGen/AsmPrinter/EHStreamer.cpp 52 if (LIds[Count] != RIds[Count])
52 if (LIds[Count] != RIds[Count])
133 int TypeID = TypeIds[J];
361 LandingPads.push_back(&PadInfos[i]);
lib/CodeGen/CFIInstrInserter.cpp 169 const MCCFIInstruction &CFI = Instrs[CFIIndex];
lib/CodeGen/CriticalAntiDepBreaker.cpp 455 const SUnit *SU = &SUnits[i];
lib/CodeGen/ExecutionDomainFix.cpp 21 const auto &Entry = AliasMap[Reg];
lib/CodeGen/GlobalISel/LegalizerInfo.cpp 532 if (v.size() >= 1 && v[0].first != 1)
535 result.push_back(v[i]);
536 LargestSizeSoFar = v[i].first;
537 if (i + 1 < v.size() && v[i + 1].first != v[i].first + 1) {
537 if (i + 1 < v.size() && v[i + 1].first != v[i].first + 1) {
539 LargestSizeSoFar = v[i].first + 1;
551 if (v.size() == 0 || v[0].first != 1)
554 result.push_back(v[i]);
555 if (i + 1 == v.size() || v[i + 1].first != v[i].first + 1) {
555 if (i + 1 == v.size() || v[i + 1].first != v[i].first + 1) {
556 result.push_back({v[i].first + 1, DecreaseAction});
573 LegalizeAction Action = Vec[VecIdx].second;
595 if (!needsLegalizingToDifferentSize(Vec[i].second) &&
596 Vec[i].second != Unsupported)
597 return {Vec[i].first, Action};
604 if (!needsLegalizingToDifferentSize(Vec[i].second) &&
605 Vec[i].second != Unsupported)
606 return {Vec[i].first, Action};
lib/CodeGen/InlineSpiller.cpp 1297 MachineDomTreeNode *Child = Children[i];
1368 MachineDomTreeNode *Child = Children[i];
lib/CodeGen/LiveVariables.cpp 62 if (Kills[i]->getParent() == MBB)
63 return Kills[i];
78 dbgs() << "\n #" << i << ": " << *Kills[i];
lib/CodeGen/MIRParser/MIParser.cpp 1748 GV = PFS.IRSlots.GlobalValues[GVIdx];
lib/CodeGen/MachineFrameInfo.cpp 223 const StackObject &SO = Objects[i];
lib/CodeGen/MachineFunction.cpp 945 for (unsigned j = 0, f = JumpTables[i].MBBs.size(); j != f; ++j)
946 OS << ' ' << printMBBReference(*JumpTables[i].MBBs[j]);
946 OS << ' ' << printMBBReference(*JumpTables[i].MBBs[j]);
1104 if (Constants[i].isMachineConstantPoolEntry())
1105 Constants[i].Val.MachineCPVal->print(OS);
1107 Constants[i].Val.ConstVal->printAsOperand(OS, /*PrintType=*/false);
1108 OS << ", align=" << Constants[i].getAlignment();
lib/CodeGen/MachineLICM.cpp 712 MachineDomTreeNode *Child = Children[i];
lib/CodeGen/MachineOperand.cpp 920 printCFI(OS, MF->getFrameInstructions()[getCFIIndex()], TRI);
lib/CodeGen/MachineScheduler.cpp 1053 if (RegionPressure[i] > Limit) {
1055 << " Actual " << RegionPressure[i] << "\n");
1078 if ((int)NewMaxPressure[ID] > RegionCriticalPSets[CritIdx].getUnitInc()
1079 && NewMaxPressure[ID] <= (unsigned)std::numeric_limits<int16_t>::max())
1080 RegionCriticalPSets[CritIdx].setUnitInc(NewMaxPressure[ID]);
1083 if (NewMaxPressure[ID] >= Limit - 2) {
1085 << NewMaxPressure[ID]
1086 << ((NewMaxPressure[ID] > Limit) ? " > " : " <= ")
lib/CodeGen/PostRASchedulerList.cpp 257 if (SUnit *SU = Sequence[i])
lib/CodeGen/PrologEpilogInserter.cpp 508 MCPhysReg Reg = CSI[i].getReg();
519 if (CSI[i].isSpilledToReg()) {
523 MCPhysReg DstReg = CSI[i].getDstReg();
lib/CodeGen/ReachingDefAnalysis.cpp 66 LiveRegs[Unit] = std::max(LiveRegs[Unit], Incoming[Unit]);
lib/CodeGen/RegAllocFast.cpp 565 switch (unsigned VirtReg = PhysRegState[PhysReg]) {
587 switch (unsigned VirtReg = PhysRegState[Alias]) {
lib/CodeGen/RegisterPressure.cpp 1173 Limit += LiveThruPressure[PSetID];
1175 unsigned POld = CurrSetPressure[PSetID];
lib/CodeGen/RegisterUsageInfo.cpp 96 if (MachineOperand::clobbersPhysReg(&(FPRMPair->second[0]), PReg))
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp 2055 return SethiUllmanNumbers[SU->NodeNum];
2075 unsigned RP = RegPressure[Id];
2078 << RegLimit[Id] << '\n');
2101 if ((RegPressure[RCId] + Cost) >= RegLimit[RCId])
2101 if ((RegPressure[RCId] + Cost) >= RegLimit[RCId])
2120 if (RegPressure[RCId] >= RegLimit[RCId])
2120 if (RegPressure[RCId] >= RegLimit[RCId])
2151 if (RegPressure[RCId] >= RegLimit[RCId])
2151 if (RegPressure[RCId] >= RegLimit[RCId])
2166 if (RegPressure[RCId] >= RegLimit[RCId])
2166 if (RegPressure[RCId] >= RegLimit[RCId])
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp 707 if (SUnit *SU = Sequence[i])
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 2200 if ((Cases[0].CmpLHS == Cases[1].CmpLHS &&
2200 if ((Cases[0].CmpLHS == Cases[1].CmpLHS &&
2201 Cases[0].CmpRHS == Cases[1].CmpRHS) ||
2201 Cases[0].CmpRHS == Cases[1].CmpRHS) ||
2202 (Cases[0].CmpRHS == Cases[1].CmpLHS &&
2202 (Cases[0].CmpRHS == Cases[1].CmpLHS &&
2203 Cases[0].CmpLHS == Cases[1].CmpRHS)) {
2203 Cases[0].CmpLHS == Cases[1].CmpRHS)) {
2209 if (Cases[0].CmpRHS == Cases[1].CmpRHS &&
2209 if (Cases[0].CmpRHS == Cases[1].CmpRHS &&
2210 Cases[0].CC == Cases[1].CC &&
2210 Cases[0].CC == Cases[1].CC &&
2211 isa<Constant>(Cases[0].CmpRHS) &&
2212 cast<Constant>(Cases[0].CmpRHS)->isNullValue()) {
2213 if (Cases[0].CC == ISD::SETEQ && Cases[0].TrueBB == Cases[1].ThisBB)
2213 if (Cases[0].CC == ISD::SETEQ && Cases[0].TrueBB == Cases[1].ThisBB)
2213 if (Cases[0].CC == ISD::SETEQ && Cases[0].TrueBB == Cases[1].ThisBB)
2215 if (Cases[0].CC == ISD::SETNE && Cases[0].FalseBB == Cases[1].ThisBB)
2215 if (Cases[0].CC == ISD::SETNE && Cases[0].FalseBB == Cases[1].ThisBB)
2215 if (Cases[0].CC == ISD::SETNE && Cases[0].FalseBB == Cases[1].ThisBB)
7992 cast<ConstantSDNode>(AsmNodeOperands[CurOp])->getZExtValue();
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp 301 GW.emitEdge(nullptr, -1, &SUnits[N->getNodeId()], -1,
lib/CodeGen/SwitchLoweringUtils.cpp 23 const APInt &LowCase = Clusters[First].Low->getValue();
24 const APInt &HighCase = Clusters[Last].High->getValue();
199 JTProbs[Clusters[I].MBB] = BranchProbability::getZero();
202 assert(Clusters[I].Kind == CC_Range);
203 Prob += Clusters[I].Prob;
204 const APInt &Low = Clusters[I].Low->getValue();
205 const APInt &High = Clusters[I].High->getValue();
209 const APInt &PreviousHigh = Clusters[I - 1].High->getValue();
217 Table.push_back(Clusters[I].MBB);
218 JTProbs[Clusters[I].MBB] += Clusters[I].Prob;
218 JTProbs[Clusters[I].MBB] += Clusters[I].Prob;
223 Clusters[First].Low->getValue(),
224 Clusters[Last].High->getValue(), *DL)) {
250 JumpTableHeader JTH(Clusters[First].Low->getValue(),
251 Clusters[Last].High->getValue(), SI->getCondition(),
255 JTCluster = CaseCluster::jumpTable(Clusters[First].Low, Clusters[Last].High,
255 JTCluster = CaseCluster::jumpTable(Clusters[First].Low, Clusters[Last].High,
lib/DebugInfo/DWARF/DWARFContext.cpp 1144 const DWARFDebugLine::Row &Row = LineTable->Rows[RowIndex];
lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp 67 return &Decls[AbbrCode - FirstAbbrCode];
lib/DebugInfo/DWARF/DWARFDebugAddr.cpp 162 return Addrs[Index];
lib/DebugInfo/DWARF/DWARFDebugLine.cpp 84 return FileNames[Index];
85 return FileNames[Index - 1];
118 LNStandardString(I + 1).data(), StandardOpcodeLengths[I]);
125 IncludeDirectories[I].dump(OS, DumpOptions);
134 const FileNameEntry &FileEntry = FileNames[I];
1061 IncludeDir = IncludeDirectories[Entry.DirIdx].getAsCString().getValue();
1065 IncludeDirectories[Entry.DirIdx - 1].getAsCString().getValue();
1088 const auto &Row = Rows[RowIndex];
lib/DebugInfo/DWARF/DWARFVerifier.cpp 761 LineTable->Rows[RowIndex - 1].dump(OS);
lib/DebugInfo/GSYM/GsymCreator.cpp 119 assert(Files[0].Dir == 0);
120 assert(Files[0].Base == 0);
lib/DebugInfo/MSF/MSFBuilder.cpp 227 return StreamData[StreamIdx].first;
231 return StreamData[StreamIdx].second;
lib/DebugInfo/MSF/MappedBlockStream.cpp 64 SL.Blocks = Layout.StreamMap[StreamIndex];
176 if (StreamLayout.Blocks[Last] != StreamLayout.Blocks[Last + 1] - 1)
176 if (StreamLayout.Blocks[Last] != StreamLayout.Blocks[Last + 1] - 1)
187 uint32_t MsfOffset = blockToOffset(StreamLayout.Blocks[First], BlockSize);
216 uint32_t E = StreamLayout.Blocks[BlockNum];
218 if (StreamLayout.Blocks[I + BlockNum] != E)
228 uint32_t FirstBlockAddr = StreamLayout.Blocks[BlockNum];
252 uint32_t StreamBlockAddr = StreamLayout.Blocks[BlockNum];
332 SL.Blocks = Layout.StreamMap[StreamIndex];
399 uint32_t StreamBlockAddr = getStreamLayout().Blocks[BlockNum];
lib/DebugInfo/PDB/Native/DbiModuleList.cpp 123 uint32_t Off = Modules->ModuleInitialFileIndex[Modi] + Filei;
255 uint32_t Offset = ModuleDescriptorOffsets[Modi];
lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp 148 sizeof(SectionContribs[0]) * SectionContribs.size();
lib/DebugInfo/PDB/Native/NativeEnumGlobals.cpp 46 Session.getSymbolCache().getOrCreateGlobalSymbolByOffset(MatchOffsets[N]);
lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp 60 SymIndexId Id = Session.getSymbolCache().findSymbolByTypeIndex(Matches[N]);
lib/DebugInfo/PDB/Native/NativeTypeEnum.cpp 102 ClassParent, Enumerators[Index]);
lib/DebugInfo/PDB/Native/PDBFile.cpp 99 return ContainerLayout.StreamMap[StreamIndex];
lib/DebugInfo/PDB/Native/SymbolCache.cpp 240 NativeRawSymbol *NRS = Cache[SymbolId].get();
248 return *Cache[SymbolId];
lib/DebugInfo/PDB/Native/TpiStream.cpp 169 for (TypeIndex TI : HashMap[Bucket]) {
194 for (TypeIndex TI : HashMap[BucketIdx]) {
lib/DebugInfo/PDB/PDBSymbolFunc.cpp 58 Args[Index]->getSymIndexId());
lib/ExecutionEngine/ExecutionEngine.cpp 349 unsigned Size = InputArgv[i].size()+1;
354 std::copy(InputArgv[i].begin(), InputArgv[i].end(), Dest.get());
354 std::copy(InputArgv[i].begin(), InputArgv[i].end(), Dest.get());
1052 *(((double*)Ptr)+i) = Val.AggregateVal[i].DoubleVal;
1054 *(((float*)Ptr)+i) = Val.AggregateVal[i].FloatVal;
1056 unsigned numOfBytes =(Val.AggregateVal[i].IntVal.getBitWidth()+7)/8;
1057 StoreIntToMemory(Val.AggregateVal[i].IntVal,
lib/IR/AsmWriter.cpp 4162 Out << Order.Shuffle[0];
4164 Out << ", " << Order.Shuffle[I];
lib/IR/DebugInfoMetadata.cpp 995 if (getNumElements() == 2 && Elements[0] == dwarf::DW_OP_plus_uconst) {
996 Offset = Elements[1];
1000 if (getNumElements() == 3 && Elements[0] == dwarf::DW_OP_constu) {
1001 if (Elements[2] == dwarf::DW_OP_plus) {
1002 Offset = Elements[1];
1005 if (Elements[2] == dwarf::DW_OP_minus) {
1006 Offset = -Elements[1];
1018 Expr->Elements[PatternSize - 4] == dwarf::DW_OP_constu &&
1019 Expr->Elements[PatternSize - 2] == dwarf::DW_OP_swap &&
1020 Expr->Elements[PatternSize - 1] == dwarf::DW_OP_xderef) {
1021 AddrClass = Expr->Elements[PatternSize - 3];
lib/IR/LegacyPassManager.cpp 930 AvailableAnalysis[II[i]->getTypeInfo()] = P;
1059 AvailableAnalysis.find(II[i]->getTypeInfo());
lib/LTO/LTO.cpp 459 return Mods[0].getModuleIdentifier();
lib/LTO/LTOCodeGenerator.cpp 154 AsmUndefinedRefs.insert(undefs[i]);
lib/LineEditor/LineEditor.cpp 39 std::string CommonPrefix = Comps[0].TypedText;
lib/MC/MCParser/AsmParser.cpp 2717 if (M->Parameters[FAI].Name == FA.Name)
2746 if (M->Parameters[FAI].Required) {
2749 "'" + M->Parameters[FAI].Name + "' in macro '" + M->Name + "'");
2753 if (!M->Parameters[FAI].Value.empty())
2754 A[FAI] = M->Parameters[FAI].Value;
lib/MC/MCWin64EH.cpp 478 if (Instrs[i].Operation != EpilogInstrs[i].Operation ||
478 if (Instrs[i].Operation != EpilogInstrs[i].Operation ||
479 Instrs[i].Offset != EpilogInstrs[i].Offset ||
479 Instrs[i].Offset != EpilogInstrs[i].Offset ||
480 Instrs[i].Register != EpilogInstrs[i].Register) {
480 Instrs[i].Register != EpilogInstrs[i].Register) {
lib/MCA/HardwareUnits/RegisterFile.cpp 364 const RegisterRenamingInfo &RRI = RegisterMappings[RegID].second;
368 const WriteRef &WR = RegisterMappings[RegID].first;
374 const WriteRef &WR = RegisterMappings[*I].first;
401 const RegisterRenamingInfo &RRI = RegisterMappings[RegID].second;
432 const RegisterRenamingInfo &RRI = RegisterMappings[RegID].second;
477 const RegisterMapping &RM = RegisterMappings[I];
lib/MCA/HardwareUnits/ResourceManager.cpp 171 return Resources[getResourceStateIndex(ResourceID)]->getNumUnits();
287 if (!Resources[Index]->isReady(NumUnits))
lib/MCA/HardwareUnits/RetireControlUnit.cpp 56 const RetireControlUnit::RUToken &Current = Queue[CurrentInstructionSlotIdx];
71 return Queue[computeNextSlotIdx()];
lib/Object/IRObjectFile.cpp 70 return Mods[0]->getTargetTriple();
lib/Object/TapiUniversal.cpp 44 Parent->Architectures[Index]));
lib/Object/WasmObjectFile.cpp 1086 return Index < Symbols.size() && Symbols[Index].isTypeFunction();
1090 return Index < Symbols.size() && Symbols[Index].isTypeGlobal();
1094 return Index < Symbols.size() && Symbols[Index].isTypeEvent();
1098 return Index < Symbols.size() && Symbols[Index].isTypeData();
1102 return Index < Symbols.size() && Symbols[Index].isTypeSection();
1113 return Functions[Index - NumImportedFunctions];
1283 return Symbols[Symb.d.b];
1313 const wasm::WasmDataSegment &Segment = DataSegments[SegmentIndex].Data;
1390 const WasmSection &S = Sections[Sec.d.a];
1423 const WasmSection &S = Sections[Sec.d.a];
1429 const WasmSection &S = Sections[Sec.d.a];
1541 return Sections[Ref.d.a];
1557 const WasmSection &Sec = Sections[Ref.d.a];
1559 return Sec.Relocations[Ref.d.b];
lib/Object/WindowsResource.cpp 238 printStringOrID(Context[0], OS, /* IsType */ true, /* IsID */ true);
243 printStringOrID(Context[1], OS, /* IsType */ false, /* IsID */ true);
248 printStringOrID(Context[2], OS, /* IsType */ false, /* IsID */ false);
323 return MinGW && Context.size() == 3 && !Context[0].IsString &&
324 Context[0].ID == /* RT_MANIFEST */ 24 && !Context[1].IsString &&
324 Context[0].ID == /* RT_MANIFEST */ 24 && !Context[1].IsString &&
325 Context[1].ID == /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 1 &&
326 !Context[2].IsString && Context[2].ID == 0;
326 !Context[2].IsString && Context[2].ID == 0;
lib/ObjectYAML/DWARFEmitter.cpp 248 writeVariableSizedInteger(Op.Data, DI.CompileUnits[0].AddrSize, OS,
lib/ObjectYAML/DWARFVisitor.cpp 49 auto FirstAbbrevCode = Unit.Entries[0].AbbrCode;
55 auto &Abbrev = DebugInfo.AbbrevDecls[Entry.AbbrCode - FirstAbbrevCode];
77 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0],
85 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0],
94 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0],
103 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0],
lib/ObjectYAML/ELFEmitter.cpp 883 const ELFYAML::VerdefEntry &E = Section.Entries[I];
901 VernAux.vda_name = DotDynstr.getOffset(E.VerNames[J]);
926 const ELFYAML::VerneedEntry &VE = Section.VerneedV[I];
941 const ELFYAML::VernauxEntry &VAuxE = VE.AuxV[J];
lib/Option/OptTable.cpp 212 const Info &In = OptionInfos[I];
232 const Info &In = OptionInfos[I];
lib/ProfileData/Coverage/CoverageMapping.cpp 191 Filename != Current->Filenames[0])
617 if (SourceFile == Function.Filenames[I])
639 if (I && SourceFile == Function.Filenames[*I])
657 const FunctionRecord &Function = Functions[RecordIndex];
682 const FunctionRecord &Function = Functions[RecordIndex];
705 CoverageData FunctionCoverage(Function.Filenames[*MainFileID]);
724 Expansion.Function.Filenames[Expansion.FileID]);
lib/ProfileData/Coverage/CoverageMappingWriter.cpp 90 C = Counter::getExpression(AdjustedExpressionIDs[C.getExpressionID()]);
lib/ProfileData/InstrProf.cpp 485 FuncSum += Counts[F];
lib/ProfileData/ProfileSummaryBuilder.cpp 39 addEntryCount(R.Counts[0]);
41 addInternalCount(R.Counts[I]);
lib/Remarks/RemarkParser.cpp 43 size_t Offset = Offsets[Index];
47 (Index == Offsets.size() - 1) ? Buffer.size() : Offsets[Index + 1];
lib/Support/SourceMgr.cpp 63 if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() &&
66 Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd())
430 std::pair<unsigned, unsigned> R = Ranges[r];
lib/Support/TrigramIndex.cpp 105 if (CurCounts[J] >= Counts[J])
lib/TableGen/StringMatcher.cpp 31 for (unsigned i = 0, e = Matches[0]->first.size(); i != e; ++i) {
33 char Letter = Matches[0]->first[i];
36 if (Matches[str]->first[i] != Letter)
40 return Matches[0]->first.size();
56 if (CharNo == Matches[0]->first.size()) {
61 StringRef Code = Matches[0]->second;
64 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n";
79 MatchesByLetter[Matches[i]->first[CharNo]].push_back(Matches[i]);
79 MatchesByLetter[Matches[i]->first[CharNo]].push_back(Matches[i]);
93 << Matches[0]->first[CharNo] << "')\n";
99 << ", \"" << Matches[0]->first.substr(CharNo, NumChars) << "\", "
139 MatchesByLength[Matches[i].first.size()].push_back(&Matches[i]);
139 MatchesByLength[Matches[i].first.size()].push_back(&Matches[i]);
lib/Target/AArch64/AArch64AsmPrinter.cpp 708 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
lib/Target/AArch64/AArch64CompressJumpTables.cpp 91 const MachineJumpTableEntry &JT = JTInfo.getJumpTables()[JTIdx];
lib/Target/AArch64/AArch64FrameLowering.cpp 1853 RPI.Reg1 = CSI[i].getReg();
1866 unsigned NextReg = CSI[i + 1].getReg();
1902 (CSI[i].getFrameIdx() + 1 == CSI[i + 1].getFrameIdx())) &&
1902 (CSI[i].getFrameIdx() + 1 == CSI[i + 1].getFrameIdx())) &&
1918 RPI.FrameIdx = CSI[i].getFrameIdx();
lib/Target/AMDGPU/GCNILPSched.cpp 102 return SUNumbers[SU->NodeNum];
lib/Target/AMDGPU/GCNMinRegStrategy.cpp 46 return NumPreds[SU->NodeNum] == std::numeric_limits<unsigned>::max();
56 assert(NumPreds[SU->NodeNum] != std::numeric_limits<unsigned>::max());
57 return NumPreds[SU->NodeNum];
89 NumPreds[I] = SUnits[I].NumPredsLeft;
lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp 399 unsigned LiteralPair0 = Literals[i];
400 unsigned LiteralPair1 = (i + 1 < e)?Literals[i + 1]:0;
lib/Target/AMDGPU/R600InstrInfo.cpp 438 Swizzle(IGSrcs[i], Swz[i]);
438 Swizzle(IGSrcs[i], Swz[i]);
440 const std::pair<int, unsigned> &Src = Srcs[j];
444 if (Swz[i] != R600InstrInfo::ALU_VEC_012_SCL_210 &&
445 Swz[i] != R600InstrInfo::ALU_VEC_021_SCL_122) {
461 const std::pair<int, unsigned> &Src = TransSrcs[i];
522 const std::pair<int, unsigned> &Src = TransOps[i];
547 IGSrcs.push_back(ExtractSrcs(*IG[i], PV, ConstCount));
548 unsigned Op = getOperandIdx(IG[i]->getOpcode(),
551 IG[i]->getOperand(Op).getImm());
588 unsigned ReadConstHalf = Consts[i] & 2;
589 unsigned ReadConstIndex = Consts[i] & (~3);
613 MachineInstr &MI = *MIs[i];
lib/Target/AMDGPU/R600MachineScheduler.cpp 133 const SUnit &S = DAG->SUnits[i];
lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp 180 ((*It).second, Untouched->UndefReg[CurrentUndexIdx++]));
191 if (RemapChan[j].first == Chan)
192 return RemapChan[j].second;
274 if (RemapChan[j].first == Swizzle) {
275 MI.getOperand(i + Offset).setImm(RemapChan[j].second - 1);
lib/Target/ARM/ARMAsmPrinter.cpp 955 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
998 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
1026 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
1196 const MachineConstantPoolEntry &CPE = MCP->getConstants()[CPI];
1623 const MachineConstantPoolEntry &MCPE = MCP->getConstants()[CPIdx];
lib/Target/ARM/ARMBaseInstrInfo.cpp 1653 const MachineConstantPoolEntry &MCPE = MCP->getConstants()[CPI];
1781 const MachineConstantPoolEntry &MCPE0 = MCP->getConstants()[CPI0];
1782 const MachineConstantPoolEntry &MCPE1 = MCP->getConstants()[CPI1];
lib/Target/ARM/ARMConstantIslandPass.cpp 520 unsigned Size = TD.getTypeAllocSize(CPs[i].getType());
521 unsigned Align = CPs[i].getAlignment();
595 unsigned Size = JT[JTI].MBBs.size() * sizeof(uint32_t);
671 return Align(MCP->getConstants()[CPI].getAlignment());
842 MachineInstr *CPEMI = CPEMIs[CPI];
2179 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
2182 MachineBasicBlock *MBB = JTBBs[j];
2374 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
2376 MachineBasicBlock *MBB = JTBBs[j];
2385 MJTI->ReplaceMBBInJumpTable(JTI, JTBBs[j], NewBB);
lib/Target/ARM/ARMConstantPoolValue.cpp 197 CP->getConstants()[index].Val.MachineCPVal);
lib/Target/ARM/ARMConstantPoolValue.h 84 if (Constants[i].isMachineConstantPoolEntry() &&
85 (Constants[i].getAlignment() & AlignMask) == 0) {
87 static_cast<ARMConstantPoolValue*>(Constants[i].Val.MachineCPVal);
lib/Target/ARM/ARMFrameLowering.cpp 416 unsigned Reg = CSI[i].getReg();
417 int FI = CSI[i].getFrameIdx();
991 unsigned Reg = CSI[i-1].getReg();
1177 unsigned DNum = CSI[i].getReg() - ARM::D8;
1180 int FI = CSI[i].getFrameIdx();
1348 if (CSI[i].getReg() == ARM::D8) {
1349 D8SpillFI = CSI[i].getFrameIdx();
lib/Target/ARM/ARMLegalizerInfo.cpp 40 result.push_back(v[i]);
41 if (i + 1 < v[i].first && i + 1 < v.size() &&
42 v[i + 1].first != v[i].first + 1)
42 v[i + 1].first != v[i].first + 1)
43 result.push_back({v[i].first + 1, Unsupported});
50 assert(v[0].first > 17);
lib/Target/ARM/Thumb1FrameLowering.cpp 207 unsigned Reg = CSI[i].getReg();
208 int FI = CSI[i].getFrameIdx();
827 unsigned Reg = CSI[i-1].getReg();
lib/Target/AVR/AVRFrameLowering.cpp 251 unsigned Reg = CSI[i - 1].getReg();
lib/Target/Hexagon/HexagonBitTracker.cpp 181 return Vector[n];
lib/Target/Hexagon/HexagonFrameLowering.cpp 271 unsigned Max = getMax32BitSubRegister(CSI[0].getReg(), TRI);
273 unsigned Reg = getMax32BitSubRegister(CSI[I].getReg(), TRI);
1259 MBB.addLiveIn(CSI[I].getReg());
1264 unsigned Reg = CSI[i].getReg();
1269 int FI = CSI[i].getFrameIdx();
1333 unsigned Reg = CSI[i].getReg();
1335 int FI = CSI[i].getFrameIdx();
2434 unsigned R = CSI[i].getReg();
lib/Target/Hexagon/HexagonGenInsert.cpp 390 return Seq[Idx];
587 dbgs() << " " << PrintIFR(LL[i].first, HRI) << ", "
588 << PrintRegSet(LL[i].second, HRI) << '\n';
867 dbgs() << " (" << printReg(LL[i].first, HRI) << ",@"
868 << LL[i].second << ')';
1293 TT.insert(LL[i].second);
1381 AllRMs.insert(LL[0].second);
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp 363 return Table[Pos][Step];
363 return Table[Pos][Step];
689 const NodeTemplate &operator[](unsigned I) const { return List[I]; }
754 List[I].print(OS, G);
lib/Target/Hexagon/HexagonMachineScheduler.cpp 281 ((float) MaxPressure[i] > ((float) Limit * RPThreshold));
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp 699 FixupKind = FindVK->second[FixupWidth];
lib/Target/Hexagon/RDFGraph.cpp 380 uintptr_t B = reinterpret_cast<uintptr_t>(Blocks[i]);
673 while (Pos > 0 && DS.isDelimiter(DS.Stack[Pos-1]))
725 IsDelim = isDelimiter(Stack[P-1]);
736 bool IsDelim = isDelimiter(Stack[P-1]);
740 IsDelim = isDelimiter(Stack[P-1]);
lib/Target/Hexagon/RDFGraph.h 387 return reinterpret_cast<NodeBase*>(Blocks[BlockN]+Offset);
684 return DS.Stack[Pos-1];
688 return &DS.Stack[Pos-1];
lib/Target/Hexagon/RDFRegisters.cpp 171 const TargetRegisterClass *RC = RegInfos[RR.Reg].RegClass;
231 const RegInfo &RI = RegInfos[R];
lib/Target/Hexagon/RDFRegisters.h 42 return Map[Idx-1];
124 return RegisterRef(UnitInfos[U].Reg, UnitInfos[U].Mask);
124 return RegisterRef(UnitInfos[U].Reg, UnitInfos[U].Mask);
128 return MaskInfos[Register::stackSlot2Index(MaskId)].Units;
lib/Target/MSP430/MSP430FrameLowering.cpp 196 unsigned Reg = CSI[i-1].getReg();
lib/Target/Mips/Mips16FrameLowering.cpp 130 unsigned Reg = CSI[i].getReg();
lib/Target/Mips/Mips16InstrInfo.cpp 197 unsigned Reg = CSI[e-i-1].getReg();
lib/Target/Mips/Mips16RegisterInfo.cpp 88 MinCSFI = CSI[0].getFrameIdx();
89 MaxCSFI = CSI[CSI.size() - 1].getFrameIdx();
lib/Target/Mips/MipsAsmPrinter.cpp 227 const MachineConstantPoolEntry &MCPE = MCP->getConstants()[CPIdx];
1278 const std::vector<MachineBasicBlock*> &MBBs = JT[I].MBBs;
1281 MBBs[J]->setAlignment(MIPS_NACL_BUNDLE_ALIGN);
lib/Target/Mips/MipsConstantIslandPass.cpp 555 unsigned Size = TD.getTypeAllocSize(CPs[i].getType());
557 unsigned Align = CPs[i].getAlignment();
631 return Align(MCP->getConstants()[CPI].getAlignment());
769 MachineInstr *CPEMI = CPEMIs[CPI];
807 unsigned Offset = BBInfo[MBB->getNumber()].Offset;
lib/Target/Mips/MipsSEFrameLowering.cpp 806 unsigned Reg = CSI[i].getReg();
836 CSI[i].getFrameIdx(), RC, TRI);
lib/Target/Mips/MipsSERegisterInfo.cpp 164 MinCSFI = CSI[0].getFrameIdx();
165 MaxCSFI = CSI[CSI.size() - 1].getFrameIdx();
lib/Target/NVPTX/NVPTXISelLowering.cpp 1309 Type *Ty = Args[i].Ty;
lib/Target/PowerPC/PPCFrameLowering.cpp 1316 unsigned Reg = CSI[I].getReg();
1347 if (CSI[I].isSpilledToReg()) {
1348 unsigned SpilledReg = CSI[I].getDstReg();
1355 int Offset = MFI.getObjectOffset(CSI[I].getFrameIdx());
1885 unsigned Reg = CSI[i].getReg();
1892 GPRegs.push_back(CSI[i]);
1900 G8Regs.push_back(CSI[i]);
1908 FPRegs.push_back(CSI[i]);
1924 VRegs.push_back(CSI[i]);
2033 unsigned Reg = CSI[i].getReg();
2040 int FI = CSI[i].getFrameIdx();
2054 unsigned Reg = CSI[i].getReg();
2057 int FI = CSI[i].getFrameIdx();
2204 unsigned Reg = CSI[i].getReg();
2252 CSI[i].getFrameIdx()));
2255 if (CSI[i].isSpilledToReg()) {
2257 BuildMI(MBB, MI, DL, TII.get(PPC::MTVSRD), CSI[i].getDstReg())
2265 CSI[i].getFrameIdx(), RC, TRI);
2290 CSI[CSIIndex].getFrameIdx()));
lib/Target/PowerPC/PPCRegisterInfo.cpp 369 int FrIdx = Info[i].getFrameIdx();
370 unsigned Reg = Info[i].getReg();
lib/Target/RISCV/RISCVFrameLowering.cpp 343 MinCSFI = CSI[0].getFrameIdx();
344 MaxCSFI = CSI[CSI.size() - 1].getFrameIdx();
lib/Target/SystemZ/SystemZConstantPoolValue.cpp 33 if (Constants[I].isMachineConstantPoolEntry() &&
34 (Constants[I].getAlignment() & AlignMask) == 0) {
36 static_cast<SystemZConstantPoolValue *>(Constants[I].Val.MachineCPVal);
lib/Target/SystemZ/SystemZFrameLowering.cpp 149 unsigned Reg = CSI[I].getReg();
195 unsigned Reg = CSI[I].getReg();
208 unsigned Reg = CSI[I].getReg();
211 TII->storeRegToStackSlot(MBB, MBBI, Reg, true, CSI[I].getFrameIdx(),
216 TII->storeRegToStackSlot(MBB, MBBI, Reg, true, CSI[I].getFrameIdx(),
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp 1169 const auto &MBBs = MJTI->getJumpTables()[JT->getIndex()].MBBs;
1178 Ops.push_back(DAG.getBasicBlock(MBBs[0]));
lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h 126 return WARegs[I];
lib/Target/X86/X86CondBrFolding.cpp 129 return MBBInfos[MBB->getNumber()].get();
lib/Target/X86/X86FrameLowering.cpp 2079 unsigned Reg = CSI[i - 1].getReg();
2113 unsigned Reg = CSI[i-1].getReg();
2126 TII.storeRegToStackSlot(MBB, MI, Reg, true, CSI[i - 1].getFrameIdx(), RC,
lib/Target/X86/X86ISelLowering.cpp 4853 if (Imm.bitwiseIsEqual(LegalFPImmediates[i]))
lib/Target/X86/X86LegalizerInfo.cpp 39 result.push_back(v[i]);
40 if (i + 1 < v[i].first && i + 1 < v.size() &&
41 v[i + 1].first != v[i].first + 1)
41 v[i + 1].first != v[i].first + 1)
42 result.push_back({v[i].first + 1, Unsupported});
49 assert(v[0].first > 1);
lib/Target/XCore/XCoreAsmPrinter.cpp 192 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
195 MachineBasicBlock *MBB = JTBBs[i];
lib/Target/XCore/XCoreISelLowering.cpp 355 unsigned NumEntries = MJTI->getJumpTables()[JTI].MBBs.size();
lib/Transforms/IPO/FunctionAttrs.cpp 767 if (!ArgumentSCC[0]->Definition)
771 if (ArgumentSCC[0]->Uses.size() == 1 &&
772 ArgumentSCC[0]->Uses[0] == ArgumentSCC[0]) {
772 ArgumentSCC[0]->Uses[0] == ArgumentSCC[0]) {
773 Argument *A = ArgumentSCC[0]->Definition;
815 Argument *A = ArgumentSCC[i]->Definition;
834 Argument *A = ArgumentSCC[i]->Definition;
848 Argument *A = ArgumentSCC[i]->Definition;
lib/Transforms/IPO/FunctionImport.cpp 720 auto &Summary = GlobalList.second.SummaryList[0];
lib/Transforms/IPO/PassManagerBuilder.cpp 215 if (Extensions[i].first == ETy)
216 Extensions[i].second(*this, PM);
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp 262 unsigned TransformedIndex = TransformedFunction.ArgumentIndexMapping[i];
lib/Transforms/Instrumentation/PGOInstrumentation.cpp 1078 uint64_t CountValue = CountFromProfile[I++];
lib/Transforms/Scalar/GVN.cpp 427 const NonLocalDepEntry *I = &deps[i];
1632 if (deps[i].getResult().isNonFuncLocal())
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp 1339 RRI.PHIValuesAtPseudoExit[PHIIndex++]);
lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp 284 Loop *SubLoop = L->getSubLoops()[0];
lib/Transforms/Scalar/MergeICmps.cpp 443 BasicBlock *const Block = Blocks[BlockIdx];
lib/Transforms/Utils/LoopSimplify.cpp 300 if (BlocksInL.count(SubLoops[I]->getHeader()))
lib/Transforms/Utils/LoopUnrollAndJam.cpp 728 Loop *SubLoop = L->getSubLoops()[0];
tools/bugpoint/BugDriver.cpp 73 Result += Passes[i];
137 Program = parseInputFile(Filenames[0], Context);
141 outs() << "Read input file : '" << Filenames[0] << "'\n";
144 std::unique_ptr<Module> M = parseInputFile(Filenames[i], Context);
148 outs() << "Linking in input file: '" << Filenames[i] << "'\n";
245 outs() << " " << Funcs[i]->getName();
256 outs() << " " << GVs[i]->getName();
tools/bugpoint/ExtractFunction.cpp 325 Function *TNOF = cast<Function>(VMap[F[i]]);
tools/bugpoint/Miscompilation.cpp 272 Function *F = cast<Function>(VMap[Funcs[i]]);
492 outs() << BBs[i]->getName() << " ";
511 BasicBlock *BB = cast<BasicBlock>(VMap[BBs[i]]);
tools/bugpoint/ToolRunner.cpp 190 LLIArgs.push_back(Args[i]);
326 ProgramArgs.push_back(Args[i]);
571 JITArgs.push_back(SharedLibs[i]);
576 JITArgs.push_back(Args[i]);
678 CCArgs.push_back(ArgsForCC[i]);
729 ProgramArgs.push_back(Args[i]);
827 CCArgs.push_back(ArgsForCC[i]);
tools/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp 90 llvm::errs() << "PrintFunctionNames arg = " << args[i] << "\n";
94 if (args[i] == "-an-error") {
97 D.Report(DiagID) << args[i];
99 } else if (args[i] == "-parse-template") {
106 ParsedTemplates.insert(args[i]);
109 if (!args.empty() && args[0] == "help")
tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h 308 const T& operator[](unsigned i) const { return elements()[i]; }
tools/clang/include/clang/Analysis/PathDiagnostic.h 618 return LPairs[0].getStart();
624 return LPairs[0].getEnd();
tools/clang/include/clang/Basic/Module.h 627 ? ImportLocs[M->getVisibilityID()]
tools/clang/include/clang/Basic/SourceManagerInternals.h 105 return FilenamesByID[ID]->getKey();
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h 84 res = (Op == BO_LAnd) ? Solver->mkAnd(res, ASTs[i])
85 : Solver->mkOr(res, ASTs[i]);
tools/clang/include/clang/Tooling/Refactoring/ASTSelection.h 114 return SelectedNode.get().Children[I].Node.get<Stmt>();
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp 575 auto &MP = Matchers[I];
592 if (Matchers[I].first.canMatchNodesOfKind(Kind)) {
tools/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp 176 printMessageToStream(Content.Messages[0], "", OS);
180 printMessageToStream(Content.Messages[i],
189 printErrorContentToStream(Errors[i], OS);
203 const ErrorContent &Error = Errors[i];
205 printContextFrameToStream(Error.ContextStack[i], OS);
tools/clang/lib/ASTMatchers/Dynamic/Marshallers.h 286 Kinds.push_back(ArgKinds[ArgNo]);
619 bool Overload0Variadic = Overloads[0]->isVariadic();
629 unsigned Overload0NumArgs = Overloads[0]->getNumArgs();
tools/clang/lib/ASTMatchers/Dynamic/VariantValue.cpp 124 return Matchers[0];
132 Inner += Matchers[i].getSupportedKind().asStringRef();
144 if (Ops.canConstructFrom(Matchers[i], IsExactMatch)) {
151 Found = &Matchers[i];
195 Inner += Args[i].getTypeAsString();
tools/clang/lib/Analysis/CloneDetection.cpp 569 auto OtherOccurence = Other.Occurences[i];
603 SecondSuggestion = Other.Variables[ThisOccurence.KindID];
608 Other.Variables[OtherOccurence.KindID], OtherOccurence.Mention,
tools/clang/lib/Analysis/ThreadSafety.cpp 167 const FactEntry &operator[](FactID F) const { return *Facts[F]; }
tools/clang/lib/Basic/CodeGenOptions.cpp 26 if (FuncName.equals(NoBuiltinFuncs[i]))
tools/clang/lib/Basic/DiagnosticIDs.cpp 280 return DiagInfo[DiagID-DIAG_UPPER_LIMIT].second;
287 return DiagInfo[DiagID-DIAG_UPPER_LIMIT].first;
tools/clang/lib/Basic/LangOptions.cpp 41 if (FuncName.equals(NoBuiltinFuncs[i]))
tools/clang/lib/Basic/Module.cpp 321 return SubModules[Pos->getValue()];
471 OS << ConfigMacros[I];
576 printModuleId(OS, UnresolvedConflicts[I].Id);
578 OS.write_escaped(UnresolvedConflicts[I].Message);
585 OS << Conflicts[I].Other->getFullModuleName(true);
587 OS.write_escaped(Conflicts[I].Message);
tools/clang/lib/Basic/SourceManager.cpp 2143 if (size_t sized_mapped = MemBufferInfos[i]->getSizeBytesMapped())
2144 switch (MemBufferInfos[i]->getMemoryBufferKind()) {
tools/clang/lib/Basic/Warnings.cpp 89 StringRef Opt = Opts.Warnings[i];
90 StringRef OrigOpt = Opts.Warnings[i];
198 StringRef Opt = Opts.Remarks[i];
tools/clang/lib/CodeGen/CGDeclCXX.cpp 743 std::tie(CalleeTy, Callee, Arg) = DtorsAndObjects[e - i - 1];
tools/clang/lib/Driver/Multilib.cpp 101 StringRef Flag(Flags[I]);
108 else if (Flags[I] != Flags[SI->getValue()])
108 else if (Flags[I] != Flags[SI->getValue()])
tools/clang/lib/Format/ContinuationIndenter.cpp 87 while (MatchingStackIndex >= 0 && Stack[MatchingStackIndex].Tok != LBrace)
89 return MatchingStackIndex >= 0 ? &Stack[MatchingStackIndex] : nullptr;
306 State.Stack[State.Stack.size() - 2].NestedBlockInlined &&
307 State.Stack[State.Stack.size() - 2].HasMultipleNestedBlocks)
951 return State.Stack[State.Stack.size() - 2].NestedBlockIndent;
954 return State.Stack[State.Stack.size() - 2].LastSpace;
975 return State.Stack[State.Stack.size() - 2].LastSpace;
977 return State.Stack[State.Stack.size() - 2].LastSpace;
tools/clang/lib/Format/Format.cpp 2058 std::string GroupPrefix = Style.JavaImportGroups[I];
tools/clang/lib/Frontend/ChainedIncludesSource.cpp 44 CIs[i]->getASTContext().getExternalSource()) {
tools/clang/lib/Frontend/FrontendActions.cpp 554 Out.indent(6) << TargetOpts.FeaturesAsWritten[I] << "\n";
tools/clang/lib/Frontend/InitHeaderSearch.cpp 628 const HeaderSearchOptions::Entry &E = HSOpts.UserEntries[i];
639 Init.AddSystemHeaderPrefix(HSOpts.SystemHeaderPrefixes[i].Prefix,
640 HSOpts.SystemHeaderPrefixes[i].IsSystemHeader);
tools/clang/lib/Frontend/InitPreprocessor.cpp 1163 if (InitOpts.Macros[i].second) // isUndef
1164 Builder.undefineMacro(InitOpts.Macros[i].first);
1166 DefineBuiltinMacro(Builder, InitOpts.Macros[i].first,
1177 AddImplicitIncludeMacros(Builder, InitOpts.MacroIncludes[i]);
1186 const std::string &Path = InitOpts.Includes[i];
tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp 122 if (FixAction->BeginSourceFile(CI, FEOpts.Inputs[0])) {
tools/clang/lib/Frontend/Rewrite/RewriteMacros.cpp 52 if (!ReturnComment && RawTokens[CurTok].is(tok::comment))
55 return RawTokens[CurTok++];
tools/clang/lib/Frontend/TextDiagnosticBuffer.cpp 60 Diag << Notes[I.second].second;
63 Diag << Warnings[I.second].second;
66 Diag << Remarks[I.second].second;
70 Diag << Errors[I.second].second;
tools/clang/lib/Lex/PPLexerChange.cpp 40 assert(IsFileLexer(IncludeMacroStack[0]) &&
tools/clang/lib/Lex/TokenLexer.cpp 455 ResultArgToks = &ActualArgs->getPreExpArgument(ArgNo, PP)[0];
tools/clang/lib/Serialization/ASTReader.cpp 585 StringRef Macro = PPOpts.Macros[I].first;
586 bool IsUndef = PPOpts.Macros[I].second;
706 StringRef File = ExistingPPOpts.Includes[I];
731 StringRef File = ExistingPPOpts.MacroIncludes[I];
tools/clang/lib/Serialization/ASTWriter.cpp 121 return StringRef(reinterpret_cast<const char*>(&v[0]),
1444 AddString(DiagOpts.Warnings[I], Record);
1447 AddString(DiagOpts.Remarks[I], Record);
1636 AddString(TargetOpts.FeaturesAsWritten[I], Record);
1640 AddString(TargetOpts.Features[I], Record);
1660 const HeaderSearchOptions::Entry &Entry = HSOpts.UserEntries[I];
1670 AddString(HSOpts.SystemHeaderPrefixes[I].Prefix, Record);
1671 Record.push_back(HSOpts.SystemHeaderPrefixes[I].IsSystemHeader);
1695 AddString(PPOpts.Macros[I].first, Record);
1696 Record.push_back(PPOpts.Macros[I].second);
1702 AddString(PPOpts.Includes[I], Record);
1707 AddString(PPOpts.MacroIncludes[I], Record);
tools/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp 115 static_cast<BinaryOperator::Opcode>(Args[0].first);
124 return static_cast<ArgNoTy>(Args[0].second);
186 QualType T = (ArgNo == Ret) ? RetType : ArgTypes[ArgNo];
253 const llvm::APSInt &Min = BVF.getValue(R[I].first, T);
254 const llvm::APSInt &Max = BVF.getValue(R[I].second, T);
287 const llvm::APSInt &Left = BVF.getValue(R[0].first - 1ULL, T);
295 const llvm::APSInt &Right = BVF.getValue(R[E - 1].second + 1ULL, T);
304 const llvm::APSInt &Min = BVF.getValue(R[I - 1].second + 1ULL, T);
305 const llvm::APSInt &Max = BVF.getValue(R[I].first - 1ULL, T);
415 QualType FormalT = ArgTypes[I];
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp 2006 LastPiece = EndNotes->second[0];
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp 395 if (ND->getName() == CD.QualifiedName[NumUnmatched - 1])
401 if (RD->getName() == CD.QualifiedName[NumUnmatched - 1])
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp 143 const Node &getNode(NodeId Id) const { return Nodes[Id]; }
505 return RootIds[Id - 1];
512 return LeftMostDescendants[Id - 1];
516 return Tree.PostorderIds[getIdInRoot(SNodeId(1))];
531 assert(I == Tree.PostorderIds[getIdInRoot(SI)] - getPostorderOffset() &&
534 LeftMostDescendants[I] = SNodeId(Tree.PostorderIds[N.LeftMostDescendant] -
tools/clang/lib/Tooling/ArgumentsAdjusters.cpp 28 StringRef Arg = Args[i];
32 AdjustedArgs.push_back(Args[i]);
46 StringRef Arg = Args[i];
48 AdjustedArgs.push_back(Args[i]);
64 StringRef Arg = Args[i];
70 AdjustedArgs.push_back(Args[i]);
80 StringRef Arg = Args[i];
84 AdjustedArgs.push_back(Args[i]);
138 if (I + 4 < E && Args[I] == "-Xclang" &&
139 (Args[I + 1] == "-load" || Args[I + 1] == "-plugin" ||
139 (Args[I + 1] == "-load" || Args[I + 1] == "-plugin" ||
140 llvm::StringRef(Args[I + 1]).startswith("-plugin-arg-") ||
141 Args[I + 1] == "-add-plugin") &&
142 Args[I + 2] == "-Xclang") {
146 AdjustedArgs.push_back(Args[I]);
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp 194 Ret = Style.IncludeCategories[i].Priority;
207 Ret = Style.IncludeCategories[i].SortPriority;
209 Ret = Style.IncludeCategories[i].Priority;
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp 357 llvm::dbgs() << "interpolate: chose " << OriginalPaths[Best.first]
363 return OriginalPaths[Best.first];
429 PreferredLanguage == Types[S.Index];
437 S.PrefixLength = matchingPrefix(Filename, Paths[S.Index].first);
448 S.PrefixLength = matchingPrefix(Filename, Paths[S.Index].first);
tools/clang/lib/Tooling/JSONCompilationDatabase.cpp 303 Arguments = unescapeCommandLine(Syntax, Nodes[0]->getValue(Storage));
tools/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp 196 if (PrevNames[I].empty())
199 HandleOneRename(Context, NewNames[I], PrevNames[I], USRList[I]);
199 HandleOneRename(Context, NewNames[I], PrevNames[I], USRList[I]);
199 HandleOneRename(Context, NewNames[I], PrevNames[I], USRList[I]);
257 USRList[I], NewNames[I], Context.getTranslationUnitDecl());
257 USRList[I], NewNames[I], Context.getTranslationUnitDecl());
tools/clang/lib/Tooling/Syntax/Tokens.cpp 142 return {&File.SpelledTokens[ExpandedIndex - File.BeginExpanded], nullptr};
148 return {&File.SpelledTokens[It->BeginSpelled], /*Mapping*/ &*It};
153 &File.SpelledTokens[It->EndSpelled + (ExpandedIndex - It->EndExpanded)],
243 const syntax::Token *Token = &Spelled[Mapping.BeginSpelled];
623 PrintToken(File.SpelledTokens[M.BeginSpelled]), M.BeginSpelled,
626 : PrintToken(File.SpelledTokens[M.EndSpelled]),
627 M.EndSpelled, PrintToken(ExpandedTokens[M.BeginExpanded]),
628 M.BeginExpanded, PrintToken(ExpandedTokens[M.EndExpanded]),
tools/clang/tools/clang-refactor/TestSupport.cpp 145 TestRanges.GroupedRanges[GroupIndex].Ranges.size()) {
219 TestRanges.GroupedRanges[Group.index()].Ranges[I.index()].Begin);
223 << TestRanges.GroupedRanges[Group.index()].Name << "':\n ";
242 const auto &TestGroup = TestRanges.GroupedRanges[Group.index()];
tools/clang/tools/clang-scan-deps/ClangScanDeps.cpp 159 if (Args[Idx] == "-o")
160 LastO = Args[Idx + 1];
161 if (Args[Idx] == "-MT")
163 if (Args[Idx] == "-MQ")
165 if (Args[Idx] == "-MD")
tools/clang/tools/extra/clang-include-fixer/FuzzySymbolIndex.cpp 123 for (size_t J = 0; J < Tokens[I].size(); ++J) {
126 Result.push_back(Tokens[I][J]);
tools/clang/tools/extra/clang-include-fixer/plugin/IncludeFixerPlugin.cpp 63 std::string InputFile = CI.getFrontendOpts().Inputs[0].getFile();
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp 401 if (isa<ObjCIvarDecl>(D) && NamingStyles[SK_ObjcIvar])
404 if (isa<TypedefDecl>(D) && NamingStyles[SK_Typedef])
407 if (isa<TypeAliasDecl>(D) && NamingStyles[SK_TypeAlias])
414 if (Decl->isInline() && NamingStyles[SK_InlineNamespace])
417 if (NamingStyles[SK_Namespace])
421 if (isa<EnumDecl>(D) && NamingStyles[SK_Enum])
425 if (NamingStyles[SK_EnumConstant])
428 if (NamingStyles[SK_Constant])
442 NamingStyles[SK_AbstractClass])
445 if (Decl->isStruct() && NamingStyles[SK_Struct])
448 if (Decl->isStruct() && NamingStyles[SK_Class])
451 if (Decl->isClass() && NamingStyles[SK_Class])
454 if (Decl->isClass() && NamingStyles[SK_Struct])
457 if (Decl->isUnion() && NamingStyles[SK_Union])
460 if (Decl->isEnum() && NamingStyles[SK_Enum])
470 if (NamingStyles[SK_ConstantMember])
473 if (NamingStyles[SK_Constant])
477 if (Decl->getAccess() == AS_private && NamingStyles[SK_PrivateMember])
480 if (Decl->getAccess() == AS_protected && NamingStyles[SK_ProtectedMember])
483 if (Decl->getAccess() == AS_public && NamingStyles[SK_PublicMember])
486 if (NamingStyles[SK_Member])
495 if (Decl->isConstexpr() && NamingStyles[SK_ConstexprVariable])
499 if (Type.getTypePtr()->isAnyPointerType() && NamingStyles[SK_ConstantPointerParameter])
502 if (NamingStyles[SK_ConstantParameter])
505 if (NamingStyles[SK_Constant])
509 if (Decl->isParameterPack() && NamingStyles[SK_ParameterPack])
512 if (!Type.isNull() && Type.getTypePtr()->isAnyPointerType() && NamingStyles[SK_PointerParameter])
515 if (NamingStyles[SK_Parameter])
524 if (Decl->isConstexpr() && NamingStyles[SK_ConstexprVariable])
528 if (Decl->isStaticDataMember() && NamingStyles[SK_ClassConstant])
531 if (Decl->isFileVarDecl() && Type.getTypePtr()->isAnyPointerType() && NamingStyles[SK_GlobalConstantPointer])
534 if (Decl->isFileVarDecl() && NamingStyles[SK_GlobalConstant])
537 if (Decl->isStaticLocal() && NamingStyles[SK_StaticConstant])
540 if (Decl->isLocalVarDecl() && Type.getTypePtr()->isAnyPointerType() && NamingStyles[SK_LocalConstantPointer])
543 if (Decl->isLocalVarDecl() && NamingStyles[SK_LocalConstant])
546 if (Decl->isFunctionOrMethodVarDecl() && NamingStyles[SK_LocalConstant])
549 if (NamingStyles[SK_Constant])
553 if (Decl->isStaticDataMember() && NamingStyles[SK_ClassMember])
556 if (Decl->isFileVarDecl() && Type.getTypePtr()->isAnyPointerType() && NamingStyles[SK_GlobalPointer])
559 if (Decl->isFileVarDecl() && NamingStyles[SK_GlobalVariable])
562 if (Decl->isStaticLocal() && NamingStyles[SK_StaticVariable])
565 if (Decl->isLocalVarDecl() && Type.getTypePtr()->isAnyPointerType() && NamingStyles[SK_LocalPointer])
568 if (Decl->isLocalVarDecl() && NamingStyles[SK_LocalVariable])
571 if (Decl->isFunctionOrMethodVarDecl() && NamingStyles[SK_LocalVariable])
574 if (NamingStyles[SK_Variable])
594 if (Decl->isConstexpr() && NamingStyles[SK_ConstexprMethod])
597 if (Decl->isConstexpr() && NamingStyles[SK_ConstexprFunction])
600 if (Decl->isStatic() && NamingStyles[SK_ClassMethod])
603 if (Decl->isVirtual() && NamingStyles[SK_VirtualMethod])
606 if (Decl->getAccess() == AS_private && NamingStyles[SK_PrivateMethod])
609 if (Decl->getAccess() == AS_protected && NamingStyles[SK_ProtectedMethod])
612 if (Decl->getAccess() == AS_public && NamingStyles[SK_PublicMethod])
615 if (NamingStyles[SK_Method])
618 if (NamingStyles[SK_Function])
628 if (Decl->isConstexpr() && NamingStyles[SK_ConstexprFunction])
631 if (Decl->isGlobal() && NamingStyles[SK_GlobalFunction])
634 if (NamingStyles[SK_Function])
639 if (NamingStyles[SK_TypeTemplateParameter])
642 if (NamingStyles[SK_TemplateParameter])
649 if (NamingStyles[SK_ValueTemplateParameter])
652 if (NamingStyles[SK_TemplateParameter])
659 if (NamingStyles[SK_TemplateTemplateParameter])
662 if (NamingStyles[SK_TemplateParameter])
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp 140 Result.range = Ranges[0];
1176 Params.textDocument.uri.file(), Params.positions[0],
tools/clang/tools/extra/clangd/Headers.cpp 157 const auto &Name = RealPathNames[Child];
tools/clang/tools/extra/clangd/index/dex/Dex.cpp 221 const auto *Sym = Symbols[SymbolDocID];
228 (*Score) * SymbolQuality[SymbolDocID] * IDAndScore.second;
238 Callback(*Symbols[Item.first]);
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp 1038 if (P[I].Text != arg.parameters[I].labelString ||
1039 P[I].Offsets != arg.parameters[I].labelOffsets)
tools/clang/tools/extra/clangd/unittests/DiagnosticsTests.cpp 713 EXPECT_EQ(D.Fixes[0].Message,
tools/clang/tools/extra/clangd/unittests/Matchers.h 60 if (Matchers[I].Matches(V[J]))
60 if (Matchers[I].Matches(V[J]))
68 Matchers[K].DescribeTo(L->stream());
69 *L << " ==> " << ::testing::PrintToString(V[Matches[K]]);
72 Matchers[I].DescribeTo(L->stream());
tools/clang/tools/extra/clangd/unittests/PrintASTTests.cpp 43 if (Pos != Points[TemplateArgsAtPoints.size()])
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp 431 ->getPreExpArgument(ArgNo, PP)[0];
974 return HeaderPaths[H];
1039 return InclusionPaths[H].Path;
1167 HeaderHandle H = ip[Index];
1228 HeaderHandle H = ip[Index];
tools/clang/tools/libclang/CIndex.cpp 8720 skipped->ranges[i] = cxloc::translateSourceRange(Ctx, SkippedRanges[i]);
tools/clang/tools/libclang/CIndexDiagnostic.h 42 return Diagnostics[i].get();
tools/clang/tools/libclang/CXLoadedDiagnostic.cpp 133 return Ranges[Range];
144 *ReplacementRange = FixIts[FixIt].first;
145 return cxstring::createRef(FixIts[FixIt].second);
tools/clang/tools/libclang/CXString.cpp 118 Set->Strings[SI] = createDup(Strings[SI]);
tools/clang/unittests/AST/ASTImporterTest.cpp 1429 if (ND->getName() != Order[Index])
tools/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp 166 EXPECT_EQ(17U, Bar.Args[0].Value.getUnsigned());
172 EXPECT_EQ("B A,Z", Baz.Args[0].Value.getString());
178 EXPECT_EQ(ExpectedBar, getSingleMatcher(Foo.Args[0].Value)->getID().second);
179 EXPECT_EQ(ExpectedBaz, getSingleMatcher(Foo.Args[1].Value)->getID().second);
tools/clang/unittests/Driver/MultilibTest.cpp 188 ASSERT_TRUE(I->flags()[0] == "+m64");
190 ASSERT_TRUE(I->flags()[0] == "-m64");
tools/clang/unittests/Lex/PPCallbacksTest.cpp 431 GetSourceStringToEnd(CharSourceRange(Results1[0].ConditionRange, false)),
437 GetSourceStringToEnd(CharSourceRange(Results2[0].ConditionRange, false)),
443 GetSourceStringToEnd(CharSourceRange(Results3[0].ConditionRange, false)),
449 GetSourceStringToEnd(CharSourceRange(Results4[0].ConditionRange, false)),
452 GetSourceStringToEnd(CharSourceRange(Results4[1].ConditionRange, false)),
458 GetSourceStringToEnd(CharSourceRange(Results5[0].ConditionRange, false)),
461 GetSourceStringToEnd(CharSourceRange(Results5[1].ConditionRange, false)),
468 GetSourceStringToEnd(CharSourceRange(Results6[0].ConditionRange, false)),
475 GetSourceStringToEnd(CharSourceRange(Results7[0].ConditionRange, false)),
478 GetSourceStringToEnd(CharSourceRange(Results7[1].ConditionRange, false)),
485 GetSourceStringToEnd(CharSourceRange(Results8[0].ConditionRange, false)),
488 Lexer::getSourceText(CharSourceRange(Results8[0].ConditionRange, false),
tools/clang/unittests/Tooling/ASTSelectionTest.cpp 206 checkNode<ParmVarDecl>(Fn.Children[0],
209 Fn.Children[1], SourceSelectionKind::InsideSelection,
212 Body.Children[0], SourceSelectionKind::InsideSelection,
214 checkNode<ImplicitCastExpr>(Return.Children[0],
217 checkNode<DeclRefExpr>(Return.Children[0].Children[0],
217 checkNode<DeclRefExpr>(Return.Children[0].Children[0],
231 Fn.Children[1], SourceSelectionKind::ContainsSelectionEnd,
233 checkNode<ReturnStmt>(Body.Children[0],
247 Fn.Children[0], SourceSelectionKind::ContainsSelection,
249 checkNode<ReturnStmt>(Body.Children[0],
262 checkNode<ParmVarDecl>(Fn.Children[0],
265 Fn.Children[1], SourceSelectionKind::InsideSelection,
267 checkNode<ReturnStmt>(Body.Children[0],
317 Fn.Children[0], SourceSelectionKind::ContainsSelection,
319 allChildrenOf(checkNode<CallExpr>(Body.Children[0],
323 allChildrenOf(checkNode<IfStmt>(Body.Children[1],
338 Fn.Children[0], SourceSelectionKind::ContainsSelection,
340 checkNode<CallExpr>(Body.Children[0],
343 checkNode<IfStmt>(Body.Children[1],
346 checkNode<BinaryOperator>(Body.Children[2],
360 Fn.Children[0], SourceSelectionKind::ContainsSelection,
362 checkNode<DeclStmt>(Body.Children[0],
365 checkNode<CallExpr>(Body.Children[1],
368 checkNode<IfStmt>(Body.Children[2],
371 checkNode<BinaryOperator>(Body.Children[3],
408 Impl.Children[0], SourceSelectionKind::ContainsSelection,
424 Impl.Children[0], SourceSelectionKind::ContainsSelection,
440 Impl.Children[0], SourceSelectionKind::InsideSelection,
448 Cat.Children[0], SourceSelectionKind::InsideSelection,
489 checkNode<FunctionDecl>(Impl.Children[0],
515 checkNode<FieldDecl>(Record.Children[0],
544 Node->Children[0], SourceSelectionKind::ContainsSelection,
546 return checkNode<CompoundStmt>(Fn.Children[0],
578 CS.Children[0], SourceSelectionKind::ContainsSelection,
581 CCast.Children[0], SourceSelectionKind::ContainsSelection,
584 POE.Children[0], SourceSelectionKind::ContainsSelection,
587 PRE.Children[0], SourceSelectionKind::InsideSelection,
589 checkNode<DeclRefExpr>(Cast.Children[0],
599 CS.Children[0], SourceSelectionKind::ContainsSelection,
602 POE.Children[0], SourceSelectionKind::ContainsSelection,
605 BinOp.Children[0], SourceSelectionKind::InsideSelection,
608 PRE.Children[0], SourceSelectionKind::InsideSelection,
610 checkNode<DeclRefExpr>(Cast.Children[0],
612 checkNode<IntegerLiteral>(BinOp.Children[1],
622 CS.Children[0], SourceSelectionKind::ContainsSelection,
625 CCast.Children[0], SourceSelectionKind::ContainsSelection,
628 POE.Children[0], SourceSelectionKind::ContainsSelection,
631 SRE.Children[0], SourceSelectionKind::InsideSelection,
633 checkNode<DeclRefExpr>(Cast.Children[0],
635 checkNode<IntegerLiteral>(SRE.Children[1],
645 CS.Children[0], SourceSelectionKind::ContainsSelection,
648 POE.Children[0], SourceSelectionKind::ContainsSelection,
651 BinOp.Children[0], SourceSelectionKind::InsideSelection,
654 SRE.Children[0], SourceSelectionKind::InsideSelection,
656 checkNode<DeclRefExpr>(Cast.Children[0],
659 SRE.Children[1], SourceSelectionKind::InsideSelection,
662 POE2.Children[0], SourceSelectionKind::InsideSelection,
665 PRE.Children[0], SourceSelectionKind::InsideSelection,
667 checkNode<DeclRefExpr>(Cast2.Children[0],
669 checkNode<DeclRefExpr>(BinOp.Children[1],
tools/clang/utils/TableGen/ClangASTNodesEmitter.cpp 152 Record *R = Stmts[i];
tools/clang/utils/TableGen/ClangAttrEmitter.cpp 894 OS << " .Case(\"" << values[I] << "\", ";
895 OS << getAttrName() << "Attr::" << enums[I] << ")\n";
912 if (Uniques.insert(enums[I]).second)
913 OS << " case " << getAttrName() << "Attr::" << enums[I]
914 << ": return \"" << values[I] << "\";\n";
1006 OS << " .Case(\"" << values[I] << "\", ";
1007 OS << getAttrName() << "Attr::" << enums[I] << ")\n";
1020 if (Uniques.insert(enums[I]).second)
1021 OS << " case " << getAttrName() << "Attr::" << enums[I]
1022 << ": return \"" << values[I] << "\";\n";
1539 const FlattenedSpelling &S = SpellingList[Index];
1780 return Rules[0];
2720 Classes[0]->emitAttrList(OS);
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 72 CatName = getCategoryFromDiagGroup(Parents[i], DiagGroupParents);
165 const Record *R = Diags[i];
181 Record *Group = DiagGroups[i];
325 if (isSubGroupOfGroup(Parents[i], GName))
368 markGroup(Parents[i]);
378 Record *R = Diags[i];
394 Record *R = Diags[i];
420 Record *Group = DiagGroups[i];
427 if (groupInPedantic(Parents[j]))
759 return (*ModifierMappings)[Idx];
1589 const Record &R = *(Diags[i]);
tools/clang/utils/TableGen/MveEmitter.cpp 610 Ptr Arg = Args[i];
625 Ptr Arg = Args[i];
1489 if ((*this)[i] != rhs[i])
1489 if ((*this)[i] != rhs[i])
1490 return (*this)[i] < rhs[i];
1490 return (*this)[i] < rhs[i];
1556 return OI.ParamValues[i] == OI_first.ParamValues[i];
1556 return OI.ParamValues[i] == OI_first.ParamValues[i];
1574 key.push_back(MG.ParamTypes[i]);
1576 key.push_back(OI.ParamValues[i]);
1629 StringRef Type = MG.ParamTypes[i];
1642 OS << " Param" << utostr(i) << " = " << OI.ParamValues[i] << ";\n";
tools/clang/utils/TableGen/NeonEmitter.cpp 417 Type getReturnType() const { return Types[0]; }
418 Type getParamType(unsigned I) const { return Types[I + 1]; }
tools/dsymutil/CompileUnit.h 122 const DIEInfo &getInfo(unsigned Idx) const { return Info[Idx]; }
tools/lld/ELF/InputFiles.h 213 return *this->symbols[symbolIndex];
tools/lld/ELF/InputSection.h 256 size_t begin = pieces[i].inputOff;
258 (pieces.size() - 1 == i) ? data().size() : pieces[i + 1].inputOff;
259 return {toStringRef(data().slice(begin, end - begin)), pieces[i].hash};
tools/lld/ELF/SyntheticSections.cpp 733 const FileGot &g = gots[*f->mipsGotIndex];
747 const FileGot &g = gots[*f->mipsGotIndex];
757 const FileGot &g = gots[*f->mipsGotIndex];
763 const FileGot &g = gots[*f->mipsGotIndex];
1013 return getVA() + gots[*f->mipsGotIndex].startIndex * config->wordsize +
2636 cuIdx += chunks[i].compilationUnits.size();
tools/lld/lib/Core/Error.cpp 60 return _messages[ev];
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp 540 sect = &normalizedFile.sections[sectIndex-1];
560 sym = &normalizedFile.localSymbols[symbolIndex-numStabs];
562 sym = &normalizedFile.globalSymbols[symbolIndex-numStabs-numLocal];
564 sym = &normalizedFile.undefinedSymbols[symbolIndex-numStabs-numLocal-
576 const Section &symSection = normalizedFile.sections[sym->sect-1];
1526 const DataInCode &nextEntry = normalizedFile.dataInCode[nextIndex];
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp 902 return _references[index];
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp 286 const Relocation& call = text.relocations[0];
292 const Relocation& str = text.relocations[1];
411 const Relocation& call = text.relocations[0];
419 const Relocation& sectDiff = text.relocations[1];
426 const Relocation& pair = text.relocations[2];
543 const Relocation& call = text.relocations[0];
550 const Relocation& movt = text.relocations[1];
556 const Relocation& movtPair = text.relocations[2];
562 const Relocation& movw = text.relocations[3];
568 const Relocation& movwPair = text.relocations[4];
687 const Relocation& bl = text.relocations[0];
693 const Relocation& lo = text.relocations[1];
699 const Relocation& loPair = text.relocations[2];
705 const Relocation& ha = text.relocations[3];
711 const Relocation& haPair = text.relocations[4];
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp 184 const Relocation& call = text.relocations[0];
190 const Relocation& gotLoad = text.relocations[1];
196 const Relocation& gotUse = text.relocations[2];
202 const Relocation& signed0 = text.relocations[3];
208 const Relocation& signed1 = text.relocations[4];
214 const Relocation& signed4 = text.relocations[5];
296 const Relocation& call = text.relocations[0];
304 const Relocation& absLoad = text.relocations[1];
312 const Relocation& pic1 = text.relocations[2];
318 const Relocation& pic2 = text.relocations[3];
324 const Relocation& tlv = text.relocations[4];
422 const Relocation& blx = text.relocations[0];
430 const Relocation& movw1 = text.relocations[1];
436 const Relocation& movw2 = text.relocations[2];
442 const Relocation& movt1 = text.relocations[3];
448 const Relocation& movt2 = text.relocations[4];
454 const Relocation& absPointer = text.relocations[5];
579 const Relocation& br24 = text.relocations[0];
587 const Relocation& br14 = text.relocations[1];
595 const Relocation& pichi1 = text.relocations[2];
601 const Relocation& pichi2 = text.relocations[3];
607 const Relocation& picha1 = text.relocations[4];
613 const Relocation& picha2 = text.relocations[5];
619 const Relocation& piclo1 = text.relocations[6];
625 const Relocation& piclo2 = text.relocations[7];
631 const Relocation& picloa1 = text.relocations[8];
637 const Relocation& picloa2 = text.relocations[9];
643 const Relocation& abshi1 = text.relocations[10];
649 const Relocation& abshi2 = text.relocations[11];
655 const Relocation& absha1 = text.relocations[12];
661 const Relocation& absha2 = text.relocations[13];
667 const Relocation& abslo1 = text.relocations[14];
673 const Relocation& abslo2 = text.relocations[15];
679 const Relocation& absloa1 = text.relocations[16];
685 const Relocation& absloa2 = text.relocations[17];
tools/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp 294 const Relocation& reloc1 = sect1.relocations[0];
303 const Relocation& reloc2 = sect1.relocations[1];
424 const Relocation& reloc1 = sect1.relocations[0];
433 const Relocation& reloc2 = sect1.relocations[1];
441 const Relocation& reloc3 = sect1.relocations[2];
552 const Relocation& reloc1 = sect1.relocations[0];
560 const Relocation& reloc2 = sect1.relocations[1];
568 const Relocation& reloc3 = sect1.relocations[2];
692 const Relocation& reloc1 = sect1.relocations[0];
701 const Relocation& reloc2 = sect1.relocations[1];
709 const Relocation& reloc3 = sect1.relocations[2];
717 const Relocation& reloc4 = sect1.relocations[3];
725 const Relocation& reloc5 = sect1.relocations[4];
tools/lld/wasm/InputChunks.cpp 44 return file->getWasmObj()->linkingData().Comdats[index];
tools/lld/wasm/InputFiles.cpp 94 return typeMap[reloc.Index];
96 const Symbol *sym = symbols[reloc.Index];
128 return tableEntries[sym.Info.ElementIndex];
145 functions[sym.Info.ElementIndex - wasmObj->getNumImportedFunctions()];
168 sym = symbols[reloc.Index];
196 return typeMap[reloc.Index];
273 uint32_t functionIndex = seg.Functions[index];
372 return cast<FunctionSymbol>(symbols[index]);
376 return cast<GlobalSymbol>(symbols[index]);
380 return cast<EventSymbol>(symbols[index]);
384 return cast<SectionSymbol>(symbols[index]);
388 return cast<DataSymbol>(symbols[index]);
tools/lld/wasm/InputFiles.h 110 return symbols[reloc.Index];
129 Symbol *getSymbol(uint32_t index) const { return symbols[index]; }
tools/lld/wasm/SyntheticSections.cpp 462 const auto &inputSegments = dataSegments[i]->inputSegments;
465 StringRef comdat = inputSegments[0]->getComdatName();
tools/lldb/include/lldb/Core/FormatEntity.h 153 if (!(children[i] == rhs.children[i]))
153 if (!(children[i] == rhs.children[i]))
tools/lldb/include/lldb/Core/ModuleSpec.h 351 module_spec = m_specs[i];
tools/lldb/include/lldb/Core/UniqueCStringMap.h 59 return m_map[idx].cstring;
64 T GetValueAtIndexUnchecked(uint32_t idx) const { return m_map[idx].value; }
73 return ((idx < m_map.size()) ? m_map[idx].cstring : ConstString());
109 const Entry *first_entry = &m_map[0];
tools/lldb/include/lldb/DataFormatters/TypeSynthetic.h 294 return m_expression_paths[i].c_str();
tools/lldb/include/lldb/Host/Debug.h 80 if (m_actions[i].tid == tid)
81 return &m_actions[i];
92 if (m_actions[i].state == state)
113 if (m_actions[i].tid == tid)
tools/lldb/include/lldb/Interpreter/OptionValueArray.h 60 value_sp = m_values[idx];
67 value_sp = m_values[idx];
tools/lldb/include/lldb/Interpreter/OptionValueProperties.h 210 return ((idx < m_properties.size()) ? &m_properties[idx] : nullptr);
tools/lldb/include/lldb/Symbol/DebugMacros.h 84 return m_macro_entries[index];
tools/lldb/include/lldb/Symbol/SymbolContext.h 462 return m_symbol_contexts[idx];
tools/lldb/include/lldb/Symbol/Symtab.h 163 if (m_symbols[idx].IsDebug())
168 if (!m_symbols[idx].IsDebug())
181 return m_symbols[idx].IsExternal();
184 return !m_symbols[idx].IsExternal();
tools/lldb/include/lldb/Utility/Args.h 132 const ArgEntry &operator[](size_t n) const { return m_entries[n]; }
tools/lldb/include/lldb/Utility/ProcessInfo.h 187 return m_infos[idx];
tools/lldb/include/lldb/Utility/RangeMap.h 478 return ((i < m_entries.size()) ? &m_entries[i] : nullptr);
484 const Entry &GetEntryRef(size_t i) const { return m_entries[i]; }
tools/lldb/include/lldb/Utility/StringList.h 72 return m_strings[idx];
tools/lldb/include/lldb/Utility/StructuredData.h 191 return m_items[idx];
tools/lldb/source/API/SBProcess.cpp 1167 return names[idx].AsCString();
tools/lldb/source/API/SBQueue.cpp 104 ThreadSP thread_sp = thread_list[idx];
125 QueueItemSP item = queue_items[idx];
tools/lldb/source/Breakpoint/BreakpointIDList.cpp 32 return ((index < m_breakpoint_ids.size()) ? m_breakpoint_ids[index]
65 BreakpointID tmp_id = m_breakpoint_ids[i];
tools/lldb/source/Breakpoint/BreakpointList.cpp 164 return m_breakpoints[i];
tools/lldb/source/Breakpoint/BreakpointLocationCollection.cpp 115 stop_sp = m_break_loc_collection[i];
tools/lldb/source/Breakpoint/BreakpointLocationList.cpp 149 bp_loc_sp = m_locations[i];
tools/lldb/source/Core/Disassembler.cpp 1066 inst_sp = m_instructions[idx];
1110 if (m_instructions[i]->DoesBranch()) {
1111 if (ignore_calls && m_instructions[i]->IsCall())
1134 target.ReadMemory(m_instructions[i]->GetAddress(), prefer_file_cache,
1405 ((left(op.m_children[0]) && right(op.m_children[1])) ||
1405 ((left(op.m_children[0]) && right(op.m_children[1])) ||
1406 (left(op.m_children[1]) && right(op.m_children[0]))));
1406 (left(op.m_children[1]) && right(op.m_children[0]))));
1415 return (base(op) && op.m_children.size() == 1 && child(op.m_children[0]));
tools/lldb/source/Core/FileSpecList.cpp 72 m_files[idx].GetFilename(), file_spec.GetFilename(),
73 file_spec.IsCaseSensitive() || m_files[idx].IsCaseSensitive()))
76 if (FileSpec::Equal(m_files[idx], file_spec, full))
89 return m_files[idx];
96 return &m_files[idx];
tools/lldb/source/Core/ModuleList.cpp 313 return m_modules[idx].get();
325 module_sp = m_modules[idx];
tools/lldb/source/Core/Section.cpp 498 sect_sp = m_sections[idx];
549 if (m_sections[idx]->GetType() == sect_type) {
550 sect_sp = m_sections[idx];
553 sect_sp = m_sections[idx]->GetChildren().FindSectionByType(
tools/lldb/source/Host/common/ProcessLaunchInfo.cpp 111 return &m_file_actions[idx];
117 if (m_file_actions[idx].GetFD() == fd)
118 return &m_file_actions[idx];
tools/lldb/source/Interpreter/CommandHistory.cpp 61 return llvm::StringRef(m_history[idx]);
67 return m_history[idx];
103 const std::string hist_item = m_history[counter];
tools/lldb/source/Interpreter/OptionValueArray.cpp 122 if (m_values[new_idx]) {
124 return m_values[new_idx]->GetSubValue(exe_ctx, sub_value,
127 return m_values[new_idx];
150 llvm::StringRef string_value = m_values[i]->GetStringValue();
313 copied_array->AppendValue(m_values[i]->DeepCopy());
tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp 758 DumpOperand(op.m_children[0], s);
771 DumpOperand(op.m_children[0], s);
773 DumpOperand(op.m_children[1], s);
781 DumpOperand(op.m_children[0], s);
783 DumpOperand(op.m_children[1], s);
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp 1453 m_known_kexts[i].PutToLog(log);
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp 762 if (segments[i].name == name)
763 return &segments[i];
779 segments[i].PutToLog(log, slide);
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp 989 m_dyld_image_infos[i].PutToLog(log);
tools/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp 155 arch.SetArchitecture(eArchTypeMachO, m_fat_archs[idx].cputype,
156 m_fat_archs[idx].cpusubtype);
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp 1170 header.data_dirs[i].vmaddr, header.data_dirs[i].vmsize);
1170 header.data_dirs[i].vmaddr, header.data_dirs[i].vmsize);
tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp 633 return &m_regs[i];
645 return &m_sets[i];
694 s.Printf("[%3" PRIu64 "] name = %-10s", (uint64_t)i, m_regs[i].name);
696 m_regs[i].byte_size, m_regs[i].byte_offset, m_regs[i].encoding,
696 m_regs[i].byte_size, m_regs[i].byte_offset, m_regs[i].encoding,
696 m_regs[i].byte_size, m_regs[i].byte_offset, m_regs[i].encoding,
697 FormatManager::GetFormatAsCString(m_regs[i].format));
698 if (m_regs[i].kinds[eRegisterKindProcessPlugin] != LLDB_INVALID_REGNUM)
700 m_regs[i].kinds[eRegisterKindProcessPlugin]);
701 if (m_regs[i].kinds[eRegisterKindDWARF] != LLDB_INVALID_REGNUM)
702 s.Printf(", dwarf = %3u", m_regs[i].kinds[eRegisterKindDWARF]);
703 if (m_regs[i].kinds[eRegisterKindEHFrame] != LLDB_INVALID_REGNUM)
704 s.Printf(", ehframe = %3u", m_regs[i].kinds[eRegisterKindEHFrame]);
705 if (m_regs[i].kinds[eRegisterKindGeneric] != LLDB_INVALID_REGNUM)
706 s.Printf(", generic = %3u", m_regs[i].kinds[eRegisterKindGeneric]);
707 if (m_regs[i].alt_name)
708 s.Printf(", alt-name = %s", m_regs[i].alt_name);
709 if (m_regs[i].value_regs) {
711 for (size_t j = 0; m_regs[i].value_regs[j] != LLDB_INVALID_REGNUM; ++j) {
712 s.Printf("%s ", m_regs[m_regs[i].value_regs[j]].name);
712 s.Printf("%s ", m_regs[m_regs[i].value_regs[j]].name);
716 if (m_regs[i].invalidate_regs) {
718 for (size_t j = 0; m_regs[i].invalidate_regs[j] != LLDB_INVALID_REGNUM;
720 s.Printf("%s ", m_regs[m_regs[i].invalidate_regs[j]].name);
720 s.Printf("%s ", m_regs[m_regs[i].invalidate_regs[j]].name);
732 m_sets[i].name);
733 for (size_t idx = 0; idx < m_sets[i].num_registers; ++idx) {
734 s.Printf("%s ", m_regs[m_sets[i].registers[idx]].name);
734 s.Printf("%s ", m_regs[m_sets[i].registers[idx]].name);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp 71 const GDBRemotePacket &entry = m_packets[idx];
90 const GDBRemotePacket &entry = m_packets[idx];
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 1833 exc_data_size >= 1 ? exc_data[0] : 0,
1834 exc_data_size >= 2 ? exc_data[1] : 0,
1835 exc_data_size >= 3 ? exc_data[2] : 0));
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.cpp 80 if (m_attributes[i].get_attr() == attr)
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.h 31 return m_attributes.size() > idx ? m_attributes[idx].get_form() : 0;
37 m_attributes[idx].get(attr, form_value.FormRef(), form_value.ValueRef());
40 return m_attributes[idx].get_form();
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp 65 return &m_decls[idx];
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.h 49 return m_arange_descriptors[i];
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp 284 return Offsets[Index];
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp 21 if (m_entries[0].name) {
23 m_qualified_name.append(m_entries[0].name);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h 61 return m_entries[idx];
tools/lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.cpp 16 die_offsets.emplace_back(die_info_array[i]);
27 const dw_tag_t die_tag = die_info_array[i].tag;
35 die_offsets.emplace_back(die_info_array[i]);
49 if (qualified_name_hash != die_info_array[i].qualified_name_hash)
51 const dw_tag_t die_tag = die_info_array[i].tag;
59 die_offsets.emplace_back(die_info_array[i]);
69 const dw_tag_t die_tag = die_info_array[i].tag;
72 if (die_info_array[i].type_flags & eTypeFlagClassIsImplementation) {
77 die_offsets.emplace_back(die_info_array[i]);
81 die_offsets.emplace(die_offsets.begin(), die_info_array[i]);
84 die_offsets.emplace_back(die_info_array[i]);
95 if ((die_info_array[i].type_flags & type_flag_mask) == type_flag_value)
96 die_offsets.emplace_back(die_info_array[i]);
264 DWARFFormValue form_value(nullptr, header_data.atoms[i].form);
269 switch (header_data.atoms[i].type) {
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp 836 GetCompileUnitInfoForSymbolWithIndex(indexes[i], &oso_idx);
tools/lldb/source/Symbol/SymbolContext.cpp 1279 sc = m_symbol_contexts[idx];
1301 if (m_symbol_contexts[idx].line_entry.line == line)
1311 m_symbol_contexts[idx].GetDescription(s, level, target);
tools/lldb/source/Symbol/Symtab.cpp 165 m_symbols[idx].Dump(s, target, idx);
198 (Symbol *)::bsearch(&symbol_uid, &m_symbols[0], m_symbols.size(),
199 sizeof(m_symbols[0]), CompareSymbolID);
215 return &m_symbols[idx];
425 uint32_t value = indexes[i];
427 const Symbol *symbol = &m_symbols[value];
454 if (symbol_type == eSymbolTypeAny || m_symbols[i].GetType() == symbol_type)
473 m_symbols[i].GetType() == symbol_type) &&
474 m_symbols[i].GetFlags() == flags_value)
495 m_symbols[i].GetType() == symbol_type) {
506 const Symbol *first_symbol = &m_symbols[0];
542 value_a = symbols[index_a].GetAddressRef().GetFileAddress();
548 value_b = symbols[index_b].GetAddressRef().GetFileAddress();
554 lldb::user_id_t uid_a = symbols[index_a].GetID();
555 lldb::user_id_t uid_b = symbols[index_b].GetID();
tools/lldb/source/Symbol/UnwindPlan.cpp 406 return m_row_list[idx];
tools/lldb/source/Symbol/VariableList.cpp 50 var_sp = m_variables[idx];
tools/lldb/source/Target/PathMappingList.cpp 299 path = m_pairs[idx].first;
300 new_path = m_pairs[idx].second;
tools/lldb/source/Target/Process.cpp 5760 return m_image_tokens[token];
tools/lldb/source/Target/StackFrame.cpp 1254 if (operand.m_children[0].m_type == Instruction::Operand::Type::Immediate) {
1255 immediate_child = &operand.m_children[0];
1256 variable_child = &operand.m_children[1];
1257 } else if (operand.m_children[1].m_type ==
1259 immediate_child = &operand.m_children[1];
1260 variable_child = &operand.m_children[0];
1309 return GetBaseExplainingValue(operand.m_children[0], register_context,
tools/lldb/source/Target/TargetList.cpp 587 target_sp = m_target_list[idx];
595 if (target_sp == m_target_list[idx])
tools/lldb/source/Target/Thread.cpp 1722 list[n].Dump(&s, exe_scope, Address::DumpStyleResolvedDescription,
tools/lldb/source/Utility/Args.cpp 213 command += m_entries[i].ref();
226 if (m_entries[i].quote) {
227 command += m_entries[i].quote;
228 command += m_entries[i].ref();
229 command += m_entries[i].quote;
231 command += m_entries[i].ref();
258 return m_argv[idx];
tools/lldb/source/Utility/StringList.cpp 82 return m_strings[idx].c_str();
tools/llvm-config/llvm-config.cpp 158 std::string ComponentLower = Components[i].lower();
162 llvm::errs() << "llvm-config: unknown component name: " << Components[i]
tools/llvm-exegesis/lib/Analysis.cpp 128 const InstructionBenchmark &Point = Clustering_.getPoints()[PointId];
200 for (const size_t PointId : Clusters[I].PointIndices) {
219 const InstructionBenchmark &Point = Points[PointId];
254 writeEscaped<kEscapeHtml>(OS, InstrInfo.getName(Instructions[0].getOpcode()));
303 Points[Clusters[0].getPointIds()[0]].Measurements) {
303 Points[Clusters[0].getPointIds()[0]].Measurements) {
303 Points[Clusters[0].getPointIds()[0]].Measurements) {
319 printPointHtml(Points[PointId], OS);
339 const auto &Point = Clustering.getPoints()[PointId];
352 const InstructionBenchmark::ModeE Mode = Clustering.getPoints()[0].Mode;
444 for (const auto &Measurement : Points[Cluster.PointIndices[0]].Measurements) {
444 for (const auto &Measurement : Points[Cluster.PointIndices[0]].Measurements) {
454 printPointHtml(Points[PointId], OS);
456 for (const auto &Measurement : Points[PointId].Measurements) {
537 const auto &FirstPoint = Clustering_.getPoints()[0];
tools/llvm-exegesis/lib/BenchmarkResult.h 65 const MCInst &keyInstruction() const { return Key.Instructions[0]; }
tools/llvm-exegesis/lib/Clustering.cpp 42 const auto &QMeasurements = Points_[Q].Measurements;
46 const auto &PMeasurements = Points_[P].Measurements;
64 ArrayRef<BenchmarkMeasure> Measurements = Points_[P].Measurements;
79 const auto &PMeasurements = Points_[P].Measurements;
100 const auto &Point = Points_[P];
191 const InstructionBenchmark &Point = Points_[P];
291 return OpcodeAndConfig(Points_[P]) != Key;
tools/llvm-exegesis/lib/Clustering.h 91 return ClusterIdForPoint_[P];
104 return Clusters_[Id.getId()];
115 const auto Diff = P[I].PerInstructionValue - Q[I].PerInstructionValue;
115 const auto Diff = P[I].PerInstructionValue - Q[I].PerInstructionValue;
tools/llvm-exegesis/llvm-exegesis.cpp 344 TargetRegistry::lookupTarget(Points[0].LLVMTriple, Error);
346 errs() << "unknown target '" << Points[0].LLVMTriple << "'\n";
tools/llvm-mc/Disassembler.cpp 53 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]),
66 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]),
tools/llvm-mca/CodeRegion.h 113 return Regions[Idx]->getInstructions();
tools/llvm-mca/Views/ResourcePressureView.cpp 137 double Usage = ResourceUsage[I + Source.size() * E];
162 double Usage = ResourceUsage[J + BaseEltIdx];
tools/llvm-mca/Views/SchedulerStatistics.cpp 145 const BufferUsage &BU = Usage[I];
tools/llvm-mca/Views/TimelineView.cpp 154 int BufferSize = PrintingTotals ? 0 : UsedBuffer[SourceIndex].second;
193 printWaitTimeEntry(FOS, WaitTime[IID], IID, Executions);
303 const TimelineViewEntry &Entry = Timeline[IID];
tools/llvm-objcopy/ELF/Object.cpp 772 return Symbols[Index].get();
tools/llvm-objcopy/MachO/MachOWriter.cpp 240 auto RelocInfo = Sec.Relocations[Index];
tools/llvm-objcopy/MachO/Object.cpp 10 return Symbols[Index].get();
tools/llvm-profdata/llvm-profdata.cpp 880 FuncMax = std::max(FuncMax, Func.Counts[I]);
881 FuncSum += Func.Counts[I];
914 OS << " Function count: " << Func.Counts[0] << "\n";
929 OS << (I == Start ? "" : ", ") << Func.Counts[I];
tools/llvm-rc/ResourceFileWriter.cpp 1403 auto &Item = Val.Values[Id];
tools/llvm-rc/ResourceScriptStmt.cpp 184 OS << " " << Values[Id];
tools/llvm-reduce/deltas/ReduceFunctions.cpp 31 if (ChunksToKeep[I].contains(++FunctionCount))
33 if (FunctionCount == ChunksToKeep[I].end)
tools/llvm-reduce/deltas/ReduceMetadata.cpp 33 if (ChunksToKeep[I].contains(SeenNodes.size()))
35 if (ChunksToKeep[I].end == (int)SeenNodes.size())
88 if (!ChunksToKeep[I].contains(++MetadataCount))
90 if (ChunksToKeep[I].end == (int)SeenNodes.size())
tools/sancov/sancov.cpp 1023 const SymbolizedCoverage &Coverage = *Coverages[I];
1042 Result->BinaryHash = Coverages[0]->BinaryHash;
tools/verify-uselistorder/verify-uselistorder.cpp 252 VM.Values[I]->dump();
257 const Value *V = M.Values[I];
310 const Value *L = LM.Values[I];
311 const Value *R = RM.Values[I];
unittests/ADT/IteratorTest.cpp 343 EXPECT_EQ(tup, expected[iters]);
357 EXPECT_EQ(tup, expected[iters]);
unittests/ADT/SCCIteratorTest.cpp 57 NodesInThisSCC.AddNode(SCC[i]->first);
unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp 82 auto &R = Refs[RecordIndex];
93 auto &RefList = Refs[RecordIndex];
unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp 523 EXPECT_EQ(1u, FpmStream->getStreamLayout().Blocks[0]);
538 EXPECT_EQ(2u, FpmStream->getStreamLayout().Blocks[0]);
unittests/IR/CFGBuilder.cpp 132 return Updates[UpdateIdx];
unittests/Passes/PluginsTest.cpp 32 const char *Argv0 = Argvs.size() > 0 ? Argvs[0].c_str() : "PluginsTests";
unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp 25 Argvs.size() > 0 ? Argvs[0].c_str() : "DynamicLibraryTests";
unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp 113 const auto FromDisk = FromDiskVector[0];
unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp 84 const auto &CT = CodeTemplates[0];
87 const InstructionTemplate &IT = CT.Instructions[0];
107 const auto &CT = CodeTemplates[0];
110 const InstructionTemplate &IT = CT.Instructions[0];
129 const auto &CT = CodeTemplates[0];
132 const InstructionTemplate &IT = CT.Instructions[0];
174 const InstructionTemplate &IT = CT.Instructions[0];
179 EXPECT_THAT(CT.Instructions[1].getOpcode(), Not(Opcode));
194 const InstructionTemplate &IT = CT.Instructions[0];
209 const auto &CT = CodeTemplates[0];
213 const InstructionTemplate &IT = CT.Instructions[0];
230 const auto &CT = CodeTemplates[0];
234 const InstructionTemplate &IT = CT.Instructions[0];
256 const auto &CT = CodeTemplates[0];
288 const auto &CT = CodeTemplates[0];
292 const InstructionTemplate &IT = CT.Instructions[0];
322 const auto &CT = CodeTemplates[0];
327 const InstructionTemplate &IT = CT.Instructions[0];
usr/include/c++/7.4.0/bits/regex.h 1743 ? _Base_type::operator[](__sub)
1922 { return _Base_type::operator[](_Base_type::size() - 3); }
usr/include/c++/7.4.0/bits/regex_executor.tcc 177 const auto& __state = _M_nfa[__i];
207 const auto& __state = _M_nfa[__i];
249 const auto& __state = _M_nfa[__i];
263 const auto& __state = _M_nfa[__i];
278 const auto& __state = _M_nfa[__i];
288 const auto& __state = _M_nfa[__i];
298 const auto& __state = _M_nfa[__i];
310 const auto& __state = _M_nfa[__i];
320 const auto& __state = _M_nfa[__i];
349 const auto& __state = _M_nfa[__i];
433 const auto& __state = _M_nfa[__i];
463 switch (_M_nfa[__i]._M_opcode())
usr/include/c++/7.4.0/bits/stl_vector.h 865 return (*this)[__n];
utils/TableGen/AsmMatcherEmitter.cpp 1740 if (CGA.ResultOperands[i].isRecord() &&
1741 CGA.ResultOperands[i].getName() == OperandName) {
1744 Op.SubOpIdx = CGA.ResultInstOperandIndex[i].second;
1748 Op.Class = getOperandClass(CGA.ResultOperands[i].getRecord(),
1861 int SubIdx = CGA.ResultInstOperandIndex[AliasOpNo].second;
1862 StringRef Name = CGA.ResultOperands[AliasOpNo].getName();
1875 CGA.ResultInstOperandIndex[AliasOpNo].first == i; ++AliasOpNo) {
1876 int SubIdx = CGA.ResultInstOperandIndex[AliasOpNo].second;
1880 switch (CGA.ResultOperands[AliasOpNo].Kind) {
1882 StringRef Name = CGA.ResultOperands[AliasOpNo].getName();
1899 int64_t ImmVal = CGA.ResultOperands[AliasOpNo].getImm();
1904 Record *Reg = CGA.ResultOperands[AliasOpNo].getRegister();
2750 Record *R = ToVec[i];
2758 PrintError(ToVec[AliasWithNoPredicate]->getLoc(),
2778 Record *R = ToVec[AliasWithNoPredicate];
utils/TableGen/AsmWriterEmitter.cpp 146 AWI.Operands[i]));
171 const AsmWriterInst &Inst = Instructions[i];
175 std::string Command = " "+Inst.Operands[0].getCode(PassSubtarget)+"\n";
206 const AsmWriterInst &FirstInst = Instructions[Idxs.front()];
216 const AsmWriterInst &OtherInst = Instructions[Idx];
218 OtherInst.Operands[Op] != FirstInst.Operands[Op];
218 OtherInst.Operands[Op] != FirstInst.Operands[Op];
225 FirstInst.Operands[Op].getCode(PassSubtarget) + "\n";
728 if (str != RHS.Conds[Idx++])
863 const CodeGenInstAlias::ResultOperand &RO = CGA.ResultOperands[i];
892 Record *R = CGA.ResultOperands[i].getRecord();
930 Cond = Op + ".getImm() == " + itostr(CGA.ResultOperands[i].getImm());
937 if (!CGA.ResultOperands[i].getRegister()) {
943 CGA.ResultOperands[i].getRegister()->getName().str();
utils/TableGen/AsmWriterInst.cpp 200 if (Operands[i] != Other.Operands[i]) {
200 if (Operands[i] != Other.Operands[i]) {
utils/TableGen/CodeGenDAGPatterns.cpp 1651 if (!TP.getInfer().isConcrete(Types[i], true))
2390 MadeChange |= UpdateNodeType(i, Int->IS.RetVTs[i], TP);
2404 MVT::SimpleValueType OpVT = Int->IS.ParamVTs[i];
2990 OS << "(" << Args[0];
2992 OS << ", " << Args[i];
4381 NewChildren.push_back(ChildVariants[i][Idxs[i]]);
4381 NewChildren.push_back(ChildVariants[i][Idxs[i]]);
4410 if (++Idxs[IdxsIdx] == ChildVariants[IdxsIdx].size())
4650 TreePatternNodePtr Variant = Variants[v];
utils/TableGen/CodeGenDAGPatterns.h 700 return Types[ResNo].getValueTypeByHwMode();
704 return Types[ResNo];
709 return Types[ResNo].getMachineValueType().SimpleTy;
713 return Types[ResNo].isValueTypeByHwMode(false);
716 return Types[ResNo].empty();
720 unsigned getResultIndex(unsigned ResNo) const { return ResultPerm[ResNo]; }
727 TreePatternNode *getChild(unsigned N) const { return Children[N].get(); }
729 return Children[N];
736 if (Children[i].get() == N)
918 const TreePatternNodePtr &getTree(unsigned i) const { return Trees[i]; }
922 return Trees[0];
939 return Args[i];
1038 return Results[RN];
1043 return Operands[ON];
1048 return ImpResults[RN];
1328 MadeChange |= TypeConstraints[i].ApplyTypeConstraint(N, *this, TP);
utils/TableGen/CodeGenHwModes.h 49 return Modes[Id-1];
utils/TableGen/CodeGenInstruction.cpp 166 if (OperandList[i].Name == Name) {
312 if (Op.Constraints[i] == NewConstraint)
450 Record *FirstImplicitDef = ImplicitDefs[0];
454 if (RegVTs.size() == 1 && RegVTs[0].isSimple())
455 return RegVTs[0].getSimple().SimpleTy;
utils/TableGen/CodeGenInstruction.h 129 const CGIOperandList::ConstraintInfo &CI = Constraints[j];
157 const OperandInfo &operator[](unsigned i) const { return OperandList[i]; }
189 return OperandList[Op.first].MIOperandNo + Op.second;
197 if (OperandList[i].MIOperandNo+OperandList[i].MINumOperands > Op)
197 if (OperandList[i].MIOperandNo+OperandList[i].MINumOperands > Op)
198 return std::make_pair(i, Op-OperandList[i].MIOperandNo);
207 if (OperandList[Op.first].DoNotEncode.size() > Op.second)
208 return OperandList[Op.first].DoNotEncode[Op.second];
utils/TableGen/CodeGenIntrinsics.h 186 return Intrinsics[Pos];
utils/TableGen/CodeGenMapTable.cpp 299 ListInit *CurValueCol = ValueCols[ColIdx];
333 Record *CurInstr = RelatedInstrVec[i];
455 ListInit *ColumnI = ValueCols[i];
utils/TableGen/CodeGenRegisters.cpp 483 CodeGenRegister *Cand = const_cast<CodeGenRegister*>(Leads[i]);
766 Orders[0].push_back((*Elements)[i]);
767 const CodeGenRegister *Reg = RegBank.getReg((*Elements)[i]);
1839 unsigned UnitWeight = RegUnits[SubSet.Units[0]].Weight;
1843 && UnitWeight == RegUnits[SuperSet.Units[0]].Weight
2402 const CodeGenRegister *Super = SR[j];
utils/TableGen/CodeGenRegisters.h 427 return Orders[No];
733 return RegUnitSetOrder[Order];
737 return RegUnitSets[RegUnitSetOrder[Order]];
737 return RegUnitSets[RegUnitSetOrder[Order]];
750 return RegUnitSets[Idx];
765 return RegClassUnitSets[RCIdx];
utils/TableGen/CodeGenSchedule.cpp 1071 const RecVec *OrigInstDefs = Sets.expand(RWDefs[0]);
2182 SchedModels->getSchedWrite(Writes[i]).dump();
2190 SchedModels->getSchedRead(Reads[i]).dump();
utils/TableGen/CodeGenSchedule.h 483 return ProcModels[I->second];
507 assert(SchedWrites[Idx].isValid() && "invalid SchedWrite");
508 return SchedWrites[Idx];
513 assert(SchedReads[Idx].isValid() && "invalid SchedRead");
514 return SchedReads[Idx];
542 return SchedClasses[Idx];
utils/TableGen/CodeGenTarget.cpp 820 MVT ParamType = MVT(IS.ParamVTs[ParamIdx]);
utils/TableGen/DAGISelMatcherEmitter.cpp 844 TreePredicateFn PredFn = Preds[i];
utils/TableGen/DAGISelMatcherGen.cpp 536 const TreePredicateCall &Pred = N->getPredicateCalls()[i];
568 AddMatcher(new CheckOpcodeMatcher(CGP.getSDNodeInfo(OpNodes[Variant])));
821 EmitResultOperand(DefaultOp.DefaultOps[i].get(), InstOps);
utils/TableGen/DFAPacketizerEmitter.cpp 179 LLVM_DEBUG(dbgs() << "0x" << Twine::utohexstr(InsnClass[i]));
275 std::string FuncName = FuncList[k]->getName();
312 const Record *Stage = StageList[i];
326 std::string UnitName = UnitList[j]->getName();
utils/TableGen/FastISelEmitter.cpp 213 TreePredicateFn PredFn = Op->getPredicateCalls()[0].Fn;
313 if (PR[i] != "")
355 if (PR[i] != "")
662 if (Memo.PhysRegs[i] != "")
664 << "TII.get(TargetOpcode::COPY), " << Memo.PhysRegs[i]
utils/TableGen/FixedLenDecoderEmitter.cpp 471 return ValueSet(FilterBitValues[i]);
565 Owner->insnWithID(Insn, Owner->Opcodes[i].EncodingID);
574 LastOpcFiltered = Owner->Opcodes[i];
580 VariableInstructions.push_back(Owner->Opcodes[i]);
871 OS << "// Opcode: " << NumberedEncodings[Opc] << "\n";
888 OS << "// Opcode: " << NumberedEncodings[Opc]
1014 switch (filter[bitIndex - 1]) {
1064 Val = Value(Insn[i]);
1494 insnWithID(Insn, Opcodes[i].EncodingID);
1538 insnWithID(insn, Opcodes[InsnIndex].EncodingID);
1734 emitSingletonTableEntry(TableInfo, Opcodes[0]);
1740 const Filter &Best = Filters[BestIndex];
1758 emitNameWithID(errs(), Opcodes[i].EncodingID);
1762 getBitsField(*AllInstructions[Opcodes[i].EncodingID].EncodingDef, "Inst"));
1862 if (!CGI.Operands.hasOperandNamed(Vals[i].getName(), OpIdx))
1871 if (Vals[i].getPrefix() || Vals[i].getValue()->isComplete())
1871 if (Vals[i].getPrefix() || Vals[i].getValue()->isComplete())
1884 if (Var && Var->getName() == Vals[i].getName())
1893 if (CGI.Operands.hasOperandNamed(Vals[i].getName(), OpIdx))
1909 if (Var->getName() != Vals[i].getName())
1931 << ") => " << Vals[i].getName() << "\n");
utils/TableGen/InstrInfoEmitter.cpp 176 Op.Constraints[j];
utils/TableGen/IntrinsicEmitter.cpp 426 UpdateArgCodes(Int.IS.RetTypeDefs[i], ArgCodes, NumInserted, ArgMapping);
430 UpdateArgCodes(Int.IS.ParamTypeDefs[i], ArgCodes, NumInserted, ArgMapping);
436 Int.IS.RetVTs[0] == MVT::isVoid)
452 EncodeFixedType(Int.IS.RetTypeDefs[i], ArgCodes, NextArgCode, TypeSig,
457 EncodeFixedType(Int.IS.ParamTypeDefs[i], ArgCodes, NextArgCode, TypeSig,
648 unsigned argNo = intrinsic.ArgumentAttributes[ai].first;
655 switch (intrinsic.ArgumentAttributes[ai].second) {
701 } while (ai != ae && intrinsic.ArgumentAttributes[ai].first == argNo);
utils/TableGen/OptParserEmitter.cpp 162 const Record &R = *Groups[i];
utils/TableGen/PredicateExpander.cpp 124 expandCheckOpcode(OS, Opcodes[0]);
160 return expandPredicate(OS, Sequence[0]);
utils/TableGen/RegisterInfoEmitter.cpp 163 OS << " " << RegAltNameIndices[i]->getName() << ",\t// " << i << "\n";
1545 OS << getQualifiedName((*Regs)[r]) << ", ";
utils/TableGen/SearchableTableEmitter.cpp 324 Entries.emplace_back(Table.Entries[i], i);
501 Record *Entry = Table.Entries[i];
utils/TableGen/SubtargetEmitter.cpp 457 Record *ItinData = ProcModel.ItinDefList[SchedClassIdx];
626 Record *PRDef = ProcModel.ProcResourceDefs[i];
785 Record *PRDef = ProcModel.ProcResourceDefs[i];
1007 if (CGT.ProcIndices[0] == 0 ||
1022 if (SC.ProcIndices[0] != 0) {
utils/TableGen/X86DisassemblerTables.cpp 723 << InstructionSpecifiers[*I].name << " */\n";
839 OperandEncoding Encoding = (OperandEncoding)InstructionSpecifiers[Index]
841 OperandType Type = (OperandType)InstructionSpecifiers[Index]
872 OperandEncoding Encoding = (OperandEncoding)InstructionSpecifiers[index]
874 OperandType Type = (OperandType)InstructionSpecifiers[index]
880 o.indent(i * 2) << "/* " << InstructionSpecifiers[index].name << " */\n";
utils/TableGen/X86RecognizableInstr.cpp 384 StringRef typeName = (*Operands)[operandIndex].Rec->getName();
413 if (!OperandList[operandIndex].Constraints.empty()) {
415 OperandList[operandIndex].Constraints[0];
415 OperandList[operandIndex].Constraints[0];
utils/benchmark/include/benchmark/benchmark.h 579 return range_[pos];
utils/benchmark/src/benchmark_register.cc 284 AddRange(&arglists[i], ranges[i].first, ranges[i].second,
284 AddRange(&arglists[i], ranges[i].first, ranges[i].second,
utils/benchmark/src/complexity.cc 86 double gn_i = fitting_curve(n[i]);
89 sigma_time += time[i];
90 sigma_time_gn += time[i] * gn_i;
102 double fit = result.coef * fitting_curve(n[i]);
103 rms += pow((time[i] - fit), 2);
175 if (reports[0].complexity == oLambda) {
176 result_cpu = MinimalLeastSq(n, cpu_time, reports[0].complexity_lambda);
177 result_real = MinimalLeastSq(n, real_time, reports[0].complexity_lambda);
179 result_cpu = MinimalLeastSq(n, cpu_time, reports[0].complexity);
183 reports[0].benchmark_name.substr(0, reports[0].benchmark_name.find('/'));
183 reports[0].benchmark_name.substr(0, reports[0].benchmark_name.find('/'));
199 double multiplier = GetTimeUnitMultiplier(reports[0].time_unit);
203 big_o.report_label = reports[0].report_label;
213 rms.time_unit = reports[0].time_unit;
utils/benchmark/src/json_reporter.cc 98 auto& CI = info.caches[i];
utils/benchmark/src/statistics.cc 127 CHECK_EQ(reports[0].benchmark_name, run.benchmark_name);
143 std::string report_label = reports[0].report_label;
145 if (reports[i].report_label != report_label) {
151 for(const auto& Stat : *reports[0].statistics) {
154 data.benchmark_name = reports[0].benchmark_name + "_" + Stat.name_;
163 data.time_unit = reports[0].time_unit;
utils/unittest/googlemock/include/gmock/gmock-matchers.h 3139 matchers_[0].DescribeTo(os);
3144 matchers_[i].DescribeTo(os);
3162 matchers_[i].DescribeNegationTo(os);
3190 match = matchers_[exam_pos].MatchAndExplain(*it, &s);
3193 match = matchers_[exam_pos].Matches(*it);
3276 return matched_[SpaceIndex(ilhs, irhs)] == 1;
3430 did_match.push_back(Matches(matchers_[irhs])(*elem_first));
utils/unittest/googlemock/include/gmock/gmock-spec-builders.h 1179 *static_cast<const Action<F>*>(untyped_actions_[count - 1]) :
1758 static_cast<TypedExpectation<F>*>(untyped_expectations_[i].get());
utils/unittest/googlemock/src/gmock-matchers.cc 110 return fields[0];
112 string result = "(" + fields[0];
115 result += fields[i];
403 matcher_describers_[0]->DescribeTo(os);
411 matcher_describers_[i]->DescribeTo(os);
425 matcher_describers_[0]->DescribeNegationTo(os);
433 matcher_describers_[i]->DescribeTo(os);
469 matcher_describers_[mi]->DescribeTo(listener->stream());
488 << element_printouts[ei];
utils/unittest/googletest/src/gtest-internal-inl.h 304 return (i < 0 || i >= static_cast<int>(v.size())) ? default_value : v[i];
579 return index < 0 ? NULL : test_cases_[i];
utils/unittest/googletest/src/gtest-test-part.cc 79 return array_[index];
utils/unittest/googletest/src/gtest.cc 339 sum += (case_list[i]->*method)();
405 result.Set(FilePath(GetArgvs()[0]));
1048 if (left[l_i] == right[r_i]) {
1048 if (left[l_i] == right[r_i]) {
1111 left_ids.push_back(intern_table.GetId(left[i]));
1114 right_ids.push_back(intern_table.GetId(right[i]));
1212 while (edit_i < edits.size() && edits[edit_i] == kMatch) {
1222 hunk.PushLine(' ', left[l_i - i].c_str());
1239 EditType edit = edits[edit_i];
1244 hunk.PushLine(edit == kMatch ? ' ' : '-', left[l_i].c_str());
1247 hunk.PushLine('+', right[r_i].c_str());
2136 word_list << "'" << words[i] << "'";
2274 const TestInfo* const first_test_info = test_case->test_info_list()[0];
2741 return index < 0 ? NULL : test_info_list_[index];
4875 test_case->test_info_list()[j];