Home
last modified time | relevance | path

Searched refs:FuncRange (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfiledBinary.cpp168 if (FuncRange *FR = findFuncRangeForStartOffset(R.first)) { in warnNoFuncEntry()
408 auto *FuncRange = findFuncRangeForOffset(Offset); in setIsFuncEntry() local
410 if (!FuncRange) in setIsFuncEntry()
415 if (FuncRange->Func->Ranges.size() == 1 || in setIsFuncEntry()
416 (!FuncRange->IsFuncEntry && FuncRange->getFuncName() == RangeSymName)) in setIsFuncEntry()
417 FuncRange->IsFuncEntry = true; in setIsFuncEntry()
701 auto R = StartOffset2FuncRangeMap.emplace(StartOffset, FuncRange()); in loadSymbolsFromDWARFUnit()
703 FuncRange &FRange = R.first->second; in loadSymbolsFromDWARFUnit()
H A DProfiledBinary.h102 struct FuncRange { struct
125 void inferPrologOffsets(std::map<uint64_t, FuncRange> &FuncStartOffsetMap) { in inferPrologOffsets() argument
227 std::map<uint64_t, FuncRange> StartOffset2FuncRangeMap;
438 FuncRange *findFuncRangeForStartOffset(uint64_t Offset) { in findFuncRangeForStartOffset()
446 FuncRange *findFuncRangeForOffset(uint64_t Offset) { in findFuncRangeForOffset()
H A DProfileGenerator.cpp424 if (FuncRange *FRange = Binary->findFuncRangeForOffset( in collectFunctionsFromRawProfile()
432 if (FuncRange *FRange = Binary->findFuncRangeForOffset(StartOffset)) in collectFunctionsFromRawProfile()
439 if (FuncRange *FRange = Binary->findFuncRangeForOffset(SourceOffset)) in collectFunctionsFromRawProfile()
441 if (FuncRange *FRange = Binary->findFuncRangeForOffset(TargetOffset)) in collectFunctionsFromRawProfile()
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DFunctionInfo.cpp160 LR.FuncRange = {FuncAddr, FuncAddr + Data.getU32(&Offset)}; in lookup()
171 if (LR.FuncRange.size() > 0 && !LR.FuncRange.contains(Addr)) in lookup()
H A DDwarfTransformer.cpp218 DWARFAddressRange FuncRange = in parseInlineInfo() local
225 if (FuncRange.LowPC <= Range.LowPC && Range.HighPC <= FuncRange.HighPC) in parseInlineInfo()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/GSYM/
H A DLookupResult.h40 AddressRange FuncRange; ///< The concrete function address range. member
/llvm-project-15.0.7/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp324 Optional<std::pair<AddressRange, int64_t>> FuncRange, in emitRangesEntries() argument
331 (Entries.empty() || !FuncRange) ? 0 : FuncRange->second + UnitPcOffset; in emitRangesEntries()
343 if (!FuncRange->first.contains(Range.StartAddress + OrigLowPc)) in emitRangesEntries()
/llvm-project-15.0.7/llvm/include/llvm/DWARFLinker/
H A DDWARFStreamer.h99 Optional<std::pair<AddressRange, int64_t>> FuncRange,
H A DDWARFLinker.h127 Optional<std::pair<AddressRange, int64_t>> FuncRange,
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DExtractFunction.cpp320 if (auto FuncRange = in findExtractionZone() local
322 ExtZone.EnclosingFuncRange = *FuncRange; in findExtractionZone()