Lines Matching refs:streamer
59 static void EmitUnwindCode(MCStreamer &streamer, const MCSymbol *begin, in EmitUnwindCode() argument
66 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
68 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
71 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
74 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
76 streamer.EmitIntValue(w, 2); in EmitUnwindCode()
79 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
82 streamer.EmitIntValue(w, 2); in EmitUnwindCode()
86 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
87 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
90 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
91 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
96 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
97 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
101 streamer.EmitIntValue(w, 2); in EmitUnwindCode()
106 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
107 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
112 streamer.EmitIntValue(w, 2); in EmitUnwindCode()
114 streamer.EmitIntValue(w, 2); in EmitUnwindCode()
119 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
120 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
125 static void EmitSymbolRefWithOfs(MCStreamer &streamer, in EmitSymbolRefWithOfs() argument
128 MCContext &Context = streamer.getContext(); in EmitSymbolRefWithOfs()
135 streamer.EmitValue(MCBinaryExpr::createAdd(BaseRefRel, Ofs, Context), 4); in EmitSymbolRefWithOfs()
138 static void EmitRuntimeFunction(MCStreamer &streamer, in EmitRuntimeFunction() argument
140 MCContext &context = streamer.getContext(); in EmitRuntimeFunction()
142 streamer.EmitValueToAlignment(4); in EmitRuntimeFunction()
143 EmitSymbolRefWithOfs(streamer, info->Function, info->Begin); in EmitRuntimeFunction()
144 EmitSymbolRefWithOfs(streamer, info->Function, info->End); in EmitRuntimeFunction()
145 streamer.EmitValue(MCSymbolRefExpr::create(info->Symbol, in EmitRuntimeFunction()
150 static void EmitUnwindInfo(MCStreamer &streamer, WinEH::FrameInfo *info) { in EmitUnwindInfo() argument
155 MCContext &context = streamer.getContext(); in EmitUnwindInfo()
158 streamer.EmitValueToAlignment(4); in EmitUnwindInfo()
159 streamer.EmitLabel(Label); in EmitUnwindInfo()
172 streamer.EmitIntValue(flags, 1); in EmitUnwindInfo()
175 EmitAbsDifference(streamer, info->PrologEnd, info->Begin); in EmitUnwindInfo()
177 streamer.EmitIntValue(0, 1); in EmitUnwindInfo()
180 streamer.EmitIntValue(numCodes, 1); in EmitUnwindInfo()
188 streamer.EmitIntValue(frame, 1); in EmitUnwindInfo()
195 EmitUnwindCode(streamer, info->Begin, inst); in EmitUnwindInfo()
203 streamer.EmitIntValue(0, 2); in EmitUnwindInfo()
207 EmitRuntimeFunction(streamer, info->ChainedParent); in EmitUnwindInfo()
210 streamer.EmitValue(MCSymbolRefExpr::create(info->ExceptionHandler, in EmitUnwindInfo()
217 streamer.EmitIntValue(0, 4); in EmitUnwindInfo()