当前位置: 首页>>代码示例>>C++>>正文


C++ IL64函数代码示例

本文整理汇总了C++中IL64函数的典型用法代码示例。如果您正苦于以下问题:C++ IL64函数的具体用法?C++ IL64怎么用?C++ IL64使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了IL64函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: N_NIMCALL

N_NIMCALL(NI64, HEX7CabsHEX7C_256041)(NI64 a) {
	NI64 result;
	result = 0;
	{
		if (!!((a == (IL64(-9223372036854775807) - IL64(1))))) goto LA3;
		{
			if (!(IL64(0) <= a)) goto LA7;
			result = a;
		}
		goto LA5;
		LA7: ;
		{
			result = -(a);
		}
		LA5: ;
	}
	goto LA1;
	LA3: ;
	{
		result = (IL64(-9223372036854775807) - IL64(1));
	}
	LA1: ;
	return result;
}
开发者ID:apense,项目名称:csources,代码行数:24,代码来源:compiler_saturate.c

示例2: N_INLINE

static N_INLINE(NI, divInt)(NI a, NI b) {
	NI result;
	result = 0;
	{
		if (!(b == 0)) goto LA3;
		raiseDivByZero();
	}
	LA3: ;
	{
		NIM_BOOL LOC7;
		LOC7 = 0;
		LOC7 = (a == (IL64(-9223372036854775807) - IL64(1)));
		if (!(LOC7)) goto LA8;
		LOC7 = (b == -1);
		LA8: ;
		if (!LOC7) goto LA9;
		raiseOverflow();
	}
	LA9: ;
	result = (NI64)(a / b);
	goto BeforeRet;
	BeforeRet: ;
	return result;
}
开发者ID:Varriount,项目名称:csources,代码行数:24,代码来源:stdlib_lexbase.c

示例3: N_NIMCALL

N_NIMCALL(NimStringDesc*, getcurrentline_178052)(Tbaselexer178024* L, NIM_BOOL marker) {
	NimStringDesc* result;
	NI i;
	nimfr("getCurrentLine", "nimlexbase.nim")
	result = 0;
	nimln(162, "nimlexbase.nim");
	result = copyString(((NimStringDesc*) &TMP2156));
	nimln(163, "nimlexbase.nim");
	i = (*L).linestart;
	{
		nimln(164, "nimlexbase.nim");
		while (1) {
			NI TMP2157;
			if (!!((((NU8)((*L).buf[i])) == ((NU8)(13)) || ((NU8)((*L).buf[i])) == ((NU8)(10)) || ((NU8)((*L).buf[i])) == ((NU8)(0))))) goto LA2;
			nimln(165, "nimlexbase.nim");
			result = addChar(result, (*L).buf[i]);
			nimln(166, "nimlexbase.nim");
			TMP2157 = addInt(i, ((NI) 1));
			i = (NI)(TMP2157);
		} LA2: ;
	}
	nimln(167, "nimlexbase.nim");
	result = resizeString(result, 1);
appendString(result, ((NimStringDesc*) &TMP2158));
	nimln(168, "nimlexbase.nim");
	{
		NimStringDesc* LOC7;
		NI LOC8;
		NimStringDesc* LOC9;
		if (!marker) goto LA5;
		nimln(169, "nimlexbase.nim");
		LOC7 = 0;
		LOC8 = 0;
		LOC8 = getcolnumber_178059(L, (*L).bufpos);
		LOC9 = 0;
		LOC9 = nsuRepeatChar(32, ((NI)chckRange(LOC8, ((NI) 0), ((NI) IL64(9223372036854775807)))));
		LOC7 = rawNewString(LOC9->Sup.len + 2);
appendString(LOC7, LOC9);
appendString(LOC7, ((NimStringDesc*) &TMP2159));
		result = resizeString(result, LOC7->Sup.len + 0);
appendString(result, LOC7);
	}
	LA5: ;
	popFrame();
	return result;
}
开发者ID:undecided,项目名称:csources,代码行数:46,代码来源:compiler_nimlexbase.c

示例4: N_NIMCALL

