Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDebugLoc.cpp18 DebugLoc::DebugLoc(const DILocation *L) : Loc(const_cast<DILocation *>(L)) {} in DebugLoc()
21 DILocation *DebugLoc::get() const { in get()
22 return cast_or_null<DILocation>(Loc.get()); in get()
40 DILocation *DebugLoc::getInlinedAt() const { in getInlinedAt()
46 return cast<DILocation>(Loc)->getInlinedAtScope(); in getInlinedAtScope()
59 if (DILocation *Loc = get()) { in isImplicitCode()
66 if (DILocation *Loc = get()) { in setImplicitCode()
77 return DILocation::get(Scope->getContext(), Line, Col, in get()
82 DebugLoc DebugLoc::appendInlinedAt(DebugLoc DL, DILocation *InlinedAt, in appendInlinedAt()
86 SmallVector<DILocation *, 3> InlinedAtLocations; in appendInlinedAt()
[all …]
DDebugInfo.cpp117 void DebugInfoFinder::processLocation(const Module &M, const DILocation *Loc) { in processLocation()
286 return isa<DILocation>(Op.get()); in stripDebugLocFromLoopID()
293 return !isa<DILocation>(Op.get()); in stripDebugLocFromLoopID()
303 if (!isa<DILocation>(*Op)) in stripDebugLocFromLoopID()
495 DILocation *getReplacementMDLocation(DILocation *MLD) { in getReplacementMDLocation()
499 return DILocation::getDistinct(MLD->getContext(), MLD->getLine(), in getReplacementMDLocation()
501 return DILocation::get(MLD->getContext(), MLD->getLine(), MLD->getColumn(), in getReplacementMDLocation()
537 if (auto *MLD = dyn_cast<DILocation>(N)) in remap()
657 if (auto *Loc = dyn_cast_or_null<DILocation>(T->getOperand(N))) in stripNonLineTableDebugInfo()
689 void Instruction::applyMergedLocation(const DILocation *LocA, in applyMergedLocation()
[all …]
DDebugInfoMetadata.cpp29 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, in DILocation() function in DILocation
51 DILocation *DILocation::getImpl(LLVMContext &Context, unsigned Line, in getImpl()
73 return storeImpl(new (Ops.size()) DILocation(Context, Storage, Line, Column, in getImpl()
78 const DILocation *DILocation::getMergedLocation(const DILocation *LocA, in getMergedLocation()
79 const DILocation *LocB) { in getMergedLocation()
86 SmallPtrSet<DILocation *, 5> InlinedLocationsA; in getMergedLocation()
87 for (DILocation *L = LocA->getInlinedAt(); L; L = L->getInlinedAt()) in getMergedLocation()
89 SmallSet<std::pair<DIScope *, DILocation *>, 5> Locations; in getMergedLocation()
91 DILocation *L = LocA->getInlinedAt(); in getMergedLocation()
100 const DILocation *Result = LocB; in getMergedLocation()
[all …]
DDIBuilder.cpp853 DIExpression *Expr, const DILocation *DL, in insertDeclare()
860 DIExpression *Expr, const DILocation *DL, in insertDeclare()
868 Instruction *DIBuilder::insertLabel(DILabel *LabelInfo, const DILocation *DL, in insertLabel()
875 Instruction *DIBuilder::insertLabel(DILabel *LabelInfo, const DILocation *DL, in insertLabel()
883 const DILocation *DL, in insertDbgValueIntrinsic()
893 const DILocation *DL, in insertDbgValueIntrinsic()
900 static IRBuilder<> getIRBForDbgInsertion(const DILocation *DL, in getIRBForDbgInsertion()
923 DIExpression *Expr, const DILocation *DL, in insertDeclare()
945 const DILocation *DL, BasicBlock *InsertBB, Instruction *InsertBefore) { in insertDbgValueIntrinsic()
966 DILabel *LabelInfo, const DILocation *DL, in insertLabel()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
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(); }
88 static DebugLoc appendInlinedAt(DebugLoc DL, DILocation *InlinedAt,
96 DILocation *getInlinedAt() const;
DDIBuilder.h82 DIExpression *Expr, const DILocation *DL,
86 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL,
92 DIExpression *Expr, const DILocation *DL,
803 DIExpression *Expr, const DILocation *DL,
813 DIExpression *Expr, const DILocation *DL,
820 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL,
827 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL,
839 const DILocation *DL,
851 const DILocation *DL,
DDebugInfoMetadata.h1355 class DILocation : public MDNode {
1359 DILocation(LLVMContext &C, StorageType Storage, unsigned Line,
1361 ~DILocation() { dropAllReferences(); } in ~DILocation()
1363 static DILocation *getImpl(LLVMContext &Context, unsigned Line,
1367 static DILocation *getImpl(LLVMContext &Context, unsigned Line,
1369 DILocation *InlinedAt, bool ImplicitCode,
1420 DEFINE_MDNODE_GET(DILocation,
1424 DEFINE_MDNODE_GET(DILocation,
1426 DILocation *InlinedAt = nullptr,
1437 DILocation *getInlinedAt() const { in getInlinedAt()
[all …]
DDebugInfo.h76 void processLocation(const Module &M, const DILocation *Loc);
DInstruction.h456 void applyMergedLocation(const DILocation *LocA, const DILocation *LocB);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
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);
186 LexicalScope *findInlinedScope(const DILocalScope *N, const DILocation *IA) { in findInlinedScope()
207 const DILocation *IA = nullptr);
208 LexicalScope *getOrCreateLexicalScope(const DILocation *DL) { in getOrCreateLexicalScope()
218 const DILocation *InlinedAt);
[all …]
DDbgEntityHistoryCalculator.h75 using InlinedEntity = std::pair<const DINode *, const DILocation *>;
106 using InlinedEntity = std::pair<const DINode *, const DILocation *>;
DMachineFunction.h54 class DILocation; variable
364 const DILocation *Loc;
367 int Slot, const DILocation *Loc)
977 int Slot, const DILocation *Loc) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDebugLoc.h25 class DILocation; variable
41 DebugLoc(const DILocation *L);
55 DILocation *get() const;
56 operator DILocation *() const { return get(); }
57 DILocation *operator->() const { return get(); }
58 DILocation &operator*() const { return *get(); }
86 DILocation *getInlinedAt() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86DiscriminateMemOps.cpp49 Location diToLocation(const DILocation *Loc) { in diToLocation()
55 void updateDebugInfo(MachineInstr *MI, const DILocation *Loc) { in updateDebugInfo()
98 const DILocation *ReferenceDI = in runOnMachineFunction()
99 DILocation::get(FDI->getContext(), FDI->getLine(), 0, FDI); in runOnMachineFunction()
133 const DILocation *DI = MI.getDebugLoc(); in runOnMachineFunction()
144 DILocation::decodeDiscriminator(DI->getDiscriminator(), BF, DF, CI); in runOnMachineFunction()
145 Optional<unsigned> EncodedDiscriminator = DILocation::encodeDiscriminator( in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLexicalScopes.cpp75 const DILocation *PrevDL = nullptr; in extractLexicalScopes()
78 const DILocation *MIDL = MInsn.getDebugLoc(); in extractLexicalScopes()
123 LexicalScope *LexicalScopes::findLexicalScope(const DILocation *DL) { in findLexicalScope()
142 const DILocation *IA) { in getOrCreateLexicalScope()
188 const DILocation *InlinedAt) { in getOrCreateInlinedScope()
191 std::pair<const DILocalScope *, const DILocation *> P(Scope, InlinedAt); in getOrCreateInlinedScope()
280 const DILocation *DL, SmallPtrSetImpl<const MachineBasicBlock *> &MBBs) { in getMachineBasicBlocks()
301 bool LexicalScopes::dominates(const DILocation *DL, MachineBasicBlock *MBB) { in dominates()
313 if (const DILocation *IDL = I.getDebugLoc()) in dominates()
/third_party/skia/third_party/externals/swiftshader/docs/
DReactorDebugInfo.md121 `rr::DebugInfo` maintains a stack of `llvm::DIScope`s and `llvm::DILocation`s
124 A synthetic call stack is produced by chaining `llvm::DILocation`s with
155 The `DILocation` hierarchy would be:
158 rr::DebugInfo::diRootLocation: DILocation(DISubprogram: "ReactorFunction")
159 rr::DebugInfo::diScope[0].location: ↳ DILocation(DISubprogram: "main")
160 rr::DebugInfo::diScope[1].location: ↳ DILocation(DISubprogram: "A")
161 rr::DebugInfo::diScope[2].location: ↳ DILocation(DISubprogram: "B")
217 The `DILocation` hierarchy would be:
220 rr::DebugInfo::diRootLocation: DILocation(DISubprogram: "ReactorFunction")
221 rr::DebugInfo::diScope[0].location: ↳ DILocation(DISubprogram: "main")
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMReactorDebugInfo.hpp36 class DILocation;
119 llvm::DILocation *diLocation = nullptr;
147 llvm::DILocation *getLocation(const Backtrace &backtrace, size_t i);
164 llvm::DILocation *diRootLocation;
DLLVMReactorDebugInfo.cpp121 diRootLocation = DILocation::get(*context, location.line, 0, sp); in DebugInfo()
235 llvm::DILocation *DebugInfo::getLocation(const Backtrace &backtrace, size_t i) in getLocation()
239 return llvm::DILocation::get( in getLocation()
379 builder->SetCurrentDebugLocation(llvm::DILocation::get( in emitPending()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.h109 SmallVector<const DILocation *, 1> ChildSites;
137 std::unordered_map<const DILocation *, InlineSite> InlineSites;
140 SmallVector<const DILocation *, 1> ChildSites;
222 InlineSite &getInlineSite(const DILocation *InlinedAt,
336 void emitInlinedCallSite(const FunctionInfo &FI, const DILocation *InlinedAt,
DDwarfDebug.h71 const DILocation *InlinedAt;
81 DbgEntity(const DINode *N, const DILocation *IA, unsigned ID) in DbgEntity()
88 const DILocation *getInlinedAt() const { return InlinedAt; } in getInlinedAt()
139 DbgVariable(const DILocalVariable *V, const DILocation *IA) in DbgVariable()
240 DbgLabel(const DILabel *L, const DILocation *IA, const MCSymbol *Sym = nullptr)
439 const DILocation *Location,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DADCE.cpp172 void collectLiveScopes(const DILocation &DL);
388 if (const DILocation *DL = I->getDebugLoc()) in markLive()
431 void AggressiveDeadCodeElimination::collectLiveScopes(const DILocation &DL) { in collectLiveScopes()
441 if (const DILocation *IA = DL.getInlinedAt()) in collectLiveScopes()
653 if (const DILocation *DL = PredTerm->getDebugLoc()) in makeUnconditional()
667 if (const DILocation *DL = PredTerm->getDebugLoc()) in makeUnconditional()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DSampleProf.cpp171 unsigned FunctionSamples::getOffset(const DILocation *DIL) { in getOffset()
177 FunctionSamples::findFunctionSamples(const DILocation *DIL) const { in findFunctionSamples()
181 const DILocation *PrevDIL = DIL; in findFunctionSamples()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DAddDiscriminators.cpp199 const DILocation *DIL = I.getDebugLoc(); in addDiscriminators()
242 DILocation *CurrentDIL = I.getDebugLoc(); in addDiscriminators()
DDebugify.cpp101 I.setDebugLoc(DILocation::get(Ctx, NextLine++, 1, SP)); in applyDebugifyMetadata()
130 const DILocation *Loc = I->getDebugLoc().get(); in applyDebugifyMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DSampleProfile.cpp333 mutable DenseMap<const DILocation *, const FunctionSamples *> DILocation2SampleMap;
718 const DILocation *DIL = DLoc; in getInstWeight()
805 const DILocation *DIL = Inst.getDebugLoc(); in findCalleeFunctionSamples()
830 const DILocation *DIL = Inst.getDebugLoc(); in findIndirectCallFunctionSamples()
878 const DILocation *DIL = Inst.getDebugLoc(); in findFunctionSamples()
1533 const DILocation *DIL = DLoc; in propagateWeights()

123