/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | PseudoProbe.cpp | 27 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 D | CGPointerAuthInfo.h | 30 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 D | CGPointerAuth.cpp | 82 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 D | AddDiscriminators.cpp | 187 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 D | SampleProfileLoaderBaseUtil.cpp | 83 uint32_t Discriminator, in markSamplesUsed() argument 85 LineLocation Loc(LineOffset, Discriminator); in markSamplesUsed()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetObjectFile.cpp | 100 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 D | AArch64TargetObjectFile.h | 37 uint16_t Discriminator) const; 67 uint16_t Discriminator) const;
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | PseudoProbePrinter.cpp | 43 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 D | MIRFSDiscriminator.cpp | 1 //===-------- 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 D | AArch64MCExpr.h | 181 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 D | AArch64MCExpr.cpp | 159 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 D | SampleProf.h | 281 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 D | DebugLineSectionEmitter.h | 318 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 D | SampleProfReader.cpp | 85 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 D | SampleProf.cpp | 107 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 D | SampleProfWriter.cpp | 322 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 D | SipHash.cpp | 177 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 D | SampleProfileLoaderBaseImpl.h | 421 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 D | DIContext.h | 51 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 D | MCPseudoProbe.h | 114 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 D | LVLine.h | 117 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 D | MCPseudoProbe.cpp | 66 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 D | LVObject.cpp | 52 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 D | DIPrinter.cpp | 142 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 D | InlineAdvisor.cpp | 450 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()
|