Home
last modified time | relevance | path

Searched refs:Discriminator (Results 1 – 25 of 79) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DPseudoProbe.cpp27 auto Discriminator = DIL->getDiscriminator(); in extractProbeFromDiscriminator() local
28 if (DILocation::isPseudoProbeDiscriminator(Discriminator)) { in extractProbeFromDiscriminator()
31 PseudoProbeDwarfDiscriminator::extractProbeIndex(Discriminator); in extractProbeFromDiscriminator()
33 PseudoProbeDwarfDiscriminator::extractProbeType(Discriminator); in extractProbeFromDiscriminator()
35 PseudoProbeDwarfDiscriminator::extractProbeAttributes(Discriminator); in extractProbeFromDiscriminator()
37 PseudoProbeDwarfDiscriminator::extractProbeFactor(Discriminator) / in extractProbeFromDiscriminator()
39 Probe.Discriminator = 0; in extractProbeFromDiscriminator()
64 Probe.Discriminator = 0; in extractProbe()
66 Probe.Discriminator = DLoc->getDiscriminator(); in extractProbe()
90 auto Discriminator = DIL->getDiscriminator(); in setProbeDistributionFactor() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGPointerAuthInfo.h30 llvm::Value *Discriminator; variable
36 Discriminator(nullptr) {} in CGPointerAuthInfo()
39 llvm::Value *Discriminator) in CGPointerAuthInfo() argument
42 Discriminator(Discriminator) { in CGPointerAuthInfo()
43 assert(!Discriminator || Discriminator->getType()->isIntegerTy() || in CGPointerAuthInfo()
44 Discriminator->getType()->isPointerTy()); in CGPointerAuthInfo()
59 return Discriminator; in getDiscriminator()
86 return LHS.Key != RHS.Key || LHS.Discriminator != RHS.Discriminator ||
H A DCGPointerAuth.cpp82 llvm::Constant *Discriminator = nullptr; in getFunctionPointerAuthInfo() local
86 Discriminator = getPointerAuthOtherDiscriminator(Schema, GlobalDecl(), T); in getFunctionPointerAuthInfo()
90 Discriminator); in getFunctionPointerAuthInfo()
95 llvm::Value *Discriminator) { in EmitPointerAuthBlendDiscriminator() argument
98 return Builder.CreateCall(Intrinsic, {StorageAddress, Discriminator}); in EmitPointerAuthBlendDiscriminator()
109 llvm::Value *Discriminator = in EmitPointerAuthInfo() local
116 if (Discriminator) in EmitPointerAuthInfo()
117 Discriminator = in EmitPointerAuthInfo()
118 EmitPointerAuthBlendDiscriminator(StorageAddress, Discriminator); in EmitPointerAuthInfo()
120 Discriminator = Builder.CreatePtrToInt(StorageAddress, IntPtrTy); in EmitPointerAuthInfo()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAddDiscriminators.cpp187 unsigned Discriminator = R.second ? ++LDM[L] : LDM[L]; in addDiscriminators()
188 auto NewDIL = DIL->cloneWithBaseDiscriminator(Discriminator); in addDiscriminators()
192 << DIL->getColumn() << ":" << Discriminator << " " in addDiscriminators()
197 << DIL->getColumn() << ":" << Discriminator << " " << I in addDiscriminators()
224 unsigned Discriminator = ++LDM[L]; in addDiscriminators()
225 auto NewDIL = CurrentDIL->cloneWithBaseDiscriminator(Discriminator); in addDiscriminators()
231 << ":" << Discriminator << " " << I << "\n"); in addDiscriminators()
190 unsigned Discriminator = R.second ? ++LDM[L] : LDM[L]; addDiscriminators() local
227 unsigned Discriminator = ++LDM[L]; addDiscriminators() local
H A DSampleProfileLoaderBaseUtil.cpp83 uint32_t Discriminator, in markSamplesUsed() argument
85 LineLocation Loc(LineOffset, Discriminator); in markSamplesUsed()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetObjectFile.cpp100 AArch64PACKey::ID Key, uint16_t Discriminator) { in getAuthPtrSlotSymbolHelper() argument
106 Twine(Discriminator)); in getAuthPtrSlotSymbolHelper()
116 AArch64AuthMCExpr::create(Sym, Discriminator, Key, in getAuthPtrSlotSymbolHelper()
123 AArch64PACKey::ID Key, uint16_t Discriminator) const { in getAuthPtrSlotSymbol()
126 Discriminator); in getAuthPtrSlotSymbol()
131 AArch64PACKey::ID Key, uint16_t Discriminator) const { in getAuthPtrSlotSymbol()
134 Key, Discriminator); in getAuthPtrSlotSymbol()
H A DAArch64TargetObjectFile.h37 uint16_t Discriminator) const;
67 uint16_t Discriminator) const;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DPseudoProbePrinter.cpp43 uint64_t Discriminator = 0; in emitPseudoProbe() local
48 Discriminator = DebugLoc->getDiscriminator(); in emitPseudoProbe()
49 assert((EnableFSDiscriminator || Discriminator == 0) && in emitPseudoProbe()
52 Asm->OutStreamer->emitPseudoProbe(Guid, Index, Type, Attr, Discriminator, in emitPseudoProbe()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRFSDiscriminator.cpp1 //===-------- MIRFSDiscriminator.cpp: Flow Sensitive Discriminator --------===//
154 unsigned Discriminator = DIL->getDiscriminator(); in runOnMachineFunction()
158 Discriminator = 0; in runOnMachineFunction()
165 LocationDiscriminator LD{DIL->getFilename(), LineNo, Discriminator, in runOnMachineFunction()
178 unsigned NewD = Discriminator | DiscriminatorCurrPass; in runOnMachineFunction()
183 << DIL->getColumn() << ":" << Discriminator << " " in runOnMachineFunction()
192 << Discriminator << " -> " << NewD << "\n"); in runOnMachineFunction()
152 unsigned Discriminator = DIL->getDiscriminator(); runOnMachineFunction() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCExpr.h181 uint16_t Discriminator; variable
184 explicit AArch64AuthMCExpr(const MCExpr *Expr, uint16_t Discriminator, in AArch64AuthMCExpr() argument
187 Discriminator(Discriminator), Key(Key) {} in AArch64AuthMCExpr()
191 create(const MCExpr *Expr, uint16_t Discriminator, AArch64PACKey::ID Key,
195 uint16_t getDiscriminator() const { return Discriminator; } in getDiscriminator()
H A DAArch64MCExpr.cpp159 uint16_t Discriminator, in create() argument
164 AArch64AuthMCExpr(Expr, Discriminator, Key, HasAddressDiversity); in create()
175 OS << "@AUTH(" << AArch64PACKeyIDToString(Key) << ',' << Discriminator; in printImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h281 LineLocation(uint32_t L, uint32_t D) : LineOffset(L), Discriminator(D) {}
288 (LineOffset == O.LineOffset && Discriminator < O.Discriminator);
292 return LineOffset == O.LineOffset && Discriminator == O.Discriminator;
296 return LineOffset != O.LineOffset || Discriminator != O.Discriminator;
300 return ((uint64_t) Discriminator << 32) | LineOffset;
304 uint32_t Discriminator;
487 if (Location.Discriminator)
488 OContextStr << "." << Location.Discriminator;
603 LocSplit.second.getAsInteger(10, LineLoc.Discriminator);
779 sampleprof_error addBodySamples(uint32_t LineOffset, uint32_t Discriminator,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDebugLineSectionEmitter.h318 unsigned Discriminator = 0; in emitLineTableRows() local
354 if (Discriminator != Row.Discriminator && MC->getDwarfVersion() >= 4) { in emitLineTableRows()
355 Discriminator = Row.Discriminator; in emitLineTableRows()
356 unsigned Size = getULEB128Size(Discriminator); in emitLineTableRows()
360 encodeULEB128(Discriminator, Section.OS); in emitLineTableRows()
362 Discriminator = 0; in emitLineTableRows()
407 RowsSinceLastSequence = Column = Discriminator = Isa = 0; in emitLineTableRows()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp85 if (Loc.Discriminator) in dumpFunctionProfileJson()
86 JOS.attribute("discriminator", Loc.Discriminator); in dumpFunctionProfileJson()
111 if (Loc.Discriminator) in dumpFunctionProfileJson()
112 JOS.attribute("discriminator", Loc.Discriminator); in dumpFunctionProfileJson()
216 uint32_t &Discriminator, StringRef &CalleeName, in ParseLine() argument
235 Discriminator = 0; in ParseLine()
239 if (Loc.substr(n2 + 1).getAsInteger(10, Discriminator)) in ParseLine()
367 uint32_t Depth, LineOffset, Discriminator; in readImpl() local
372 Discriminator, FName, TargetCountMap, FunctionHash, in readImpl()
387 Discriminator &= getDiscriminatorMask(); in readImpl()
[all …]
H A DSampleProf.cpp107 if (Discriminator > 0) in print()
108 OS << "." << Discriminator; in print()
232 unsigned Discriminator = in getCallSiteIdentifier() local
234 return LineLocation(FunctionSamples::getOffset(DIL), Discriminator); in getCallSiteIdentifier()
488 ChildNode.CallSiteLoc.LineOffset, ChildNode.CallSiteLoc.Discriminator, in convertCSProfiles()
H A DSampleProfWriter.cpp322 encodeULEB128(Loc.Discriminator, OS); in writeFuncMetadata()
408 encodeULEB128(Callsite.Location.Discriminator, OS); in writeCSNameTableSection()
585 if (Loc.Discriminator == 0) in writeSample()
588 OS << Loc.LineOffset << "." << Loc.Discriminator << ": "; in writeSample()
606 if (Loc.Discriminator == 0) in writeSample()
609 OS << Loc.LineOffset << "." << Loc.Discriminator << ": "; in writeSample()
836 encodeULEB128(Loc.Discriminator, OS); in writeBody()
858 encodeULEB128(Loc.Discriminator, OS); in writeBody()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSipHash.cpp177 uint16_t Discriminator = (RawHash % 0xFFFF) + 1; in getPointerAuthStableSipHash() local
179 dbgs() << "ptrauth stable hash discriminator: " << utostr(Discriminator) in getPointerAuthStableSipHash()
181 << utohexstr(Discriminator, /*Lowercase=*/false, /*Width=*/4) in getPointerAuthStableSipHash()
184 return Discriminator; in getPointerAuthStableSipHash()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h421 uint32_t Discriminator;
423 Discriminator = DIL->getDiscriminator();
425 Discriminator = DIL->getBaseDiscriminator();
427 ErrorOr<uint64_t> R = FS->findSamplesAt(LineOffset, Discriminator);
430 CoverageTracker.markSamplesUsed(FS, LineOffset, Discriminator, R.get());
437 if (Discriminator) {
439 Remark << ore::NV("Discriminator", Discriminator);
445 LLVM_DEBUG(dbgs() << " " << DLoc.getLine() << "." << Discriminator << ":"
447 << Discriminator << " - weight: " << R.get() << ")\n");
479 auto R = FS->findSamplesAt(Probe->Id, Probe->Discriminator);
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/
H A DDIContext.h51 uint32_t Discriminator = 0; member
61 Discriminator == RHS.Discriminator;
68 StartLine, Discriminator) <
70 RHS.Column, RHS.StartLine, RHS.Discriminator);
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCPseudoProbe.h114 uint32_t Discriminator; variable
124 : Guid(G), Index(I), Discriminator(D), Attributes(At), Type(T) {} in MCPseudoProbeBase()
132 uint32_t getDiscriminator() const { return Discriminator; } in getDiscriminator()
164 uint64_t Attributes, uint32_t Discriminator) in MCPseudoProbe() argument
165 : MCPseudoProbeBase(Guid, Index, Attributes, Type, Discriminator), in MCPseudoProbe()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVLine.h117 uint32_t Discriminator = 0; variable
130 uint32_t getDiscriminator() const override { return Discriminator; } in getDiscriminator()
132 Discriminator = Value; in setDiscriminator()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCPseudoProbe.cpp66 if (Discriminator) in emit()
91 if (Discriminator) in emit()
92 MCOS->emitULEB128IntValue(Discriminator); in emit()
326 if (Discriminator) in print()
327 OS << "Discriminator: " << Discriminator << " "; in print()
509 uint32_t Discriminator = 0; in buildAddress2ProbeMap() local
514 Discriminator = std::move(*ErrorOrDiscriminator); in buildAddress2ProbeMap()
521 Discriminator, Cur); in buildAddress2ProbeMap()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVObject.cpp52 std::string LVObject::lineAsString(uint32_t LineNumber, LVHalf Discriminator, in lineAsString() argument
60 if (Discriminator && options().getAttributeDiscriminator()) in lineAsString()
62 << Discriminator; in lineAsString()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp142 if (Info.Discriminator) in printSimpleLocation()
143 OS << " (discriminator " << Info.Discriminator << ')'; in printSimpleLocation()
159 if (Info.Discriminator) in printVerbose()
160 OS << " Discriminator: " << Info.Discriminator << '\n'; in printVerbose()
311 {"Discriminator", LineInfo.Discriminator}});
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp450 uint32_t Discriminator = DIL->getBaseDiscriminator(); in formatCallSiteLocation() local
457 if (Format.outputDiscriminator() && Discriminator) in formatCallSiteLocation()
458 CallSiteLoc << "." << llvm::utostr(Discriminator); in formatCallSiteLocation()
477 unsigned int Discriminator = DIL->getBaseDiscriminator(); in addLocationToRemarks() local
483 if (Discriminator) in addLocationToRemarks()
484 Remark << "." << ore::NV("Disc", Discriminator); in addLocationToRemarks()

1234