Lines Matching refs:FuncId

76 MCCVFunctionInfo *CodeViewContext::getCVFunctionInfo(unsigned FuncId) {  in getCVFunctionInfo()  argument
77 if (FuncId >= Functions.size()) in getCVFunctionInfo()
79 if (Functions[FuncId].isUnallocatedFunctionInfo()) in getCVFunctionInfo()
81 return &Functions[FuncId]; in getCVFunctionInfo()
84 bool CodeViewContext::recordFunctionId(unsigned FuncId) { in recordFunctionId() argument
85 if (FuncId >= Functions.size()) in recordFunctionId()
86 Functions.resize(FuncId + 1); in recordFunctionId()
89 if (!Functions[FuncId].isUnallocatedFunctionInfo()) in recordFunctionId()
93 Functions[FuncId].ParentFuncIdPlusOne = MCCVFunctionInfo::FunctionSentinel; in recordFunctionId()
97 bool CodeViewContext::recordInlinedCallSiteId(unsigned FuncId, unsigned IAFunc, in recordInlinedCallSiteId() argument
100 if (FuncId >= Functions.size()) in recordInlinedCallSiteId()
101 Functions.resize(FuncId + 1); in recordInlinedCallSiteId()
104 if (!Functions[FuncId].isUnallocatedFunctionInfo()) in recordInlinedCallSiteId()
113 MCCVFunctionInfo *Info = &Functions[FuncId]; in recordInlinedCallSiteId()
122 Info->InlinedAtMap[FuncId] = InlinedAt; in recordInlinedCallSiteId()
273 CodeViewContext::getFunctionLineEntries(unsigned FuncId) { in getFunctionLineEntries() argument
277 std::tie(LocBegin, LocEnd) = getLineExtentIncludingInlinees(FuncId); in getFunctionLineEntries()
282 MCCVFunctionInfo *SiteInfo = getCVFunctionInfo(FuncId); in getFunctionLineEntries()
285 if (LocationFuncId == FuncId) { in getFunctionLineEntries()
301 FilteredLines.push_back(MCCVLoc(MCCVLines[Idx].getLabel(), FuncId, in getFunctionLineEntries()
311 std::pair<size_t, size_t> CodeViewContext::getLineExtent(unsigned FuncId) { in getLineExtent() argument
312 auto I = MCCVLineStartStop.find(FuncId); in getLineExtent()
320 CodeViewContext::getLineExtentIncludingInlinees(unsigned FuncId) { in getLineExtentIncludingInlinees() argument
323 std::tie(LocBegin, LocEnd) = getLineExtent(FuncId); in getLineExtentIncludingInlinees()
326 MCCVFunctionInfo *SiteInfo = getCVFunctionInfo(FuncId); in getLineExtentIncludingInlinees()
348 unsigned FuncId, in emitLineTableForFunction() argument
362 std::vector<MCCVLoc> Locs = getFunctionLineEntries(FuncId); in emitLineTableForFunction()