Home
last modified time | relevance | path

Searched refs:TValue (Results 1 – 25 of 26) sorted by relevance

12

/minix/external/bsd/llvm/dist/llvm/test/CodeGen/X86/
H A Dcoalescer-cross.ll8 %0 = type { %struct.TValue } ; type %0
10 %struct.CallInfo = type { %struct.TValue*, %struct.TValue*, %struct.TValue*, i32*, i32, i32 }
14 %struct.Node = type { %struct.TValue, %struct.TKey }
17 %struct.TValue = type { %struct.L_Umaxalign, i32 }
19 %struct.UpVal = type { %struct.GCObject*, i8, i8, %struct.TValue*, %0 }
23TValue*, %struct.TValue*, %struct.global_State*, %struct.CallInfo*, i32*, %struct.TValue*, %struct…
34 %4 = load %struct.TValue** %3, align 4 ; <%struct.TValue*> [#uses=2]
37 %6 = getelementptr %struct.TValue* %4, i32 0, i32 1 ; <i32*> [#uses=1]
39 %7 = load %struct.TValue** %3, align 4 ; <%struct.TValue*> [#uses=1]
40 %8 = getelementptr %struct.TValue* %7, i32 1 ; <%struct.TValue*> [#uses=1]
[all …]
/minix/external/mit/lua/dist/src/
H A Dltm.h63 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
64 LUAI_FUNC const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o,
68 LUAI_FUNC void luaT_callTM (lua_State *L, const TValue *f, const TValue *p1,
69 const TValue *p2, TValue *p3, int hasres);
70 LUAI_FUNC int luaT_callbinTM (lua_State *L, const TValue *p1, const TValue *p2,
72 LUAI_FUNC void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2,
74 LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1,
75 const TValue *p2, TMS event);
H A Dlvm.h57 LUAI_FUNC int luaV_equalobj (lua_State *L, const TValue *t1, const TValue *t2);
58 LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r);
59 LUAI_FUNC int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r);
60 LUAI_FUNC int luaV_tonumber_ (const TValue *obj, lua_Number *n);
61 LUAI_FUNC int luaV_tointeger (const TValue *obj, lua_Integer *p, int mode);
62 LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key,
64 LUAI_FUNC void luaV_settable (lua_State *L, const TValue *t, TValue *key,
72 LUAI_FUNC void luaV_objlen (lua_State *L, StkId ra, const TValue *rb);
H A Dltable.h19 #define gkey(n) cast(const TValue*, (&(n)->i_key.tvk))
31 LUAI_FUNC const TValue *luaH_getint (Table *t, lua_Integer key);
33 TValue *value);
34 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
35 LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key);
36 LUAI_FUNC TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key);
37 LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key);
48 LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key);
H A Dltm.c68 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm()
69 const TValue *tm = luaH_getstr(events, ename); in luaT_gettm()
79 const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) { in luaT_gettmbyobj()
95 void luaT_callTM (lua_State *L, const TValue *f, const TValue *p1, in luaT_callTM()
96 const TValue *p2, TValue *p3, int hasres) { in luaT_callTM()
112 int luaT_callbinTM (lua_State *L, const TValue *p1, const TValue *p2, in luaT_callbinTM()
114 const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */ in luaT_callbinTM()
123 void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, in luaT_trybinTM()
146 int luaT_callorderTM (lua_State *L, const TValue *p1, const TValue *p2, in luaT_callorderTM()
H A Dldebug.h23 LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o,
25 LUAI_FUNC l_noret luaG_concaterror (lua_State *L, const TValue *p1,
26 const TValue *p2);
27 LUAI_FUNC l_noret luaG_opinterror (lua_State *L, const TValue *p1,
28 const TValue *p2,
30 LUAI_FUNC l_noret luaG_tointerror (lua_State *L, const TValue *p1,
31 const TValue *p2);
32 LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1,
33 const TValue *p2);
H A Dlobject.h110 typedef struct lua_TValue TValue; typedef
224 { TValue *io = (obj); GCObject *i_g=(x); \
233 { TValue *io = (obj); Udata *x_ = (x); \
253 { TValue *io = (obj); Table *x_ = (x); \
262 { TValue *io1=(obj1); *io1 = *(obj2); \
390 { const TValue *io=(o); Udata *iu = (u); \
498 TValue tvk;
510 TValue i_val;
520 TValue *array; /* array part */
546 LUAI_DDEC const TValue luaO_nilobject_;
[all …]
H A Dlvm.c77 TValue v; in luaV_tonumber_()
100 TValue v;
174 const TValue *tm;
207 TValue *oldval = cast(TValue *, luaH_get(h, key));
317 static int LTnum (const TValue *l, const TValue *r) {
344 static int LEnum (const TValue *l, const TValue *r) {
371 int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r) {
391 int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r) {
415 const TValue *tm;
520 const TValue *tm;
[all …]
H A Dltable.c455 TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) { in luaH_newkey()
458 TValue aux; in luaH_newkey()
541 const TValue *k = gkey(n); in luaH_getstr()
557 const TValue *luaH_get (Table *t, const TValue *key) { in luaH_get()
591 TValue *luaH_set (lua_State *L, Table *t, const TValue *key) { in luaH_set()
592 const TValue *p = luaH_get(t, key); in luaH_set()
594 return cast(TValue *, p); in luaH_set()
600 const TValue *p = luaH_getint(t, key); in luaH_setint()
601 TValue *cell; in luaH_setint()
603 cell = cast(TValue *, p); in luaH_setint()
[all …]
H A Dlfunc.h17 cast(int, sizeof(TValue)*((n)-1)))
20 cast(int, sizeof(TValue *)*((n)-1)))
38 TValue *v; /* points to stack or to its own value */
45 TValue value; /* the value (when closed) */
H A Dldebug.c233 TValue v; in collectvalidlines()
344 TValue *kvalue = &p->k[INDEXK(c)]; in kname()
529 static int isinstack (CallInfo *ci, const TValue *o) { in isinstack()
540 static const char *getupvalname (CallInfo *ci, const TValue *o, in getupvalname()
554 static const char *varinfo (lua_State *L, const TValue *o) { in varinfo()
568 l_noret luaG_typeerror (lua_State *L, const TValue *o, const char *op) { in luaG_typeerror()
574 l_noret luaG_concaterror (lua_State *L, const TValue *p1, const TValue *p2) { in luaG_concaterror()
580 l_noret luaG_opinterror (lua_State *L, const TValue *p1, in luaG_opinterror()
581 const TValue *p2, const char *msg) { in luaG_opinterror()
592 l_noret luaG_tointerror (lua_State *L, const TValue *p1, const TValue *p2) { in luaG_tointerror()
[all …]
H A Dlapi.c67 TValue *o = ci->func + idx; in index2addr()
199 TValue temp; in reverse()
227 TValue *fr, *to; in lua_copy()
282 const TValue *o = index2addr(L, idx); in lua_isnumber()
288 const TValue *o = index2addr(L, idx); in lua_isstring()
294 const TValue *o = index2addr(L, idx); in lua_isuserdata()
662 TValue k; in lua_rawgetp()
688 const TValue *obj; in lua_getmetatable()
816 TValue k; in lua_rawsetp()
831 TValue *obj; in lua_setmetatable()
[all …]
H A Dlcode.c43 static int tonumeral(expdesc *e, TValue *v) { in tonumeral()
319 static int addk (FuncState *fs, TValue *key, TValue *v) { in addk()
322 TValue *idx = luaH_set(L, fs->ls->h, key); /* index scanner table */ in addk()
337 luaM_growvector(L, f->k, k, f->sizek, TValue, MAXARG_Ax, "constants"); in addk()
347 TValue o; in luaK_stringK()
359 TValue k, o; in luaK_intK()
368 TValue o; in luaK_numberK()
376 TValue o; in boolK()
383 TValue k, v; in nilK()
770 static int validop (int op, TValue *v1, TValue *v2) {
[all …]
H A Dlobject.c37 LUAI_DDEF const TValue luaO_nilobject_ = {NILCONSTANT};
131 void luaO_arith (lua_State *L, int op, const TValue *p1, const TValue *p2, in luaO_arith()
132 TValue *res) { in luaO_arith()
309 size_t luaO_str2num (const char *s, TValue *o) { in luaO_str2num()
H A Dlgc.c138 static int iscleared (global_State *g, const TValue *o) { in iscleared()
249 TValue uvalue; in reallymarkobject()
452 const TValue *mode = gfasttm(g, h->metatable, TM_MODE); in traversetable()
468 return sizeof(Table) + sizeof(TValue) * h->sizearray + in traversetable()
493 sizeof(TValue) * f->sizek + in traverseproto()
549 return (sizeof(lua_State) + sizeof(TValue) * th->stacksize); in traversethread()
661 TValue *o = &h->array[i]; in clearvalues()
810 const TValue *tm; in GCTM()
811 TValue v; in GCTM()
H A Dldo.h25 #define restorestack(L,n) ((TValue *)((char *)L->stack + (n)))
H A Dllex.c137 TValue *o; /* entry for 'str' */ in luaX_newstring()
239 static void trydecpoint (LexState *ls, TValue *o) { in trydecpoint()
257 TValue obj; in read_numeral()
291 TValue obj; in read_numeral()
H A Dlundump.c121 f->k = luaM_newvector(S->L, n, TValue); in LoadConstants()
126 TValue *o = &f->k[i]; in LoadConstants()
H A Dlstate.c151 L1->stack = luaM_newvector(L, BASIC_STACK_SIZE, TValue); in stack_init()
181 TValue temp; in init_registry()
H A Dldo.c157 static void correctstack (lua_State *L, TValue *oldstack) { in correctstack()
177 TValue *oldstack = L->stack; in luaD_reallocstack()
181 luaM_reallocvector(L, L->stack, L->stacksize, newsize, TValue); in luaD_reallocstack()
299 const TValue *tm = luaT_gettmbyobj(L, func, TM_CALL); in tryfuncTM()
H A Dlstate.h119 TValue l_registry;
H A Dldump.c107 const TValue *o = &f->k[i]; in DumpConstants()
H A Dluac.c258 const TValue* o=&f->k[i]; in PrintConstant()
H A Dlparser.c560 luaM_reallocvector(L, f->k, f->sizek, fs->nk, TValue); in close_func()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1473 Value *TValue = SI.getTrueValue(); in isSafeSelectToSpeculate() local
1475 bool TDerefable = TValue->isDereferenceablePointer(DL); in isSafeSelectToSpeculate()
1487 !isSafeToLoadUnconditionally(TValue, LI, LI->getAlignment(), DL)) in isSafeSelectToSpeculate()

12