Lines Matching refs:CurFn
88 assert(CurFn); in maybeRecordLocation()
89 if (!CurFn->Instrs.empty()) { in maybeRecordLocation()
90 const InstrInfoTy &LastInstr = InstrInfo[CurFn->Instrs.back()]; in maybeRecordLocation()
98 CurFn->Instrs.push_back(MCL); in maybeRecordLocation()
103 : Asm(nullptr), CurFn(nullptr) { in WinCodeViewLineTables()
331 assert(!CurFn && "Can't process two functions at once!"); in beginFunction()
339 CurFn = &FnDebugInfo[GV]; in beginFunction()
371 if (!Asm || !CurFn) // We haven't created any debug info for this function. in endFunction()
376 assert(CurFn == &FnDebugInfo[GV]); in endFunction()
378 if (CurFn->Instrs.empty()) { in endFunction()
382 CurFn->End = Asm->getFunctionEnd(); in endFunction()
384 CurFn = nullptr; in endFunction()