|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/BreadthFirstIterator.h 125 const NodeRef &operator*() const { return VisitQueue.front()->first; }
include/llvm/DebugInfo/DWARF/DWARFFormValue.h 163 return V->getAsCString();
175 if (auto S = V->getAsCString())
198 return V->getAsUnsignedConstant();
220 return V->getAsReference();
242 return V->getAsSignedConstant();
263 return V->getAsAddress();
270 return V->getAsSectionedAddress();
291 return V->getAsSectionOffset();
313 return V->getAsBlock();
include/llvm/DebugInfo/DWARF/DWARFUnit.h 337 return StringOffsetsTableContribution->getDwarfOffsetByteSize();
342 return StringOffsetsTableContribution->Base;
include/llvm/IR/DebugInfoMetadata.h 540 StringRefChecksum.emplace(Checksum->Kind, Checksum->Value->getString());
540 StringRefChecksum.emplace(Checksum->Kind, Checksum->Value->getString());
include/llvm/IR/Function.h 348 return MA->value();
440 return MA->value();
include/llvm/IR/InstrTypes.h 1577 return MA->value();
1584 return MA->value();
include/llvm/IR/Instructions.h 114 return MA->value();
245 return MA->value();
371 return MA->value();
include/llvm/IR/ValueMap.h 126 auto Where = MDMap->find(MD);
127 if (Where == MDMap->end())
include/llvm/Testing/Support/Error.h 109 return Matcher->MatchAndExplain(static_cast<InfoT &>(Info), listener);
116 Matcher->DescribeTo(OS);
124 Matcher->DescribeNegationTo(OS);
lib/Analysis/CFLAndersAliasAnalysis.cpp 842 return &FunInfo->getAliasSummary();
874 if (FunInfo->mayAlias(ValA, LocA.Size, ValB, LocB.Size))
lib/Analysis/CFLSteensAliasAnalysis.cpp 260 return &FunInfo->getAliasSummary();
297 auto &Sets = MaybeInfo->getStratifiedSets();
lib/Analysis/ValueTracking.cpp 1726 Known.Zero.setLowBits(countTrailingZeros(Align->value()));
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 1911 getConstant(MA->value() - 1, dl, VAList.getValueType()));
1915 getConstant(-(int64_t)MA->value(), dl, VAList.getValueType()));
lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp 213 return FixedAttributeSize->getByteSize(U);
lib/DebugInfo/DWARF/DWARFContext.cpp 114 return L->Base < R->Base;
114 return L->Base < R->Base;
126 return L->Base == R->Base && L->Size == R->Size;
126 return L->Base == R->Base && L->Size == R->Size;
126 return L->Base == R->Base && L->Size == R->Size;
126 return L->Base == R->Base && L->Size == R->Size;
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp 269 Instr.Expression->print(OS, MRI, nullptr, IsEH);
lib/DebugInfo/GSYM/FunctionInfo.cpp 114 llvm::Error err = OptLineTable->encode(O, Range.Start);
132 llvm::Error err = Inline->encode(O, Range.Start);
lib/DebugInfo/PDB/Native/NativeTypeEnum.cpp 182 Session.getSymbolCache().findSymbolByTypeIndex(Record->getUnderlyingType());
184 codeview::TypeIndex Underlying = Record->getUnderlyingType();
258 return bool(Record->getOptions() &
266 return bool(Record->getOptions() &
274 return bool(Record->getOptions() &
282 return bool(Record->getOptions() & codeview::ClassOptions::Intrinsic);
289 return bool(Record->getOptions() &
298 Record->getUnderlyingType());
308 return Record->getName();
315 return bool(Record->getOptions() & codeview::ClassOptions::Nested);
322 return bool(Record->getOptions() &
330 return bool(Record->getOptions() & codeview::ClassOptions::Packed);
337 return bool(Record->getOptions() & codeview::ClassOptions::Scoped);
345 Record->getUnderlyingType());
357 return ((Modifiers->getModifiers() & ModifierOptions::Const) !=
364 return ((Modifiers->getModifiers() & ModifierOptions::Volatile) !=
371 return ((Modifiers->getModifiers() & ModifierOptions::Unaligned) !=
lib/DebugInfo/PDB/Native/NativeTypePointer.cpp 74 const MemberPointerInfo &MPI = Record->getMemberInfo();
80 return Record->getSize();
102 TypeIndex Referent = Record ? Record->ReferentType : TI.makeDirect();
110 return Record->getMode() == PointerMode::LValueReference;
116 return Record->getMode() == PointerMode::RValueReference;
122 return Record->getMode() == PointerMode::PointerToDataMember;
128 return Record->getMode() == PointerMode::PointerToMemberFunction;
134 return (Record->getOptions() & PointerOptions::Const) != PointerOptions::None;
140 return (Record->getOptions() & PointerOptions::Restrict) !=
147 return (Record->getOptions() & PointerOptions::Volatile) !=
154 return (Record->getOptions() & PointerOptions::Unaligned) !=
168 Record->getMemberInfo(),
177 Record->getMemberInfo(),
186 Record->getMemberInfo(),
lib/DebugInfo/PDB/Native/NativeTypeUDT.cpp 94 return Session.getSymbolCache().findSymbolByTypeIndex(Class->VTableShape);
104 return Class->getSize();
106 return Union->getSize();
138 return (Modifiers->Modifiers & ModifierOptions::Const) !=
211 return (Modifiers->Modifiers & ModifierOptions::Unaligned) !=
218 return (Modifiers->Modifiers & ModifierOptions::Volatile) !=
lib/IR/LLVMContextImpl.h 603 Filename, Directory, Checksum ? Checksum->Kind : 0,
604 Checksum ? Checksum->Value : nullptr, Source.getValueOr(nullptr));
lib/ObjectYAML/COFFEmitter.cpp 465 OS << binary_le(DD->RelativeVirtualAddress);
466 OS << binary_le(DD->Size);
539 OS << binary_le(i->FunctionDefinition->TagIndex)
540 << binary_le(i->FunctionDefinition->TotalSize)
541 << binary_le(i->FunctionDefinition->PointerToLinenumber)
542 << binary_le(i->FunctionDefinition->PointerToNextFunction)
543 << zeros(i->FunctionDefinition->unused);
547 OS << zeros(i->bfAndefSymbol->unused1)
548 << binary_le(i->bfAndefSymbol->Linenumber)
549 << zeros(i->bfAndefSymbol->unused2)
550 << binary_le(i->bfAndefSymbol->PointerToNextFunction)
551 << zeros(i->bfAndefSymbol->unused3);
555 OS << binary_le(i->WeakExternal->TagIndex)
556 << binary_le(i->WeakExternal->Characteristics)
557 << zeros(i->WeakExternal->unused);
570 OS << binary_le(i->SectionDefinition->Length)
571 << binary_le(i->SectionDefinition->NumberOfRelocations)
572 << binary_le(i->SectionDefinition->NumberOfLinenumbers)
573 << binary_le(i->SectionDefinition->CheckSum)
574 << binary_le(static_cast<int16_t>(i->SectionDefinition->Number))
575 << binary_le(i->SectionDefinition->Selection)
576 << zeros(i->SectionDefinition->unused)
577 << binary_le(static_cast<int16_t>(i->SectionDefinition->Number >> 16));
581 OS << binary_le(i->CLRToken->AuxType) << zeros(i->CLRToken->unused1)
581 OS << binary_le(i->CLRToken->AuxType) << zeros(i->CLRToken->unused1)
582 << binary_le(i->CLRToken->SymbolTableIndex)
583 << zeros(i->CLRToken->unused2);
lib/ObjectYAML/ELFEmitter.cpp 478 Content->writeAsBinary(OS);
479 ContentSize = Content->binary_size();
860 support::endian::write<uint32_t>(OS, Section.Bucket->size(),
862 support::endian::write<uint32_t>(OS, Section.Chain->size(),
869 SHeader.sh_size = (2 + Section.Bucket->size() + Section.Chain->size()) * 4;
869 SHeader.sh_size = (2 + Section.Bucket->size() + Section.Chain->size()) * 4;
1003 SHeader.sh_size = Section.Content->binary_size();
1018 Section.Content->writeAsBinary(OS);
lib/ObjectYAML/ELFYAML.cpp 1212 (uint64_t)(*RawSection->Size) < RawSection->Content->binary_size())
1222 (uint64_t)(*SS->Size) < SS->Content->binary_size())
1244 (uint64_t)*HS->Size < HS->Content->binary_size())
1266 (uint64_t)*Sec->Size < Sec->Content->binary_size())
1294 (uint64_t)*NS->Size < NS->Content->binary_size())
lib/Remarks/BitstreamRemarkSerializer.cpp 283 R.push_back(StrTab.add(Loc->SourceFilePath).first);
284 R.push_back(Loc->SourceLine);
285 R.push_back(Loc->SourceColumn);
306 R.push_back(StrTab.add(Arg.Loc->SourceFilePath).first);
307 R.push_back(Arg.Loc->SourceLine);
308 R.push_back(Arg.Loc->SourceColumn);
lib/Remarks/RemarkParser.cpp 123 const char *getMessage() const { return Err ? Err->c_str() : nullptr; };
lib/Support/VirtualFileSystem.cpp 272 sys::fs::make_absolute(WD->Resolved, Storage);
309 return WD->Specified.str();
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp 3083 unsigned ElementWidth = KindRes->second;
3174 unsigned ElementWidth = KindRes->second;
5682 unsigned ElementWidth = KindRes->second;
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp 1079 if (A->IsRegister) {
1081 if (parseNamedRegisterReference(PFS, Reg, A->RegisterName.Value, Error)) {
1082 SourceRange = A->RegisterName.SourceRange;
1086 return diagnoseRegisterClass(A->RegisterName);
1089 Arg = ArgDescriptor::createStack(A->StackOffset);
1091 if (A->Mask)
1092 Arg = ArgDescriptor::createArg(Arg, A->Mask.getValue());
1100 (parseAndCheckArgument(YamlMFI.ArgInfo->PrivateSegmentBuffer,
1103 parseAndCheckArgument(YamlMFI.ArgInfo->DispatchPtr,
1106 parseAndCheckArgument(YamlMFI.ArgInfo->QueuePtr, AMDGPU::SReg_64RegClass,
1108 parseAndCheckArgument(YamlMFI.ArgInfo->KernargSegmentPtr,
1111 parseAndCheckArgument(YamlMFI.ArgInfo->DispatchID,
1114 parseAndCheckArgument(YamlMFI.ArgInfo->FlatScratchInit,
1117 parseAndCheckArgument(YamlMFI.ArgInfo->PrivateSegmentSize,
1120 parseAndCheckArgument(YamlMFI.ArgInfo->WorkGroupIDX,
1123 parseAndCheckArgument(YamlMFI.ArgInfo->WorkGroupIDY,
1126 parseAndCheckArgument(YamlMFI.ArgInfo->WorkGroupIDZ,
1129 parseAndCheckArgument(YamlMFI.ArgInfo->WorkGroupInfo,
1132 parseAndCheckArgument(YamlMFI.ArgInfo->PrivateSegmentWaveByteOffset,
1135 parseAndCheckArgument(YamlMFI.ArgInfo->ImplicitArgPtr,
1138 parseAndCheckArgument(YamlMFI.ArgInfo->ImplicitBufferPtr,
1141 parseAndCheckArgument(YamlMFI.ArgInfo->WorkItemIDX,
1144 parseAndCheckArgument(YamlMFI.ArgInfo->WorkItemIDY,
1147 parseAndCheckArgument(YamlMFI.ArgInfo->WorkItemIDZ,
lib/Transforms/IPO/Attributor.cpp 2761 T.takeKnownMaximum(PA ? PA->value() : 0);
lib/Transforms/Utils/Local.cpp 2703 if (!A->Provider || A->Provider != B->Provider)
2703 if (!A->Provider || A->Provider != B->Provider)
2703 if (!A->Provider || A->Provider != B->Provider)
2706 Result = BitPart(A->Provider, BitWidth);
2707 for (unsigned i = 0; i < A->Provenance.size(); ++i) {
2708 if (A->Provenance[i] != BitPart::Unset &&
2709 B->Provenance[i] != BitPart::Unset &&
2710 A->Provenance[i] != B->Provenance[i])
2710 A->Provenance[i] != B->Provenance[i])
2713 if (A->Provenance[i] == BitPart::Unset)
2714 Result->Provenance[i] = B->Provenance[i];
2716 Result->Provenance[i] = A->Provenance[i];
2782 Result = BitPart(Res->Provider, BitWidth);
2786 Result->Provenance[i] = Res->Provenance[i];
lib/Transforms/Vectorize/LoopVectorize.cpp 5784 Alignment ? Alignment->value() : 0, AS);
5826 Alignment ? Alignment->value() : 0);
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp 311 Options.CheckProfiling->Records = std::move(TimeByBucket);
tools/clang/lib/Driver/ToolChains/Darwin.cpp 1534 Version = SDKInfo->getVersion().getAsString();
tools/clang/lib/Frontend/ASTUnit.cpp 2521 if (SourceMgr->isInFileID(Loc, PreambleID, &Offs) && Offs < Preamble->getBounds().Size) {
2543 Offs < Preamble->getBounds().Size) {
tools/clang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp 901 (TruthVal->getValue() != 0)))) {
2006 return State->get<IteratorRegionMap>(LCVal->getRegion());
2019 return State->set<IteratorRegionMap>(LCVal->getRegion(), Pos);
2031 return State->remove<IteratorRegionMap>(LCVal->getRegion());
2088 if (LCVal->getRegion() == Reg)
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 178 return LLCV->getRegion() == RLCV->getRegion() &&
178 return LLCV->getRegion() == RLCV->getRegion() &&
179 LLCV->getStore() == LeftNode->getState()->getStore() &&
180 RLCV->getStore() == RightNode->getState()->getStore();
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 1762 if (SymbolRef parentSym = V->getAsSymbol())
1765 if (V->isUnknownOrUndef())
1972 if (SymbolRef parentSym = V->getAsSymbol())
tools/clang/lib/Tooling/Core/Replacement.cpp 183 Message += "\nNew replacement: " + NewReplacement->toString();
185 Message += "\nExisting replacement: " + ExistingReplacement->toString();
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp 277 RE.getExistingReplacement()->getReplacementText().size();
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp 123 Dest->insert(Dest->end(), Src->begin(), Src->end());
123 Dest->insert(Dest->end(), Src->begin(), Src->end());
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp 473 ClangdServerOpts.WorkspaceRoot = Params.rootUri->file();
474 else if (Params.rootPath && !Params.rootPath->empty())
682 auto Code = DraftMgr.getDraft(Params.tweakArgs->file.file());
689 File = Params.tweakArgs->file, Code = std::move(*Code)](
719 Server->applyTweak(Params.tweakArgs->file.file(),
720 Params.tweakArgs->selection, Params.tweakArgs->tweakID,
720 Params.tweakArgs->selection, Params.tweakArgs->tweakID,
tools/clang/tools/extra/clangd/DraftStore.cpp 61 const Position &Start = Change.range->start;
67 const Position &End = Change.range->end;
tools/clang/tools/extra/clangd/IncludeFixer.cpp 110 LastUnresolvedName->Loc == Info.getLocation())
tools/clang/tools/extra/clangd/Protocol.cpp 855 llvm::json::Array({PI.labelOffsets->first, PI.labelOffsets->second});
855 llvm::json::Array({PI.labelOffsets->first, PI.labelOffsets->second});
tools/clang/tools/extra/clangd/TUScheduler.cpp 879 if (!PreambleTasks->wait(D))
tools/clang/tools/extra/clangd/XRefs.cpp 1275 else if (NamespaceScope->empty())
tools/clang/tools/extra/clangd/refactor/tweaks/DumpAST.cpp 44 return llvm::formatv("Dump {0} AST", Node->getNodeKind().asStringRef());
tools/clang/tools/extra/clangd/unittests/IndexActionTests.cpp 50 EXPECT_THAT(Paths.size(), IndexFile.Sources->size());
53 const auto &Node = IndexFile.Sources->lookup(URI);
55 EXPECT_EQ(Node.URI.data(), IndexFile.Sources->find(URI)->getKeyData());
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp 129 if (Def && arg.Definition->range != *Def) {
tools/clang/unittests/Tooling/ASTSelectionTest.cpp 542 EXPECT_EQ(Node->Children.size(), 1u);
544 Node->Children[0], SourceSelectionKind::ContainsSelection,
tools/clang/unittests/Tooling/RefactoringTest.cpp 126 << RE.getExistingReplacement()->toString() << "\n";
133 OS << "Actual new replacement: " << RE.getNewReplacement()->toString()
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 754 if (ModifierMappings->size() <= static_cast<unsigned>(Idx))
757 std::to_string(ModifierMappings->size()) +
tools/lldb/source/API/SBExpressionOptions.cpp 104 return m_opaque_up->GetTimeout() ? m_opaque_up->GetTimeout()->count() : 0;
120 ? m_opaque_up->GetOneThreadTimeout()->count()
tools/lldb/source/Core/Communication.cpp 135 if (cached_bytes > 0 || (timeout && timeout->count() == 0)) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp 428 cci.m_compile_opts ? TranslateLanguage(cci.m_compile_opts->getLanguage())
432 if (cci.m_compile_opts && cci.m_compile_opts->hasOptimizations())
tools/llvm-objcopy/ELF/ELFConfig.cpp 116 Config.NewSymbolVisibility->str().c_str());
tools/llvm-objcopy/ELF/ELFObjcopy.cpp 721 for (const NewSymbolInfo &SI : Config.ELF->SymbolsToAdd) {
757 Config.ELF->NewSymbolVisibility.getValueOr((uint8_t)ELF::STV_DEFAULT);
tools/llvm-opt-report/OptReport.cpp 214 StringRef File = Loc->SourceFilePath;
215 unsigned Line = Loc->SourceLine;
216 unsigned Column = Loc->SourceColumn;
tools/llvm-pdbutil/DumpOutputStyle.cpp 440 HeaderScope->P.formatLine(
442 fmt_align(Modi, AlignStyle::Right, HeaderScope->LabelWidth), SG.name());
tools/llvm-pdbutil/LinePrinter.h 120 L = &Scope->P;
121 Amount = Scope->IndentLevel;
unittests/DebugInfo/DWARF/DwarfGenerator.cpp 292 Asm.emitInt64(Prologue->TotalLength);
294 Asm.emitInt32(Prologue->TotalLength);
296 Asm.emitInt16(Prologue->getVersion());
298 Asm.emitInt8(Prologue->getAddressSize());
299 Asm.emitInt8(Prologue->SegSelectorSize);
302 Asm.emitInt64(Prologue->PrologueLength);
304 Asm.emitInt32(Prologue->PrologueLength);
unittests/TextAPI/ELFYAMLTest.cpp 101 EXPECT_STREQ(SymFoo.Warning->c_str(), "Deprecated!");
118 EXPECT_STREQ(SymNot.Warning->c_str(), "All fields populated!");
utils/TableGen/GlobalISelEmitter.cpp 4168 assert(SrcRCDstRCPair->second && "Couldn't find a matching subclass");
4170 InsertPt, DstMIBuilder.getInsnID(), 0, *SrcRCDstRCPair->second);
4172 InsertPt, DstMIBuilder.getInsnID(), 1, *SrcRCDstRCPair->first);
4260 assert(SrcRCDstRCPair->second && "Couldn't find a matching subclass");
4261 if (SrcRCDstRCPair->first != RC)
4745 assert(SrcRCDstRCPair->second && "Couldn't find a matching subclass");
4746 M.addAction<ConstrainOperandToRegClassAction>(0, 0, *SrcRCDstRCPair->second);
4747 M.addAction<ConstrainOperandToRegClassAction>(0, 1, *SrcRCDstRCPair->first);