/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DebugLoc.cpp | 17 DebugLoc::DebugLoc(const DILocation *L) : Loc(const_cast<DILocation *>(L)) {} in DebugLoc() 20 DILocation *DebugLoc::get() const { in get() 21 return cast_or_null<DILocation>(Loc.get()); in get() 39 DILocation *DebugLoc::getInlinedAt() const { in getInlinedAt() 45 return cast<DILocation>(Loc)->getInlinedAtScope(); in getInlinedAtScope() 52 return DILocation::get(SP->getContext(), SP->getScopeLine(), 0, SP); in getFnDebugLoc() 58 if (DILocation *Loc = get()) { in isImplicitCode() 65 if (DILocation *Loc = get()) { in setImplicitCode() 73 SmallVector<DILocation *> LocChain; in replaceInlinedAtSubprogram() 74 DILocation *CachedResult = nullptr; in replaceInlinedAtSubprogram() [all …]
|
H A D | PseudoProbe.cpp | 25 extractProbeFromDiscriminator(const DILocation *DIL) { in extractProbeFromDiscriminator() 28 if (DILocation::isPseudoProbeDiscriminator(Discriminator)) { in extractProbeFromDiscriminator() 89 const DILocation *DIL = DLoc; in setProbeDistributionFactor() 91 if (DILocation::isPseudoProbeDiscriminator(Discriminator)) { in setProbeDistributionFactor()
|
H A D | DebugInfo.cpp | 162 DILocation *InlinedAt = DeclareLoc.getInlinedAt(); in getDebugValueLoc() 167 return DILocation::get(DII->getContext(), 0, 0, Scope, InlinedAt); in getDebugValueLoc() 174 DILocation *InlinedAt = DeclareLoc.getInlinedAt(); in getDebugValueLoc() 179 return DILocation::get(DVR->getContext(), 0, 0, Scope, InlinedAt); in getDebugValueLoc() 251 void DebugInfoFinder::processLocation(const Module &M, const DILocation *Loc) { in processLocation() 439 if (isa<DILocation>(N) || Reachable.count(N)) in isDILocationReachable() 461 if (isa<DILocation>(N) || AllDILocation.count(N)) in isAllDILocation() 482 if (isa<DILocation>(MD) || AllDILocation.count(MD)) in stripLoopMDLoc() 732 DILocation *getReplacementMDLocation(DILocation *MLD) { in getReplacementMDLocation() 736 return DILocation::getDistinct(MLD->getContext(), MLD->getLine(), in getReplacementMDLocation() [all …]
|
H A D | DebugInfoMetadata.cpp | 58 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, in DILocation() function in DILocation 80 DILocation *DILocation::getImpl(LLVMContext &Context, unsigned Line, in getImpl() 102 return storeImpl(new (Ops.size(), Storage) DILocation( in getImpl() 107 DILocation *DILocation::getMergedLocations(ArrayRef<DILocation *> Locs) { in getMergedLocations() 113 for (DILocation *L : llvm::drop_begin(Locs)) { in getMergedLocations() 121 DILocation *DILocation::getMergedLocation(DILocation *LocA, DILocation *LocB) { in getMergedLocation() 130 using LocVec = SmallVector<const DILocation *>; in getMergedLocation() 133 SmallDenseMap<std::pair<const DISubprogram *, const DILocation *>, unsigned, in getMergedLocation() 179 auto MergeLocPair = [&C](const DILocation *L1, const DILocation *L2, in getMergedLocation() 180 DILocation *InlinedAt) -> DILocation * { in getMergedLocation() [all …]
|
H A D | DebugProgramInstruction.cpp | 65 DIExpression *Expr, const DILocation *DI, in DbgVariableRecord() 74 const DILocation *DI) in DbgVariableRecord() 181 const DILocation *DI) { in createDbgVariableRecord() 188 const DILocation *DI, DbgVariableRecord &InsertBefore) { in createDbgVariableRecord() 197 const DILocation *DI) { in createDVRDeclare() 204 DIExpression *Expr, const DILocation *DI, in createDVRDeclare() 214 const DILocation *DI) { in createDVRAssign() 223 const DILocation *DI) { in createLinkedDVRAssign()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DebugLoc.h | 24 class DILocation; variable 40 DebugLoc(const DILocation *L); 54 DILocation *get() const; 55 operator DILocation *() const { return get(); } 56 DILocation *operator->() const { return get(); } 57 DILocation &operator*() const { return *get(); } 75 static DebugLoc appendInlinedAt(const DebugLoc &DL, DILocation *InlinedAt, 82 DILocation *getInlinedAt() const;
|
H A D | DIBuilder.h | 97 DIExpression *Expr, const DILocation *DL, 101 DbgInstPtr insertLabel(DILabel *LabelInfo, const DILocation *DL, 112 DIExpression *Expr, const DILocation *DL, 119 DIExpression *Expr, const DILocation *DL, 959 DIExpression *Expr, const DILocation *DL, 979 const DILocation *DL); 988 DIExpression *Expr, const DILocation *DL, 995 DbgInstPtr insertLabel(DILabel *LabelInfo, const DILocation *DL, 1002 DbgInstPtr insertLabel(DILabel *LabelInfo, const DILocation *DL, 1013 DIExpression *Expr, const DILocation *DL, [all …]
|
H A D | DebugProgramInstruction.h | 296 const DILocation *DI, 301 const DILocation *DI); 330 const DILocation *DI); 335 const DILocation *DI); 340 const DILocation *DI); 343 DIExpression *Expr, const DILocation *DI, 348 const DILocation *DI); 351 const DILocation *DI, DbgVariableRecord &InsertBefore);
|
H A D | DebugInfo.h | 113 void processLocation(const Module &M, const DILocation *Loc); 283 DILocation *DL; 289 VarRecord(DILocalVariable *Var, DILocation *DL) : Var(Var), DL(DL) {} in VarRecord() 303 DenseMapInfo<DILocation *>::getEmptyKey()); 308 DenseMapInfo<DILocation *>::getTombstoneKey());
|
H A D | DebugInfoMetadata.h | 1951 class DILocation : public MDNode { 1955 DILocation(LLVMContext &C, StorageType Storage, unsigned Line, 1957 ~DILocation() { dropAllReferences(); } in ~DILocation() 1959 static DILocation *getImpl(LLVMContext &Context, unsigned Line, 1963 static DILocation *getImpl(LLVMContext &Context, unsigned Line, 1965 DILocation *InlinedAt, bool ImplicitCode, 1983 DEFINE_MDNODE_GET(DILocation, 1987 DEFINE_MDNODE_GET(DILocation, 1989 DILocation *InlinedAt = nullptr, 2012 DILocation *getInlinedAt() const { in getInlinedAt() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | LexicalScopes.h | 46 LexicalScope(LexicalScope *P, const DILocalScope *D, const DILocation *I, in LexicalScope() 62 const DILocation *getInlinedAt() const { return InlinedAtLocation; } in getInlinedAt() 124 const DILocation *InlinedAtLocation; // Location at which this 163 void getMachineBasicBlocks(const DILocation *DL, 168 bool dominates(const DILocation *DL, MachineBasicBlock *MBB); 172 LexicalScope *findLexicalScope(const DILocation *DL); 186 LexicalScope *findInlinedScope(const DILocalScope *N, const DILocation *IA) { in findInlinedScope() 204 const DILocation *IA = nullptr); 205 LexicalScope *getOrCreateLexicalScope(const DILocation *DL) { in getOrCreateLexicalScope() 215 const DILocation *InlinedAt); [all …]
|
H A D | DbgEntityHistoryCalculator.h | 20 class DILocation; variable 96 using InlinedEntity = std::pair<const DINode *, const DILocation *>; 134 using InlinedEntity = std::pair<const DINode *, const DILocation *>;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86DiscriminateMemOps.cpp | 51 Location diToLocation(const DILocation *Loc) { in diToLocation() 57 void updateDebugInfo(MachineInstr *MI, const DILocation *Loc) { in updateDebugInfo() 101 const DILocation *ReferenceDI = in runOnMachineFunction() 102 DILocation::get(FDI->getContext(), FDI->getLine(), 0, FDI); in runOnMachineFunction() 136 const DILocation *DI = MI.getDebugLoc(); in runOnMachineFunction() 147 DILocation::decodeDiscriminator(DI->getDiscriminator(), BF, DF, CI); in runOnMachineFunction() 149 DILocation::encodeDiscriminator(MemOpDiscriminators[L] + 1, DF, CI); in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LexicalScopes.cpp | 76 const DILocation *PrevDL = nullptr; in extractLexicalScopes() 84 const DILocation *MIDL = MInsn.getDebugLoc(); in extractLexicalScopes() 124 LexicalScope *LexicalScopes::findLexicalScope(const DILocation *DL) { in findLexicalScope() 143 const DILocation *IA) { in getOrCreateLexicalScope() 189 const DILocation *InlinedAt) { in getOrCreateInlinedScope() 192 std::pair<const DILocalScope *, const DILocation *> P(Scope, InlinedAt); in getOrCreateInlinedScope() 281 const DILocation *DL, SmallPtrSetImpl<const MachineBasicBlock *> &MBBs) { in getMachineBasicBlocks() 306 bool LexicalScopes::dominates(const DILocation *DL, MachineBasicBlock *MBB) { in dominates()
|
H A D | PseudoProbeInserter.cpp | 61 if (DILocation *DL = MI.getDebugLoc()) { in runOnMachineFunction() 63 if (DILocation::isPseudoProbeDiscriminator(Value)) { in runOnMachineFunction() 130 uint64_t getFuncGUID(Module *M, DILocation *DL) { in getFuncGUID()
|
H A D | MIRFSDiscriminator.cpp | 62 const DILocation *DIL) { in getCallStackHashV0() 78 static uint64_t getCallStackHash(const DILocation *DIL) { in getCallStackHash() 145 const DILocation *DIL = I.getDebugLoc().get(); in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | SampleContextTracker.h | 27 class DILocation; 104 getIndirectCalleeContextSamplesFor(const DILocation *DIL); 106 // is identified by input DILocation. 107 FunctionSamples *getContextSamplesFor(const DILocation *DIL); 191 ContextTrieNode *getContextFor(const DILocation *DIL); 192 ContextTrieNode *getCalleeContextFor(const DILocation *DIL, 28 class DILocation; global() variable
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | PseudoProbePrinter.h | 22 class DILocation; variable 34 uint64_t Attr, const DILocation *DebugLoc);
|
H A D | DwarfDebug.h | 74 const DILocation *InlinedAt; 79 DbgEntity(const DINode *N, const DILocation *IA, DbgEntityKind ID) in DbgEntity() 86 const DILocation *getInlinedAt() const { return InlinedAt; } in getInlinedAt() 242 DbgVariable(const DILocalVariable *V, const DILocation *IA) 294 DbgLabel(const DILabel *L, const DILocation *IA, const MCSymbol *Sym = nullptr) 539 const DILocation *Location,
|
H A D | CodeViewDebug.h | 120 SmallVector<const DILocation *, 1> ChildSites; 157 std::unordered_map<const DILocation *, InlineSite> InlineSites; 160 SmallVector<const DILocation *, 1> ChildSites; 259 InlineSite &getInlineSite(const DILocation *InlinedAt, 375 void emitInlinedCallSite(const FunctionInfo &FI, const DILocation *InlinedAt,
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ADCE.cpp | 177 void collectLiveScopes(const DILocation &DL); 393 if (const DILocation *DL = I->getDebugLoc()) in markLive() 436 void AggressiveDeadCodeElimination::collectLiveScopes(const DILocation &DL) { in collectLiveScopes() 446 if (const DILocation *IA = DL.getInlinedAt()) in collectLiveScopes() 696 if (const DILocation *DL = PredTerm->getDebugLoc()) in makeUnconditional() 710 if (const DILocation *DL = PredTerm->getDebugLoc()) in makeUnconditional()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SampleContextTracker.cpp | 229 DILocation *DIL = Inst.getDebugLoc(); in getCalleeContextSamplesFor() 254 const DILocation *DIL) { in getIndirectCalleeContextSamplesFor() 273 SampleContextTracker::getContextSamplesFor(const DILocation *DIL) { in getContextSamplesFor() 374 DILocation *DIL = Inst.getDebugLoc(); in promoteMergeContextSamplesTree() 465 SampleContextTracker::getCalleeContextFor(const DILocation *DIL, in getCalleeContextFor() 479 ContextTrieNode *SampleContextTracker::getContextFor(const DILocation *DIL) { in getContextFor() 484 const DILocation *PrevDIL = DIL; in getContextFor()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | AddDiscriminators.cpp | 175 const DILocation *DIL = I.getDebugLoc(); in addDiscriminators() 218 DILocation *CurrentDIL = I.getDebugLoc(); in addDiscriminators()
|
H A D | EntryExitInstrumenter.cpp | 109 DL = DILocation::get(SP->getContext(), SP->getScopeLine(), 0, SP); in runOnFunction() 130 DL = DILocation::get(SP->getContext(), 0, 0, SP); in runOnFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
H A D | InstrRefBasedImpl.h | 39 using VarAndLoc = std::pair<DebugVariable, const DILocation *>; 57 DebugVariableID insertDVID(DebugVariable &Var, const DILocation *Loc) { in insertDVID() 1026 const DebugVariable &Var, const DILocation *DILoc, 1056 SmallDenseMap<DebugVariableID, const DILocation *, 8> Scopes; 1087 void considerOverlaps(const DebugVariable &Var, const DILocation *Loc) { 1153 using ScopeToDILocT = DenseMap<const LexicalScope *, const DILocation *>; 1420 getBlocksForScope(const DILocation *DILoc, 1436 void buildVLocValueMap(const DILocation *DILoc,
|