Lines Matching refs:Dest
339 auto *Dest = makeVariable(Vals[0].toOperand()->getType(), Control); in Phi() local
345 auto *Phi = InstPhi::create(Func, Count * 200, Dest); in Phi()
351 setDefiningInst(Dest, Phi); in Phi()
353 LOG(out << Node(Dest) << "\n"); in Phi()
354 return OperandNode(Dest); in Phi()
397 Variable *Dest = nullptr; in Binop() local
400 Dest = BoolDest; in Binop()
402 Dest = makeVariable(Left.toOperand()->getType()); in Binop()
408 InstArithmetic::create(Func, InstArithmetic::Add, Dest, Left, Right)); in Binop()
413 Dest, Left, Right)); in Binop()
418 InstArithmetic::create(Func, InstArithmetic::Sub, Dest, Left, Right)); in Binop()
423 Dest, Left, Right)); in Binop()
428 InstArithmetic::create(Func, InstArithmetic::Mul, Dest, Left, Right)); in Binop()
433 Dest, Left, Right)); in Binop()
438 Dest, Left, Right)); in Binop()
443 Dest, Left, Right)); in Binop()
448 Dest, Left, Right)); in Binop()
453 Dest, Left, Right)); in Binop()
458 Dest, Left, Right)); in Binop()
463 InstArithmetic::create(Func, InstArithmetic::Or, Dest, Left, Right)); in Binop()
468 InstArithmetic::create(Func, InstArithmetic::Xor, Dest, Left, Right)); in Binop()
473 InstArithmetic::create(Func, InstArithmetic::Shl, Dest, Left, Right)); in Binop()
498 InstArithmetic::create(Func, InstArithmetic::Or, Dest, Top, Bottom)); in Binop()
524 InstArithmetic::create(Func, InstArithmetic::Or, Dest, Top, Bottom)); in Binop()
530 Dest, Left, Right)); in Binop()
535 Dest, Left, Right)); in Binop()
540 InstArithmetic::create(Func, InstArithmetic::And, Dest, Left, Right)); in Binop()
549 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
559 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
569 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
579 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
589 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
599 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
609 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
619 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
629 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
639 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
649 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
659 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
669 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
679 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
689 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
699 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop()
707 LOG(out << Dest << "\n"); in Binop()
708 return OperandNode(Dest); in Binop()
713 Variable *Dest = nullptr; in Unop() local
718 Dest = BoolDest; in Unop()
723 Control()->appendInst(InstCast::create(Func, InstCast::Zext, Dest, Tmp)); in Unop()
728 Dest = BoolDest; in Unop()
733 Control()->appendInst(InstCast::create(Func, InstCast::Zext, Dest, Tmp)); in Unop()
737 Dest = makeVariable(IceType_i32); in Unop()
745 Func, 1, Dest, Ctx->getConstantExternSym(FnName), Info->Info); in Unop()
751 Dest = makeVariable(IceType_f32); in Unop()
753 Func, InstArithmetic::Fsub, Dest, Ctx->getConstantFloat(0), Input)); in Unop()
757 Dest = makeVariable(IceType_f64); in Unop()
759 Func, InstArithmetic::Fsub, Dest, Ctx->getConstantDouble(0), Input)); in Unop()
763 Dest = makeVariable(IceType_f32); in Unop()
771 Func, 1, Dest, Ctx->getConstantExternSym(FnName), Info->Info); in Unop()
777 Dest = makeVariable(IceType_f64); in Unop()
785 Func, 1, Dest, Ctx->getConstantExternSym(FnName), Info->Info); in Unop()
791 Dest = makeVariable(IceType_f64); in Unop()
796 Func, 1, Dest, Ctx->getConstantExternSym(FnName), HasTailCall); in Unop()
802 Dest = makeVariable(IceType_f64); in Unop()
807 Func, 1, Dest, Ctx->getConstantExternSym(FnName), HasTailCall); in Unop()
813 Dest = makeVariable(IceType_f32); in Unop()
821 Func, 1, Dest, Ctx->getConstantExternSym(FnName), Info->Info); in Unop()
827 Dest = makeVariable(IceType_f64); in Unop()
835 Func, 1, Dest, Ctx->getConstantExternSym(FnName), Info->Info); in Unop()
841 Dest = makeVariable(IceType_i64); in Unop()
843 InstCast::create(Func, InstCast::Zext, Dest, Input)); in Unop()
846 Dest = makeVariable(IceType_i64); in Unop()
848 InstCast::create(Func, InstCast::Sext, Dest, Input)); in Unop()
851 Dest = makeVariable(IceType_i32); in Unop()
853 InstCast::create(Func, InstCast::Fptosi, Dest, Input)); in Unop()
856 Dest = makeVariable(IceType_i32); in Unop()
858 InstCast::create(Func, InstCast::Fptoui, Dest, Input)); in Unop()
861 Dest = makeVariable(IceType_i32); in Unop()
863 InstCast::create(Func, InstCast::Fptosi, Dest, Input)); in Unop()
866 Dest = makeVariable(IceType_i32); in Unop()
868 InstCast::create(Func, InstCast::Fptoui, Dest, Input)); in Unop()
871 Dest = makeVariable(IceType_i32); in Unop()
873 InstCast::create(Func, InstCast::Bitcast, Dest, Input)); in Unop()
876 Dest = makeVariable(IceType_i64); in Unop()
878 InstCast::create(Func, InstCast::Bitcast, Dest, Input)); in Unop()
881 Dest = makeVariable(IceType_f64); in Unop()
883 InstCast::create(Func, InstCast::Bitcast, Dest, Input)); in Unop()
886 Dest = makeVariable(IceType_i32); in Unop()
888 InstCast::create(Func, InstCast::Trunc, Dest, Input)); in Unop()
891 Dest = makeVariable(IceType_f64); in Unop()
893 InstCast::create(Func, InstCast::Sitofp, Dest, Input)); in Unop()
896 Dest = makeVariable(IceType_f64); in Unop()
898 InstCast::create(Func, InstCast::Uitofp, Dest, Input)); in Unop()
901 Dest = makeVariable(IceType_f64); in Unop()
903 InstCast::create(Func, InstCast::Fpext, Dest, Input)); in Unop()
906 Dest = makeVariable(IceType_f32); in Unop()
908 InstCast::create(Func, InstCast::Sitofp, Dest, Input)); in Unop()
911 Dest = makeVariable(IceType_f32); in Unop()
913 InstCast::create(Func, InstCast::Uitofp, Dest, Input)); in Unop()
916 Dest = makeVariable(IceType_f32); in Unop()
918 InstCast::create(Func, InstCast::Bitcast, Dest, Input)); in Unop()
921 Dest = makeVariable(IceType_f32); in Unop()
923 InstCast::create(Func, InstCast::Fptrunc, Dest, Input)); in Unop()
930 LOG(out << Dest << "\n"); in Unop()
931 return OperandNode(Dest); in Unop()
1074 auto *Dest = Sig->return_count() > 0 in CallDirect() local
1077 auto *Call = InstCall::create(Func, NumArgs, Dest, TargetOperand, in CallDirect()
1086 LOG(out << "Call Result = " << Node(Dest) << "\n"); in CallDirect()
1087 return OperandNode(Dest); in CallDirect()
1112 auto *Dest = Sig->return_count() > 0 in CallImport() local
1117 InstCall::create(Func, NumArgs, Dest, TargetOperand, NoTailCall); in CallImport()
1126 LOG(out << "Call Result = " << Node(Dest) << "\n"); in CallImport()
1127 return OperandNode(Dest); in CallImport()
1149 auto *Dest = HasReturn ? makeVariable(DestTy) : nullptr; in CallIndirect() local
1153 HasReturn ? InstPhi::create(Func, IndirectTable.size(), Dest) : nullptr; in CallIndirect()
1180 return OperandNode(Dest); in CallIndirect()