Lines Matching refs:CurFrame
165 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EnsureValidFrame() local
166 if (!CurFrame || CurFrame->End) in EnsureValidFrame()
264 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EmitCompactUnwindEncoding() local
265 CurFrame->CompactUnwindEncoding = CompactUnwindEncoding; in EmitCompactUnwindEncoding()
275 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EmitCFIStartProc() local
276 if (CurFrame && !CurFrame->End) in EmitCFIStartProc()
298 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EmitCFIEndProc() local
299 CurFrame->End = getContext().CreateTempSymbol(); in EmitCFIEndProc()
300 EmitLabel(CurFrame->End); in EmitCFIEndProc()
305 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EmitCFIDefCfa() local
311 CurFrame->Instructions.push_back(Instruction); in EmitCFIDefCfa()
316 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EmitCFIDefCfaOffset() local
322 CurFrame->Instructions.push_back(Instruction); in EmitCFIDefCfaOffset()
327 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EmitCFIAdjustCfaOffset() local
333 CurFrame->Instructions.push_back(Instruction); in EmitCFIAdjustCfaOffset()
338 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EmitCFIDefCfaRegister() local
344 CurFrame->Instructions.push_back(Instruction); in EmitCFIDefCfaRegister()
349 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EmitCFIOffset() local
355 CurFrame->Instructions.push_back(Instruction); in EmitCFIOffset()
360 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EmitCFIRelOffset() local
366 CurFrame->Instructions.push_back(Instruction); in EmitCFIRelOffset()
372 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EmitCFIPersonality() local
373 CurFrame->Personality = Sym; in EmitCFIPersonality()
374 CurFrame->PersonalityEncoding = Encoding; in EmitCFIPersonality()
379 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EmitCFILsda() local
380 CurFrame->Lsda = Sym; in EmitCFILsda()
381 CurFrame->LsdaEncoding = Encoding; in EmitCFILsda()
386 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EmitCFIRememberState() local
390 CurFrame->Instructions.push_back(Instruction); in EmitCFIRememberState()
396 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EmitCFIRestoreState() local
400 CurFrame->Instructions.push_back(Instruction); in EmitCFIRestoreState()
405 MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo(); in EmitCFISameValue() local
409 CurFrame->Instructions.push_back(Instruction); in EmitCFISameValue()
418 MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo; in EnsureValidW64UnwindInfo() local
419 if (!CurFrame || CurFrame->End) in EnsureValidW64UnwindInfo()
424 MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo; in EmitWin64EHStartProc() local
425 if (CurFrame && !CurFrame->End) in EmitWin64EHStartProc()
436 MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo; in EmitWin64EHEndProc() local
437 if (CurFrame->ChainedParent) in EmitWin64EHEndProc()
439 CurFrame->End = getContext().CreateTempSymbol(); in EmitWin64EHEndProc()
440 EmitLabel(CurFrame->End); in EmitWin64EHEndProc()
446 MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo; in EmitWin64EHStartChained() local
448 Frame->Function = CurFrame->Function; in EmitWin64EHStartChained()
449 Frame->ChainedParent = CurFrame; in EmitWin64EHStartChained()
456 MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo; in EmitWin64EHEndChained() local
457 if (!CurFrame->ChainedParent) in EmitWin64EHEndChained()
459 CurFrame->End = getContext().CreateTempSymbol(); in EmitWin64EHEndChained()
460 EmitLabel(CurFrame->End); in EmitWin64EHEndChained()
461 CurrentW64UnwindInfo = CurFrame->ChainedParent; in EmitWin64EHEndChained()
467 MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo; in EmitWin64EHHandler() local
468 if (CurFrame->ChainedParent) in EmitWin64EHHandler()
470 CurFrame->ExceptionHandler = Sym; in EmitWin64EHHandler()
474 CurFrame->HandlesUnwind = true; in EmitWin64EHHandler()
476 CurFrame->HandlesExceptions = true; in EmitWin64EHHandler()
481 MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo; in EmitWin64EHHandlerData() local
482 if (CurFrame->ChainedParent) in EmitWin64EHHandlerData()
488 MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo; in EmitWin64EHPushReg() local
492 CurFrame->Instructions.push_back(Inst); in EmitWin64EHPushReg()
497 MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo; in EmitWin64EHSetFrame() local
498 if (CurFrame->LastFrameInst >= 0) in EmitWin64EHSetFrame()
503 CurFrame->LastFrameInst = CurFrame->Instructions.size(); in EmitWin64EHSetFrame()
504 CurFrame->Instructions.push_back(Inst); in EmitWin64EHSetFrame()
511 MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo; in EmitWin64EHAllocStack() local
515 CurFrame->Instructions.push_back(Inst); in EmitWin64EHAllocStack()
522 MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo; in EmitWin64EHSaveReg() local
528 CurFrame->Instructions.push_back(Inst); in EmitWin64EHSaveReg()
535 MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo; in EmitWin64EHSaveXMM() local
541 CurFrame->Instructions.push_back(Inst); in EmitWin64EHSaveXMM()
546 MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo; in EmitWin64EHPushFrame() local
547 if (CurFrame->Instructions.size() > 0) in EmitWin64EHPushFrame()
552 CurFrame->Instructions.push_back(Inst); in EmitWin64EHPushFrame()
557 MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo; in EmitWin64EHEndProlog() local
558 CurFrame->PrologEnd = getContext().CreateTempSymbol(); in EmitWin64EHEndProlog()
559 EmitLabel(CurFrame->PrologEnd); in EmitWin64EHEndProlog()