Home
last modified time | relevance | path

Searched refs:DILocation (Results 1 – 25 of 103) sorted by relevance

12345

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDebugLoc.cpp17 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()
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()
86 DILocation *UpdatedLoc = CachedResult; in replaceInlinedAtSubprogram()
114 DILocation *Last = InlinedAt; in appendInlinedAt()
115 DILocation *CurInlinedAt = DL; in appendInlinedAt()
[all …]
H A DPseudoProbe.cpp25 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 DDebugProgramInstruction.cpp48 const DILocation *DI, LocationType Type) in DPValue()
55 const DILocation *DI) in DPValue()
63 DIExpression *Expr, const DILocation *DI) { in createDPValue()
69 DIExpression *Expr, const DILocation *DI, in createDPValue()
77 DIExpression *Expr, const DILocation *DI) { in createDPVDeclare()
83 DIExpression *Expr, const DILocation *DI, in createDPVDeclare()
94 const DILocation *DI) { in createDPVAssign()
104 const DILocation *DI) { in createLinkedDPVAssign()
H A DDebugInfo.cpp158 DILocation *InlinedAt = DeclareLoc.getInlinedAt(); in getDebugValueLoc()
170 DILocation *InlinedAt = DeclareLoc.getInlinedAt(); in getDebugValueLoc()
434 if (isa<DILocation>(N) || Reachable.count(N)) in isDILocationReachable()
456 if (isa<DILocation>(N) || AllDILocation.count(N)) in isAllDILocation()
477 if (isa<DILocation>(MD) || AllDILocation.count(MD)) in stripLoopMDLoc()
727 DILocation *getReplacementMDLocation(DILocation *MLD) { in getReplacementMDLocation()
769 if (auto *MLD = dyn_cast<DILocation>(N)) in remap()
927 void Instruction::applyMergedLocation(DILocation *LocA, DILocation *LocB) { in applyMergedLocation()
928 setDebugLoc(DILocation::getMergedLocation(LocA, LocB)); in applyMergedLocation()
1206 return unwrapDI<DILocation>(Location)->getLine(); in LLVMDILocationGetLine()
[all …]
H A DDebugInfoMetadata.cpp54 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, in DILocation() function in DILocation
76 DILocation *DILocation::getImpl(LLVMContext &Context, unsigned Line, in getImpl()
98 return storeImpl(new (Ops.size(), Storage) DILocation( in getImpl()
103 DILocation *DILocation::getMergedLocations(ArrayRef<DILocation *> Locs) { in getMergedLocations()
109 for (DILocation *L : llvm::drop_begin(Locs)) { in getMergedLocations()
117 DILocation *DILocation::getMergedLocation(DILocation *LocA, DILocation *LocB) { in getMergedLocation()
126 using LocVec = SmallVector<const DILocation *>; in getMergedLocation()
175 auto MergeLocPair = [&C](const DILocation *L1, const DILocation *L2, in getMergedLocation()
176 DILocation *InlinedAt) -> DILocation * { in getMergedLocation()
213 return DILocation::get(C, Line, Col, Scope, InlinedAt); in getMergedLocation()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugLoc.h24 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 DDebugProgramInstruction.h127 const DILocation *DI, LocationType Type = LocationType::Value);
130 DIExpression *AddressExpression, const DILocation *DI);
136 const DILocation *DI);
142 const DILocation *DI);
145 DIExpression *Expr, const DILocation *DI);
147 DIExpression *Expr, const DILocation *DI,
150 DIExpression *Expr, const DILocation *DI);
152 DIExpression *Expr, const DILocation *DI,
H A DDIBuilder.h94 DIExpression *Expr, const DILocation *DL,
98 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL,
104 DIExpression *Expr, const DILocation *DL,
111 DIExpression *Expr, const DILocation *DL,
925 DIExpression *Expr, const DILocation *DL,
946 const DILocation *DL);
955 DIExpression *Expr, const DILocation *DL,
962 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL,
969 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL,
981 const DILocation *DL,
[all …]
H A DDebugInfo.h111 void processLocation(const Module &M, const DILocation *Loc);
275 DILocation *DL;
281 VarRecord(DILocalVariable *Var, DILocation *DL) : Var(Var), DL(DL) {} in VarRecord()
295 DenseMapInfo<DILocation *>::getEmptyKey());
300 DenseMapInfo<DILocation *>::getTombstoneKey());
H A DDebugInfoMetadata.h1893 class DILocation : public MDNode {
1899 ~DILocation() { dropAllReferences(); } in ~DILocation()
1925 DEFINE_MDNODE_GET(DILocation,
1929 DEFINE_MDNODE_GET(DILocation,
1954 DILocation *getInlinedAt() const { in getInlinedAt()
2071 static DILocation *getMergedLocation(DILocation *LocA, DILocation *LocB);
2077 static DILocation *getMergedLocations(ArrayRef<DILocation *> Locs);
2287 const DILocation *
2317 std::optional<const DILocation *>
2336 std::optional<const DILocation *>
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLexicalScopes.h46 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);
204 const DILocation *IA = nullptr);
205 LexicalScope *getOrCreateLexicalScope(const DILocation *DL) { in getOrCreateLexicalScope()
215 const DILocation *InlinedAt);
234 std::unordered_map<std::pair<const DILocalScope *, const DILocation *>,
[all …]
H A DDbgEntityHistoryCalculator.h20 class DILocation; variable
96 using InlinedEntity = std::pair<const DINode *, const DILocation *>;
134 using InlinedEntity = std::pair<const DINode *, const DILocation *>;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86DiscriminateMemOps.cpp51 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-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DLexicalScopes.cpp76 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 DPseudoProbeInserter.cpp61 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 DMIRFSDiscriminator.cpp62 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-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleContextTracker.h27 class DILocation; variable
104 getIndirectCalleeContextSamplesFor(const DILocation *DIL);
107 FunctionSamples *getContextSamplesFor(const DILocation *DIL);
191 ContextTrieNode *getContextFor(const DILocation *DIL);
192 ContextTrieNode *getCalleeContextFor(const DILocation *DIL,
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DPseudoProbePrinter.h22 class DILocation; variable
35 uint64_t Attr, const DILocation *DebugLoc);
H A DCodeViewDebug.h120 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,
H A DDwarfDebug.h74 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) in DbgVariable()
294 DbgLabel(const DILabel *L, const DILocation *IA, const MCSymbol *Sym = nullptr)
539 const DILocation *Location,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DADCE.cpp177 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()
695 if (const DILocation *DL = PredTerm->getDebugLoc()) in makeUnconditional()
709 if (const DILocation *DL = PredTerm->getDebugLoc()) in makeUnconditional()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp229 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-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAddDiscriminators.cpp175 const DILocation *DIL = I.getDebugLoc(); in addDiscriminators()
218 DILocation *CurrentDIL = I.getDebugLoc(); in addDiscriminators()
H A DEntryExitInstrumenter.cpp106 DL = DILocation::get(SP->getContext(), SP->getScopeLine(), 0, SP); in runOnFunction()
127 DL = DILocation::get(SP->getContext(), 0, 0, SP); in runOnFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProf.cpp216 unsigned FunctionSamples::getOffset(const DILocation *DIL) { in getOffset()
221 LineLocation FunctionSamples::getCallSiteIdentifier(const DILocation *DIL, in getCallSiteIdentifier()
239 const DILocation *DIL, SampleProfileReaderItaniumRemapper *Remapper) const { in findFunctionSamples()
243 const DILocation *PrevDIL = DIL; in findFunctionSamples()

12345