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