Home
last modified time | relevance | path

Searched refs:Discriminator (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm/include/llvm/ProfileData/
DSampleProf.h72 LineLocation(int L, unsigned D) : LineOffset(L), Discriminator(D) {}
74 unsigned Discriminator;
92 std::pair<int, unsigned>(Val.LineOffset, Val.Discriminator));
97 LHS.Discriminator == RHS.Discriminator;
173 void addBodySamples(int LineOffset, unsigned Discriminator, unsigned Num) {
181 BodySamples[LineLocation(LineOffset, Discriminator)].addSamples(Num);
183 void addCalledTargetSamples(int LineOffset, unsigned Discriminator,
186 BodySamples[LineLocation(LineOffset, Discriminator)].addCalledTarget(FName,
198 unsigned samplesAt(int LineOffset, unsigned Discriminator) {
199 return sampleRecordAt(LineLocation(LineOffset, Discriminator)).getSamples();
/external/llvm/lib/ProfileData/
DSampleProfReader.cpp118 << ", discriminator: " << Loc.Discriminator in print()
201 unsigned LineOffset, NumSamples, Discriminator = 0; in read() local
204 Matches[2].getAsInteger(10, Discriminator); in read()
220 FProfile.addCalledTargetSamples(LineOffset, Discriminator, in read()
225 FProfile.addBodySamples(LineOffset, Discriminator, NumSamples); in read()
295 auto Discriminator = readNumber<uint64_t>(); in read() local
296 if (std::error_code EC = Discriminator.getError()) in read()
316 FProfile.addCalledTargetSamples(*LineOffset, *Discriminator, in read()
321 FProfile.addBodySamples(*LineOffset, *Discriminator, *NumSamples); in read()
DSampleProfWriter.cpp43 if (Loc.Discriminator == 0) in write()
46 OS << Loc.LineOffset << "." << Loc.Discriminator << ": "; in write()
86 encodeULEB128(Loc.Discriminator, OS); in write()
/external/llvm/lib/Transforms/Utils/
DAddDiscriminators.cpp204 unsigned Discriminator = FirstDIL->computeNewDiscriminator(); in runOnFunction() local
206 Builder.createLexicalBlockFile(Scope, File, Discriminator); in runOnFunction()
/external/llvm/include/llvm/MC/
DMCDwarf.h68 unsigned Discriminator; variable
84 Discriminator(discriminator) {} in MCDwarfLoc()
106 unsigned getDiscriminator() const { return Discriminator; } in getDiscriminator()
125 Discriminator = discriminator; in setDiscriminator()
DMCObjectStreamer.h126 unsigned Isa, unsigned Discriminator,
DMCContext.h450 unsigned Discriminator) { in setCurrentDwarfLoc() argument
456 CurrentDwarfLoc.setDiscriminator(Discriminator); in setCurrentDwarfLoc()
/external/llvm/lib/Transforms/Scalar/
DSampleProfile.cpp229 unsigned Discriminator = DIL->getDiscriminator(); in getInstWeight() local
230 unsigned Weight = Samples->samplesAt(LOffset, Discriminator); in getInstWeight()
231 DEBUG(dbgs() << " " << Lineno << "." << Discriminator << ":" << Inst in getInstWeight()
232 << " (line offset: " << LOffset << "." << Discriminator in getInstWeight()
/external/llvm/include/llvm/IR/
DDebugInfoMetadata.h1527 unsigned Discriminator;
1530 unsigned Discriminator, ArrayRef<Metadata *> Ops)
1532 Discriminator(Discriminator) {}
1536 MDFile *File, unsigned Discriminator,
1540 static_cast<Metadata *>(File), Discriminator, Storage,
1545 Metadata *File, unsigned Discriminator,
1556 unsigned Discriminator),
1557 (Scope, File, Discriminator))
1559 (Metadata * Scope, Metadata *File, unsigned Discriminator),
1560 (Scope, File, Discriminator))
[all …]
/external/llvm/test/tools/dsymutil/X86/
Dbasic-lto-dw4-linking-x86.test146 CHECK: Address Line Column File ISA Discriminator Flags
156 CHECK: Address Line Column File ISA Discriminator Flags
172 CHECK: Address Line Column File ISA Discriminator Flags
Dbasic-lto-linking-x86.test158 CHECK: Address Line Column File ISA Discriminator Flags
167 CHECK: Address Line Column File ISA Discriminator Flags
178 CHECK: Address Line Column File ISA Discriminator Flags
Dbasic-linking-x86.test159 CHECK: Address Line Column File ISA Discriminator Flags
168 CHECK: Address Line Column File ISA Discriminator Flags
180 CHECK: Address Line Column File ISA Discriminator Flags
/external/llvm/lib/IR/
DLLVMContextImpl.h614 unsigned Discriminator;
616 MDNodeKeyImpl(Metadata *Scope, Metadata *File, unsigned Discriminator)
617 : Scope(Scope), File(File), Discriminator(Discriminator) {}
620 Discriminator(N->getDiscriminator()) {}
624 Discriminator == RHS->getDiscriminator();
627 return hash_combine(Scope, File, Discriminator);
DDebugInfoMetadata.cpp395 unsigned Discriminator, in getImpl() argument
399 DEFINE_GETIMPL_LOOKUP(MDLexicalBlockFile, (Scope, File, Discriminator)); in getImpl()
401 DEFINE_GETIMPL_STORE(MDLexicalBlockFile, (Discriminator), Ops); in getImpl()
/external/llvm/test/MC/ELF/
Ddiscriminator.s59 # DWARF-DUMP: Address Line Column File ISA Discriminator Flags
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLine.cpp141 Discriminator = 0; in reset()
151 << format(" %6u %3u %13u ", File, Isa, Discriminator) in dump()
341 State.Row.Discriminator = debug_line_data.getULEB128(offset_ptr); in parse()
/external/llvm/bindings/go/llvm/
DDIBuilderBindings.cpp69 unsigned Discriminator) { in LLVMDIBuilderCreateLexicalBlockFile() argument
72 unwrap<MDLocalScope>(Scope), unwrap<MDFile>(File), Discriminator); in LLVMDIBuilderCreateLexicalBlockFile()
DDIBuilderBindings.h52 unsigned Discriminator);
/external/llvm/lib/MC/
DMCAsmStreamer.cpp192 unsigned Isa, unsigned Discriminator,
873 unsigned Discriminator, in EmitDwarfLocDirective() argument
895 if (Discriminator) in EmitDwarfLocDirective()
896 OS << " discriminator " << Discriminator; in EmitDwarfLocDirective()
905 Isa, Discriminator, FileName); in EmitDwarfLocDirective()
DMCObjectStreamer.cpp285 unsigned Discriminator, in EmitDwarfLocDirective() argument
292 Isa, Discriminator, FileName); in EmitDwarfLocDirective()
DMCDwarf.cpp125 unsigned Discriminator = 0; in EmitDwarfLineTable() local
143 if (Discriminator != it->getDiscriminator()) { in EmitDwarfLineTable()
144 Discriminator = it->getDiscriminator(); in EmitDwarfLineTable()
145 unsigned Size = getULEB128Size(Discriminator); in EmitDwarfLineTable()
149 MCOS->EmitULEB128IntValue(Discriminator); in EmitDwarfLineTable()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugLine.h116 uint32_t Discriminator; member
/external/llvm/test/DebugInfo/Mips/
Ddelay-slot.ll13 ; CHECK: Address Line Column File ISA Discriminator Flags
/external/llvm/test/DebugInfo/X86/
Ddiscriminator.ll61 ; CHECK: Address Line Column File ISA Discriminator Flags
/external/llvm/test/Transforms/AddDiscriminators/
Dmultiple.ll3 ; Discriminator support for multiple CFG paths on the same line.

12