• Home
  • Raw
  • Download

Lines Matching refs:streamer

61 static void EmitUnwindCode(MCStreamer &streamer, const MCSymbol *begin,  in EmitUnwindCode()  argument
70 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
72 streamer.emitInt8(b2); in EmitUnwindCode()
75 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
78 streamer.emitInt8(b2); in EmitUnwindCode()
80 streamer.emitInt16(w); in EmitUnwindCode()
83 streamer.emitInt8(b2); in EmitUnwindCode()
86 streamer.emitInt16(w); in EmitUnwindCode()
90 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
91 streamer.emitInt8(b2); in EmitUnwindCode()
94 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
95 streamer.emitInt8(b2); in EmitUnwindCode()
100 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
101 streamer.emitInt8(b2); in EmitUnwindCode()
105 streamer.emitInt16(w); in EmitUnwindCode()
110 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
111 streamer.emitInt8(b2); in EmitUnwindCode()
116 streamer.emitInt16(w); in EmitUnwindCode()
118 streamer.emitInt16(w); in EmitUnwindCode()
123 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
124 streamer.emitInt8(b2); in EmitUnwindCode()
129 static void EmitSymbolRefWithOfs(MCStreamer &streamer, in EmitSymbolRefWithOfs() argument
132 MCContext &Context = streamer.getContext(); in EmitSymbolRefWithOfs()
139 streamer.emitValue(MCBinaryExpr::createAdd(BaseRefRel, Ofs, Context), 4); in EmitSymbolRefWithOfs()
142 static void EmitRuntimeFunction(MCStreamer &streamer, in EmitRuntimeFunction() argument
144 MCContext &context = streamer.getContext(); in EmitRuntimeFunction()
146 streamer.emitValueToAlignment(4); in EmitRuntimeFunction()
147 EmitSymbolRefWithOfs(streamer, info->Function, info->Begin); in EmitRuntimeFunction()
148 EmitSymbolRefWithOfs(streamer, info->Function, info->End); in EmitRuntimeFunction()
149 streamer.emitValue(MCSymbolRefExpr::create(info->Symbol, in EmitRuntimeFunction()
154 static void EmitUnwindInfo(MCStreamer &streamer, WinEH::FrameInfo *info) { in EmitUnwindInfo() argument
159 MCContext &context = streamer.getContext(); in EmitUnwindInfo()
162 streamer.emitValueToAlignment(4); in EmitUnwindInfo()
163 streamer.emitLabel(Label); in EmitUnwindInfo()
176 streamer.emitInt8(flags); in EmitUnwindInfo()
179 EmitAbsDifference(streamer, info->PrologEnd, info->Begin); in EmitUnwindInfo()
181 streamer.emitInt8(0); in EmitUnwindInfo()
184 streamer.emitInt8(numCodes); in EmitUnwindInfo()
192 streamer.emitInt8(frame); in EmitUnwindInfo()
199 EmitUnwindCode(streamer, info->Begin, inst); in EmitUnwindInfo()
207 streamer.emitInt16(0); in EmitUnwindInfo()
211 EmitRuntimeFunction(streamer, info->ChainedParent); in EmitUnwindInfo()
214 streamer.emitValue(MCSymbolRefExpr::create(info->ExceptionHandler, in EmitUnwindInfo()
221 streamer.emitInt32(0); in EmitUnwindInfo()
353 static void ARM64EmitUnwindCode(MCStreamer &streamer, const MCSymbol *begin, in ARM64EmitUnwindCode() argument
361 streamer.emitInt8(b); in ARM64EmitUnwindCode()
367 streamer.emitInt8(b); in ARM64EmitUnwindCode()
369 streamer.emitInt8(b); in ARM64EmitUnwindCode()
375 streamer.emitInt8(b); in ARM64EmitUnwindCode()
378 streamer.emitInt8(b); in ARM64EmitUnwindCode()
380 streamer.emitInt8(b); in ARM64EmitUnwindCode()
382 streamer.emitInt8(b); in ARM64EmitUnwindCode()
387 streamer.emitInt8(b); in ARM64EmitUnwindCode()
391 streamer.emitInt8(b); in ARM64EmitUnwindCode()
393 streamer.emitInt8(b); in ARM64EmitUnwindCode()
397 streamer.emitInt8(b); in ARM64EmitUnwindCode()
402 streamer.emitInt8(b); in ARM64EmitUnwindCode()
407 streamer.emitInt8(b); in ARM64EmitUnwindCode()
412 streamer.emitInt8(b); in ARM64EmitUnwindCode()
418 streamer.emitInt8(b); in ARM64EmitUnwindCode()
420 streamer.emitInt8(b); in ARM64EmitUnwindCode()
426 streamer.emitInt8(b); in ARM64EmitUnwindCode()
428 streamer.emitInt8(b); in ARM64EmitUnwindCode()
434 streamer.emitInt8(b); in ARM64EmitUnwindCode()
436 streamer.emitInt8(b); in ARM64EmitUnwindCode()
442 streamer.emitInt8(b); in ARM64EmitUnwindCode()
444 streamer.emitInt8(b); in ARM64EmitUnwindCode()
452 streamer.emitInt8(b); in ARM64EmitUnwindCode()
454 streamer.emitInt8(b); in ARM64EmitUnwindCode()
460 streamer.emitInt8(b); in ARM64EmitUnwindCode()
462 streamer.emitInt8(b); in ARM64EmitUnwindCode()
468 streamer.emitInt8(b); in ARM64EmitUnwindCode()
470 streamer.emitInt8(b); in ARM64EmitUnwindCode()
476 streamer.emitInt8(b); in ARM64EmitUnwindCode()
478 streamer.emitInt8(b); in ARM64EmitUnwindCode()
484 streamer.emitInt8(b); in ARM64EmitUnwindCode()
486 streamer.emitInt8(b); in ARM64EmitUnwindCode()
490 streamer.emitInt8(b); in ARM64EmitUnwindCode()
494 streamer.emitInt8(b); in ARM64EmitUnwindCode()
498 streamer.emitInt8(b); in ARM64EmitUnwindCode()
502 streamer.emitInt8(b); in ARM64EmitUnwindCode()
506 streamer.emitInt8(b); in ARM64EmitUnwindCode()
510 streamer.emitInt8(b); in ARM64EmitUnwindCode()
609 static int checkPackedEpilog(MCStreamer &streamer, WinEH::FrameInfo *info, in checkPackedEpilog() argument
632 streamer, info->FuncletOrFuncEnd, info->EpilogMap.begin()->first); in checkPackedEpilog()
877 static void ARM64EmitUnwindInfo(MCStreamer &streamer, WinEH::FrameInfo *info, in ARM64EmitUnwindInfo() argument
896 streamer.getContext().reportError( in ARM64EmitUnwindInfo()
908 MCContext &context = streamer.getContext(); in ARM64EmitUnwindInfo()
911 streamer.emitValueToAlignment(4); in ARM64EmitUnwindInfo()
912 streamer.emitLabel(Label); in ARM64EmitUnwindInfo()
945 RawFuncLength = GetAbsDifference(streamer, info->FuncletOrFuncEnd, in ARM64EmitUnwindInfo()
954 int PackedEpilogOffset = checkPackedEpilog(streamer, info, PrologCodeBytes); in ARM64EmitUnwindInfo()
1014 streamer.emitInt32(row1); in ARM64EmitUnwindInfo()
1026 streamer.emitInt32(row2); in ARM64EmitUnwindInfo()
1034 (uint32_t)GetAbsDifference(streamer, EpilogStart, info->Begin); in ARM64EmitUnwindInfo()
1039 streamer.emitInt32(row3); in ARM64EmitUnwindInfo()
1047 ARM64EmitUnwindCode(streamer, info->Begin, inst); in ARM64EmitUnwindInfo()
1055 ARM64EmitUnwindCode(streamer, info->Begin, inst); in ARM64EmitUnwindInfo()
1062 streamer.emitInt8(0xE3); in ARM64EmitUnwindInfo()
1065 streamer.emitValue( in ARM64EmitUnwindInfo()
1071 static void ARM64EmitRuntimeFunction(MCStreamer &streamer, in ARM64EmitRuntimeFunction() argument
1073 MCContext &context = streamer.getContext(); in ARM64EmitRuntimeFunction()
1075 streamer.emitValueToAlignment(4); in ARM64EmitRuntimeFunction()
1076 EmitSymbolRefWithOfs(streamer, info->Function, info->Begin); in ARM64EmitRuntimeFunction()
1078 streamer.emitInt32(info->PackedInfo); in ARM64EmitRuntimeFunction()
1080 streamer.emitValue( in ARM64EmitRuntimeFunction()