Lines Matching refs:UWord
95 UWord a1w = (UWord)a1; in cmp_nonempty_intervals()
96 UWord n1w = (UWord)n1; in cmp_nonempty_intervals()
97 UWord a2w = (UWord)a2; in cmp_nonempty_intervals()
98 UWord n2w = (UWord)n2; in cmp_nonempty_intervals()
249 (Word(*)(UWord,UWord))StackBlocks__cmp ); in init_StackBlocks_set()
261 UWord key, val; in StackBlocks__find_and_dealloc__or_add()
362 if (VG_(lookupFM)( frameBlocks_set, &key, &val, (UWord)orig )) { in StackBlocks__find_and_dealloc__or_add()
366 tl_assert(key != (UWord)orig); in StackBlocks__find_and_dealloc__or_add()
372 VG_(addToFM)( frameBlocks_set, (UWord)orig, 0 ); in StackBlocks__find_and_dealloc__or_add()
425 (Word(*)(UWord,UWord))GlobalBlock__cmp ); in init_GlobalBlock_set()
437 UWord key, val; in get_persistent_GlobalBlock()
439 if (VG_(lookupFM)( globalBlock_set, &key, &val, (UWord)orig )) { in get_persistent_GlobalBlock()
453 VG_(addToFM)( globalBlock_set, (UWord)clone, 0 ); in get_persistent_GlobalBlock()
476 UWord depth; /* depth of stack at time block was pushed */
482 UWord keyW, valW; in pp_StackTree()
504 UWord keyW, valW; in find_StackTreeNode()
509 if (VG_(lookupFM)( sitree, &keyW, &valW, (UWord)&key )) { in find_StackTreeNode()
526 UWord depth in add_blocks_to_StackTree()
557 already_present = VG_(addToFM)( sitree, (UWord)nyu, 0 ); in add_blocks_to_StackTree()
574 UWord oldK, oldV; in del_blocks_from_StackTree()
583 b = VG_(delFromFM)( sitree, &oldK, &oldV, (UWord)nd ); in del_blocks_from_StackTree()
593 static void delete_StackTree__kFin ( UWord keyW ) { in delete_StackTree__kFin()
598 static void delete_StackTree__vFin ( UWord valW ) { in delete_StackTree__vFin()
609 (Word(*)(UWord,UWord))cmp_intervals_StackTreeNode ); in new_StackTree()
642 UWord keyW, valW; in GlobalTree__pp()
668 UWord keyW, valW; in find_GlobalTreeNode()
672 if (VG_(lookupFM)( gitree, &keyW, &valW, (UWord)&key )) { in find_GlobalTreeNode()
691 UWord keyW, valW; in add_block_to_GlobalTree()
704 already_present = VG_(lookupFM)( gitree, &keyW, &valW, (UWord)nyu ); in add_block_to_GlobalTree()
734 already_present = VG_(addToFM)( gitree, (UWord)nyu, 0 ); in add_block_to_GlobalTree()
766 UWord keyW, valW, oldK, oldV; in del_GlobalTree_range()
777 while (VG_(lookupFM)( gitree, &keyW, &valW, (UWord)&key )) { in del_GlobalTree_range()
784 b = VG_(delFromFM)( gitree, &oldK, &oldV, (UWord)&key ); in del_GlobalTree_range()
899 /*OUT*/UWord* absDelta, in gen_delta_str()
1072 (Word(*)(UWord,UWord))cmp_intervals_GlobalTreeNode ); in ourGlobals_init()
1135 UWord keyW, valW; in sg_die_mem_munmap()
1223 UWord htab_size; /* size of hash table, MAY ONLY BE A POWER OF 2 */
1224 UWord htab_used; /* number of hash table slots currently in use */
1277 UWord u; in preen_global_Invars()
1296 UWord xx = 0; /* sanity check only; count of used htab entries */ in preen_global_Invars()
1315 inline static UWord compute_II_hash ( Addr ip, UWord htab_size ) { in compute_II_hash()
1322 UWord i; in initialise_II_hash_table()
1335 UWord i, j, ix, old_size, new_size; in resize_II_hash_table()
1395 UWord i, ix; in find_or_create_IInstance_SLOW()
1452 UWord ix = compute_II_hash(ip, sf->htab_size); in find_or_create_IInstance()
1477 UWord w1 = (UWord)descr->base; in calculate_StackBlock_EA()
1478 UWord w2 = (UWord)(descr->spRel ? sp : fp); in calculate_StackBlock_EA()
1479 UWord ea = w1 + w2; in calculate_StackBlock_EA()
1511 UWord szB, in classify_address()
1537 static UWord ctr = 0; in classify_address()
1603 static UWord ctr = 0; in classify_address()
1633 sPosInf.addr = ~(UWord)0; in classify_address()
1637 gPosInf.addr = ~(UWord)0; in classify_address()
1646 (UWord*)&sLB, NULL/*unused*/, in classify_address()
1647 (UWord*)&sUB, NULL/*unused*/, in classify_address()
1648 (UWord)&sNegInf, 0/*unused*/, in classify_address()
1649 (UWord)&sPosInf, 0/*unused*/, in classify_address()
1650 (UWord)&sKey ); in classify_address()
1652 (UWord*)&gLB, NULL/*unused*/, in classify_address()
1653 (UWord*)&gUB, NULL/*unused*/, in classify_address()
1654 (UWord)&gNegInf, 0/*unused*/, in classify_address()
1655 (UWord)&gPosInf, 0/*unused*/, in classify_address()
1656 (UWord)&gKey ); in classify_address()
1708 sMax = sUB == &sPosInf ? ~(UWord)0 : (sUB->addr - 1); in classify_address()
1710 gMax = gUB == &gPosInf ? ~(UWord)0 : (gUB->addr - 1); in classify_address()
1727 if (uMin < uMax && uMax == ~(UWord)0) in classify_address()
1768 UWord szB; in helperc__mem_access()
1825 UWord absDelta; in helperc__mem_access()
1841 static UWord stats__max_sitree_size = 0;
1842 static UWord stats__max_gitree_size = 0;
1882 UWord s = VG_(sizeFM)( siTrees[tid] ); in shadowStack_new_frame()
1883 UWord g = VG_(sizeFM)( giTree ); in shadowStack_new_frame()