|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/Optional.h 284 return *X == *Y;
284 return *X == *Y;
296 return *X < *Y;
296 return *X < *Y;
368 return X && *X == Y;
372 return Y && X == *Y;
384 return !X || *X < Y;
388 return Y && X < *Y;
421 OS << *O;
include/llvm/Analysis/LazyCallGraph.h 360 return const_cast<EdgeSequence &>(*Edges);
include/llvm/Analysis/ModuleSummaryAnalysis.h 64 const ModuleSummaryIndex &getIndex() const { return *Index; }
include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h 253 if (BytesUsed >= *MaxLength)
255 return *MaxLength - BytesUsed;
include/llvm/DebugInfo/CodeView/TypeRecord.h 323 MemberPointerInfo getMemberInfo() const { return *MemberInfo; }
include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h 508 const Entry &operator*() const { return *CurrentEntry; }
include/llvm/DebugInfo/PDB/Native/NativeTypeEnum.h 62 const codeview::EnumRecord &getEnumRecord() const { return *Record; }
include/llvm/IR/DataLayout.h 270 return *StackNaturalAlign;
include/llvm/IR/DebugInfoMetadata.h 544 return Source ? Optional<StringRef>((*Source)->getString()) : None;
include/llvm/IR/RemarkStreamer.h 45 return Filename ? Optional<StringRef>(*Filename) : None;
include/llvm/Support/BinaryStreamRef.h 53 return *Length;
include/llvm/Support/JSON.h 632 return Opt ? Value(*Opt) : Value(nullptr);
lib/Analysis/Loads.cpp 32 return *PA;
lib/Analysis/LoopCacheAnalysis.cpp 537 R->hasTemporalReuse(Representative, *TRT, *InnerMostLoop, DI, AA);
lib/Analysis/MemorySSA.cpp 712 return !N.hasValue() || *N == *O.N;
712 return !N.hasValue() || *N == *O.N;
716 T &curNode() const { return W->Paths[*N]; }
lib/Bitcode/Writer/BitcodeWriter.cpp 1569 Record.push_back(*DWARFAddressSpace + 1);
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 180 if (*GVAlign > Alignment || GV->hasSection())
181 Alignment = *GVAlign;
lib/CodeGen/LiveDebugValues.cpp 554 HV = DenseMapInfo<FragmentInfo>::getHashValue(*Fragment);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 1909 if (MA && *MA > TLI.getMinStackArgumentAlignment()) {
lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp 31 Off = *Other.Offset - *Offset;
31 Off = *Other.Offset - *Offset;
105 (*NumBytes0 <= PtrDiff) ||
109 (PtrDiff + *NumBytes1 <= 0)); // i.e. *NumBytes1 < -PtrDiff.
lib/CodeGen/TargetLoweringObjectFileImpl.cpp 664 Name += *OptionalPrefix;
1742 Name += *OptionalPrefix;
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp 303 OS << format(" Personality Address: %016" PRIx64 "\n", *Personality);
322 OS << format(" LSDA Address: %016" PRIx64 "\n", *LSDAAddress);
lib/DebugInfo/Symbolize/DIPrinter.cpp 129 OS << *Local.FrameOffset << ' ';
133 OS << *Local.Size << ' ';
137 OS << *Local.TagOffset << '\n';
lib/IR/AsmWriter.cpp 1861 Printer.printInt("dwarfAddressSpace", *DWARFAddressSpace,
lib/IR/Attributes.cpp 62 *NumElemsArg != AllocSizeNumElemsNotPresent) &&
174 assert(!(ElemSizeArg == 0 && NumElemsArg && *NumElemsArg == 0) &&
lib/IR/DiagnosticInfo.cpp 228 DP << " (hotness: " << *Hotness << ")";
lib/LTO/LTO.cpp 128 AddUnsigned(*Conf.RelocModel);
132 AddUnsigned(*Conf.CodeModel);
lib/MC/MCDwarf.cpp 364 const MD5::MD5Result &Cksum = *DwarfFile.Checksum;
lib/ObjectYAML/COFFEmitter.cpp 515 SymbolTableIndex = *R.SymbolTableIndex;
lib/ObjectYAML/ELFEmitter.cpp 485 OS.write_zeros(*Size - ContentSize);
486 return *Size;
504 Symbol.st_name = *Sym.NameIndex;
512 Symbol.st_shndx = *Sym.Index;
515 Symbol.st_other = Sym.Other ? *Sym.Other : 0;
716 SHeader.sh_entsize = *Section.EntSize;
723 SHeader.sh_info = *Section.Info;
753 unsigned SymIdx = Rel.Symbol ? toSymbolIndex(*Rel.Symbol, Section.Name,
783 SHeader.sh_entsize = Shndx.EntSize ? (uint64_t)*Shndx.EntSize : 4;
821 SHeader.sh_entsize = Section.EntSize ? (uint64_t)*Section.EntSize : 2;
838 for (const ELFYAML::StackSizeEntry &E : *Section.Entries) {
864 for (uint32_t Val : *Section.Bucket)
866 for (uint32_t Val : *Section.Chain)
1007 SHeader.sh_entsize = *Section.EntSize;
1037 for (const ELFYAML::AddrsigSymbol &Sym : *Section.Symbols) {
1039 Sym.Name ? toSymbolIndex(*Sym.Name, Section.Name, /*IsDynamic=*/false)
1040 : (uint32_t)*Sym.Index;
1058 for (const ELFYAML::NoteEntry &NE : *Section.Notes) {
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())
1278 for (const ELFYAML::AddrsigSymbol &AS : *Sec->Symbols)
1294 (uint64_t)*NS->Size < NS->Content->binary_size())
lib/Remarks/BitstreamRemarkParser.cpp 574 if (Expected<StringRef> Key = (*StrTab)[*Arg.KeyIdx])
579 if (Expected<StringRef> Value = (*StrTab)[*Arg.ValueIdx])
586 (*StrTab)[*Arg.SourceFileNameIdx]) {
589 R.Args.back().Loc->SourceLine = *Arg.SourceLine;
590 R.Args.back().Loc->SourceColumn = *Arg.SourceColumn;
lib/Remarks/Remark.cpp 65 return wrap(&*Loc);
96 return wrap(&*Loc);
102 return *Hotness;
lib/Support/FileCheck.cpp 639 Context->LineVariable->setValue(*LineNumber);
lib/Support/GlobPattern.cpp 145 return S == *Exact;
147 return S.startswith(*Prefix);
149 return S.endswith(*Suffix);
lib/Support/Unix/Program.inc 216 RedirectsStorage[I] = *Redirects[I];
228 if (!Redirects[1] || !Redirects[2] || *Redirects[1] != *Redirects[2]) {
228 if (!Redirects[1] || !Redirects[2] || *Redirects[1] != *Redirects[2]) {
288 if (Redirects[1] && Redirects[2] && *Redirects[1] == *Redirects[2]) {
288 if (Redirects[1] && Redirects[2] && *Redirects[1] == *Redirects[2]) {
lib/Support/raw_ostream.cpp 416 uint64_t MaxOffset = *FB.FirstByteOffset + Lines * FB.NumPerLine;
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp 3414 std::tie(NumElements, ElementWidth) = *VK;
lib/Target/Mips/MipsTargetStreamer.h 183 return *ABI;
lib/Transforms/InstCombine/InstCombineCalls.cpp 1721 Intrinsic::getDeclaration(II->getModule(), *Action.IID, Tys), Args);
1726 return BinaryOperator::Create(*Action.BinaryOp, II->getArgOperand(0),
1731 return CastInst::Create(*Action.CastOp, II->getArgOperand(0), II->getType(),
1738 switch (*Action.Special) {
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 1363 StoreAlign ? *StoreAlign : Align(DL.getABITypeAlignment(Val->getType()));
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp 746 if (!TTI->isLegalNTStore(VecTy, *Alignment)) {
763 if (!TTI->isLegalNTLoad(VecTy, *Alignment)) {
tools/clang/include/clang/Sema/Sema.h10831 *Diag.ImmediateDiag << Value;
10833 Diag.S.DeviceDeferredDiags[Diag.Fn][*Diag.PartialDiagId].second
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h 52 return *Val;
tools/clang/include/clang/Tooling/Refactoring/RefactoringOptions.h 49 return *OptionalRefactoringOption<T>::Value;
tools/clang/lib/AST/ExprConstant.cpp 6151 Output.push_back(*Bytes[I.getQuantity()]);
tools/clang/lib/AST/ExprObjC.cpp 86 Expansions[I].NumExpansionsPlusOne = *VK[I].NumExpansions + 1;
tools/clang/lib/AST/Interp/ByteCodeExprGen.cpp 178 return DiscardResult ? this->emitPop(*T, BO) : true;
tools/clang/lib/AST/OSLog.cpp 145 CharUnits Size = Ctx.getTypeSizeInChars((*Data.FieldWidth)->getType());
146 Layout.Items.emplace_back(OSLogBufferItem::ScalarKind, *Data.FieldWidth,
150 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Precision)->getType());
151 Layout.Items.emplace_back(OSLogBufferItem::ScalarKind, *Data.Precision,
156 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Count)->getType());
157 Layout.Items.emplace_back(OSLogBufferItem::CountKind, *Data.Count, Size,
161 Layout.Items.emplace_back(Ctx, CharUnits::fromQuantity(*Data.Size),
165 if (*Data.Kind == OSLogBufferItem::ErrnoKind)
169 Layout.Items.emplace_back(*Data.Kind, Data.E, Size, Data.Flags);
tools/clang/lib/Basic/Module.cpp 504 OS << " size " << *U.Size;
506 OS << " mtime " << *U.ModTime;
tools/clang/lib/CodeGen/BackendUtil.cpp 1209 MPM.addPass(GCOVProfilerPass(*Options));
1214 MPM.addPass(InstrProfiling(*Options, false));
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 67 const CapturedStmt *CS = S.getCapturedStmt(*CapturedRegion);
tools/clang/lib/CodeGen/CoverageMappingGen.cpp 71 return *LocStart;
83 return *LocEnd;
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp 242 loadExternalAST(*LookupName, CrossTUDir, IndexName, DisplayCTUProgress);
298 if (const T *ResultDecl = findDefInDeclContext<T>(TU, *LookupName))
tools/clang/lib/Frontend/PrecompiledPreamble.cpp 595 return *FilePath;
tools/clang/lib/Lex/ModuleMap.cpp 184 (Header.Size && (*File)->getSize() != *Header.Size) ||
185 (Header.ModTime && (*File)->getModificationTime() != *Header.ModTime))
tools/clang/lib/StaticAnalyzer/Checkers/EnumCastOutOfRangeChecker.cpp 133 DeclValues, ConstraintBasedEQEvaluator(C, *ValueToCast));
tools/clang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp 914 StateTrue = StateTrue->assume(*ConditionVal, true);
919 StateFalse = StateFalse->assume(*ConditionVal, false);
1576 nonloc::SymbolVal(Pos.getOffset()), *IntDist,
2279 return SVB.evalBinOpNN(State, BO_Add, *DiffInt, nonloc::SymbolVal(NewSym),
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 1676 return *V;
1766 return *V;
1783 return *V;
1966 return *V;
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp 179 Type = *GivenType;
185 if (*GivenStd != LangStandard::lang_unspecified)
186 Std = *GivenStd;
214 ? types::lookupHeaderTypeForSourceType(*Type)
215 : *Type;
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp 176 CheckFilter = std::make_unique<CachedGlobList>(*getOptions().Checks);
178 std::make_unique<CachedGlobList>(*getOptions().WarningsAsErrors);
536 if (!*Context.getOptions().SystemHeaders &&
567 std::make_unique<llvm::Regex>(*Context.getOptions().HeaderFilterRegex);
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp 132 Dest = (Dest && !Dest->empty() ? *Dest + "," : "") + *Src;
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp 463 for (OffsetEncoding Supported : *Params.capabilities.offsetEncoding)
472 if (Params.rootUri && *Params.rootUri)
475 ClangdServerOpts.WorkspaceRoot = *Params.rootPath;
513 SupportedSymbolKinds |= *Params.capabilities.WorkspaceSymbolKinds;
515 SupportedCompletionItemKinds |= *Params.capabilities.CompletionItemKinds;
679 ApplyEdit(*Params.workspaceEdit, "Fix applied.", std::move(Reply));
892 Cmd = *Action.command;
895 Cmd.workspaceEdit = *Action.edit;
900 if (Action.kind && *Action.kind == CodeAction::QUICKFIX_KIND)
tools/clang/tools/extra/clangd/CodeComplete.cpp 858 IndexRequest.IDs.insert(*S.IDForDoc);
1843 LSP.additionalTextEdits.push_back(*InsertInclude->Insertion);
tools/clang/tools/extra/clangd/Diagnostics.cpp 361 URIForFile::canonicalize(*Note.AbsFile, File.file());
tools/clang/tools/extra/clangd/DraftStore.cpp 89 if (Change.rangeLength && ComputedRangeLength != *Change.rangeLength)
93 *Change.rangeLength, ComputedRangeLength),
tools/clang/tools/extra/clangd/GlobalCompilationDatabase.cpp 170 Entry = &getCDBInDirLocked(*CompileCommandsDir);
210 assert(*CompileCommandsDir == Result.PI.SourceRoot &&
tools/clang/tools/extra/clangd/IncludeFixer.cpp 386 auto &Unresolved = *LastUnresolvedName;
tools/clang/tools/extra/clangd/Protocol.cpp 463 Diag["category"] = *D.category;
471 Diag["relatedInformation"] = *D.relatedInformation;
606 Cmd["arguments"] = {*C.workspaceEdit};
608 Cmd["arguments"] = {*C.tweakArgs};
619 CodeAction["kind"] = *CA.kind;
621 CodeAction["diagnostics"] = llvm::json::Array(*CA.diagnostics);
623 CodeAction["edit"] = *CA.edit;
625 CodeAction["command"] = *CA.command;
653 for (auto &Change : *WE.changes)
756 Result["range"] = toJSON(*H.range);
824 Result["textEdit"] = *CI.textEdit;
tools/clang/tools/extra/clangd/Quality.cpp 442 S.SymbolScope ? *S.SymbolScope : "<None>");
tools/clang/tools/extra/clangd/XRefs.cpp 1031 OS << " def=" << *S.Definition;
1278 Output.appendInlineCode(llvm::StringRef(*NamespaceScope).drop_back(2));
1297 Output.push_back(*P.Type);
1299 Output.push_back(*P.Name);
1302 OS << " = " << *P.Default;
tools/clang/tools/extra/clangd/index/MemIndex.cpp 36 Req.Limit ? *Req.Limit : std::numeric_limits<size_t>::max());
tools/clang/tools/extra/clangd/index/dex/Dex.cpp 207 Root = Corpus.limit(move(Root), *Req.Limit * 100);
218 Req.Limit ? *Req.Limit : std::numeric_limits<size_t>::max(), Compare);
228 (*Score) * SymbolQuality[SymbolDocID] * IDAndScore.second;
tools/clang/tools/extra/clangd/unittests/FuzzyMatchTests.cpp 29 return !Annotated || ActualAnnotated == *Annotated;
36 OS << "' as " << *M.Annotated;
55 *OS << " with score " << *Score;
68 (!Score || ::testing::Value(*Result, ::testing::FloatEq(*Score)));
tools/clang/tools/extra/clangd/unittests/Matchers.h 175 return MatchPrintAndExplain(*optional, matcher_, listener);
tools/clang/unittests/Tooling/TransformerTest.cpp 67 auto Actual = *MaybeActual;
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 759 return (*ModifierMappings)[Idx];
tools/dsymutil/CompileUnit.h 111 return &const_cast<BasicDIEUnit &>(*NewUnit).getUnitDie();
tools/dsymutil/DebugMap.cpp 70 OS << format("\t%016" PRIx64, uint64_t(*Sym.second.ObjectAddress));
tools/dsymutil/DwarfLinker.cpp 394 Context.Ranges[*Mapping.ObjectAddress] = DebugMapObjectRange(
395 *Mapping.ObjectAddress + Mapping.Size,
396 int64_t(Mapping.BinaryAddress) - *Mapping.ObjectAddress);
583 ? uint64_t(*Mapping.ObjectAddress)
2511 sys::path::append(Path, *Options.ResourceDir, "Swift", Architecture);
tools/lld/ELF/LinkerScript.cpp 1122 PhdrEntry *phdr = make<PhdrEntry>(cmd.type, cmd.flags ? *cmd.flags : PF_R);
tools/lld/ELF/ScriptParser.cpp 1279 return [=] { return *val; };
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];
1011 if (!f || !f->mipsGotIndex.hasValue() || *f->mipsGotIndex == 0)
1013 return getVA() + gots[*f->mipsGotIndex].startIndex * config->wordsize +
tools/lldb/include/lldb/Utility/Predicate.h 129 if (m_condition.wait_for(lock, *timeout, RealCond))
tools/lldb/include/lldb/Utility/Timeout.h 45 : Base(other ? Base(Dur<Ratio>(*other)) : llvm::None) {}
65 format_provider<Dur>::format(*timeout, OS, Options);
tools/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp 566 select_helper.SetTimeout(*timeout);
tools/lldb/source/Interpreter/CommandInterpreter.cpp 183 return *m_quit_exit_code;
tools/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp 404 OS << llvm::formatv("{0:x-} ", *R.Size);
tools/lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp 54 *socket_namespace);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 2820 timeout_sec = std::ceil(std::chrono::duration<double>(*timeout).count());
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h 275 return ref ? GetUID(*ref) : LLDB_INVALID_UID;
tools/lldb/source/Target/Process.cpp 4533 return options.GetOneThreadTimeout() ? *options.GetOneThreadTimeout()
4539 return *options.GetOneThreadTimeout();
4544 *options.GetTimeout() / 2);
4561 return *options.GetTimeout() - GetOneThreadExpressionTimeout(options);
4692 *options.GetTimeout() < *options.GetOneThreadTimeout()) {
4692 *options.GetTimeout() < *options.GetOneThreadTimeout()) {
tools/lldb/source/Utility/Listener.cpp 366 result = m_events_condition.wait_for(lock, *timeout);
tools/lldb/source/Utility/Reproducer.cpp 69 return &(*m_generator);
76 return &(*m_loader);
tools/llvm-lipo/llvm-lipo.cpp 446 Triple(*IF.ArchType).getArchName()))
451 reportError("specified architecture: " + *IF.ArchType +
tools/llvm-objcopy/ELF/ELFConfig.cpp 106 StringSwitch<uint8_t>(*Config.NewSymbolVisibility)
tools/llvm-objdump/llvm-objdump.cpp 578 Buffer = MemoryBuffer::getMemBuffer(*LineInfo.Source);
tools/llvm-pdbutil/InputFile.cpp 508 return *SectionIter == Value.File->obj().section_end();
tools/llvm-pdbutil/LinePrinter.h 110 return PrintScope{*Scope, W};
tools/llvm-pdbutil/StreamUtil.h 40 uint32_t getModuleIndex() const { return *ModuleIndex; }
tools/llvm-pdbutil/llvm-pdbutil.cpp 814 const auto &ModiStream = *MI.Modi;
tools/llvm-rc/ResourceScriptStmt.cpp 153 OS << ", style: " << (*Style).getValue();
155 OS << ", ext. style: " << *ExtStyle;
157 OS << ", help ID: " << *HelpID;
unittests/ADT/OptionalTest.cpp 448 EXPECT_EQ(Expected, OperatorT::apply(*Lhs, Rhs));
453 EXPECT_EQ(Expected, OperatorT::apply(Lhs, *Rhs));
464 EXPECT_EQ(&*EqualityLhs, &Lhs);
465 EXPECT_EQ(&*EqualityRhs, &Rhs);
497 EXPECT_EQ(&*InequalityLhs, &Lhs);
498 EXPECT_EQ(&*InequalityRhs, &Rhs);
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp 1806 EXPECT_EQ(Val, *V);
1809 switch(*V) {
1821 FAIL() << "Unexpected attribute value: " << *V;
1839 switch(*V) {
1847 FAIL() << "Unexpected attribute value: " << *V;
1849 DIEs.insert(std::make_pair(*V, AbbrevPtr));
unittests/DebugInfo/DWARF/DwarfGenerator.cpp 306 writeProloguePayload(*Prologue, Asm);
unittests/Remarks/BitstreamRemarksParsingTest.cpp 176 const remarks::RemarkLocation &RL = *Remark.Loc;
181 EXPECT_EQ(*Remark.Hotness, 4U);
201 const remarks::RemarkLocation &RL = *Arg.Loc;
unittests/Remarks/YAMLRemarksParsingTest.cpp 418 const remarks::RemarkLocation &RL = *Remark.Loc;
423 EXPECT_EQ(*Remark.Hotness, 4U);
443 const remarks::RemarkLocation &RL = *Arg.Loc;
590 const remarks::RemarkLocation &RL = *Remark.Loc;
595 EXPECT_EQ(*Remark.Hotness, 4U);
615 const remarks::RemarkLocation &RL = *Arg.Loc;
unittests/Support/AlignmentTest.cpp 270 EXPECT_EQ(MA, MA ? (*MA).value() : 0);
271 EXPECT_NE(MA, MB ? (*MB).value() : 0);
272 EXPECT_LT(MA, MB ? (*MB).value() : 0);
273 EXPECT_GT(MB, MA ? (*MA).value() : 0);
274 EXPECT_LE(MA, MB ? (*MB).value() : 0);
275 EXPECT_GE(MB, MA ? (*MA).value() : 0);
276 EXPECT_LE(MA, MA ? (*MA).value() : 0);
277 EXPECT_GE(MA, MA ? (*MA).value() : 0);
unittests/Support/JSONTest.cpp 341 return OS << "(" << S.S << ", " << (S.I ? std::to_string(*S.I) : "None")
utils/TableGen/GlobalISelEmitter.cpp 3936 *std::get<0>(*SubOperand), DstChild->getName(),
3937 std::get<1>(*SubOperand), std::get<2>(*SubOperand));
3937 std::get<1>(*SubOperand), std::get<2>(*SubOperand));