Home
last modified time | relevance | path

Searched full:debugloc (Results 1 – 25 of 630) sorted by relevance

12345678910>>...26

/llvm-project/llvm/test/Transforms/SROA/
H A Dalignment.ll4 ; RUN: opt -passes='debugify,function(sroa<preserve-cfg>)' -S < %s | FileCheck %s -check-prefix CHECK-DEBUGLOC
5 ; RUN: opt -passes='debugify,function(sroa<preserve-cfg>)' -S < %s --try-experimental-debuginfo-iterators | FileCheck %s -check-prefix CHECK-DEBUGLOC
24 ; CHECK-DEBUGLOC-LABEL: @test1(
25 ; CHECK-DEBUGLOC-NEXT: entry:
26 ; CHECK-DEBUGLOC-NEXT: #dbg_value(ptr undef, [[META9:![0-9]+]], !DIExpression(DW_OP_LLVM_fragment, 0, 8), [[META14:![0-9]+]])
27 ; CHECK-DEBUGLOC-NEXT: #dbg_value(ptr undef, [[META9]], !DIExpression(DW_OP_LLVM_fragment, 8, 8), [[META14]])
28 ; CHECK-DEBUGLOC-NEXT: #dbg_value(ptr undef, [[META9]], !DIExpression(), [[META14]])
29 ; CHECK-DEBUGLOC-NEXT: [[GEP_A:%.*]] = getelementptr { i8, i8 }, ptr [[A:%.*]], i32 0, i32 0, !dbg [[DBG15:![0-9]+]]
30 ; CHECK-DEBUGLOC-NEXT: #dbg_value(ptr [[GEP_A]], [[META11:![0-9]+]], !DIExpression(), [[DBG15]])
31 ; CHECK-DEBUGLOC
[all...]
/llvm-project/llvm/lib/IR/
H A DDebugLoc.cpp1 //===-- DebugLoc.cpp - Implement DebugLoc class ---------------------------===//
9 #include "llvm/IR/DebugLoc.h"
15 // DebugLoc Implementation
17 DebugLoc::DebugLoc(const DILocation *L) : Loc(const_cast<DILocation *>(L)) {} in DebugLoc() function in DebugLoc
18 DebugLoc::DebugLoc(const MDNode *L) : Loc(const_cast<MDNode *>(L)) {} in DebugLoc() function in DebugLoc
20 DILocation *DebugLoc::get() const { in get()
24 unsigned DebugLoc::getLine() const { in getLine()
25 assert(get() && "Expected valid DebugLoc"); in getLine()
29 unsigned DebugLoc::getCol() const { in getCol()
30 assert(get() && "Expected valid DebugLoc"); in getCol()
[all …]
/llvm-project/llvm/test/tools/llvm-opt-report/Inputs/
H A Ddm.yaml4 DebugLoc: { File: Inputs/dm.c, Line: 3, Column: 12 }
10 DebugLoc: { File: Inputs/dm.c, Line: 2, Column: 0 }
16 DebugLoc: { File: Inputs/dm.c, Line: 7, Column: 3 }
20 DebugLoc: { File: Inputs/dm.c, Line: 2, Column: 0 }
23 DebugLoc: { File: Inputs/dm.c, Line: 6, Column: 0 }
33 DebugLoc: { File: Inputs/dm.c, Line: 7, Column: 3 }
37 DebugLoc: { File: Inputs/dm.c, Line: 2, Column: 0 }
40 DebugLoc: { File: Inputs/dm.c, Line: 6, Column: 0 }
45 DebugLoc: { File: Inputs/dm.c, Line: 11, Column: 3 }
49 DebugLoc: { File: Inputs/dm.c, Line: 2, Column: 0 }
[all …]
H A Dor.yaml4 DebugLoc: { File: Inputs/or.c, Line: 2, Column: 14 }
15 DebugLoc: { File: Inputs/or.h, Line: 15, Column: 10 }
26 DebugLoc: { File: Inputs/or.h, Line: 13, Column: 3 }
41 DebugLoc: { File: Inputs/or.h, Line: 13, Column: 3 }
51 DebugLoc: { File: Inputs/or.h, Line: 15, Column: 3 }
66 DebugLoc: { File: Inputs/or.h, Line: 15, Column: 3 }
76 DebugLoc: { File: Inputs/or.h, Line: 15, Column: 17 }
91 DebugLoc: { File: Inputs/or.h, Line: 15, Column: 17 }
101 DebugLoc: { File: Inputs/or.h, Line: 9, Column: 3 }
111 DebugLoc: { File: Inputs/or.c, Line: 20, Column: 10 }
[all …]
H A Dq2.yaml4 DebugLoc: { File: Inputs/q2.c, Line: 4, Column: 5 }
15 DebugLoc: { File: Inputs/q2.c, Line: 8, Column: 3 }
30 DebugLoc: { File: Inputs/q2.c, Line: 8, Column: 3 }
40 DebugLoc: { File: Inputs/q2.c, Line: 3, Column: 31 }
50 DebugLoc: { File: Inputs/q2.c, Line: 3, Column: 3 }
60 DebugLoc: { File: Inputs/q2.c, Line: 12, Column: 3 }
75 DebugLoc: { File: Inputs/q2.c, Line: 12, Column: 3 }
85 DebugLoc: { File: Inputs/q2.c, Line: 3, Column: 31 }
95 DebugLoc: { File: Inputs/q2.c, Line: 3, Column: 3 }
105 DebugLoc: { File: Inputs/q2.c, Line: 4, Column: 5 }
[all …]
H A Dq3.yaml4 DebugLoc: { File: Inputs/q3.c, Line: 4, Column: 5 }
15 DebugLoc: { File: Inputs/q3.c, Line: 8, Column: 3 }
30 DebugLoc: { File: Inputs/q3.c, Line: 8, Column: 3 }
40 DebugLoc: { File: Inputs/q3.c, Line: 3, Column: 3 }
50 DebugLoc: { File: Inputs/q3.c, Line: 12, Column: 3 }
65 DebugLoc: { File: Inputs/q3.c, Line: 12, Column: 3 }
75 DebugLoc: { File: Inputs/q3.c, Line: 3, Column: 3 }
85 DebugLoc: { File: Inputs/q3.c, Line: 4, Column: 5 }
94 DebugLoc: { File: Inputs/q3.c, Line: 3, Column: 3 }
H A Dqx.yaml4 DebugLoc: { File: Inputs/q.cpp, Line: 4, Column: 5 }
15 DebugLoc: { File: Inputs/q.cpp, Line: 8, Column: 3 }
30 DebugLoc: { File: Inputs/q.cpp, Line: 8, Column: 3 }
40 DebugLoc: { File: Inputs/q.cpp, Line: 3, Column: 3 }
50 DebugLoc: { File: Inputs/q.cpp, Line: 12, Column: 3 }
65 DebugLoc: { File: Inputs/q.cpp, Line: 12, Column: 3 }
75 DebugLoc: { File: Inputs/q.cpp, Line: 3, Column: 3 }
85 DebugLoc: { File: Inputs/q.cpp, Line: 4, Column: 5 }
94 DebugLoc: { File: Inputs/q.cpp, Line: 3, Column: 3 }
H A Dq.yaml4 DebugLoc: { File: Inputs/q.c, Line: 4, Column: 5 }
15 DebugLoc: { File: Inputs/q.c, Line: 8, Column: 3 }
30 DebugLoc: { File: Inputs/q.c, Line: 8, Column: 3 }
40 DebugLoc: { File: Inputs/q.c, Line: 3, Column: 3 }
50 DebugLoc: { File: Inputs/q.c, Line: 12, Column: 3 }
65 DebugLoc: { File: Inputs/q.c, Line: 12, Column: 3 }
75 DebugLoc: { File: Inputs/q.c, Line: 3, Column: 3 }
85 DebugLoc: { File: Inputs/q.c, Line: 4, Column: 5 }
94 DebugLoc: { File: Inputs/q.c, Line: 3, Column: 3 }
/llvm-project/llvm/test/tools/opt-viewer/Inputs/basic/
H A Dor.yaml4 DebugLoc: { File: basic/or.c, Line: 2, Column: 14 }
15 DebugLoc: { File: basic/or.h, Line: 15, Column: 10 }
26 DebugLoc: { File: basic/or.h, Line: 13, Column: 3 }
41 DebugLoc: { File: basic/or.h, Line: 13, Column: 3 }
51 DebugLoc: { File: basic/or.h, Line: 15, Column: 3 }
66 DebugLoc: { File: basic/or.h, Line: 15, Column: 3 }
76 DebugLoc: { File: basic/or.h, Line: 15, Column: 17 }
91 DebugLoc: { File: basic/or.h, Line: 15, Column: 17 }
101 DebugLoc: { File: basic/or.h, Line: 9, Column: 3 }
111 DebugLoc: { File: basic/or.c, Line: 20, Column: 10 }
[all …]
/llvm-project/llvm/test/Transforms/IROutliner/
H A Dopt-remarks.ll40 ; YAML-NEXT: - DebugLoc: '<UNKNOWN LOCATION>'
42 ; YAML-NEXT: - DebugLoc: '<UNKNOWN LOCATION>'
54 ; YAML-NEXT: - DebugLoc: '<UNKNOWN LOCATION>'
56 ; YAML-NEXT: - DebugLoc: '<UNKNOWN LOCATION>'
68 ; YAML-NEXT: - DebugLoc: '<UNKNOWN LOCATION>'
70 ; YAML-NEXT: - DebugLoc: '<UNKNOWN LOCATION>'
82 ; YAML-NEXT: - DebugLoc: '<UNKNOWN LOCATION>'
84 ; YAML-NEXT: - DebugLoc: '<UNKNOWN LOCATION>'
96 ; YAML-NEXT: - DebugLoc: '<UNKNOWN LOCATION>'
98 ; YAML-NEXT: - DebugLoc: '<UNKNOWN LOCATION>'
[all …]
/llvm-project/llvm/include/llvm/IR/
H A DDebugLoc.h1 //===- DebugLoc.h - Debug Location Information ------------------*- C++ -*-===//
31 /// To avoid extra includes, \a DebugLoc doubles the \a DILocation API with a
33 class DebugLoc {
37 DebugLoc() = default;
40 DebugLoc(const DILocation *L);
48 explicit DebugLoc(const MDNode *N);
75 static DebugLoc appendInlinedAt(const DebugLoc &DL, DILocation *InlinedAt,
84 /// Get the fully inlined-at scope for a DebugLoc.
86 /// Gets the inlined-at scope for a DebugLoc.
91 static DebugLoc
[all …]
/llvm-project/llvm/test/tools/opt-viewer/Inputs/suppress/
H A Ds.opt.yaml4 DebugLoc:
18 DebugLoc:
32 DebugLoc:
46 DebugLoc:
60 DebugLoc:
74 DebugLoc:
81 DebugLoc:
87 DebugLoc:
100 DebugLoc:
109 DebugLoc:
[all …]
/llvm-project/llvm/unittests/Remarks/
H A DYAMLRemarksParsingTest.cpp110 "DebugLoc: { File: file.c, Line: 3, Column: 12 }\n" in TEST()
116 " DebugLoc: { File: file.c, Line: 2, Column: 0 }\n" in TEST()
130 " DebugLoc: { File: file.c, Line: 2, Column: 0 }\n" in TEST()
139 "DebugLoc: { File: file.c, Line: 3, Column: 12 }\n" in TEST()
146 "DebugLoc: { Line: 3, Column: 12, File: file.c }\n" in TEST()
153 " DebugLoc: { File: file.c, Line: 2, Column: 0 }\n" in TEST()
224 "DebugLoc: { Line: 3, Column: 12 }\n" in TEST()
226 "DebugLoc node incomplete.")); in TEST()
233 "DebugLoc: { File: file.c, Column: 12 }\n" in TEST()
235 "DebugLoc node incomplete.")); in TEST()
[all …]
H A DYAMLRemarksSerializerTest.cpp90 "DebugLoc: { File: path, Line: 3, Column: 4 }\n" in TEST()
96 " DebugLoc: { File: argpath, Line: 6, Column: 7 }\n" in TEST()
124 "DebugLoc: { File: path, Line: 3, Column: 4 }\n" in TEST()
130 " DebugLoc: { File: argpath, Line: 6, Column: 7 }\n" in TEST()
153 "DebugLoc: { File: 3, Line: 3, Column: 4 }\n" in TEST()
159 " DebugLoc: { File: 6, Line: 6, Column: 7 }\n" in TEST()
189 "DebugLoc: { File: 3, Line: 3, Column: 4 }\n" in TEST()
195 " DebugLoc: { File: 6, Line: 6, Column: 7 }\n" in TEST()
230 "DebugLoc: { File: path, Line: 3, Column: 4 }\n" in TEST()
236 " DebugLoc: { File: argpath, Line: 6, Column: 7 }\n" in TEST()
[all …]
H A DRemarksLinkingTest.cpp68 "DebugLoc: { File: file.c, Line: 3, Column: 12 }\n" in TEST()
75 "DebugLoc: { File: file.c, Line: 3, Column: 12 }\n" in TEST()
107 "DebugLoc: { File: file.c, Line: 3, Column: 12 }\n" in TEST()
113 "DebugLoc: { File: file.c, Line: 3, Column: 12 }\n" in TEST()
120 "DebugLoc: { File: file.c, Line: 3, Column: 12 }\n" in TEST()
131 "DebugLoc: { File: file.c, Line: 3, Column: 12 }\n" in TEST()
171 "DebugLoc: { File: file.c, Line: 3, Column: 12 }\n" in TEST()
177 "DebugLoc: { File: file.c, Line: 3, Column: 12 }\n" in TEST()
200 "DebugLoc: { File: file.c, Line: 3, Column: 12 }\n" in TEST()
207 "DebugLoc: { File: file.c, Line: 3, Column: 12 }\n" in TEST()
[all …]
/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.h58 MachineBasicBlock::iterator MBBI, const DebugLoc &DL,
74 const DebugLoc &DL, bool IsPrologue) const;
147 const DebugLoc &DL, int64_t NumBytes, bool InEpilogue) const;
181 const DebugLoc &DL, const MCCFIInstruction &CFIInst,
189 const DebugLoc &DL, bool RestoreSP = false) const;
216 MachineBasicBlock::iterator MBBI, const DebugLoc &DL, bool InProlog,
222 const DebugLoc &DL, bool InProlog) const;
226 const DebugLoc &DL,
230 const DebugLoc &DL, bool InProlog) const;
235 const DebugLoc
[all...]
/llvm-project/llvm/test/tools/llvm-remarkutil/count/Inputs/
H A Dremark-group-by.yaml4 DebugLoc: { File: path/to/anno.c, Line: 1, Column: 2 }
13 DebugLoc: { File: path/to/anno.c, Line: 1, Column: 2 }
22 DebugLoc: { File: path/to/anno.c, Line: 1, Column: 2 }
31 DebugLoc: { File: path/to/anno3.c, Line: 1, Column: 2 }
40 DebugLoc: { File: path/to/anno.c, Line: 1, Column: 2 }
49 DebugLoc: { File: path/to/anno2.c, Line: 1, Column: 2 }
/llvm-project/polly/include/polly/
H A DScopDetectionDiagnostic.h24 #include "llvm/IR/DebugLoc.h"
39 using llvm::DebugLoc;
56 void getDebugLocations(const BBPair &P, DebugLoc &Begin, DebugLoc &End);
123 static const DebugLoc Unknown;
160 virtual const DebugLoc &getDebugLoc() const;
224 const DebugLoc &getDebugLoc() const override;
232 DebugLoc DbgLoc;
235 ReportIrreducibleRegion(Region *R, DebugLoc DbgLoc) in ReportIrreducibleRegion()
249 const DebugLoc &getDebugLoc() const override;
257 DebugLoc DbgLoc;
[all …]
/llvm-project/llvm/tools/opt-viewer/
H A Doptrecord.py107 # This handles [{'Caller': ..., 'DebugLoc': { 'File': ... }}]
116 # (('DebugLoc', (('File', ...) ... ))) -> [{'DebugLoc': {'File': ...} ....}]
137 return self.DebugLoc["File"]
141 return int(self.DebugLoc["Line"])
145 return self.DebugLoc["Column"]
161 dl = mapping.get("DebugLoc")
163 del mapping["DebugLoc"]
182 # optionally a DebugLoc.
189 if arg[0][0] == "DebugLoc":
192 assert arg[1][0] == "DebugLoc"
[all …]
/llvm-project/llvm/test/Transforms/LoopVectorize/
H A Dpreserve-dbg-loc-and-loop-metadata.ll2 ; RUN: opt < %s -passes=debugify,loop-vectorize -force-vector-width=4 -force-widen-divrem-via-safe-divisor=0 -S | FileCheck %s -check-prefix DEBUGLOC
3 ; RUN: opt < %s -passes=debugify,loop-vectorize -force-vector-width=4 -force-widen-divrem-via-safe-divisor=0 -S --try-experimental-debuginfo-iterators | FileCheck %s -check-prefix DEBUGLOC
13 ; DEBUGLOC-LABEL: define void @_Z3fooPf(
14 ; DEBUGLOC: scalar.ph:
15 ; DEBUGLOC-NEXT: %bc.resume.val = phi {{.*}} !dbg ![[RESUMELOC:[0-9]+]]
35 ; DEBUGLOC-LABEL: define void @widen_ptr_induction_dbg(
36 ; DEBUGLOC: vector.body:
37 ; DEBUGLOC-NEXT: = phi ptr {{.+}}, !dbg ![[PTRIVLOC:[0-9]+]]
38 ; DEBUGLOC: = phi i64
40 ; DEBUGLOC
[all...]
H A Di8-induction.ll2 ; RUN: opt < %s -passes=debugify,loop-vectorize -S | FileCheck %s --check-prefix=DEBUGLOC
3 …ify,loop-vectorize -S --try-experimental-debuginfo-iterators | FileCheck %s --check-prefix=DEBUGLOC
13 ; DEBUGLOC-LABEL: vector.body:
14 ; DEBUGLOC: %vec.ind = phi {{.*}}, !dbg ![[DbgLoc:[0-9]+]]
15 ; DEBUGLOC: %vec.ind.next = add {{.*}}, !dbg ![[DbgLoc]]
41 ; DEBUGLOC: ![[DbgLoc]] = !DILocation(line: 5
/llvm-project/llvm/test/Transforms/GVN/
H A Dopt-remarks-multiple-users.ll7 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 2, Column: 2 }
17 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 1, Column: 1 }
22 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 4, Column: 4 }
30 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 2, Column: 2 }
33 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 3, Column: 3 }
59 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 2, Column: 2 }
69 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 1, Column: 1 }
74 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 4, Column: 4 }
82 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 2, Column: 2 }
85 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 3, Column: 3 }
/llvm-project/polly/lib/Analysis/
H A DScopDetectionDiagnostic.cpp33 #include "llvm/IR/DebugLoc.h"
100 static bool operator<(const DebugLoc &LHS, const DebugLoc &RHS) {
112 void getDebugLocations(const BBPair &P, DebugLoc &Begin, DebugLoc &End) {
124 DebugLoc DL = Inst.getStableDebugLoc(); in getDebugLocations()
136 DebugLoc Begin, End; in emitRejectionRemarks()
145 if (const DebugLoc &Loc = RR->getDebugLoc()) in emitRejectionRemarks()
173 const DebugLoc RejectReason::Unknown = DebugLoc();
[all...]
/llvm-project/llvm/unittests/CodeGen/
H A DRegAllocScoreTest.cpp74 return MF.CreateMachineInstr(MockInstrDescs[MockInstrId::Copy], DebugLoc()); in createMockCopy()
78 return MF.CreateMachineInstr(MockInstrDescs[MockInstrId::Load], DebugLoc()); in createMockLoad()
82 return MF.CreateMachineInstr(MockInstrDescs[MockInstrId::Store], DebugLoc()); in createMockStore()
87 DebugLoc()); in createMockLoadStore()
92 DebugLoc()); in createMockCheapRemat()
97 DebugLoc()); in createMockExpensiveRemat()
101 return MF.CreateMachineInstr(MockInstrDescs[MockInstrId::Dbg], DebugLoc()); in createMockDebug()
105 return MF.CreateMachineInstr(MockInstrDescs[MockInstrId::Kill], DebugLoc()); in createMockKill()
109 return MF.CreateMachineInstr(MockInstrDescs[MockInstrId::InlAsm], DebugLoc()); in createMockInlineAsm()
/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaInstrInfo.cpp82 DebugLoc DL = I != MBB.end() ? I->getDebugLoc() : DebugLoc(); in adjustStackPtr()
110 const DebugLoc &DL, MCRegister DestReg, in copyPhysReg()
128 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in storeRegToStackSlot()
140 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in loadRegFromStackSlot()
160 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in loadImmediate()
441 ArrayRef<MachineOperand> Cond, const DebugLoc
[all...]

12345678910>>...26