N_NIMCALL(void, Commandinteractive_191616)(void) {
TY105006 LOC1;
TY105006 LOC2;
TY105006 LOC3;
TY105006 LOC4;
NimStringDesc* LOC5;
NimStringDesc* LOC6;
TY55548* LOC7;
TY55548* M_191630;
TY75204* LOC8;
Gerrormax_47568 = IL64(9223372036854775807);
Gglobaloptions_46079 |=(1<<((NI32)(((NU8) 8))%(sizeof(NI32)*8)));
Settarget_51582(((NU8) 21), ((NU8) 13));
Initdefines_64049();
LOC1 = Verbosepass_186033();
Registerpass_105028(&LOC1);
LOC2 = Sempass_126001();
Registerpass_105028(&LOC2);
LOC3 = Transfpass_188005();
Registerpass_105028(&LOC3);
LOC4 = Evalpass_115046();
Registerpass_105028(&LOC4);
LOC5 = 0;
LOC5 = nosaddFileExt(((NimStringDesc*) &TMP196861), ((NimStringDesc*) &TMP195865));
LOC6 = 0;
LOC6 = nosJoinPath(Libpath_46112, LOC5);
LOC7 = 0;
LOC7 = Compilemodule_191320(LOC6, NIM_FALSE, NIM_TRUE);
M_191630 = 0;
M_191630 = Newmodule_191287(((NimStringDesc*) &TMP197500));
(*M_191630).Sup.Id = Getid_55694();
(*M_191630).Flags |=(1<<((NI32)(((NU8) 15))%(sizeof(NI32)*8)));
LOC8 = 0;
LOC8 = Llstreamopenstdin_75230();
Processmodule_105035(M_191630, ((NimStringDesc*) &TMP197500), LOC8, NIM_NIL);
}
开发者ID:ddlsmurf,项目名称:Nimrod,代码行数:36,代码来源:main.c

示例5: N_NIMCALL

N_NIMCALL(NI64, HEX7CabsHEX7C_264035)(NI64 a) {
	NI64 result;
	nimfr("|abs|", "saturate.nim")
	result = 0;
	nimln(32, "saturate.nim");
	{
		nimln(32, "saturate.nim");
		nimln(32, "saturate.nim");
		if (!!((a == (IL64(-9223372036854775807) - IL64(1))))) goto LA3;
		nimln(33, "saturate.nim");
		{
			nimln(33, "saturate.nim");
			if (!(0 <= a)) goto LA7;
			nimln(33, "saturate.nim");
			result = a;
		}
		goto LA5;
		LA7: ;
		{
			nimln(34, "saturate.nim");
			nimln(34, "saturate.nim");
			if (a == (IL64(-9223372036854775807) - IL64(1))) raiseOverflow();
			result = -(a);
		}
		LA5: ;
	}
	goto LA1;
	LA3: ;
	{
		nimln(36, "saturate.nim");
		result = (IL64(-9223372036854775807) - IL64(1));
	}
	LA1: ;
	popFrame();
	return result;
}
开发者ID:Varriount,项目名称:csources,代码行数:36,代码来源:saturate.c

示例6: N_NIMCALL

