Lines Matching refs:AsmText

43   static void EmitInlineAsm(LLVMContext &C, BasicBlock *BB, StringRef AsmText) {  in EmitInlineAsm()  argument
50 llvm::InlineAsm::get(AsmFTy, AsmText, "", true, in EmitInlineAsm()
192 std::string AsmText; in swapFPIntParams() local
196 AsmText += MI + "$$4, $$f12\n"; in swapFPIntParams()
200 AsmText += MI + "$$4, $$f12\n"; in swapFPIntParams()
201 AsmText += MI + "$$5, $$f14\n"; in swapFPIntParams()
205 AsmText += MI + "$$4, $$f12\n"; in swapFPIntParams()
207 AsmText += MI + "$$6, $$f14\n"; in swapFPIntParams()
208 AsmText += MI + "$$7, $$f15\n"; in swapFPIntParams()
210 AsmText += MI + "$$7, $$f14\n"; in swapFPIntParams()
211 AsmText += MI + "$$6, $$f15\n"; in swapFPIntParams()
217 AsmText += MI + "$$4, $$f12\n"; in swapFPIntParams()
218 AsmText += MI + "$$5, $$f13\n"; in swapFPIntParams()
220 AsmText += MI + "$$5, $$f12\n"; in swapFPIntParams()
221 AsmText += MI + "$$4, $$f13\n"; in swapFPIntParams()
227 AsmText += MI + "$$4, $$f12\n"; in swapFPIntParams()
228 AsmText += MI + "$$5, $$f13\n"; in swapFPIntParams()
229 AsmText += MI + "$$6, $$f14\n"; in swapFPIntParams()
230 AsmText += MI + "$$7, $$f15\n"; in swapFPIntParams()
232 AsmText += MI + "$$5, $$f12\n"; in swapFPIntParams()
233 AsmText += MI + "$$4, $$f13\n"; in swapFPIntParams()
234 AsmText += MI + "$$7, $$f14\n"; in swapFPIntParams()
235 AsmText += MI + "$$6, $$f15\n"; in swapFPIntParams()
241 AsmText += MI + "$$4, $$f12\n"; in swapFPIntParams()
242 AsmText += MI + "$$5, $$f13\n"; in swapFPIntParams()
244 AsmText += MI + "$$5, $$f12\n"; in swapFPIntParams()
245 AsmText += MI + "$$4, $$f13\n"; in swapFPIntParams()
247 AsmText += MI + "$$6, $$f14\n"; in swapFPIntParams()
254 return AsmText; in swapFPIntParams()
288 std::string AsmText; in assureFPCallStub() local
289 AsmText += ".set reorder\n"; in assureFPCallStub()
290 AsmText += swapFPIntParams(PV, M, LE, true); in assureFPCallStub()
292 AsmText += "move $$18, $$31\n"; in assureFPCallStub()
293 AsmText += "jal " + Name + "\n"; in assureFPCallStub()
295 AsmText += "lui $$25, %hi(" + Name + ")\n"; in assureFPCallStub()
296 AsmText += "addiu $$25, $$25, %lo(" + Name + ")\n"; in assureFPCallStub()
301 AsmText += "mfc1 $$2, $$f0\n"; in assureFPCallStub()
306 AsmText += "mfc1 $$2, $$f0\n"; in assureFPCallStub()
307 AsmText += "mfc1 $$3, $$f1\n"; in assureFPCallStub()
309 AsmText += "mfc1 $$3, $$f0\n"; in assureFPCallStub()
310 AsmText += "mfc1 $$2, $$f1\n"; in assureFPCallStub()
316 AsmText += "mfc1 $$2, $$f0\n"; in assureFPCallStub()
317 AsmText += "mfc1 $$3, $$f2\n"; in assureFPCallStub()
319 AsmText += "mfc1 $$3, $$f0\n"; in assureFPCallStub()
320 AsmText += "mfc1 $$3, $$f2\n"; in assureFPCallStub()
326 AsmText += "mfc1 $$4, $$f2\n"; in assureFPCallStub()
327 AsmText += "mfc1 $$5, $$f3\n"; in assureFPCallStub()
328 AsmText += "mfc1 $$2, $$f0\n"; in assureFPCallStub()
329 AsmText += "mfc1 $$3, $$f1\n"; in assureFPCallStub()
332 AsmText += "mfc1 $$5, $$f2\n"; in assureFPCallStub()
333 AsmText += "mfc1 $$4, $$f3\n"; in assureFPCallStub()
334 AsmText += "mfc1 $$3, $$f0\n"; in assureFPCallStub()
335 AsmText += "mfc1 $$2, $$f1\n"; in assureFPCallStub()
344 AsmText += "jr $$18\n"; in assureFPCallStub()
346 AsmText += "jr $$25\n"; in assureFPCallStub()
347 EmitInlineAsm(Context, BB, AsmText); in assureFPCallStub()
482 std::string AsmText; in createFPFnStub() local
484 AsmText += ".set noreorder\n"; in createFPFnStub()
485 AsmText += ".cpload $$25\n"; in createFPFnStub()
486 AsmText += ".set reorder\n"; in createFPFnStub()
487 AsmText += ".reloc 0, R_MIPS_NONE, " + Name + "\n"; in createFPFnStub()
488 AsmText += "la $$25, " + LocalName + "\n"; in createFPFnStub()
490 AsmText += "la $$25, " + Name + "\n"; in createFPFnStub()
491 AsmText += swapFPIntParams(PV, M, LE, false); in createFPFnStub()
492 AsmText += "jr $$25\n"; in createFPFnStub()
493 AsmText += LocalName + " = " + Name + "\n"; in createFPFnStub()
494 EmitInlineAsm(Context, BB, AsmText); in createFPFnStub()