Lines Matching refs:Cfg
64 void dump(const Cfg *, Ostream &Str) const override { in dump() argument
81 static OperandMIPS32FCC *create(Cfg *Func, OperandMIPS32FCC::FCC FCC) { in create()
87 void emit(const Cfg *Func) const override { in emit()
98 void dump(const Cfg *Func, Ostream &Str) const override { in dump()
129 static OperandMIPS32Mem *create(Cfg *Func, Type Ty, Variable *Base,
139 void emit(const Cfg *Func) const override;
152 void dump(const Cfg *Func, Ostream &Str) const override { in dump()
171 OperandMIPS32Mem(Cfg *Func, Type Ty, Variable *Base, Operand *ImmOffset,
295 void dump(const Cfg *Func) const override;
306 const Cfg *Func);
308 const Cfg *Func);
310 const Cfg *Func);
312 const Cfg *Func);
314 const Cfg *Func);
316 const Cfg *Func);
319 InstMIPS32(Cfg *Func, InstKindMIPS32 Kind, SizeT Maxsrcs, Variable *Dest) in InstMIPS32()
340 static InstMIPS32Ret *create(Cfg *Func, Variable *RA,
345 void emit(const Cfg *Func) const override;
346 void emitIAS(const Cfg *Func) const override;
347 void dump(const Cfg *Func) const override;
351 InstMIPS32Ret(Cfg *Func, Variable *RA, Variable *Source);
362 static InstMIPS32UnaryopGPR *create(Cfg *Func, Variable *Dest, Operand *Src,
367 void emit(const Cfg *Func) const override { in emit()
372 void emitIAS(const Cfg *Func) const override { in emitIAS()
376 void dump(const Cfg *Func) const override { in dump()
389 InstMIPS32UnaryopGPR(Cfg *Func, Variable *Dest, Operand *Src,
408 static InstMIPS32TwoAddrFPR *create(Cfg *Func, Variable *Dest, in create()
413 void emit(const Cfg *Func) const override { in emit()
418 void emitIAS(const Cfg *Func) const override { in emitIAS()
423 void dump(const Cfg *Func) const override { in dump()
436 InstMIPS32TwoAddrFPR(Cfg *Func, Variable *Dest, Variable *Src0) in InstMIPS32TwoAddrFPR()
452 static InstMIPS32TwoAddrGPR *create(Cfg *Func, Variable *Dest, in create()
457 void emit(const Cfg *Func) const override { in emit()
462 void emitIAS(const Cfg *Func) const override { in emitIAS()
467 void dump(const Cfg *Func) const override { in dump()
480 InstMIPS32TwoAddrGPR(Cfg *Func, Variable *Dest, Variable *Src0) in InstMIPS32TwoAddrGPR()
499 static InstMIPS32ThreeAddrFPR *create(Cfg *Func, Variable *Dest, in create()
504 void emit(const Cfg *Func) const override { in emit()
509 void emitIAS(const Cfg *Func) const override { in emitIAS()
514 void dump(const Cfg *Func) const override { in dump()
527 InstMIPS32ThreeAddrFPR(Cfg *Func, Variable *Dest, Variable *Src0, in InstMIPS32ThreeAddrFPR()
548 static InstMIPS32ThreeAddrGPR *create(Cfg *Func, Variable *Dest, in create()
553 void emit(const Cfg *Func) const override { in emit()
558 void emitIAS(const Cfg *Func) const override { in emitIAS()
563 void dump(const Cfg *Func) const override { in dump()
576 InstMIPS32ThreeAddrGPR(Cfg *Func, Variable *Dest, Variable *Src0, in InstMIPS32ThreeAddrGPR()
595 static InstMIPS32Load *create(Cfg *Func, Variable *Value,
601 void emit(const Cfg *Func) const override { in emit()
647 void emitIAS(const Cfg *Func) const override { in emitIAS()
652 void dump(const Cfg *Func) const override { in dump()
666 InstMIPS32Load(Cfg *Func, Variable *Value, OperandMIPS32Mem *Mem,
684 static InstMIPS32Store *create(Cfg *Func, Variable *Value,
690 void emit(const Cfg *Func) const override { in emit()
737 void emitIAS(const Cfg *Func) const override { in emitIAS()
742 void dump(const Cfg *Func) const override { in dump()
756 InstMIPS32Store(Cfg *Func, Variable *Value, OperandMIPS32Mem *Mem,
775 static InstMIPS32Label *create(Cfg *Func, TargetMIPS32 *Target) { in create()
782 void emit(const Cfg *Func) const override;
783 void emitIAS(const Cfg *Func) const override;
784 void dump(const Cfg *Func) const override;
789 InstMIPS32Label(Cfg *Func, TargetMIPS32 *Target);
804 static InstMIPS32Br *create(Cfg *Func, CfgNode *Target) { in create()
811 static InstMIPS32Br *create(Cfg *Func, CfgNode *Target, in create()
819 static InstMIPS32Br *create(Cfg *Func, CfgNode *TargetTrue, in create()
827 static InstMIPS32Br *create(Cfg *Func, CfgNode *TargetTrue, in create()
835 static InstMIPS32Br *create(Cfg *Func, CfgNode *TargetTrue, in create()
852 void emit(const Cfg *Func) const override;
853 void emitIAS(const Cfg *Func) const override;
854 void dump(const Cfg *Func) const override;
858 InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, const CfgNode *TargetFalse,
861 InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, const CfgNode *TargetFalse,
865 InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, const CfgNode *TargetFalse,
881 static InstMIPS32Call *create(Cfg *Func, Variable *Dest, in create()
887 void emit(const Cfg *Func) const override;
888 void emitIAS(const Cfg *Func) const override;
889 void dump(const Cfg *Func) const override;
893 InstMIPS32Call(Cfg *Func, Variable *Dest, Operand *CallTarget);
903 static InstMIPS32FPCmp *create(Cfg *Func, Variable *Src0, Variable *Src1) { in create()
908 void emit(const Cfg *Func) const override { in emit()
919 void emitIAS(const Cfg *Func) const override { in emitIAS()
924 void dump(const Cfg *Func) const override { in dump()
937 InstMIPS32FPCmp(Cfg *Func, Variable *Src0, Variable *Src1) in InstMIPS32FPCmp()
952 static InstMIPS32Sync *create(Cfg *Func) { in create()
956 void emit(const Cfg *Func) const override { in emit()
963 void dump(const Cfg *Func) const override { in dump()
973 void emitIAS(const Cfg *Func) const override;
976 InstMIPS32Sync(Cfg *Func) : InstMIPS32(Func, InstMIPS32::Sync, 0, nullptr) {} in InstMIPS32Sync()
988 static InstMIPS32Trap *create(Cfg *Func, Operand *Src0, Operand *Src1, in create()
996 void emit(const Cfg *Func) const override { in emit()
1007 void emitIAS(const Cfg *Func) const override { in emitIAS()
1012 void dump(const Cfg *Func) const override { in dump()
1025 InstMIPS32Trap(Cfg *Func, Operand *Src0, Operand *Src1, const uint32_t Tcode) in InstMIPS32Trap()
1042 static InstMIPS32Imm16 *create(Cfg *Func, Variable *Dest, Operand *Source,
1048 static InstMIPS32Imm16 *create(Cfg *Func, Variable *Dest, uint32_t Imm,
1054 static InstMIPS32Imm16 *create(Cfg *Func, Variable *Dest, Operand *Src0, in create()
1060 void emit(const Cfg *Func) const override { in emit()
1085 void emitIAS(const Cfg *Func) const override { in emitIAS()
1089 void dump(const Cfg *Func) const override { in dump()
1119 InstMIPS32Imm16(Cfg *Func, Variable *Dest, Operand *Source, uint32_t Imm,
1125 InstMIPS32Imm16(Cfg *Func, Variable *Dest, uint32_t Imm,
1129 InstMIPS32Imm16(Cfg *Func, Variable *Dest, Operand *Src0, Operand *Src1,
1150 static InstMIPS32MovConditional *create(Cfg *Func, Variable *Dest, in create()
1156 void emit(const Cfg *Func) const override { in emit()
1169 void emitIAS(const Cfg *Func) const override { in emitIAS()
1174 void dump(const Cfg *Func) const override { in dump()
1187 InstMIPS32MovConditional(Cfg *Func, Variable *Dest, Variable *Src, in InstMIPS32MovConditional()
1298 static InstMIPS32Mov *create(Cfg *Func, Variable *Dest, Operand *Src, in create()
1308 void emit(const Cfg *Func) const override;
1309 void emitIAS(const Cfg *Func) const override;
1310 void dump(const Cfg *Func) const override;
1316 InstMIPS32Mov(Cfg *Func, Variable *Dest, Operand *Src, Operand *Src2);
1318 void emitMultiDestSingleSource(const Cfg *Func) const;
1319 void emitSingleDestMultiSource(const Cfg *Func) const;
1320 void emitSingleDestSingleSource(const Cfg *Func) const;
1332 static InstMIPS32MovFP64ToI64 *create(Cfg *Func, Variable *Dest, Operand *Src, in create()
1342 void dump(const Cfg *Func) const override { in dump()
1358 InstMIPS32MovFP64ToI64(Cfg *Func, Variable *Dest, Operand *Src,
1367 template <> void InstMIPS32Abs_d::emitIAS(const Cfg *Func) const;
1368 template <> void InstMIPS32Abs_s::emitIAS(const Cfg *Func) const;
1369 template <> void InstMIPS32Add_d::emitIAS(const Cfg *Func) const;
1370 template <> void InstMIPS32Add_s::emitIAS(const Cfg *Func) const;
1371 template <> void InstMIPS32Addi::emitIAS(const Cfg *Func) const;
1372 template <> void InstMIPS32Addiu::emitIAS(const Cfg *Func) const;
1373 template <> void InstMIPS32Addu::emitIAS(const Cfg *Func) const;
1374 template <> void InstMIPS32And::emitIAS(const Cfg *Func) const;
1375 template <> void InstMIPS32Andi::emitIAS(const Cfg *Func) const;
1376 template <> void InstMIPS32C_eq_d::emitIAS(const Cfg *Func) const;
1377 template <> void InstMIPS32C_eq_s::emitIAS(const Cfg *Func) const;
1378 template <> void InstMIPS32C_ole_d::emitIAS(const Cfg *Func) const;
1379 template <> void InstMIPS32C_ole_s::emitIAS(const Cfg *Func) const;
1380 template <> void InstMIPS32C_olt_d::emitIAS(const Cfg *Func) const;
1381 template <> void InstMIPS32C_olt_s::emitIAS(const Cfg *Func) const;
1382 template <> void InstMIPS32C_ueq_d::emitIAS(const Cfg *Func) const;
1383 template <> void InstMIPS32C_ueq_s::emitIAS(const Cfg *Func) const;
1384 template <> void InstMIPS32C_ule_d::emitIAS(const Cfg *Func) const;
1385 template <> void InstMIPS32C_ule_s::emitIAS(const Cfg *Func) const;
1386 template <> void InstMIPS32C_ult_d::emitIAS(const Cfg *Func) const;
1387 template <> void InstMIPS32C_ult_s::emitIAS(const Cfg *Func) const;
1388 template <> void InstMIPS32C_un_d::emitIAS(const Cfg *Func) const;
1389 template <> void InstMIPS32C_un_s::emitIAS(const Cfg *Func) const;
1390 template <> void InstMIPS32Clz::emitIAS(const Cfg *Func) const;
1391 template <> void InstMIPS32Cvt_d_l::emitIAS(const Cfg *Func) const;
1392 template <> void InstMIPS32Cvt_d_s::emitIAS(const Cfg *Func) const;
1393 template <> void InstMIPS32Cvt_d_w::emitIAS(const Cfg *Func) const;
1394 template <> void InstMIPS32Cvt_s_d::emitIAS(const Cfg *Func) const;
1395 template <> void InstMIPS32Cvt_s_l::emitIAS(const Cfg *Func) const;
1396 template <> void InstMIPS32Cvt_s_w::emitIAS(const Cfg *Func) const;
1397 template <> void InstMIPS32Div::emitIAS(const Cfg *Func) const;
1398 template <> void InstMIPS32Div_d::emitIAS(const Cfg *Func) const;
1399 template <> void InstMIPS32Div_s::emitIAS(const Cfg *Func) const;
1400 template <> void InstMIPS32Divu::emitIAS(const Cfg *Func) const;
1401 template <> void InstMIPS32Ldc1::emitIAS(const Cfg *Func) const;
1402 template <> void InstMIPS32Ll::emitIAS(const Cfg *Func) const;
1403 template <> void InstMIPS32Lui::emit(const Cfg *Func) const;
1404 template <> void InstMIPS32Lui::emitIAS(const Cfg *Func) const;
1405 template <> void InstMIPS32Lw::emitIAS(const Cfg *Func) const;
1406 template <> void InstMIPS32Lwc1::emitIAS(const Cfg *Func) const;
1407 template <> void InstMIPS32Mfc1::emitIAS(const Cfg *Func) const;
1408 template <> void InstMIPS32Mflo::emit(const Cfg *Func) const;
1409 template <> void InstMIPS32Mflo::emitIAS(const Cfg *Func) const;
1410 template <> void InstMIPS32Mfhi::emit(const Cfg *Func) const;
1411 template <> void InstMIPS32Mfhi::emitIAS(const Cfg *Func) const;
1412 template <> void InstMIPS32Mov_d::emitIAS(const Cfg *Func) const;
1413 template <> void InstMIPS32Mov_s::emitIAS(const Cfg *Func) const;
1414 template <> void InstMIPS32Movf::emitIAS(const Cfg *Func) const;
1415 template <> void InstMIPS32Movn::emitIAS(const Cfg *Func) const;
1416 template <> void InstMIPS32Movn_d::emitIAS(const Cfg *Func) const;
1417 template <> void InstMIPS32Movn_s::emitIAS(const Cfg *Func) const;
1418 template <> void InstMIPS32Movt::emitIAS(const Cfg *Func) const;
1419 template <> void InstMIPS32Movz::emitIAS(const Cfg *Func) const;
1420 template <> void InstMIPS32Movz_d::emitIAS(const Cfg *Func) const;
1421 template <> void InstMIPS32Movz_s::emitIAS(const Cfg *Func) const;
1422 template <> void InstMIPS32Mtc1::emit(const Cfg *Func) const;
1423 template <> void InstMIPS32Mtc1::emitIAS(const Cfg *Func) const;
1424 template <> void InstMIPS32Mtlo::emit(const Cfg *Func) const;
1425 template <> void InstMIPS32Mtlo::emitIAS(const Cfg *Func) const;
1426 template <> void InstMIPS32Mthi::emit(const Cfg *Func) const;
1427 template <> void InstMIPS32Mthi::emitIAS(const Cfg *Func) const;
1428 template <> void InstMIPS32Mul::emitIAS(const Cfg *Func) const;
1429 template <> void InstMIPS32Mul_d::emitIAS(const Cfg *Func) const;
1430 template <> void InstMIPS32Mul_s::emitIAS(const Cfg *Func) const;
1431 template <> void InstMIPS32Mult::emit(const Cfg *Func) const;
1432 template <> void InstMIPS32Multu::emit(const Cfg *Func) const;
1433 template <> void InstMIPS32Multu::emitIAS(const Cfg *Func) const;
1434 template <> void InstMIPS32Nor::emitIAS(const Cfg *Func) const;
1435 template <> void InstMIPS32Or::emitIAS(const Cfg *Func) const;
1436 template <> void InstMIPS32Ori::emitIAS(const Cfg *Func) const;
1437 template <> void InstMIPS32Sc::emitIAS(const Cfg *Func) const;
1438 template <> void InstMIPS32Sdc1::emitIAS(const Cfg *Func) const;
1439 template <> void InstMIPS32Sll::emitIAS(const Cfg *Func) const;
1440 template <> void InstMIPS32Sllv::emitIAS(const Cfg *Func) const;
1441 template <> void InstMIPS32Slt::emitIAS(const Cfg *Func) const;
1442 template <> void InstMIPS32Slti::emitIAS(const Cfg *Func) const;
1443 template <> void InstMIPS32Sltiu::emitIAS(const Cfg *Func) const;
1444 template <> void InstMIPS32Sltu::emitIAS(const Cfg *Func) const;
1445 template <> void InstMIPS32Sqrt_d::emitIAS(const Cfg *Func) const;
1446 template <> void InstMIPS32Sqrt_s::emitIAS(const Cfg *Func) const;
1447 template <> void InstMIPS32Sw::emitIAS(const Cfg *Func) const;
1448 template <> void InstMIPS32Swc1::emitIAS(const Cfg *Func) const;
1449 template <> void InstMIPS32Sra::emitIAS(const Cfg *Func) const;
1450 template <> void InstMIPS32Srav::emitIAS(const Cfg *Func) const;
1451 template <> void InstMIPS32Srl::emitIAS(const Cfg *Func) const;
1452 template <> void InstMIPS32Srlv::emitIAS(const Cfg *Func) const;
1453 template <> void InstMIPS32Sub_d::emitIAS(const Cfg *Func) const;
1454 template <> void InstMIPS32Sub_s::emitIAS(const Cfg *Func) const;
1455 template <> void InstMIPS32Subu::emitIAS(const Cfg *Func) const;
1456 template <> void InstMIPS32Teq::emitIAS(const Cfg *Func) const;
1457 template <> void InstMIPS32Trunc_l_d::emitIAS(const Cfg *Func) const;
1458 template <> void InstMIPS32Trunc_l_s::emitIAS(const Cfg *Func) const;
1459 template <> void InstMIPS32Trunc_w_d::emitIAS(const Cfg *Func) const;
1460 template <> void InstMIPS32Trunc_w_s::emitIAS(const Cfg *Func) const;
1461 template <> void InstMIPS32Xor::emitIAS(const Cfg *Func) const;
1462 template <> void InstMIPS32Xori::emitIAS(const Cfg *Func) const;