N_NIMCALL(void, setintlittype_238778)(Tnode191813* result) {
	NI64 i;
	i = (*result).kindU.S1.intval;
	switch (intsize_159623) {
	case ((NI) 8):
	{
		asgnRefNoCycle((void**) (&(*result).typ), getintlittype_238660(result));
	}
	break;
	case ((NI) 4):
	{
		{
			NIM_BOOL LOC5;
			LOC5 = 0;
			LOC5 = (IL64(-2147483648) <= i);
			if (!(LOC5)) goto LA6;
			LOC5 = (i <= IL64(2147483647));
			LA6: ;
			if (!LOC5) goto LA7;
			asgnRefNoCycle((void**) (&(*result).typ), getintlittype_238660(result));
		}
		goto LA3;
		LA7: ;
		{
			asgnRefNoCycle((void**) (&(*result).typ), getsystype_238030(((NU8) 35)));
		}
		LA3: ;
	}
	break;
	case ((NI) 2):
	{
		{
			NIM_BOOL LOC13;
			LOC13 = 0;
			LOC13 = (IL64(-32768) <= i);
			if (!(LOC13)) goto LA14;
			LOC13 = (i <= IL64(32767));
			LA14: ;
			if (!LOC13) goto LA15;
			asgnRefNoCycle((void**) (&(*result).typ), getintlittype_238660(result));
		}
		goto LA11;
		LA15: ;
		{
			NIM_BOOL LOC18;
			LOC18 = 0;
			LOC18 = (IL64(-2147483648) <= i);
			if (!(LOC18)) goto LA19;
			LOC18 = (i <= IL64(2147483647));
			LA19: ;
			if (!LOC18) goto LA20;
			asgnRefNoCycle((void**) (&(*result).typ), getsystype_238030(((NU8) 34)));
		}
		goto LA11;
		LA20: ;
		{
			asgnRefNoCycle((void**) (&(*result).typ), getsystype_238030(((NU8) 35)));
		}
		LA11: ;
	}
	break;
	case ((NI) 1):
	{
		{
			NIM_BOOL LOC26;
			LOC26 = 0;
			LOC26 = (IL64(-128) <= i);
			if (!(LOC26)) goto LA27;
			LOC26 = (i <= IL64(127));
			LA27: ;
			if (!LOC26) goto LA28;
			asgnRefNoCycle((void**) (&(*result).typ), getintlittype_238660(result));
		}
		goto LA24;
		LA28: ;
		{
			NIM_BOOL LOC31;
			LOC31 = 0;
			LOC31 = (IL64(-32768) <= i);
			if (!(LOC31)) goto LA32;
			LOC31 = (i <= IL64(32767));
			LA32: ;
			if (!LOC31) goto LA33;
			asgnRefNoCycle((void**) (&(*result).typ), getsystype_238030(((NU8) 33)));
		}
		goto LA24;
		LA33: ;
		{
			NIM_BOOL LOC36;
			LOC36 = 0;
			LOC36 = (IL64(-2147483648) <= i);
			if (!(LOC36)) goto LA37;
			LOC36 = (i <= IL64(2147483647));
			LA37: ;
			if (!LOC36) goto LA38;
			asgnRefNoCycle((void**) (&(*result).typ), getsystype_238030(((NU8) 34)));
		}
		goto LA24;
		LA38: ;
		{
//.........这里部分代码省略.........
开发者ID:apense,项目名称:csources,代码行数:101,代码来源:compiler_magicsys.c

示例7: N_NIMCALL

N_NIMCALL(NI32, Wintimetounixtime_29261)(NI64 T_29263) {
NI32 Result_29264;
Result_29264 = 0;
Result_29264 = ((NI32) ((NI64)((NI64)(T_29263 - IL64(116444736000000000)) / 10000000)));
return Result_29264;
}
开发者ID:ddlsmurf,项目名称:Nimrod,代码行数:6,代码来源:times.c

示例8: N_NIMCALL

N_NIMCALL(NI, hashtree_223018)(tnode171659* n) {
	NI result;
	nimfr("hashTree", "treetab.nim")
	result = 0;
	nimln(16, "treetab.nim");
	{
		nimln(16, "treetab.nim");
		if (!(n == NIM_NIL)) goto LA3;
		nimln(16, "treetab.nim");
		goto BeforeRet;
	}	LA3: ;
	nimln(17, "treetab.nim");
	nimln(17, "treetab.nim");
	result = ((NI) ((*n).Kind));
	nimln(18, "treetab.nim");
	switch ((*n).Kind) {
	case ((NU8) 1):
	case ((NU8) 23):
	case ((NU8) 4):
	{
	}	break;
	case ((NU8) 2):
	{
		nimln(22, "treetab.nim");
		if (!(((TMP3138[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3139));
		result = HEX21HEX26_110013(result, (*(*n).kindU.S5.Ident).H);
	}	break;
	case ((NU8) 3):
	{
		nimln(24, "treetab.nim");
		if (!(((TMP3140[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3141));
		result = HEX21HEX26_110013(result, (*(*(*n).kindU.S4.Sym).Name).H);
	}	break;
	case ((NU8) 5) ... ((NU8) 15):
	{
		nimln(26, "treetab.nim");
		{
			NIM_BOOL LOC11;
			nimln(26, "treetab.nim");
			LOC11 = 0;
			nimln(702, "system.nim");
			if (!(((TMP3142[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3143));
			LOC11 = ((IL64(-9223372036854775807) - IL64(1)) <= (*n).kindU.S1.Intval);
			if (!(LOC11)) goto LA12;
			nimln(26, "treetab.nim");
			if (!(((TMP3142[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3143));
			LOC11 = ((*n).kindU.S1.Intval <= IL64(9223372036854775807));
			LA12: ;
			if (!LOC11) goto LA13;
			nimln(27, "treetab.nim");
			if (!(((TMP3142[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3143));
			result = HEX21HEX26_110013(result, ((NI) ((*n).kindU.S1.Intval)));
		}		LA13: ;
	}	break;
	case ((NU8) 16) ... ((NU8) 18):
	{
		nimln(29, "treetab.nim");
		{
			NIM_BOOL LOC18;
			nimln(29, "treetab.nim");
			LOC18 = 0;
			nimln(702, "system.nim");
			if (!(((TMP3144[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3145));
			LOC18 = (-1.0000000000000000e+06 <= (*n).kindU.S2.Floatval);
			if (!(LOC18)) goto LA19;
			nimln(29, "treetab.nim");
			if (!(((TMP3144[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3145));
			LOC18 = ((*n).kindU.S2.Floatval <= 1.0000000000000000e+06);
			LA19: ;
			if (!LOC18) goto LA20;
			nimln(30, "treetab.nim");
			nimln(30, "treetab.nim");
			if (!(((TMP3144[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3145));
			result = HEX21HEX26_110013(result, float64ToInt32((*n).kindU.S2.Floatval));
		}		LA20: ;
	}	break;
	case ((NU8) 20) ... ((NU8) 22):
	{
		NI LOC23;
		nimln(32, "treetab.nim");
		nimln(32, "treetab.nim");
		if (!(((TMP3146[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3147));
		LOC23 = 0;
		LOC23 = hash_110826((*n).kindU.S3.Strval);
		result = HEX21HEX26_110013(result, LOC23);
	}	break;
	default:
	{
		NI i_223157;
		NI HEX3Atmp_223174;
		NI LOC25;
		NI TMP3150;
		NI res_223176;
		i_223157 = 0;
		HEX3Atmp_223174 = 0;
		nimln(34, "treetab.nim");
		nimln(34, "treetab.nim");
		nimln(34, "treetab.nim");
		LOC25 = 0;
		LOC25 = sonslen_172022(n);
//.........这里部分代码省略.........
开发者ID:rbehrends,项目名称:csources,代码行数:101,代码来源:compiler_treetab.c

示例9: N_NIMCALL

N_NIMCALL(Tnode191813*, totreeset_240353)(Tbitset239012* s, Ttype191849* settype, Tlineinfo163338 info) {
	Tnode191813* result;
	NI64 a;
	NI64 b;
	NI64 e;
	NI64 first;
	Ttype191849* elemtype;
	Tnode191813* n;
	result = 0;
	a = 0;
	b = 0;
	e = 0;
	first = 0;
	elemtype = 0;
	n = 0;
	elemtype = (*settype).sons->data[((NI) 0)];
	first = firstord_221004(elemtype);
	result = newnodei_193351(((NU8) 39), info);
	asgnRefNoCycle((void**) (&(*result).typ), settype);
	(*result).info = info;
	e = IL64(0);
	{
		while (1) {
			if (!(e < ((NI64) ((NI)((s ? s->Sup.len : 0) * ((NI) 8)))))) goto LA2;
			{
				NIM_BOOL LOC5;
				LOC5 = 0;
				LOC5 = bitsetin_239077(s, e);
				if (!LOC5) goto LA6;
				a = e;
				b = e;
				{
					while (1) {
						b += ((NI) 1);
						{
							NIM_BOOL LOC12;
							NIM_BOOL LOC14;
							LOC12 = 0;
							LOC12 = (((NI64) ((NI)((s ? s->Sup.len : 0) * ((NI) 8)))) <= b);
							if (LOC12) goto LA13;
							LOC14 = 0;
							LOC14 = bitsetin_239077(s, b);
							LOC12 = !(LOC14);
							LA13: ;
							if (!LOC12) goto LA15;
							goto LA8;
						}
						LA15: ;
					}
				} LA8: ;
				b -= ((NI) 1);
				{
					Tnode191813* LOC21;
					if (!(a == b)) goto LA19;
					LOC21 = 0;
					LOC21 = newinttypenode_192620(((NU8) 6), (NI64)(a + first), elemtype);
					addson_193819(result, LOC21);
				}
				goto LA17;
				LA19: ;
				{
					Tnode191813* LOC23;
					Tnode191813* LOC24;
					n = newnodei_193351(((NU8) 44), info);
					asgnRefNoCycle((void**) (&(*n).typ), elemtype);
					LOC23 = 0;
					LOC23 = newinttypenode_192620(((NU8) 6), (NI64)(a + first), elemtype);
					addson_193819(n, LOC23);
					LOC24 = 0;
					LOC24 = newinttypenode_192620(((NU8) 6), (NI64)(b + first), elemtype);
					addson_193819(n, LOC24);
					addson_193819(result, n);
				}
				LA17: ;
				e = b;
			}
			LA6: ;
			e += ((NI) 1);
		} LA2: ;
	}
	return result;
}
开发者ID:jlp765,项目名称:csources,代码行数:82,代码来源:compiler_nimsets.c

示例10: N_NIMCALL

N_NIMCALL(NI, rawparseint_93914)(NimStringDesc* s, NI64* b, NI start) {
	NI result;
	NI64 sign;
	NI i;
	nimfr("rawParseInt", "parseutils.nim")
	result = 0;
	nimln(194, "parseutils.nim");
	sign = IL64(-1);
	nimln(195, "parseutils.nim");
	i = start;
	nimln(196, "parseutils.nim");
	{
		NI TMP274;
		if ((NU)(i) > (NU)(s->Sup.len)) raiseIndexError();
		if (!((NU8)(s->data[i]) == (NU8)(43))) goto LA3;
		TMP274 = addInt(i, ((NI) 1));
		i = (NI)(TMP274);
	}
	goto LA1;
	LA3: ;
	{
		NI TMP275;
		nimln(197, "parseutils.nim");
		if ((NU)(i) > (NU)(s->Sup.len)) raiseIndexError();
		if (!((NU8)(s->data[i]) == (NU8)(45))) goto LA6;
		nimln(198, "parseutils.nim");
		TMP275 = addInt(i, ((NI) 1));
		i = (NI)(TMP275);
		nimln(199, "parseutils.nim");
		sign = IL64(1);
	}
	goto LA1;
	LA6: ;
	LA1: ;
	nimln(200, "parseutils.nim");
	{
		NI64 TMP281;
		NI TMP282;
		if ((NU)(i) > (NU)(s->Sup.len)) raiseIndexError();
		if (!(((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57)))) goto LA10;
		nimln(201, "parseutils.nim");
		(*b) = IL64(0);
		{
			nimln(202, "parseutils.nim");
			while (1) {
				NI64 TMP276;
				NI TMP277;
				NI64 TMP278;
				NI TMP279;
				if ((NU)(i) > (NU)(s->Sup.len)) raiseIndexError();
				if (!(((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57)))) goto LA13;
				nimln(203, "parseutils.nim");
				TMP276 = mulInt64((*b), IL64(10));
				if ((NU)(i) > (NU)(s->Sup.len)) raiseIndexError();
				TMP277 = subInt(((NI) (((NU8)(s->data[i])))), ((NI) 48));
				TMP278 = subInt64((NI64)(TMP276), ((NI64) ((NI)(TMP277))));
				(*b) = (NI64)(TMP278);
				nimln(204, "parseutils.nim");
				TMP279 = addInt(i, ((NI) 1));
				i = (NI)(TMP279);
				{
					nimln(205, "parseutils.nim");
					while (1) {
						NI TMP280;
						if ((NU)(i) > (NU)(s->Sup.len)) raiseIndexError();
						if (!((NU8)(s->data[i]) == (NU8)(95))) goto LA15;
						TMP280 = addInt(i, ((NI) 1));
						i = (NI)(TMP280);
					} LA15: ;
				}
			} LA13: ;
		}
		nimln(206, "parseutils.nim");
		TMP281 = mulInt64((*b), sign);
		(*b) = (NI64)(TMP281);
		nimln(207, "parseutils.nim");
		TMP282 = subInt(i, start);
		result = (NI)(TMP282);
	}
	LA10: ;
	popFrame();
	return result;
}
开发者ID:undecided,项目名称:csources,代码行数:83,代码来源:stdlib_parseutils.c

示例11: N_NIMCALL

N_NIMCALL(void, encodevbiggestintaux_178161)(NI64 x, NimStringDesc** result) {
	NIM_CHAR d_178167;
	NI64 v_178169;
	NI64 rem_178171;
	NI64 TMP2076;
	NI idx_178173;
	nimfr("encodeVBiggestIntAux", "rodutils.nim")
	d_178167 = 0;
	nimln(69, "rodutils.nim");
	v_178169 = x;
	nimln(70, "rodutils.nim");
	nimln(70, "rodutils.nim");
	TMP2076 = modInt64(v_178169, 190);
	rem_178171 = (NI64)(TMP2076);
	nimln(71, "rodutils.nim");
	{
		NI64 TMP2077;
		nimln(71, "rodutils.nim");
		if (!(((NI) (rem_178171)) < 0)) goto LA3;
		nimln(72, "rodutils.nim");
		(*result) = addChar((*result), 45);
		nimln(73, "rodutils.nim");
		nimln(73, "rodutils.nim");
		nimln(73, "rodutils.nim");
		TMP2077 = divInt64(v_178169, 190);
		if ((NI64)(TMP2077) == (IL64(-9223372036854775807) - IL64(1))) raiseOverflow();
		v_178169 = -((NI64)(TMP2077));
		nimln(74, "rodutils.nim");
		nimln(74, "rodutils.nim");
		if (((NI64) (rem_178171)) == (IL64(-9223372036854775807) - IL64(1))) raiseOverflow();
		rem_178171 = -(((NI64) (rem_178171)));
	}	goto LA1;
	LA3: ;
	{
		NI64 TMP2078;
		nimln(76, "rodutils.nim");
		nimln(76, "rodutils.nim");
		TMP2078 = divInt64(v_178169, 190);
		v_178169 = (NI64)(TMP2078);
	}	LA1: ;
	nimln(77, "rodutils.nim");
	idx_178173 = ((NI) (rem_178171));
	nimln(78, "rodutils.nim");
	{
		nimln(78, "rodutils.nim");
		if (!(idx_178173 < 62)) goto LA8;
		nimln(78, "rodutils.nim");
		if ((NU)(idx_178173) > (NU)(((NimStringDesc*) &TMP2079)->Sup.len)) raiseIndexError();
		d_178167 = ((NimStringDesc*) &TMP2079)->data[idx_178173];
	}	goto LA6;
	LA8: ;
	{
		NI TMP2080;
		NI TMP2081;
		nimln(79, "rodutils.nim");
		nimln(79, "rodutils.nim");
		nimln(79, "rodutils.nim");
		nimln(79, "rodutils.nim");
		TMP2080 = subInt(idx_178173, 62);
		TMP2081 = addInt((NI32)(TMP2080), 128);
		d_178167 = ((NIM_CHAR) (((NI)chckRange((NI32)(TMP2081), 0, 255))));
	}	LA6: ;
	nimln(80, "rodutils.nim");
	{
		nimln(698, "system.nim");
		nimln(698, "system.nim");
		if (!!((v_178169 == 0))) goto LA13;
		nimln(80, "rodutils.nim");
		encodevbiggestintaux_178161(v_178169, result);	}	LA13: ;
	nimln(81, "rodutils.nim");
	(*result) = addChar((*result), d_178167);
	popFrame();
}
开发者ID:rbehrends,项目名称:csources,代码行数:73,代码来源:compiler_rodutils.c

示例12: N_NIMCALL

N_NIMCALL(NI64, hashstring_528100_2036603609)(NimStringDesc* s0) {
	NI64 result0;
	result0 = (NI64)0;
	{
		NI64 b0;
		if (!(Cpu_176496_4151366050[(targetcpu_176627_4151366050)- 1].Field4 == ((NI) 64))) goto LA3;
		b0 = IL64(0);
		{
			NI i_528116_2036603609;
			NI HEX3Atmp_528184_2036603609;
			NI res_528187_2036603609;
			i_528116_2036603609 = (NI)0;
			HEX3Atmp_528184_2036603609 = (NI)0;
			HEX3Atmp_528184_2036603609 = (NI)((s0 ? s0->Sup.len : 0) - ((NI) 1));
			res_528187_2036603609 = ((NI) 0);
			{
				while (1) {
					if (!(res_528187_2036603609 <= HEX3Atmp_528184_2036603609)) goto LA7;
					i_528116_2036603609 = res_528187_2036603609;
					b0 = (NI64)((NU64)(b0) + (NU64)(((NI64) (((NU8)(s0->data[i_528116_2036603609]))))));
					b0 = (NI64)((NU64)(b0) + (NU64)((NI64)((NU64)(b0) << (NU64)(IL64(10)))));
					b0 = (NI64)(b0 ^ (NI64)((NU64)(b0) >> (NU64)(IL64(6))));
					res_528187_2036603609 += ((NI) 1);
				} LA7: ;
			}
		}
		b0 = (NI64)((NU64)(b0) + (NU64)((NI64)((NU64)(b0) << (NU64)(IL64(3)))));
		b0 = (NI64)(b0 ^ (NI64)((NU64)(b0) >> (NU64)(IL64(11))));
		b0 = (NI64)((NU64)(b0) + (NU64)((NI64)((NU64)(b0) << (NU64)(IL64(15)))));
		result0 = b0;
	}
	goto LA1;
	LA3: ;
	{
		NI32 a0;
		a0 = ((NI32) 0);
		{
			NI i_528137_2036603609;
			NI HEX3Atmp_528193_2036603609;
			NI res_528196_2036603609;
			i_528137_2036603609 = (NI)0;
			HEX3Atmp_528193_2036603609 = (NI)0;
			HEX3Atmp_528193_2036603609 = (NI)((s0 ? s0->Sup.len : 0) - ((NI) 1));
			res_528196_2036603609 = ((NI) 0);
			{
				while (1) {
					if (!(res_528196_2036603609 <= HEX3Atmp_528193_2036603609)) goto LA11;
					i_528137_2036603609 = res_528196_2036603609;
					a0 = (NI32)((NU32)(a0) + (NU32)(((NI32) (((NU8)(s0->data[i_528137_2036603609]))))));
					a0 = (NI32)((NU32)(a0) + (NU32)((NI32)((NU32)(a0) << (NU32)(((NI32) 10)))));
					a0 = (NI32)(a0 ^ (NI32)((NU32)(a0) >> (NU32)(((NI32) 6))));
					res_528196_2036603609 += ((NI) 1);
				} LA11: ;
			}
		}
		a0 = (NI32)((NU32)(a0) + (NU32)((NI32)((NU32)(a0) << (NU32)(((NI32) 3)))));
		a0 = (NI32)(a0 ^ (NI32)((NU32)(a0) >> (NU32)(((NI32) 11))));
		a0 = (NI32)((NU32)(a0) + (NU32)((NI32)((NU32)(a0) << (NU32)(((NI32) 15)))));
		result0 = ((NI64) (a0));
	}
	LA1: ;
	return result0;
}
开发者ID:FedericoCeratto,项目名称:debian-nim,代码行数:63,代码来源:compiler_ccgutils.c

示例13: N_NIMCALL

N_NIMCALL(void, bitsetinit_242021)(Tbitset242012** b, NI length) {
	nimfr("bitSetInit", "bitsets.nim")
	nimln(47, "bitsets.nim");
	unsureAsgnRef((void**) (&(*b)), (Tbitset242012*) newSeq((&NTI242012), ((NI)chckRange(length, ((NI) 0), ((NI) IL64(9223372036854775807))))));
	popFrame();
}
开发者ID:undecided,项目名称:csources,代码行数:6,代码来源:compiler_bitsets.c

示例14: N_NIMCALL

N_NIMCALL(void, encodevbiggestintaux_199198)(NI64 x, NimStringDesc** result) {
	NIM_CHAR d_199204;
	NI64 v_199206;
	NI64 rem_199208;
	NI64 TMP2110;
	NI idx_199210;
	nimfr("encodeVBiggestIntAux", "rodutils.nim")
	d_199204 = 0;
	nimln(69, "rodutils.nim");
	v_199206 = x;
	nimln(70, "rodutils.nim");
	nimln(70, "rodutils.nim");
	TMP2110 = modInt64(v_199206, 190);
	rem_199208 = (NI64)(TMP2110);
	nimln(71, "rodutils.nim");
	{
		NI64 TMP2111;
		nimln(71, "rodutils.nim");
		if (!(((NI) (rem_199208)) < 0)) goto LA3;
		nimln(72, "rodutils.nim");
		(*result) = addChar((*result), 45);
		nimln(73, "rodutils.nim");
		nimln(73, "rodutils.nim");
		nimln(73, "rodutils.nim");
		TMP2111 = divInt64(v_199206, 190);
		if ((NI64)(TMP2111) == (IL64(-9223372036854775807) - IL64(1))) raiseOverflow();
		v_199206 = -((NI64)(TMP2111));
		nimln(74, "rodutils.nim");
		nimln(74, "rodutils.nim");
		if (((NI64) (rem_199208)) == (IL64(-9223372036854775807) - IL64(1))) raiseOverflow();
		rem_199208 = -(((NI64) (rem_199208)));
	}
	goto LA1;
	LA3: ;
	{
		NI64 TMP2112;
		nimln(76, "rodutils.nim");
		nimln(76, "rodutils.nim");
		TMP2112 = divInt64(v_199206, 190);
		v_199206 = (NI64)(TMP2112);
	}
	LA1: ;
	nimln(77, "rodutils.nim");
	idx_199210 = ((NI) (rem_199208));
	nimln(78, "rodutils.nim");
	{
		nimln(78, "rodutils.nim");
		if (!(idx_199210 < 62)) goto LA8;
		nimln(78, "rodutils.nim");
		if ((NU)(idx_199210) > (NU)(((NimStringDesc*) &TMP2113)->Sup.len)) raiseIndexError();
		d_199204 = ((NimStringDesc*) &TMP2113)->data[idx_199210];
	}
	goto LA6;
	LA8: ;
	{
		NI TMP2114;
		NI TMP2115;
		nimln(79, "rodutils.nim");
		nimln(79, "rodutils.nim");
		nimln(79, "rodutils.nim");
		nimln(79, "rodutils.nim");
		TMP2114 = subInt(idx_199210, 62);
		TMP2115 = addInt((NI32)(TMP2114), 128);
		d_199204 = ((NIM_CHAR) (((NI)chckRange((NI32)(TMP2115), 0, 255))));
	}
	LA6: ;
	nimln(80, "rodutils.nim");
	{
		nimln(80, "rodutils.nim");
		nimln(80, "rodutils.nim");
		if (!!((v_199206 == 0))) goto LA13;
		nimln(80, "rodutils.nim");
		encodevbiggestintaux_199198(v_199206, result);
	}
	LA13: ;
	nimln(81, "rodutils.nim");
	(*result) = addChar((*result), d_199204);
	popFrame();
}
开发者ID:rbehrends,项目名称:csources,代码行数:79,代码来源:rodutils.c

示例15: N_NIMCALL

N_NIMCALL(Tanalysisresult471003, ispartofaux_471007_788060399)(Ttype290840* a0, Ttype290840* b0, Intset266030* marker0) {
	Tanalysisresult471003 result0;
{	result0 = (Tanalysisresult471003)0;
	result0 = ((Tanalysisresult471003) 0);
	{
		NIM_BOOL LOC3;
		LOC3 = (NIM_BOOL)0;
		LOC3 = (a0 == NIM_NIL);
		if (LOC3) goto LA4;
		LOC3 = (b0 == NIM_NIL);
		LA4: ;
		if (!LOC3) goto LA5;
		goto BeforeRet;
	}
	LA5: ;
	{
		NIM_BOOL LOC9;
		LOC9 = (NIM_BOOL)0;
		LOC9 = containsorincl_266862_2627731572(marker0, (*a0).Sup.id);
		if (!LOC9) goto LA10;
		goto BeforeRet;
	}
	LA10: ;
	{
		NIM_BOOL LOC14;
		LOC14 = (NIM_BOOL)0;
		LOC14 = comparetypes_324214_3876443242(a0, b0, ((Tdistinctcompare322427) 1), 0);
		if (!LOC14) goto LA15;
		result0 = ((Tanalysisresult471003) 2);
		goto BeforeRet;
	}
	LA15: ;
	switch ((*a0).kind) {
	case ((Ttypekind290244) 17):
	{
		{
			Ttype290840* LOC22;
			if (!!(((*a0).sons->data[((NI) 0)] == NIM_NIL))) goto LA20;
			LOC22 = (Ttype290840*)0;
			LOC22 = skiptypes_294099_850551059((*a0).sons->data[((NI) 0)], IL64(211106247215360));
			result0 = ispartofaux_471007_788060399(LOC22, b0, marker0);
		}
		LA20: ;
		{
			if (!(result0 == ((Tanalysisresult471003) 0))) goto LA25;
			result0 = ispartofaux_471013_788060399((*a0).n, b0, marker0);
		}
		LA25: ;
	}
	break;
	case ((Ttypekind290244) 11):
	case ((Ttypekind290244) 13):
	{
		Ttype290840* LOC28;
		LOC28 = (Ttype290840*)0;
		LOC28 = lastson_293377_850551059(a0);
		result0 = ispartofaux_471007_788060399(LOC28, b0, marker0);
	}
	break;
	case ((Ttypekind290244) 16):
	case ((Ttypekind290244) 4):
	case ((Ttypekind290244) 19):
	case ((Ttypekind290244) 18):
	{
		{
			NI i_471315_788060399;
			NI HEX3Atmp_471326_788060399;
			NI LOC31;
			NI res_471329_788060399;
			i_471315_788060399 = (NI)0;
			HEX3Atmp_471326_788060399 = (NI)0;
			LOC31 = (NI)0;
			LOC31 = sonslen_293327_850551059(a0);
			HEX3Atmp_471326_788060399 = (NI)(LOC31 - ((NI) 1));
			res_471329_788060399 = ((NI) 0);
			{
				while (1) {
					if (!(res_471329_788060399 <= HEX3Atmp_471326_788060399)) goto LA33;
					i_471315_788060399 = res_471329_788060399;
					result0 = ispartofaux_471007_788060399((*a0).sons->data[i_471315_788060399], b0, marker0);
					{
						if (!(result0 == ((Tanalysisresult471003) 2))) goto LA36;
						goto BeforeRet;
					}
					LA36: ;
					res_471329_788060399 += ((NI) 1);
				} LA33: ;
			}
		}
	}
	break;
	default:
	{
	}
	break;
	}
	}BeforeRet: ;
	return result0;
}
开发者ID:FedericoCeratto,项目名称:debian-nim,代码行数:99,代码来源:compiler_aliases.c


注:本文中的IL64函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。