Lines Matching defs:Loc

179 void MCStreamer::emitValue(const MCExpr *Value, unsigned Size, SMLoc Loc) {
180 emitValueImpl(Value, Size, Loc);
308 SMLoc Loc) {
310 getContext().reportError(Loc, "parent function id not introduced by "
322 StringRef FileName, SMLoc Loc) {}
325 SMLoc Loc) {
330 Loc, "function id not introduced by .cv_func_id or .cv_inline_site_id");
339 Loc,
414 void MCStreamer::emitLabel(MCSymbol *Symbol, SMLoc Loc) {
418 return getContext().reportError(Loc, "symbol '" + Twine(Symbol->getName()) +
438 void MCStreamer::emitCFIStartProc(bool IsSimple, SMLoc Loc) {
442 Loc, "starting new .cfi frame before finishing the previous one");
486 void MCStreamer::emitCFIDefCfa(int64_t Register, int64_t Offset, SMLoc Loc) {
489 MCCFIInstruction::cfiDefCfa(Label, Register, Offset, Loc);
497 void MCStreamer::emitCFIDefCfaOffset(int64_t Offset, SMLoc Loc) {
507 void MCStreamer::emitCFIAdjustCfaOffset(int64_t Adjustment, SMLoc Loc) {
510 MCCFIInstruction::createAdjustCfaOffset(Label, Adjustment, Loc);
517 void MCStreamer::emitCFIDefCfaRegister(int64_t Register, SMLoc Loc) {
520 MCCFIInstruction::createDefCfaRegister(Label, Register, Loc);
529 int64_t AddressSpace, SMLoc Loc) {
532 Label, Register, Offset, AddressSpace, Loc);
540 void MCStreamer::emitCFIOffset(int64_t Register, int64_t Offset, SMLoc Loc) {
543 MCCFIInstruction::createOffset(Label, Register, Offset, Loc);
550 void MCStreamer::emitCFIRelOffset(int64_t Register, int64_t Offset, SMLoc Loc) {
553 MCCFIInstruction::createRelOffset(Label, Register, Offset, Loc);
577 void MCStreamer::emitCFIRememberState(SMLoc Loc) {
580 MCCFIInstruction::createRememberState(Label, Loc);
587 void MCStreamer::emitCFIRestoreState(SMLoc Loc) {
591 MCCFIInstruction::createRestoreState(Label, Loc);
598 void MCStreamer::emitCFISameValue(int64_t Register, SMLoc Loc) {
601 MCCFIInstruction::createSameValue(Label, Register, Loc);
608 void MCStreamer::emitCFIRestore(int64_t Register, SMLoc Loc) {
611 MCCFIInstruction::createRestore(Label, Register, Loc);
618 void MCStreamer::emitCFIEscape(StringRef Values, SMLoc Loc) {
621 MCCFIInstruction::createEscape(Label, Values, Loc, "");
628 void MCStreamer::emitCFIGnuArgsSize(int64_t Size, SMLoc Loc) {
631 MCCFIInstruction::createGnuArgsSize(Label, Size, Loc);
645 void MCStreamer::emitCFIUndefined(int64_t Register, SMLoc Loc) {
648 MCCFIInstruction::createUndefined(Label, Register, Loc);
656 SMLoc Loc) {
659 MCCFIInstruction::createRegister(Label, Register1, Register2, Loc);
666 void MCStreamer::emitCFIWindowSave(SMLoc Loc) {
668 MCCFIInstruction Instruction = MCCFIInstruction::createWindowSave(Label, Loc);
675 void MCStreamer::emitCFINegateRAState(SMLoc Loc) {
678 MCCFIInstruction::createNegateRAState(Label, Loc);
692 void MCStreamer::emitCFILabelDirective(SMLoc Loc, StringRef Name) {
696 F->Instructions.push_back(MCCFIInstruction::createLabel(Label, Sym, Loc));
699 WinEH::FrameInfo *MCStreamer::EnsureValidWinFrameInfo(SMLoc Loc) {
703 Loc, ".seh_* directives are not supported on this target");
708 Loc, ".seh_ directive must appear within an active frame");
714 void MCStreamer::emitWinCFIStartProc(const MCSymbol *Symbol, SMLoc Loc) {
718 Loc, ".seh_* directives are not supported on this target");
721 Loc, "Starting a function before ending the previous one!");
732 void MCStreamer::emitWinCFIEndProc(SMLoc Loc) {
733 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc);
737 getContext().reportError(Loc, "Not all chained regions terminated!");
750 void MCStreamer::emitWinCFIFuncletOrFuncEnd(SMLoc Loc) {
751 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc);
755 getContext().reportError(Loc, "Not all chained regions terminated!");
761 void MCStreamer::emitWinCFIStartChained(SMLoc Loc) {
762 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc);
774 void MCStreamer::emitWinCFIEndChained(SMLoc Loc) {
775 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc);
780 Loc, "End of a chained region outside a chained region!");
789 SMLoc Loc) {
790 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc);
795 Loc, "Chained unwind areas can't have handlers!");
798 getContext().reportError(Loc, "Don't know what kind of handler this is!");
805 void MCStreamer::emitWinEHHandlerData(SMLoc Loc) {
806 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc);
810 getContext().reportError(Loc, "Chained unwind areas can't have handlers!");
869 void MCStreamer::emitWinCFIPushReg(MCRegister Register, SMLoc Loc) {
870 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc);
882 SMLoc Loc) {
883 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc);
888 Loc, "frame register and offset can be set at most once");
890 return getContext().reportError(Loc, "offset is not a multiple of 16");
893 Loc, "frame offset must be less than or equal to 240");
903 void MCStreamer::emitWinCFIAllocStack(unsigned Size, SMLoc Loc) {
904 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc);
908 return getContext().reportError(Loc,
912 Loc, "stack allocation size is not a multiple of 8");
921 SMLoc Loc) {
922 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc);
928 Loc, "register save offset is not 8 byte aligned");
938 SMLoc Loc) {
939 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc);
943 return getContext().reportError(Loc, "offset is not a multiple of 16");
952 void MCStreamer::emitWinCFIPushFrame(bool Code, SMLoc Loc) {
953 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc);
958 Loc, "If present, PushMachFrame must be the first UOP");
966 void MCStreamer::emitWinCFIEndProlog(SMLoc Loc) {
967 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc);
1224 void MCStreamer::emitValueImpl(const MCExpr *Value, unsigned Size, SMLoc Loc) {
1229 void MCStreamer::emitFill(const MCExpr &NumBytes, uint64_t Value, SMLoc Loc) {}
1231 SMLoc Loc) {}
1238 SMLoc Loc) {}