Home
last modified time | relevance | path

Searched refs:bits_in_pointer (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dsymbol.c445 sym->bit_size = bits_in_pointer; in examine_pointer_type()
785 { &string_ctype, SYM_PTR, 0, &bits_in_pointer, &pointer_alignment, &char_ctype },
786 { &ptr_ctype, SYM_PTR, 0, &bits_in_pointer, &pointer_alignment, &void_ctype },
787 { &null_ctype, SYM_PTR, 0, &bits_in_pointer, &pointer_alignment, &void_ctype },
788 { &label_ctype, SYM_PTR, 0, &bits_in_pointer, &pointer_alignment, &void_ctype },
789 { &lazy_ptr_ctype, SYM_PTR, 0, &bits_in_pointer, &pointer_alignment, &void_ctype },
790 { &int_ptr_ctype, SYM_PTR, 0, &bits_in_pointer, &pointer_alignment, &int_ctype },
791 { &uint_ptr_ctype, SYM_PTR, 0, &bits_in_pointer, &pointer_alignment, &uint_ctype },
792 { &long_ptr_ctype, SYM_PTR, 0, &bits_in_pointer, &pointer_alignment, &long_ctype },
793 …{ &ulong_ptr_ctype, SYM_PTR, 0, &bits_in_pointer, &pointer_alignment, &ulong_ctype …
[all …]
H A Dtarget.c48 int bits_in_pointer = 32; variable
148 bits_in_pointer = 64; in init_target()
H A Dtarget.h45 extern int bits_in_pointer;
H A Dshow-parse.c771 printf("\tadd.%d\t\tvSP,vSP,$%d\n", bits_in_pointer, framesize); in show_call_expression()
951 printf("\tmovi.%d\t\tv%d,$%s\n", bits_in_pointer, new, show_ident(sym->ident)); in show_symbol_expr()
955 printf("\taddi.%d\t\tv%d,vFP,$%lld\n", bits_in_pointer, new, 0LL); in show_symbol_expr()
958 …printf("\taddi.%d\t\tv%d,vFP,$offsetof(%s:%p)\n", bits_in_pointer, new, show_ident(sym->ident), sy… in show_symbol_expr()
1023 printf("\tmovi.%d\t\tv%d,&%s\n", bits_in_pointer, new, show_string(expr->string)); in show_string_expr()
1030 printf("\tmovi.%d\t\tv%d,.L%p\n",bits_in_pointer, new, expr->label_symbol); in show_label_expr()
H A Dsmatch_mtag.c346 if (bits_in_pointer != 64) in expr_to_mtag_offset()
410 if (bits_in_pointer != 64) in get_mtag_sval()
H A Dsparse-llvm.c333 LLVMTypeRef itype = LLVMIntType(bits_in_pointer); in constant_value()
419 LLVMTypeRef dtype = LLVMIntType(bits_in_pointer); in value_to_ivalue()
690 int_type = LLVMIntType(bits_in_pointer); in calc_memop_addr()
H A Dcompile-i386.c2234 printf("\tmovi.%d\t\tv%d,$%s\n", bits_in_pointer, new->pseudo, show_ident(sym->ident)); in x86_symbol_expr()
2238 printf("\taddi.%d\t\tv%d,vFP,$%lld\n", bits_in_pointer, new->pseudo, 0LL); in x86_symbol_expr()
2241 …printf("\taddi.%d\t\tv%d,vFP,$offsetof(%s:%p)\n", bits_in_pointer, new->pseudo, show_ident(sym->id… in x86_symbol_expr()
2269 printf("\tmovi.%d\t\tv%d,.L%p\n", bits_in_pointer, new->pseudo, expr->label_symbol); in x86_label_expr()
H A Devaluate.c618 if (multiply == 1 && itype->bit_size >= bits_in_pointer) in evaluate_ptr_add()
630 mask = 1ULL << (bits_in_pointer - 1); in evaluate_ptr_add()
638 if (itype->bit_size < bits_in_pointer) in evaluate_ptr_add()
1662 ptr->bit_size = bits_in_pointer; in create_pointer()
1665 node->bit_size = bits_in_pointer; in create_pointer()
H A Dsmatch.h1337 return bits_in_pointer; in type_bits()
1359 return bits_in_pointer; in type_positive_bits()
H A Dlinearize.c1093 struct instruction *insn = alloc_instruction(OP_SYMADDR, bits_in_pointer); in add_symbol_address()