| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MIRFSDiscriminator.cpp | 49 const DILocation *DIL) { in getCallStackHash() argument 55 uint64_t Ret = updateHash(std::to_string(DIL->getLine())); in getCallStackHash() 58 for (DIL = DIL->getInlinedAt(); DIL; DIL = DIL->getInlinedAt()) { in getCallStackHash() 59 Ret ^= updateHash(std::to_string(DIL->getLine())); in getCallStackHash() 98 const DILocation *DIL = I.getDebugLoc().get(); in runOnMachineFunction() local 99 if (!DIL) in runOnMachineFunction() 101 unsigned LineNo = DIL->getLine(); in runOnMachineFunction() 104 unsigned Discriminator = DIL->getDiscriminator(); in runOnMachineFunction() 114 DiscriminatorCurrPass += getCallStackHash(BB, I, DIL); in runOnMachineFunction() 120 << DIL->getFilename() << ":" << DIL->getLine() << ":" in runOnMachineFunction() [all …]
|
| H A D | MIRSampleProfile.cpp | 235 auto DIL = BB->findBranchDebugLoc(); in setBranchProbs() local 240 if (DIL) in setBranchProbs() 241 dbgs() << DIL->getFilename() << ":" << DIL->getLine() << ":" in setBranchProbs() 242 << DIL->getColumn(); in setBranchProbs()
|
| H A D | MachineInstr.cpp | 1676 auto *DIL = dyn_cast<DILabel>(MO.getMetadata()); in print() local 1677 if (DIL && !DIL->getName().empty()) in print() 1678 OS << "\"" << DIL->getName() << '\"'; in print()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | AddDiscriminators.cpp | 205 const DILocation *DIL = I.getDebugLoc(); in addDiscriminators() local 206 if (!DIL) in addDiscriminators() 208 Location L = std::make_pair(DIL->getFilename(), DIL->getLine()); in addDiscriminators() 218 auto NewDIL = DIL->cloneWithBaseDiscriminator(Discriminator); in addDiscriminators() 221 << DIL->getFilename() << ":" << DIL->getLine() << ":" in addDiscriminators() 222 << DIL->getColumn() << ":" << Discriminator << " " in addDiscriminators() 226 LLVM_DEBUG(dbgs() << DIL->getFilename() << ":" << DIL->getLine() << ":" in addDiscriminators() 227 << DIL->getColumn() << ":" << Discriminator << " " << I in addDiscriminators()
|
| H A D | LoopUnroll.cpp | 513 if (const DILocation *DIL = I.getDebugLoc()) { in UnrollLoop() local 514 auto NewDIL = DIL->cloneByMultiplyingDuplicationFactor(ULO.Count); in UnrollLoop() 520 << DIL->getFilename() << " Line: " << DIL->getLine()); in UnrollLoop()
|
| H A D | LoopUnrollAndJam.cpp | 356 if (const DILocation *DIL = I.getDebugLoc()) { in UnrollAndJamLoop() local 357 auto NewDIL = DIL->cloneByMultiplyingDuplicationFactor(Count); in UnrollAndJamLoop() 363 << DIL->getFilename() << " Line: " << DIL->getLine()); in UnrollAndJamLoop()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | SampleContextTracker.cpp | 228 DILocation *DIL = Inst.getDebugLoc(); in getCalleeContextSamplesFor() local 229 if (!DIL) in getCalleeContextSamplesFor() 255 const DILocation *DIL) { in getIndirectCalleeContextSamplesFor() argument 257 if (!DIL) in getIndirectCalleeContextSamplesFor() 275 assert(DIL && "Expect non-null location"); in getContextSamplesFor() 379 DILocation *DIL = Inst.getDebugLoc(); in promoteMergeContextSamplesTree() local 472 assert(DIL && "Expect non-null location"); in getCalleeContextFor() 485 assert(DIL && "Expect non-null location"); in getContextFor() 489 const DILocation *PrevDIL = DIL; in getContextFor() 490 for (DIL = DIL->getInlinedAt(); DIL; DIL = DIL->getInlinedAt()) { in getContextFor() [all …]
|
| H A D | SampleProfileProbe.cpp | 52 static uint64_t getCallStackHash(const DILocation *DIL) { in getCallStackHash() argument 54 const DILocation *InlinedAt = DIL ? DIL->getInlinedAt() : nullptr; in getCallStackHash() 300 auto DIL = DILocation::get(SP->getContext(), 0, 0, SP); in instrumentOneFunc() local 301 I->setDebugLoc(DIL); in instrumentOneFunc() 359 if (auto DIL = Call->getDebugLoc()) { in instrumentOneFunc() local 360 DIL = DIL->cloneWithDiscriminator(V); in instrumentOneFunc() 361 Call->setDebugLoc(DIL); in instrumentOneFunc()
|
| H A D | SampleProfile.cpp | 655 const DILocation *DIL = Inst.getDebugLoc(); in findCalleeFunctionSamples() local 656 if (!DIL) { in findCalleeFunctionSamples() 681 const DILocation *DIL = Inst.getDebugLoc(); in findIndirectCallFunctionSamples() local 684 if (!DIL) { in findIndirectCallFunctionSamples() 698 ContextTracker->getIndirectCalleeContextSamplesFor(DIL); in findIndirectCallFunctionSamples() 717 auto CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in findIndirectCallFunctionSamples() 743 const DILocation *DIL = Inst.getDebugLoc(); in findFunctionSamples() local 744 if (!DIL) in findFunctionSamples() 747 auto it = DILocation2SampleMap.try_emplace(DIL,nullptr); in findFunctionSamples() 750 it.first->second = ContextTracker->getContextSamplesFor(DIL); in findFunctionSamples() [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | PseudoProbe.cpp | 29 const DILocation *DIL = DLoc; in extractProbeFromDiscriminator() local 30 auto Discriminator = DIL->getDiscriminator(); in extractProbeFromDiscriminator() 78 const DILocation *DIL = DLoc; in setProbeDistributionFactor() local 79 auto Discriminator = DIL->getDiscriminator(); in setProbeDistributionFactor() 94 DIL = DIL->cloneWithDiscriminator(V); in setProbeDistributionFactor() 95 Inst.setDebugLoc(DIL); in setProbeDistributionFactor()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InlineAdvisor.cpp | 433 for (DILocation *DIL = DLoc.get(); DIL; DIL = DIL->getInlinedAt()) { in formatCallSiteLocation() local 440 DIL->getLine() - DIL->getScope()->getSubprogram()->getLine(); in formatCallSiteLocation() 441 uint32_t Discriminator = DIL->getBaseDiscriminator(); in formatCallSiteLocation() 444 Name = DIL->getScope()->getSubprogram()->getName(); in formatCallSiteLocation() 447 CallSiteLoc << ":" << llvm::utostr(DIL->getColumn()); in formatCallSiteLocation() 463 for (DILocation *DIL = DLoc.get(); DIL; DIL = DIL->getInlinedAt()) { in addLocationToRemarks() local 466 unsigned int Offset = DIL->getLine(); in addLocationToRemarks() 467 Offset -= DIL->getScope()->getSubprogram()->getLine(); in addLocationToRemarks() 468 unsigned int Discriminator = DIL->getBaseDiscriminator(); in addLocationToRemarks() 471 Name = DIL->getScope()->getSubprogram()->getName(); in addLocationToRemarks() [all …]
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | SampleProf.cpp | 216 unsigned FunctionSamples::getOffset(const DILocation *DIL) { in getOffset() argument 217 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in getOffset() 221 LineLocation FunctionSamples::getCallSiteIdentifier(const DILocation *DIL, in getCallSiteIdentifier() argument 229 DIL->getDiscriminator()), in getCallSiteIdentifier() 233 ProfileIsFS ? DIL->getDiscriminator() : DIL->getBaseDiscriminator(); in getCallSiteIdentifier() 234 return LineLocation(FunctionSamples::getOffset(DIL), Discriminator); in getCallSiteIdentifier() 248 assert(DIL); in findFunctionSamples() 251 const DILocation *PrevDIL = DIL; in findFunctionSamples() 252 for (DIL = DIL->getInlinedAt(); DIL; DIL = DIL->getInlinedAt()) { in findFunctionSamples() 258 DIL, FunctionSamples::ProfileIsFS), in findFunctionSamples() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/ |
| H A D | SampleContextTracker.h | 104 getIndirectCalleeContextSamplesFor(const DILocation *DIL); 107 FunctionSamples *getContextSamplesFor(const DILocation *DIL); 194 ContextTrieNode *getContextFor(const DILocation *DIL); 195 ContextTrieNode *getCalleeContextFor(const DILocation *DIL,
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | SampleProfileLoaderBaseImpl.h | 308 const DILocation *DIL = DLoc; 309 uint32_t LineOffset = FunctionSamples::getOffset(DIL); 312 Discriminator = DIL->getDiscriminator(); 314 Discriminator = DIL->getBaseDiscriminator(); 399 const DILocation *DIL = Inst.getDebugLoc(); 400 if (!DIL) 403 auto it = DILocation2SampleMap.try_emplace(DIL, nullptr); 405 it.first->second = Samples->findFunctionSamples(DIL, Reader->getRemapper());
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-exegesis/X86/ |
| H A D | analysis-clustering-algorithms.test | 56 - 'ROL8ri DIL DIL i_0x1' 77 - 'DIL=0x0'
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86MCTargetDesc.cpp | 252 {codeview::RegisterId::DIL, X86::DIL}, in initLLVMToSEHAndCVRegMapping() 751 case X86::DIL: case X86::DI: case X86::EDI: case X86::RDI: in getX86SubSuperRegisterOrZero() 779 case X86::DIL: case X86::DI: case X86::EDI: case X86::RDI: in getX86SubSuperRegisterOrZero() 780 return X86::DIL; in getX86SubSuperRegisterOrZero() 816 case X86::DIL: case X86::DI: case X86::EDI: case X86::RDI: in getX86SubSuperRegisterOrZero() 852 case X86::DIL: case X86::DI: case X86::EDI: case X86::RDI: in getX86SubSuperRegisterOrZero() 888 case X86::DIL: case X86::DI: case X86::EDI: case X86::RDI: in getX86SubSuperRegisterOrZero()
|
| H A D | X86BaseInfo.h | 1221 reg == X86::SIL || reg == X86::DIL); in isX86_64NonExtLowByteReg()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlan.cpp | 257 const DILocation *DIL = Inst->getDebugLoc(); in setDebugLocFromInst() local 260 if (DIL && Inst->getFunction()->isDebugInfoForProfiling() && in setDebugLocFromInst() 264 DIL->cloneByMultiplyingDuplicationFactor(UF * VF.getKnownMinValue()); in setDebugLocFromInst() 269 << DIL->getFilename() << " Line: " << DIL->getLine()); in setDebugLocFromInst() 271 Builder.SetCurrentDebugLocation(DIL); in setDebugLocFromInst()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | pr29061.ll | 4 ; Previously, a reference to SIL/DIL was being emitted
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | MachineInstrTest.cpp | 208 DILocation *DIL = DILocation::get(Ctx, 1, 5, DIS); in TEST() local 209 DebugLoc DL(DIL); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86RegisterInfo.td | 66 def DIL : X86Reg<"dil", 7>; 122 def DI : X86Reg<"di", 7, [DIL,DIH]>; 387 // In 64-mode, there are 12 additional i8 registers, SIL, DIL, BPL, SPL, and 393 // instruction requiring a REX prefix, while SIL, DIL, BPL, R8D, etc. 397 (add AL, CL, DL, AH, CH, DH, BL, BH, SIL, DIL, BPL, SPL,
|
| H A D | X86RegisterInfo.cpp | 592 Reserved.set(X86::DIL); in getReservedRegs() 618 {X86::SIL, X86::DIL, X86::BPL, X86::SPL, in getReservedRegs()
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | SampleProf.h | 1077 static unsigned getOffset(const DILocation *DIL); 1083 static LineLocation getCallSiteIdentifier(const DILocation *DIL, 1103 const DILocation *DIL,
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/Disassembler/ |
| H A D | X86DisassemblerDecoder.h | 95 ENTRY(DIL)
|
| /llvm-project-15.0.7/llvm/test/MC/X86/ |
| H A D | intel-syntax.s | 99 mov BYTE PTR [RDX + RCX], DIL
|