Lines Matching refs:vtop

2372 static SValue vstack[VSTACK_SIZE], *vtop;  variable
5850 if ((vtop->r & (VT_VALMASK | VT_LVAL)) == VT_CONST) { in gcall_or_jmp()
5852 if (vtop->r & VT_SYM) { in gcall_or_jmp()
5854 greloc(cur_text_section, vtop->sym, in gcall_or_jmp()
5861 oad(0xe8 + is_jmp, vtop->c.ul - 4); /* call/jmp im */ in gcall_or_jmp()
5882 if ((vtop->type.t & VT_BTYPE) == VT_STRUCT) { in gfunc_call()
5883 size = type_size(&vtop->type, &align); in gfunc_call()
5892 vset(&vtop->type, r | VT_LVAL, 0); in gfunc_call()
5896 } else if (is_float(vtop->type.t)) { in gfunc_call()
5898 if ((vtop->type.t & VT_BTYPE) == VT_FLOAT) in gfunc_call()
5900 else if ((vtop->type.t & VT_BTYPE) == VT_DOUBLE) in gfunc_call()
5916 if ((vtop->type.t & VT_BTYPE) == VT_LLONG) { in gfunc_call()
5918 o(0x50 + vtop->r2); /* push r */ in gfunc_call()
5925 vtop--; in gfunc_call()
5928 func_sym = vtop->type.ref; in gfunc_call()
5945 vtop--; in gfunc_call()
6116 v = vtop->r & VT_VALMASK; in gtst()
6120 t = psym((vtop->c.i - 16) ^ inv, t); in gtst()
6125 p = &vtop->c.i; in gtst()
6129 t = vtop->c.i; in gtst()
6132 gsym(vtop->c.i); in gtst()
6135 if (is_float(vtop->type.t)) { in gtst()
6139 if ((vtop->r & (VT_VALMASK | VT_LVAL | VT_SYM)) == VT_CONST) { in gtst()
6141 if ((vtop->c.i != 0) != inv) in gtst()
6151 vtop--; in gtst()
6165 if ((vtop->r & (VT_VALMASK | VT_LVAL | VT_SYM)) == VT_CONST) { in gen_opi()
6170 c = vtop->c.i; in gen_opi()
6182 r = vtop[-1].r; in gen_opi()
6183 fr = vtop[0].r; in gen_opi()
6187 vtop--; in gen_opi()
6189 vtop->r = VT_CMP; in gen_opi()
6190 vtop->c.i = op; in gen_opi()
6214 r = vtop[-1].r; in gen_opi()
6215 fr = vtop[0].r; in gen_opi()
6216 vtop--; in gen_opi()
6230 if ((vtop->r & (VT_VALMASK | VT_LVAL | VT_SYM)) == VT_CONST) { in gen_opi()
6235 c = vtop->c.i & 0x1f; in gen_opi()
6242 r = vtop[-1].r; in gen_opi()
6246 vtop--; in gen_opi()
6257 r = vtop[-1].r; in gen_opi()
6258 fr = vtop[0].r; in gen_opi()
6259 vtop--; in gen_opi()
6264 vtop->r2 = TREG_EDX; in gen_opi()
6279 vtop->r = r; in gen_opi()
6295 if ((vtop[-1].r & (VT_VALMASK | VT_LVAL)) == VT_CONST) { in gen_opf()
6300 if ((vtop[0].r & (VT_VALMASK | VT_LVAL)) == VT_CONST) in gen_opf()
6304 if ((vtop[-1].r & VT_LVAL) && in gen_opf()
6305 (vtop[0].r & VT_LVAL)) { in gen_opf()
6313 if (vtop[-1].r & VT_LVAL) { in gen_opf()
6319 load(TREG_ST0, vtop); in gen_opf()
6343 vtop--; in gen_opf()
6344 vtop->r = VT_CMP; in gen_opf()
6345 vtop->c.i = op; in gen_opf()
6348 if ((vtop->type.t & VT_BTYPE) == VT_LDOUBLE) { in gen_opf()
6349 load(TREG_ST0, vtop); in gen_opf()
6372 ft = vtop->type.t; in gen_opf()
6373 fc = vtop->c.ul; in gen_opf()
6379 r = vtop->r; in gen_opf()
6394 gen_modrm(a, r, vtop->sym, fc); in gen_opf()
6396 vtop--; in gen_opf()
6406 if ((vtop->type.t & VT_BTYPE) == VT_LLONG) { in gen_cvt_itof()
6409 o(0x50 + vtop->r2); /* push r2 */ in gen_cvt_itof()
6410 o(0x50 + (vtop->r & VT_VALMASK)); /* push r */ in gen_cvt_itof()
6413 } else if ((vtop->type.t & (VT_BTYPE | VT_UNSIGNED)) == in gen_cvt_itof()
6418 o(0x50 + (vtop->r & VT_VALMASK)); /* push r */ in gen_cvt_itof()
6423 o(0x50 + (vtop->r & VT_VALMASK)); /* push r */ in gen_cvt_itof()
6427 vtop->r = TREG_ST0; in gen_cvt_itof()
6470 vtop->r = r; /* mark reg as used */ in gen_cvt_ftoi()
6473 vtop->r2 = r2; in gen_cvt_ftoi()
6478 vtop->r = r; in gen_cvt_ftoi()
6492 vtop--; in ggoto()
6506 vtop -= 2; in gen_bounded_ptr_add()
6514 vtop++; in gen_bounded_ptr_add()
6515 vtop->r = TREG_EAX | VT_BOUNDED; in gen_bounded_ptr_add()
6517 vtop->c.ul = (cur_text_section->reloc->data_offset - sizeof(Elf32_Rel)); in gen_bounded_ptr_add()
6531 if (!is_float(vtop->type.t)) { in gen_bounded_ptr_deref()
6532 if (vtop->r & VT_LVAL_BYTE) in gen_bounded_ptr_deref()
6534 else if (vtop->r & VT_LVAL_SHORT) in gen_bounded_ptr_deref()
6538 size = type_size(&vtop->type, &align); in gen_bounded_ptr_deref()
6554 rel = (Elf32_Rel *)(cur_text_section->reloc->data + vtop->c.ul); in gen_bounded_ptr_deref()
7129 if (!(vtop->r & VT_LVAL)) in test_lvalue()
10107 if (vtop >= vstack + (VSTACK_SIZE - 1)) in vsetc()
10112 if (vtop >= vstack) { in vsetc()
10113 v = vtop->r & VT_VALMASK; in vsetc()
10117 vtop++; in vsetc()
10118 vtop->type = *type; in vsetc()
10119 vtop->r = r; in vsetc()
10120 vtop->r2 = VT_CONST; in vsetc()
10121 vtop->c = *vc; in vsetc()
10154 vtop->sym = get_sym_ref(type, sec, offset, size); in vpush_ref()
10199 vtop->sym = sym; in vpush_global_sym()
10221 tmp = vtop[0]; in vswap()
10222 vtop[0] = vtop[-1]; in vswap()
10223 vtop[-1] = tmp; in vswap()
10228 if (vtop >= vstack + (VSTACK_SIZE - 1)) in vpushv()
10230 vtop++; in vpushv()
10231 *vtop = *v; in vpushv()
10236 vpushv(vtop); in vdup()
10249 for(p=vstack;p<=vtop;p++) { in save_reg()
10307 for(p = vstack; p <= vtop; p++) { in get_reg_ex()
10328 for(p=vstack;p<=vtop;p++) { in get_reg()
10341 for(p=vstack;p<=vtop;p++) { in get_reg()
10362 p1 = vtop - n; in save_regs()
10389 vtop->r &= ~VT_LVAL; in gaddrof()
10391 if ((vtop->r & VT_VALMASK) == VT_LLOCAL) in gaddrof()
10392 vtop->r = (vtop->r & ~(VT_VALMASK | VT_LVAL_TYPE)) | VT_LOCAL | VT_LVAL; in gaddrof()
10402 vtop->r &= ~VT_MUSTBOUND; in gbound()
10404 if (vtop->r & VT_LVAL) { in gbound()
10406 if (!(vtop->r & VT_BOUNDED)) { in gbound()
10407 lval_type = vtop->r & (VT_LVAL_TYPE | VT_LVAL); in gbound()
10409 type1 = vtop->type; in gbound()
10410 vtop->type.t = VT_INT; in gbound()
10414 vtop->r |= lval_type; in gbound()
10415 vtop->type = type1; in gbound()
10432 if (vtop->type.t & VT_BITFIELD) { in gv()
10433 bit_pos = (vtop->type.t >> VT_STRUCT_SHIFT) & 0x3f; in gv()
10434 bit_size = (vtop->type.t >> (VT_STRUCT_SHIFT + 6)) & 0x3f; in gv()
10436 vtop->type.t &= ~(VT_BITFIELD | (-1 << VT_STRUCT_SHIFT)); in gv()
10445 if (is_float(vtop->type.t) && in gv()
10446 (vtop->r & (VT_VALMASK | VT_LVAL)) == VT_CONST) { in gv()
10454 size = type_size(&vtop->type, &align); in gv()
10461 ptr[i] = vtop->c.tab[i]; in gv()
10462 sym = get_sym_ref(&vtop->type, data_section, offset, size << 2); in gv()
10463 vtop->r |= VT_LVAL | VT_SYM; in gv()
10464 vtop->sym = sym; in gv()
10465 vtop->c.ul = 0; in gv()
10468 if (vtop->r & VT_MUSTBOUND) in gv()
10472 r = vtop->r & VT_VALMASK; in gv()
10478 (vtop->r & VT_LVAL) || in gv()
10480 ((vtop->type.t & VT_BTYPE) == VT_LLONG && in gv()
10481 !(reg_classes[vtop->r2] & rc))) { in gv()
10483 if ((vtop->type.t & VT_BTYPE) == VT_LLONG) { in gv()
10486 if ((vtop->r & (VT_VALMASK | VT_LVAL)) == VT_CONST) { in gv()
10488 ll = vtop->c.ull; in gv()
10489 vtop->c.ui = ll; /* first word */ in gv()
10490 load(r, vtop); in gv()
10491 vtop->r = r; /* save register value */ in gv()
10494 (vtop->r & VT_LVAL)) { in gv()
10501 load(r, vtop); in gv()
10503 vtop[-1].r = r; /* save register value */ in gv()
10505 vtop->type.t = VT_INT; in gv()
10509 vtop->r |= VT_LVAL; in gv()
10512 load(r, vtop); in gv()
10514 vtop[-1].r = r; /* save register value */ in gv()
10515 vtop->r = vtop[-1].r2; in gv()
10522 load(r2, vtop); in gv()
10525 vtop->r2 = r2; in gv()
10526 } else if ((vtop->r & VT_LVAL) && !is_float(vtop->type.t)) { in gv()
10530 t = vtop->type.t; in gv()
10533 if (vtop->r & VT_LVAL_BYTE) in gv()
10535 else if (vtop->r & VT_LVAL_SHORT) in gv()
10537 if (vtop->r & VT_LVAL_UNSIGNED) in gv()
10539 vtop->type.t = t; in gv()
10540 load(r, vtop); in gv()
10542 vtop->type.t = t1; in gv()
10545 load(r, vtop); in gv()
10548 vtop->r = r; in gv()
10551 if ((vtop->type.t & VT_BTYPE) == VT_DOUBLE) in gv()
10552 vtop->r2 = r+1; in gv()
10566 v = vtop[0].r & VT_VALMASK; in gv2()
10573 if ((vtop[-1].r & VT_VALMASK) >= VT_CONST) { in gv2()
10584 if ((vtop[0].r & VT_VALMASK) >= VT_CONST) { in gv2()
10595 u = vtop->type.t & VT_UNSIGNED; in lexpand()
10598 vtop[0].r = vtop[-1].r2; in lexpand()
10599 vtop[0].r2 = VT_CONST; in lexpand()
10600 vtop[-1].r2 = VT_CONST; in lexpand()
10601 vtop[0].type.t = VT_INT | u; in lexpand()
10602 vtop[-1].type.t = VT_INT | u; in lexpand()
10611 u = vtop->type.t & VT_UNSIGNED; in lexpand_nr()
10613 vtop->r2 = VT_CONST; in lexpand_nr()
10614 vtop->type.t = VT_INT | u; in lexpand_nr()
10615 v=vtop[-1].r & (VT_VALMASK | VT_LVAL); in lexpand_nr()
10617 vtop[-1].c.ui = vtop->c.ull; in lexpand_nr()
10618 vtop->c.ui = vtop->c.ull >> 32; in lexpand_nr()
10619 vtop->r = VT_CONST; in lexpand_nr()
10621 vtop->c.ui += 4; in lexpand_nr()
10622 vtop->r = vtop[-1].r; in lexpand_nr()
10624 vtop--; in lexpand_nr()
10627 vtop->r = vtop[-1].r2; in lexpand_nr()
10628 vtop[-1].r2 = VT_CONST; in lexpand_nr()
10629 vtop[-1].type.t = VT_INT | u; in lexpand_nr()
10637 vtop[-1].r2 = vtop[0].r; in lbuild()
10638 vtop[-1].type.t = t; in lbuild()
10650 tmp = vtop[-n + 1]; in vrotb()
10652 vtop[i] = vtop[i+1]; in vrotb()
10653 vtop[0] = tmp; in vrotb()
10664 tmp = vtop[0]; in vrott()
10666 vtop[-i] = vtop[-i - 1]; in vrott()
10667 vtop[-n + 1] = tmp; in vrott()
10679 tmp = vtop[-n + 1]; in vnrott()
10681 vtop[-i] = vtop[-i + 1]; in vnrott()
10682 vtop[0] = tmp; in vnrott()
10690 v = vtop->r & VT_VALMASK; in vpop()
10699 gsym(vtop->c.ul); in vpop()
10701 vtop--; in vpop()
10711 t = vtop->type.t; in gv_dup()
10741 vtop->r = r1; in gv_dup()
10771 vtop->r = REG_IRET; in gen_opl()
10772 vtop->r2 = REG_LRET; in gen_opl()
10780 t = vtop->type.t; in gen_opl()
10786 tmp = vtop[0]; in gen_opl()
10787 vtop[0] = vtop[-3]; in gen_opl()
10788 vtop[-3] = tmp; in gen_opl()
10789 tmp = vtop[-2]; in gen_opl()
10790 vtop[-2] = vtop[-3]; in gen_opl()
10791 vtop[-3] = tmp; in gen_opl()
10795 vpushv(vtop - 1); in gen_opl()
10796 vpushv(vtop - 1); in gen_opl()
10803 tmp = vtop[0]; in gen_opl()
10804 vtop[0] = vtop[-2]; in gen_opl()
10805 vtop[-2] = tmp; in gen_opl()
10840 if ((vtop->r & (VT_VALMASK | VT_LVAL | VT_SYM)) == VT_CONST) { in gen_opl()
10841 t = vtop[-1].type.t; in gen_opl()
10846 c = (int)vtop->c.i; in gen_opl()
10909 t = vtop->type.t; in gen_opl()
10915 tmp = vtop[-1]; in gen_opl()
10916 vtop[-1] = vtop[-2]; in gen_opl()
10917 vtop[-2] = tmp; in gen_opl()
10980 v1 = vtop - 1; in gen_opic()
10981 v2 = vtop; in gen_opic()
11033 vtop--; in gen_opic()
11041 fc = vtop->c.i; in gen_opic()
11051 vtop--; in gen_opic()
11060 vtop->c.i = n; in gen_opic()
11070 (vtop[-1].r & (VT_VALMASK | VT_LVAL | VT_SYM)) == in gen_opic()
11075 vtop--; in gen_opic()
11076 vtop->c.i += fc; in gen_opic()
11083 vtop--; in gen_opic()
11096 v1 = vtop - 1; in gen_opif()
11097 v2 = vtop; in gen_opif()
11142 vtop--; in gen_opif()
11148 vtop--; in gen_opif()
11232 t1 = vtop[-1].type.t; in gen_op()
11233 t2 = vtop[0].type.t; in gen_op()
11241 check_comparison_pointer_types(vtop - 1, vtop, op); in gen_op()
11250 check_comparison_pointer_types(vtop - 1, vtop, op); in gen_op()
11252 u = pointed_size(&vtop[-1].type); in gen_op()
11255 vtop->type.t = VT_INT; in gen_op()
11267 type1 = vtop[-1].type; in gen_op()
11269 vpushi(pointed_size(&vtop[-1].type)); in gen_op()
11289 vtop->type = type1; in gen_op()
11356 vtop->type.t = VT_INT; in gen_op()
11358 vtop->type.t = t; in gen_op()
11366 if ((vtop->type.t & (VT_BTYPE | VT_UNSIGNED)) == in gen_cvt_itof1()
11378 vtop->r = REG_FRET; in gen_cvt_itof1()
11391 st = vtop->type.t & VT_BTYPE; in gen_cvt_ftoi1()
11401 vtop->r = REG_IRET; in gen_cvt_ftoi1()
11402 vtop->r2 = REG_LRET; in gen_cvt_ftoi1()
11438 if (vtop->r & VT_MUSTCAST) { in gen_cast()
11439 vtop->r &= ~VT_MUSTCAST; in gen_cast()
11440 force_charshort_cast(vtop->type.t); in gen_cast()
11444 if (vtop->type.t & VT_BITFIELD) { in gen_cast()
11449 sbt = vtop->type.t & (VT_BTYPE | VT_UNSIGNED); in gen_cast()
11454 c = (vtop->r & (VT_VALMASK | VT_LVAL | VT_SYM)) == VT_CONST; in gen_cast()
11461 vtop->c.f = (float)vtop->c.d; in gen_cast()
11463 vtop->c.f = (float)vtop->c.ld; in gen_cast()
11465 vtop->c.d = (double)vtop->c.f; in gen_cast()
11467 vtop->c.d = (double)vtop->c.ld; in gen_cast()
11469 vtop->c.ld = (long double)vtop->c.f; in gen_cast()
11471 vtop->c.ld = (long double)vtop->c.d; in gen_cast()
11486 case VT_FLOAT: vtop->c.f = (float)vtop->c.ui; break; in gen_cast()
11487 case VT_DOUBLE: vtop->c.d = (double)vtop->c.ui; break; in gen_cast()
11488 case VT_LDOUBLE: vtop->c.ld = (long double)vtop->c.ui; break; in gen_cast()
11493 case VT_FLOAT: vtop->c.f = (float)vtop->c.i; break; in gen_cast()
11494 case VT_DOUBLE: vtop->c.d = (double)vtop->c.i; break; in gen_cast()
11495 case VT_LDOUBLE: vtop->c.ld = (long double)vtop->c.i; break; in gen_cast()
11522 case VT_FLOAT: vtop->c.ui = (unsigned int)vtop->c.d; break; in gen_cast()
11523 case VT_DOUBLE: vtop->c.ui = (unsigned int)vtop->c.d; break; in gen_cast()
11524 case VT_LDOUBLE: vtop->c.ui = (unsigned int)vtop->c.d; break; in gen_cast()
11530 case VT_FLOAT: vtop->c.i = (int)vtop->c.d; break; in gen_cast()
11531 case VT_DOUBLE: vtop->c.i = (int)vtop->c.d; break; in gen_cast()
11532 case VT_LDOUBLE: vtop->c.i = (int)vtop->c.d; break; in gen_cast()
11542 vtop->type.t = dbt; in gen_cast()
11550 vtop->c.ll = vtop->c.ui; in gen_cast()
11552 vtop->c.ll = vtop->c.i; in gen_cast()
11566 vtop[-1].r2 = vtop->r; in gen_cast()
11589 vtop->type = *type; in gen_cast()
11807 st = &vtop->type; /* source type */ in gen_assign_cast()
11816 if (is_null_pointer(vtop)) in gen_assign_cast()
11883 ft = vtop[-1].type.t; in vstore()
11884 sbt = vtop->type.t & VT_BTYPE; in vstore()
11890 vtop->type.t = ft & VT_TYPE; in vstore()
11897 gen_assign_cast(&vtop[-1].type); in vstore()
11905 size = type_size(&vtop->type, &align); in vstore()
11910 vpushv(vtop - 2); in vstore()
11911 vtop->type.t = VT_INT; in vstore()
11914 vpushv(vtop - 2); in vstore()
11915 vtop->type.t = VT_INT; in vstore()
11933 vtop[-1].type.t = ft & ~(VT_BITFIELD | (-1 << VT_STRUCT_SHIFT)); in vstore()
11937 vtop[-1] = vtop[-2]; in vstore()
11954 if (vtop[-1].r & VT_MUSTBOUND) { in vstore()
11966 if ((vtop[-1].r & VT_VALMASK) == VT_LLOCAL) { in vstore()
11971 sv.c.ul = vtop[-1].c.ul; in vstore()
11973 vtop[-1].r = t | VT_LVAL; in vstore()
11975 store(r, vtop - 1); in vstore()
11980 vtop->type.t = VT_INT; in vstore()
11984 vtop->r |= VT_LVAL; in vstore()
11987 store(vtop->r2, vtop - 1); in vstore()
11991 vtop--; /* NOT vpop() because on x86 it would flush the fp stack */ in vstore()
11992 vtop->r |= delayed_cast; in vstore()
12676 if ((vtop->type.t & VT_BTYPE) != VT_PTR) in indir()
12678 if ((vtop->r & VT_LVAL) && !nocode_wanted) in indir()
12680 vtop->type = *pointed_type(&vtop->type); in indir()
12682 if (!(vtop->type.t & VT_ARRAY)) { in indir()
12683 vtop->r |= lvalue_type(vtop->type.t); in indir()
12686 vtop->r |= VT_MUSTBOUND; in indir()
12700 if ((vtop->type.t & VT_BTYPE) == VT_FLOAT) { in gfunc_param_typed()
12874 if ((vtop->type.t & VT_BTYPE) != VT_FUNC && in unary()
12875 !(vtop->type.t & VT_ARRAY)) in unary()
12877 mk_pointer(&vtop->type); in unary()
12883 if ((vtop->r & (VT_VALMASK | VT_LVAL | VT_SYM)) == VT_CONST) in unary()
12884 vtop->c.i = !vtop->c.i; in unary()
12885 else if ((vtop->r & VT_VALMASK) == VT_CMP) in unary()
12886 vtop->c.i = vtop->c.i ^ 1; in unary()
12900 if ((vtop->type.t & VT_BTYPE) == VT_PTR) in unary()
12947 res = (vtop->r & (VT_VALMASK | VT_LVAL | VT_SYM)) == VT_CONST; in unary()
12987 vtop->sym = s; in unary()
13022 if (vtop->r & VT_SYM) { in unary()
13023 vtop->sym = s; in unary()
13024 vtop->c.ul = 0; in unary()
13042 if ((vtop->type.t & VT_BTYPE) != VT_STRUCT) in unary()
13044 s = vtop->type.ref; in unary()
13054 vtop->type = char_pointer_type; /* change type to 'char *' */ in unary()
13058 vtop->type = s->type; in unary()
13060 if (!(vtop->type.t & VT_ARRAY)) { in unary()
13061 vtop->r |= lvalue_type(vtop->type.t); in unary()
13064 vtop->r |= VT_MUSTBOUND; in unary()
13079 if ((vtop->type.t & VT_BTYPE) != VT_FUNC) { in unary()
13081 if ((vtop->type.t & (VT_BTYPE | VT_ARRAY)) == VT_PTR) { in unary()
13082 vtop->type = *pointed_type(&vtop->type); in unary()
13083 if ((vtop->type.t & VT_BTYPE) != VT_FUNC) in unary()
13090 vtop->r &= ~VT_LVAL; /* no lvalue */ in unary()
13093 s = vtop->type.ref; in unary()
13107 ret.c = vtop->c; in unary()
13140 vtop -= (nb_args + 1); in unary()
13144 vtop->r2 = ret.r2; in unary()
13342 c = vtop->c.i; in expr_eq()
13349 c1 = vtop->c.i; in expr_eq()
13355 vtop->c.i = c1; in expr_eq()
13361 if (vtop != vstack) { in expr_eq()
13364 if (is_float(vtop->type.t)) in expr_eq()
13378 type1 = vtop->type; in expr_eq()
13379 sv = *vtop; /* save value to handle it later */ in expr_eq()
13380 vtop--; /* no vpop so that FP stack is not flushed */ in expr_eq()
13385 type2 = vtop->type; in expr_eq()
13442 *vtop = sv; in expr_eq()
13446 vtop->r = r2; in expr_eq()
13471 *type = vtop->type; in expr_type()
13485 *type = vtop->type; in unary_type()
13505 if ((vtop->r & (VT_VALMASK | VT_LVAL | VT_SYM)) != VT_CONST) in expr_const()
13507 c = vtop->c.i; in expr_const()
13550 vtop->type.t = VT_VOID; in block()
13639 vtop--; /* NOT vpop() because on x86 it would flush the fp stack */ in block()
13776 if ((vtop->type.t & VT_BTYPE) != VT_PTR) in block()
13983 if ((vtop->r & (VT_VALMASK | VT_LVAL)) != VT_CONST) in init_putv()
14006 bit_pos = (vtop->type.t >> VT_STRUCT_SHIFT) & 0x3f; in init_putv()
14007 bit_size = (vtop->type.t >> (VT_STRUCT_SHIFT + 6)) & 0x3f; in init_putv()
14010 if ((vtop->r & VT_SYM) && in init_putv()
14020 *(char *)ptr |= (vtop->c.i & bit_mask) << bit_pos; in init_putv()
14023 *(short *)ptr |= (vtop->c.i & bit_mask) << bit_pos; in init_putv()
14026 *(double *)ptr = vtop->c.d; in init_putv()
14029 *(long double *)ptr = vtop->c.ld; in init_putv()
14032 *(long long *)ptr |= (vtop->c.ll & bit_mask) << bit_pos; in init_putv()
14035 if (vtop->r & VT_SYM) { in init_putv()
14036 greloc(sec, vtop->sym, c, R_DATA_32); in init_putv()
14038 *(int *)ptr |= (vtop->c.i & bit_mask) << bit_pos; in init_putv()
14041 vtop--; in init_putv()
14459 vtop->sym = sym; in decl_initializer_alloc()
14822 vtop = vstack - 1; in preprocess_init()
17939 if ((vtop->r & VT_LVAL) && in parse_asm_operands()
17940 ((vtop->r & VT_VALMASK) == VT_LLOCAL || in parse_asm_operands()
17941 (vtop->r & VT_VALMASK) < VT_CONST) && in parse_asm_operands()
17946 op->vt = vtop; in parse_asm_operands()