/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | DefineInline.cpp | 471 auto DefRange = toHalfOpenFileRange( in apply() local 476 if (!DefRange) in apply() 478 unsigned int SourceLen = SM.getFileOffset(DefRange->getEnd()) - in apply() 479 SM.getFileOffset(DefRange->getBegin()); in apply() 480 const tooling::Replacement DeleteFuncBody(SM, DefRange->getBegin(), in apply() 492 if (!SM.isWrittenInSameFile(DefRange->getBegin(), in apply()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | SymbolCollectorTests.cpp | 82 MATCHER_P(DefRange, Pos, "") { return rangesMatch(arg.Definition, Pos); } 567 DefRange(Main.range("dogdef"))), in TEST_F() 569 DefRange(Main.range("fluffydef"))), in TEST_F() 571 DefRange(Main.range("catdog"))), in TEST_F() 573 DefRange(Main.range("ruff"))))); in TEST_F() 602 DefRange(Main.range("catdogdef"))), in TEST_F() 604 DefRange(Main.range("dogdef"))), in TEST_F() 655 DefRange(Main.range("xdef"))), in TEST_F() 657 DefRange(Main.range("clsdef"))), in TEST_F() 659 DefRange(Main.range("printdef"))), in TEST_F() [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | CodeViewDebug.cpp | 757 LocalVarDefRange DefRange = createDefRangeMem(CVReg, FrameOffset); in collectVariableInfoFromMMITable() local 762 DefRange.Ranges.emplace_back(Begin, End); in collectVariableInfoFromMMITable() 767 Var.DefRanges.emplace_back(std::move(DefRange)); in collectVariableInfoFromMMITable() 825 LocalVarDefRange DefRange; in collectVariableInfo() local 828 DefRange = createDefRangeMem(CVReg, Offset); in collectVariableInfo() 830 DefRange = createDefRangeReg(CVReg); in collectVariableInfo() 833 Var.DefRanges.back().isDifferentLocation(DefRange)) { in collectVariableInfo() 834 Var.DefRanges.emplace_back(std::move(DefRange)); in collectVariableInfo() 1883 for (const LocalVarDefRange &DefRange : Var.DefRanges) { in emitLocalVariable() local 1886 if (DefRange.StructOffset != 0) in emitLocalVariable() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | CodeViewDebug.cpp | 1181 LocalVarDefRange DefRange = in collectVariableInfoFromMFTable() local 1188 DefRange.Ranges.emplace_back(Begin, End); in collectVariableInfoFromMFTable() 1193 Var.DefRanges.emplace_back(std::move(DefRange)); in collectVariableInfoFromMFTable() 2639 for (const LocalVarDefRange &DefRange : Var.DefRanges) { in emitLocalVariable() local 2641 if (DefRange.InMemory) { in emitLocalVariable() 2642 int Offset = DefRange.DataOffset; in emitLocalVariable() 2643 unsigned Reg = DefRange.CVRegister; in emitLocalVariable() 2657 if (!DefRange.IsSubfield && EncFP != EncodedFramePtrReg::None && in emitLocalVariable() 2663 OS.EmitCVDefRangeDirective(DefRange.Ranges, DRHdr); in emitLocalVariable() 2666 if (DefRange.IsSubfield) { in emitLocalVariable() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | CodeViewDebug.cpp | 1196 LocalVarDefRange DefRange = in collectVariableInfoFromMFTable() local 1203 DefRange.Ranges.emplace_back(Begin, End); in collectVariableInfoFromMFTable() 1208 Var.DefRanges.emplace_back(std::move(DefRange)); in collectVariableInfoFromMFTable() 2669 for (const LocalVarDefRange &DefRange : Var.DefRanges) { in emitLocalVariable() local 2671 if (DefRange.InMemory) { in emitLocalVariable() 2672 int Offset = DefRange.DataOffset; in emitLocalVariable() 2673 unsigned Reg = DefRange.CVRegister; in emitLocalVariable() 2687 if (!DefRange.IsSubfield && EncFP != EncodedFramePtrReg::None && in emitLocalVariable() 2693 OS.emitCVDefRangeDirective(DefRange.Ranges, DRHdr); in emitLocalVariable() 2696 if (DefRange.IsSubfield) { in emitLocalVariable() [all …]
|
/external/llvm/lib/DebugInfo/CodeView/ |
D | SymbolDumper.cpp | 370 DefRangeSym &DefRange) { in visitDefRangeSym() argument 375 auto ProgramStringTableOffset = DefRange.Header.Program; in visitDefRangeSym() 382 printLocalVariableAddrRange(DefRange.Header.Range, in visitDefRangeSym() 383 DefRange.getRelocationOffset()); in visitDefRangeSym() 384 printLocalVariableAddrGap(DefRange.Gaps); in visitDefRangeSym()
|
/external/llvm-project/llvm/lib/DebugInfo/CodeView/ |
D | SymbolDumper.cpp | 382 DefRangeSym &DefRange) { in visitKnownRecord() argument 385 auto ExpectedProgram = Strings.getString(DefRange.Program); in visitKnownRecord() 393 printLocalVariableAddrRange(DefRange.Range, DefRange.getRelocationOffset()); in visitKnownRecord() 394 printLocalVariableAddrGap(DefRange.Gaps); in visitKnownRecord()
|
D | SymbolRecordMapping.cpp | 295 DefRangeSym &DefRange) { in visitKnownRecord() argument 297 error(IO.mapInteger(DefRange.Program)); in visitKnownRecord() 298 error(mapLocalVariableAddrRange(IO, DefRange.Range)); in visitKnownRecord() 299 error(IO.mapVectorTail(DefRange.Gaps, MapGap())); in visitKnownRecord()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
D | SymbolDumper.cpp | 382 DefRangeSym &DefRange) { in visitKnownRecord() argument 385 auto ExpectedProgram = Strings.getString(DefRange.Program); in visitKnownRecord() 393 printLocalVariableAddrRange(DefRange.Range, DefRange.getRelocationOffset()); in visitKnownRecord() 394 printLocalVariableAddrGap(DefRange.Gaps); in visitKnownRecord()
|
D | SymbolRecordMapping.cpp | 295 DefRangeSym &DefRange) { in visitKnownRecord() argument 297 error(IO.mapInteger(DefRange.Program)); in visitKnownRecord() 298 error(mapLocalVariableAddrRange(IO, DefRange.Range)); in visitKnownRecord() 299 error(IO.mapVectorTail(DefRange.Gaps, MapGap())); in visitKnownRecord()
|
/external/llvm/test/DebugInfo/COFF/ |
D | local-constant.ll | 24 ; OBJ-NOT: DefRange
|
/external/llvm-project/llvm/test/DebugInfo/COFF/ |
D | local-constant.ll | 25 ; OBJ-NOT: DefRange
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 7876 SourceRange DefRange(MI->getReplacementToken(0).getLocation(), in checkForMacroInMacroDefinition() local 7882 if (SM.isBeforeInTranslationUnit(Tok.getLocation(), DefRange.getBegin())) in checkForMacroInMacroDefinition() 7884 if (SM.isBeforeInTranslationUnit(DefRange.getEnd(), Tok.getLocation())) in checkForMacroInMacroDefinition()
|
/external/llvm-project/clang/tools/libclang/ |
D | CIndex.cpp | 8991 SourceRange DefRange(MI->getReplacementToken(0).getLocation(), in checkForMacroInMacroDefinition() local 8997 if (SM.isBeforeInTranslationUnit(Tok.getLocation(), DefRange.getBegin())) in checkForMacroInMacroDefinition() 8999 if (SM.isBeforeInTranslationUnit(DefRange.getEnd(), Tok.getLocation())) in checkForMacroInMacroDefinition()
|