tc_insts_xsb_i.h File Reference

#include "debugs/debug_tries.h"

Functions

 XSB_Start_Instr (trie_no_cp_str, _trie_no_cp_str) TRIE_R_LOCK()
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_no_cp_str"))
 XSB_End_Instr () XSB_Start_Instr(trie_try_str
 TRIE_R_LOCK ()
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_try_str"))
 save_find_locx (ereg)
 save_trie_registers (tbreg)
 save_choicepoint (tbreg, ereg,(byte *) opfail, breg)
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_retry_str"))
 restore_regs_and_vars (tbreg, CP_SIZE)
 cp_pcreg (breg) = (byte *) opfail
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_trust_str"))
 restore_trail_condition_registers (breg)
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_no_cp_numcon:"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_try_numcon"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_retry_numcon"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_trust_numcon"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_no_cp_numcon_succ"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_try_numcon_succ"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_retry_numcon_succ"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_trust_numcon_succ"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_no_cp_var"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"symbol number is %d\n", num_vars_in_var_regs))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_try_var"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_retry_var"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_trust_var"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_no_cp_val"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_try_val"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_retry_val"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_trust_val"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_no_cp_list"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_try_list"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_retry_list:"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_trust_list"))
_trie_no_cp_fail xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_no_cp_fail"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_trust_fail"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_try_fail"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_retry_fail"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"hash_opcode"))
 XSB_CptrDeref (temp_ptr_for_hash)
 if (!isref(temp_ptr_for_hash)&&(*hash_base==NULL))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"hash_handle"))
 if (int_val(cell(breg+CP_SIZE+2))==HASH_IS_NOT_FREE)
_trie_root xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_root:"))
_trie_fail_unlock xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_fail_unlock"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_assert"))
 if (Child(NodePtr)!=NULL)
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_no_cp_attv"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_try_attv"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_retry_attv:"))
 xsb_dbgmsg ((LOG_TRIE_INSTR,"trie_trust_attv"))

Variables

 NodePtr = (BTNptr) lpcreg
 unify_with_trie_str
 non_ftag_lpcreg
_trie_try_str CPtr tbreg = top_of_cpstack
 breg = tbreg
 hbreg = hreg
 unify_with_trie_numcon
 reg_arrayptr
 proceed_lpcreg
 num_vars_in_var_regs = DecodeTrieVar(opatom)
 var_regs [num_vars_in_var_regs] = (CPtr) *reg_arrayptr
 next_lpcreg
 unify_with_trie_val
 unify_with_trie_list
 lpcreg = (byte *) & fail_inst
_hash_opcode CPtr temp_ptr_for_hash = (CPtr)*reg_arrayptr
BTHTptr hash_header = (BTHTptr) lpcreg
BTHTptrhash_base = (BTHTptr *) BTHT_BucketArray(hash_header)
int hashed_hash_offset
BTHTptr hash_hdr = (BTHTptr) string_val(cell(breg+CP_SIZE+1))
int hash_offset = int_val(cell(breg+CP_SIZE))
_trie_assert_inst Psc psc_ptr
int i
 unify_with_trie_attv

Function Documentation

cp_pcreg breg   )  = (byte *) opfail
 

if Child(NodePtr)!  = NULL  ) 
 

if int_val(cell(breg+CP_SIZE+2))  = = HASH_IS_NOT_FREE  ) 
 

if !isref(temp_ptr_for_hash)&&*==  NULL  ) 
 

restore_regs_and_vars tbreg  ,
CP_SIZE 
 

restore_trail_condition_registers breg   ) 
 

save_choicepoint tbreg  ,
ereg  ,
(byte *)  opfail,
breg 
 

save_find_locx ereg   ) 
 

save_trie_registers tbreg   ) 
 

TRIE_R_LOCK  ) 
 

XSB_CptrDeref temp_ptr_for_hash   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_trust_attv")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_retry_attv:")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_try_attv")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_no_cp_attv")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_assert")   ) 
 

_trie_fail_unlock xsb_dbgmsg (LOG_TRIE_INSTR,"trie_fail_unlock")   ) 
 

_trie_root xsb_dbgmsg (LOG_TRIE_INSTR,"trie_root:")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"hash_handle")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"hash_opcode")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_retry_fail")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_try_fail")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_trust_fail")   ) 
 

_trie_no_cp_fail xsb_dbgmsg (LOG_TRIE_INSTR,"trie_no_cp_fail")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_trust_list")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_retry_list:")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_try_list")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_no_cp_list")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_trust_val")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_retry_val")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_try_val")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_no_cp_val")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_trust_var")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_retry_var")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_try_var")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"symbol number is %d\n", num_vars_in_var_regs)   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_no_cp_var")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_trust_numcon_succ")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_retry_numcon_succ")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_try_numcon_succ")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_no_cp_numcon_succ")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_trust_numcon")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_retry_numcon")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_try_numcon")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_no_cp_numcon:")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_trust_str")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_retry_str")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_try_str")   ) 
 

xsb_dbgmsg (LOG_TRIE_INSTR,"trie_no_cp_str")   ) 
 

XSB_End_Instr  ) 
 

XSB_Start_Instr trie_no_cp_str  ,
_trie_no_cp_str 
 


Variable Documentation

breg = tbreg
 

BTHTptr * hash_base = (BTHTptr *) BTHT_BucketArray(hash_header)
 

hash_hdr = (BTHTptr) string_val(cell(breg+CP_SIZE+1))
 

hash_header = (BTHTptr) lpcreg
 

hash_offset = int_val(cell(breg+CP_SIZE))
 

int hashed_hash_offset
 

hbreg = hreg
 

int i
 

else lpcreg = (byte *) & fail_inst
 

next_lpcreg
 

NodePtr = (BTNptr) lpcreg
 

non_ftag_lpcreg
 

num_vars_in_var_regs = DecodeTrieVar(opatom)
 

proceed_lpcreg
 

_trie_assert_inst Psc psc_ptr
 

reg_arrayptr
 

_trie_trust_attv CPtr tbreg = top_of_cpstack
 

temp_ptr_for_hash = (CPtr)*reg_arrayptr
 

unify_with_trie_attv
 

unify_with_trie_list
 

unify_with_trie_numcon
 

unify_with_trie_str
 

unify_with_trie_val
 

var_regs[num_vars_in_var_regs] = (CPtr) *reg_arrayptr
 


Generated on Wed Jul 26 13:26:54 2006 for XSB by  doxygen 1.4.5