| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | DebugLoc.cpp | 19 DebugLoc::DebugLoc(const DILocation *L) : Loc(const_cast<DILocation *>(L)) {} in DebugLoc() 22 DILocation *DebugLoc::get() const { in get() 23 return cast_or_null<DILocation>(Loc.get()); in get() 41 DILocation *DebugLoc::getInlinedAt() const { in getInlinedAt() 60 if (DILocation *Loc = get()) { in isImplicitCode() 67 if (DILocation *Loc = get()) { in setImplicitCode() 87 SmallVector<DILocation *, 3> InlinedAtLocations; in appendInlinedAt() 88 DILocation *Last = InlinedAt; in appendInlinedAt() 89 DILocation *CurInlinedAt = DL; in appendInlinedAt() 95 Last = cast<DILocation>(Found); in appendInlinedAt() [all …]
|
| H A D | DebugInfo.cpp | 287 return isa<DILocation>(Op.get()); in stripDebugLocFromLoopID() 294 return !isa<DILocation>(Op.get()); in stripDebugLocFromLoopID() 304 if (!isa<DILocation>(*Op)) in stripDebugLocFromLoopID() 495 DILocation *getReplacementMDLocation(DILocation *MLD) { in getReplacementMDLocation() 537 if (auto *MLD = dyn_cast<DILocation>(N)) in remap() 689 void Instruction::applyMergedLocation(const DILocation *LocA, in applyMergedLocation() 690 const DILocation *LocB) { in applyMergedLocation() 691 setDebugLoc(DILocation::getMergedLocation(LocA, LocB)); in applyMergedLocation() 892 return unwrapDI<DILocation>(Location)->getLine(); in LLVMDILocationGetLine() 896 return unwrapDI<DILocation>(Location)->getColumn(); in LLVMDILocationGetColumn() [all …]
|
| H A D | DebugInfoMetadata.cpp | 27 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, in DILocation() function in DILocation 49 DILocation *DILocation::getImpl(LLVMContext &Context, unsigned Line, in getImpl() 71 return storeImpl(new (Ops.size()) DILocation(Context, Storage, Line, Column, in getImpl() 76 const DILocation *DILocation::getMergedLocation(const DILocation *LocA, in getMergedLocation() 77 const DILocation *LocB) { in getMergedLocation() 84 SmallPtrSet<DILocation *, 5> InlinedLocationsA; in getMergedLocation() 85 for (DILocation *L = LocA->getInlinedAt(); L; L = L->getInlinedAt()) in getMergedLocation() 87 SmallSet<std::pair<DIScope *, DILocation *>, 5> Locations; in getMergedLocation() 89 DILocation *L = LocA->getInlinedAt(); in getMergedLocation() 98 const DILocation *Result = LocB; in getMergedLocation() [all …]
|
| H A D | DIBuilder.cpp | 844 DIExpression *Expr, const DILocation *DL, in insertDeclare() 851 DIExpression *Expr, const DILocation *DL, in insertDeclare() 859 Instruction *DIBuilder::insertLabel(DILabel *LabelInfo, const DILocation *DL, in insertLabel() 866 Instruction *DIBuilder::insertLabel(DILabel *LabelInfo, const DILocation *DL, in insertLabel() 874 const DILocation *DL, in insertDbgValueIntrinsic() 884 const DILocation *DL, in insertDbgValueIntrinsic() 891 static IRBuilder<> getIRBForDbgInsertion(const DILocation *DL, in getIRBForDbgInsertion() 914 DIExpression *Expr, const DILocation *DL, in insertDeclare() 936 const DILocation *DL, BasicBlock *InsertBB, Instruction *InsertBefore) { in insertDbgValueIntrinsic() 957 DILabel *LabelInfo, const DILocation *DL, in insertLabel()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | DebugLoc.h | 25 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(); } 89 static DebugLoc appendInlinedAt(DebugLoc DL, DILocation *InlinedAt, 97 DILocation *getInlinedAt() const;
|
| H A D | DIBuilder.h | 83 DIExpression *Expr, const DILocation *DL, 87 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL, 93 DIExpression *Expr, const DILocation *DL, 792 DIExpression *Expr, const DILocation *DL, 802 DIExpression *Expr, const DILocation *DL, 809 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL, 816 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL, 828 const DILocation *DL, 840 const DILocation *DL,
|
| H A D | DebugInfoMetadata.h | 1401 class DILocation : public MDNode { 1407 ~DILocation() { dropAllReferences(); } 1466 DEFINE_MDNODE_GET(DILocation, 1470 DEFINE_MDNODE_GET(DILocation, 1483 DILocation *getInlinedAt() const { 1589 static const DILocation *getMergedLocation(const DILocation *LocA, 2007 unsigned DILocation::getDiscriminator() const { 2013 const DILocation * 2038 unsigned DILocation::getCopyIdentifier() const { 2042 Optional<const DILocation *> DILocation::setBaseDiscriminator(unsigned D) const { [all …]
|
| H A D | DebugInfo.h | 77 void processLocation(const Module &M, const DILocation *Loc);
|
| H A D | Instruction.h | 436 void applyMergedLocation(const DILocation *LocA, const DILocation *LocB);
|
| H A D | Metadata.def | 83 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocation)
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | LexicalScopes.h | 47 LexicalScope(LexicalScope *P, const DILocalScope *D, const DILocation *I, in LexicalScope() 63 const DILocation *getInlinedAt() const { return InlinedAtLocation; } in getInlinedAt() 125 const DILocation *InlinedAtLocation; // Location at which this 164 void getMachineBasicBlocks(const DILocation *DL, 169 bool dominates(const DILocation *DL, MachineBasicBlock *MBB); 173 LexicalScope *findLexicalScope(const DILocation *DL); 208 const DILocation *IA = nullptr); 209 LexicalScope *getOrCreateLexicalScope(const DILocation *DL) { in getOrCreateLexicalScope() 219 const DILocation *InlinedAt); 238 std::unordered_map<std::pair<const DILocalScope *, const DILocation *>, [all …]
|
| H A D | DbgEntityHistoryCalculator.h | 36 using InlinedEntity = std::pair<const DINode *, const DILocation *>; 65 using InlinedEntity = std::pair<const DINode *, const DILocation *>;
|
| H A D | MachineFunction.h | 58 class DILocation; variable 364 const DILocation *Loc; 367 int Slot, const DILocation *Loc) 935 int Slot, const DILocation *Loc) {
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86DiscriminateMemOps.cpp | 42 Location diToLocation(const DILocation *Loc) { in diToLocation() 48 void updateDebugInfo(MachineInstr *MI, const DILocation *Loc) { in updateDebugInfo() 87 const DILocation *ReferenceDI = in runOnMachineFunction() 88 DILocation::get(FDI->getContext(), FDI->getLine(), 0, FDI); in runOnMachineFunction() 118 const DILocation *DI = MI.getDebugLoc(); in runOnMachineFunction() 128 DILocation::decodeDiscriminator(DI->getDiscriminator(), BF, DF, CI); in runOnMachineFunction() 129 Optional<unsigned> EncodedDiscriminator = DILocation::encodeDiscriminator( in runOnMachineFunction()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | LexicalScopes.cpp | 75 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()
|
| H A D | LiveDebugValues.cpp | 110 std::pair<const DILocalVariable *, const DILocation *>; 113 DebugVariable(const DILocalVariable *Var, const DILocation *InlinedAt) in DebugVariable() 117 const DILocation *getInlinedAt() const { return this->second; } in getInlinedAt() 365 const DILocation *DebugLoc = MI.getDebugLoc(); in transferDebugValue() 366 const DILocation *InlinedAt = DebugLoc->getInlinedAt(); in transferDebugValue()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.h | 109 SmallVector<const DILocation *, 1> ChildSites; 137 std::unordered_map<const DILocation *, InlineSite> InlineSites; 140 SmallVector<const DILocation *, 1> ChildSites; 220 InlineSite &getInlineSite(const DILocation *InlinedAt, 335 void emitInlinedCallSite(const FunctionInfo &FI, const DILocation *InlinedAt,
|
| H A D | DwarfDebug.h | 70 const DILocation *InlinedAt; 80 DbgEntity(const DINode *N, const DILocation *IA, unsigned ID) in DbgEntity() 87 const DILocation *getInlinedAt() const { return InlinedAt; } in getInlinedAt() 133 DbgVariable(const DILocalVariable *V, const DILocation *IA) in DbgVariable() 238 DbgLabel(const DILabel *L, const DILocation *IA, const MCSymbol *Sym = nullptr) 423 const DILocation *Location,
|
| H A D | CodeViewDebug.cpp | 227 CodeViewDebug::getInlineSite(const DILocation *InlinedAt, in getInlineSite() 233 if (const DILocation *OuterIA = InlinedAt->getInlinedAt()) in getInlineSite() 438 if (const DILocation *InlinedAt = LS->getInlinedAt()) { in recordLocalVariable() 449 static void addLocIfNotPresent(SmallVectorImpl<const DILocation *> &Locs, in addLocIfNotPresent() 450 const DILocation *Loc) { in addLocIfNotPresent() 486 if (const DILocation *SiteLoc = DL->getInlinedAt()) { in maybeRecordLocation() 487 const DILocation *Loc = DL.get(); in maybeRecordLocation() 855 const DILocation *InlinedAt, in emitInlinedCallSite() 881 for (const DILocation *ChildSite : Site.ChildSites) { in emitInlinedCallSite() 1049 for (const DILocation *InlinedAt : FI.ChildSites) { in emitDebugInfoForFunction() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/ProfileData/ |
| H A D | SampleProf.cpp | 165 unsigned FunctionSamples::getOffset(const DILocation *DIL) { in getOffset() 171 FunctionSamples::findFunctionSamples(const DILocation *DIL) const { in findFunctionSamples() 175 const DILocation *PrevDIL = DIL; in findFunctionSamples()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | ADCE.cpp | 171 void collectLiveScopes(const DILocation &DL); 387 if (const DILocation *DL = I->getDebugLoc()) in markLive() 430 void AggressiveDeadCodeElimination::collectLiveScopes(const DILocation &DL) { in collectLiveScopes() 440 if (const DILocation *IA = DL.getInlinedAt()) in collectLiveScopes() 648 if (const DILocation *DL = PredTerm->getDebugLoc()) in makeUnconditional() 662 if (const DILocation *DL = PredTerm->getDebugLoc()) in makeUnconditional()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | AddDiscriminators.cpp | 199 const DILocation *DIL = I.getDebugLoc(); in addDiscriminators() 242 DILocation *CurrentDIL = I.getDebugLoc(); in addDiscriminators()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfile.cpp | 221 mutable DenseMap<const DILocation *, const FunctionSamples *> DILocation2SampleMap; 563 const DILocation *DIL = DLoc; in getInstWeight() 650 const DILocation *DIL = Inst.getDebugLoc(); in findCalleeFunctionSamples() 675 const DILocation *DIL = Inst.getDebugLoc(); in findIndirectCallFunctionSamples() 723 const DILocation *DIL = Inst.getDebugLoc(); in findFunctionSamples() 1285 const DILocation *DIL = DLoc; in propagateWeights()
|
| /freebsd-12.1/contrib/llvm/tools/opt/ |
| H A D | Debugify.cpp | 109 I.setDebugLoc(DILocation::get(Ctx, NextLine++, 1, SP)); in applyDebugifyMetadata() 138 const DILocation *Loc = I->getDebugLoc().get(); in applyDebugifyMetadata()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ProfileData/ |
| H A D | SampleProf.h | 434 static unsigned getOffset(const DILocation *DIL); 445 const FunctionSamples *findFunctionSamples(const DILocation *DIL) const;
|