X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeverify.h;h=adcbe7e835b3678486f32b98fb8296d7c5e9db7b;hb=79268f7122ba8f5820658967157b3a9c78ea492a;hp=3eae1b38d1a29dda5c1abbf758f7f82816ce1603;hpb=1a3b7d363474ab544c13093a2f0b578718d37c7a;p=libfirm diff --git a/ir/be/beverify.h b/ir/be/beverify.h index 3eae1b38d..adcbe7e83 100644 --- a/ir/be/beverify.h +++ b/ir/be/beverify.h @@ -22,11 +22,11 @@ * @brief Various verify routines that check a scheduled graph for correctness. * @author Matthias Braun * @date 05.05.2006 - * @version $Id$ */ #ifndef FIRM_BE_BEVERIFY_H #define FIRM_BE_BEVERIFY_H +#include #include "irgraph.h" #include "beirg.h" @@ -65,8 +65,20 @@ int be_verify_spillslots(ir_graph *irg); * assigned. * * @param irg The graph to check - * @return 1 if verify succeeded, 0 otherwise + * @return true if verify succeeded, false otherwise */ -int be_verify_register_allocation(ir_graph *irg); +bool be_verify_register_allocation(ir_graph *irg); + +/** + * Check, if the SSA dominance property is fulfilled. + * @param irg The graph. + * @return true if dominance property is fulfilled, false otherwise + */ +bool be_check_dominance(ir_graph *irg); + +/** + * Check the given liveness information against a freshly computed one. + */ +void be_liveness_check(be_lv_t *lv); #endif