]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Get rid of some functions made redundant by recent isel reorganisation.
authorJulian Seward <jseward@acm.org>
Mon, 2 May 2005 10:54:34 +0000 (10:54 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 2 May 2005 10:54:34 +0000 (10:54 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@1153

VEX/priv/host-amd64/isel.c
VEX/priv/host-x86/isel.c

index f0d570e819d211fd03a3797768ef60cab1df4a0a..80912407bd7d787f3ceb01ce09d75147f61fcd49 100644 (file)
@@ -780,9 +780,7 @@ static HReg iselIntExpr_R_wrk ( ISelEnv* env, IRExpr* e )
 {
    MatchInfo mi;
    DECLARE_PATTERN(p_8Uto64);
-   DECLARE_PATTERN(p_16Uto64);
    DECLARE_PATTERN(p_1Uto8_64to1);
-//..    DECLARE_PATTERN(p_32to1_then_1Uto8);
 
    IRType ty = typeOfIRExpr(env->type_env,e);
    vassert(ty == Ity_I32 || Ity_I16 || Ity_I8);
@@ -1747,7 +1745,6 @@ static AMD64CondCode iselCondCode ( ISelEnv* env, IRExpr* e )
 static AMD64CondCode iselCondCode_wrk ( ISelEnv* env, IRExpr* e )
 {
    MatchInfo mi;
-   DECLARE_PATTERN(p_32to1_64to32);
 //..    DECLARE_PATTERN(p_1Uto32_then_32to1);
 //..    DECLARE_PATTERN(p_1Sto32_then_32to1);
 
index 941fc0ea26f5a2b210bef36c57f07ca4b435fdcd..fb676d153f505e44d667edc2961c286ab9253a96 100644 (file)
@@ -97,16 +97,6 @@ static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 )
    return IRExpr_Binop(op, a1, a2);
 }
 
-static IRExpr* mkU64 ( ULong i )
-{
-   return IRExpr_Const(IRConst_U64(i));
-}
-
-static IRExpr* mkU32 ( UInt i )
-{
-   return IRExpr_Const(IRConst_U32(i));
-}
-
 static IRExpr* bind ( Int binder )
 {
    return IRExpr_Binder(binder);
@@ -256,15 +246,6 @@ static HReg        iselVecExpr     ( ISelEnv* env, IRExpr* e );
 /*--- ISEL: Misc helpers                                ---*/
 /*---------------------------------------------------------*/
 
-/* Is this a 32-bit zero expression? */
-
-static Bool isZero32 ( IRExpr* e )
-{
-   return toBool( e->tag == Iex_Const
-                  && e->Iex.Const.con->tag == Ico_U32
-                  && e->Iex.Const.con->Ico.U32 == 0 );
-}
-
 /* Make a int reg-reg move. */
 
 static X86Instr* mk_iMOVsd_RR ( HReg src, HReg dst )