Home
last modified time | relevance | path

Searched refs:ty (Results 1 – 25 of 160) sorted by relevance

1234567

/openbsd-src/gnu/llvm/llvm/utils/
H A Dshuffle_select_fuzz_tester.py114 def __init__(self, name, ty, value = None): argument
115 self.ty = ty # Type
122 def __init__(self, name, ty, op0, op1, mask): argument
123 Value.__init__(self, name, ty)
138 def __init__(self, name, ty, op0, op1, mask): argument
139 Instruction.__init__(self, '%shuf' + name, ty, op0, op1, mask)
144 return self.shuf_template.format(name = self.name, ty = self.ty.dump(), op0 = self.op0.name,
145 op1 = self.op1.name, num = self.ty.elt_num, mask = str_mask)
156 if index < self.ty.elt_num and index >= 0:
158 elif index >= self.ty.elt_num:
[all …]
/openbsd-src/lib/libcrypto/rc4/asm/
H A Drc4-586.pl68 $ty="edx";
78 &mov ($ty,&DWP(0,$dat,$yy,4));
80 &mov (&DWP(0,$dat,$xx,4),$ty);
81 &add ($ty,$tx);
83 &and ($ty,0xff);
90 &$func ($out,&DWP(0,$dat,$ty,4));
111 &mov ($ty,&DWP(0,$dat,$yy,4));
114 &mov (&DWP(0,$dat,$XX[0],4),$ty);
115 &add (&LB($ty),&LB($tx));
121 &pinsrw ($mm,&DWP(0,$dat,$ty,4),$j);
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D930614-1.c1 f (double *ty) in f() argument
3 *ty = -1.0; in f()
9 double tx = 0.0, ty, d; in main() local
11 f (&ty); in main()
13 if (ty < 0) in main()
14 ty = -ty; in main()
15 d = (tx > ty) ? tx : ty; in main()
16 if (ty != d) in main()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DCBindingWrapping.h19 #define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ argument
20 inline ty *unwrap(ref P) { \
21 return reinterpret_cast<ty*>(P); \
24 inline ref wrap(const ty *P) { \
25 return reinterpret_cast<ref>(const_cast<ty*>(P)); \
28 #define DEFINE_ISA_CONVERSION_FUNCTIONS(ty, ref) \ argument
29 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
36 #define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref) \ argument
37 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
/openbsd-src/games/hunt/huntd/
H A Dmakemaze.c141 int tx, ty; in dig_maze() local
149 tx = ty = 0; in dig_maze()
161 ty = y - 2; in dig_maze()
165 ty = y + 2; in dig_maze()
169 ty = y; in dig_maze()
173 ty = y; in dig_maze()
176 if (tx < 0 || ty < 0 || tx >= WIDTH || ty >= HEIGHT) in dig_maze()
178 if (Maze[ty][tx] == SPACE) in dig_maze()
180 Maze[(y + ty) / 2][(x + tx) / 2] = SPACE; in dig_maze()
181 dig_maze(tx, ty); in dig_maze()
/openbsd-src/usr.sbin/amd/include/
H A Dam.h175 #define FIRST(ty, q) ((ty *) ((q)->q_forw)) argument
176 #define LAST(ty, q) ((ty *) ((q)->q_back)) argument
177 #define NEXT(ty, q) ((ty *) (((qelem *) q)->q_forw)) argument
178 #define PREV(ty, q) ((ty *) (((qelem *) q)->q_back)) argument
179 #define HEAD(ty, q) ((ty *) q) argument
180 #define ITER(v, ty, q) \ argument
181 for ((v) = FIRST(ty,(q)); (v) != HEAD(ty,(q)); (v) = NEXT(ty,(v)))
326 #define ALLOC(ty) ((struct ty *) xmalloc(sizeof(struct ty))) argument
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td92 def OpSizeOf: Op<321, (outs ID:$res), (ins TYPE:$ty, ID:$ptr), "$res = OpSizeOf $ty $ptr">;
103 def OpMemberName: Op<6, (outs), (ins TYPE:$ty, i32imm:$mem, StringImm:$name, variable_ops),
104 "OpMemberName $ty $mem $name">;
126 (ins TYPE:$ty, i32imm:$mem, Decoration:$dec, StringImm:$str, variable_ops),
127 "OpMemberDecorateString $ty $mem $dec $str">;
134 def OpExtInst: Op<12, (outs ID:$res), (ins TYPE:$ty, ID:$set, Extension:$inst, variable_ops),
135 "$res = OpExtInst $ty $set $inst">;
307 (ins TYPE:$ty, ID:$sImage, ID:$uv, ImageOperand:$op, ID:$i, variable_ops),
308 "$res = OpImageSampleExplicitLod $ty $sImage $uv $op $i">;
314 (ins TYPE:$ty, ID:$im, ID:$uv, ID:$d, ImageOperand:$op, ID:$i, variable_ops),
[all …]
/openbsd-src/gnu/llvm/clang/utils/
H A DClangDataFormat.py99 ty = value.GetType()
100 if ty.IsPointerType() or ty.IsReferenceType():
101 return ty.GetPointeeType().GetName()
102 return ty.GetName()
109 ty = value.GetType()
110 if not (ty.IsPointerType() or
111 ty.IsReferenceType() or
/openbsd-src/games/hack/
H A Dhack.wizard.c151 schar tx,ty; in inrange() local
160 ty = u.uy - mtmp->my; in inrange()
161 if((!tx && abs(ty) < BOLT_LIM) || (!ty && abs(tx) < BOLT_LIM) in inrange()
162 || (abs(tx) == abs(ty) && abs(tx) < BOLT_LIM)){ in inrange()
166 buzz(-1,mtmp->mx,mtmp->my,sgn(tx),sgn(ty)); in inrange()
224 buzz(-rnd(3),mtmp->mx,mtmp->my,sgn(tx),sgn(ty)); in inrange()
H A Dhack.makemon.c220 int tx,ty; in rloc() local
228 ty = rn2(ROWNO); in rloc()
229 } while(!goodpos(tx,ty)); in rloc()
231 mtmp->my = ty; in rloc()
235 u.uy = ty; in rloc()
/openbsd-src/gnu/llvm/lld/COFF/
H A DDebugTypes.cpp342 for (const CVType &ty : types) { in mergeDebugT() local
349 isIdRecord(ty.kind()) ? m->ipiCounts : m->tpiCounts; in mergeDebugT()
615 forEachCodeViewRecord<CVType>(types, [fn](const CVType &ty) -> Error { in forEachTypeChecked() argument
616 fn(ty); in forEachTypeChecked()
628 forEachTypeChecked(file->debugTypes, [&](const CVType &ty) { in fillIsItemIndexFromDebugT() argument
629 if (isIdRecord(ty.kind())) in fillIsItemIndexFromDebugT()
635 void TpiSource::mergeTypeRecord(TypeIndex curIndex, CVType ty) { in mergeTypeRecord() argument
637 bool isItem = isIdRecord(ty.kind()); in mergeTypeRecord()
641 assert(ty.length() <= codeview::MaxRecordLength); in mergeTypeRecord()
643 size_t newSize = alignTo(ty.length(), 4); in mergeTypeRecord()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp540 if (ty(Vec).getVectorElementType() == ElemTy) in opCastElem()
549 return DAG.getNode(ISD::CONCAT_VECTORS, dl, typeJoin(ty(Ops)), in opJoin()
556 TypePair Tys = typeSplit(ty(Vec)); in opSplit()
739 if (ty(Idx) != MVT::i32) in getIndexInWord32()
751 MVT OpTy = ty(Op0); in getByteShuffle()
752 assert(OpTy == ty(Op1)); in getByteShuffle()
890 MVT ExtTy = ty(ExtVec); in buildHvxVectorReg()
985 SDValue DstV = DAG.getNode(ISD::OR, dl, ty(T0), {T0, T1}); in buildHvxVectorReg()
988 DAG.getBitcast(tyVector(ty(DstV), VecTy.getVectorElementType()), DstV); in buildHvxVectorReg()
995 MVT PredTy = ty(PredV); in createHvxPrefixPred()
[all …]
/openbsd-src/regress/usr.bin/mandoc/mdoc/Nm/
H A Dempty.out_ascii4 NNmm--eemmppttyy - handling of empty name macros
7 NNmm--eemmppttyy
8 NNmm--eemmppttyy
11 The NNmm--eemmppttyy utility ...
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D920928-2.c5 short x,y,delta,s,w,h,fx,fy,tx,ty; local
7 h=f((ty-fy)/2.0+0.5);
8 s=(((int)((short)(tx-fx))<(int)((short)(ty-fy)))?((short)(tx-fx)):((short)(ty-fy)))%2;
H A D920428-2.c153 …long _xy; float xy; long _yx; float yx; long _yy; float yy; long _tx; float tx; long _ty; float ty; member
168 …long _xy; float xy; long _yx; float yx; long _yy; float yy; long _tx; float tx; long _ty; float ty; member
386 …loat)(1<<12 ) )) )*(1.0/(1<<12 ) ))) , (*pmat). ty = ((float)(((*pmat). ty_fixed = ((fixed)(((*pma… in gs_update_matrix_fixed()
392 …1<<12 ) )) )*(1.0/(1<<12 ) ))) , (pgs->ctm). ty = ((float)(((pgs->ctm). ty_fixed = ((fixed)(((pgs-… in gs_initmatrix()
409 …1<<12 ) )) )*(1.0/(1<<12 ) ))) , (pgs->ctm). ty = ((float)(((pgs->ctm). ty_fixed = ((fixed)(((pgs-… in gs_setmatrix()
419 pgs->ctm.ty += pt.y; in gs_translate()
420 …1<<12 ) )) )*(1.0/(1<<12 ) ))) , (pgs->ctm). ty = ((float)(((pgs->ctm). ty_fixed = ((fixed)(((pgs-… in gs_translate()
441 …1<<12 ) )) )*(1.0/(1<<12 ) ))) , (pgs->ctm). ty = ((float)(((pgs->ctm). ty_fixed = ((fixed)(((pgs-… in gs_concat()
480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed()
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/llvm/
H A Dllvm.mli62 (** The kind of an [lltype], the result of [classify_type ty]. See the
566 (** [classify_type ty] returns the {!TypeKind.t} corresponding to the type [ty].
570 (** [type_is_sized ty] returns whether the type has a size or not.
575 (** [type_context ty] returns the {!llcontext} corresponding to the type [ty].
579 (** [dump_type ty] prints the .ll representation of the type [ty] to standard
583 (** [string_of_lltype ty] returns a string describing the type [ty]. *)
613 (** [integer_bitwidth c ty] returns the number of bits in the integer type [ty]
679 (** [struct_name ty] returns the name of the named structure type [ty],
688 (** [struct_set_body ty elts ispacked] sets the body of the named struct [ty]
712 (** [subtypes ty] returns [ty]'s subtypes *)
[all …]
/openbsd-src/lib/libcrypto/rc4/
H A Drc4.c83 RC4_INT x, y,tx, ty; in rc4_internal()
126 ty=d[y], \ in rc4_internal()
128 d[x]=ty, \ in rc4_internal()
129 (RC4_CHUNK)d[(tx+ty)&0xff]\ in rc4_internal()
203 d[x]=ty=d[y]; \ in rc4_internal()
205 (out) = d[(tx+ty)&0xff]^ (in); in rc4_internal()
81 RC4_INT x, y,tx, ty; rc4_internal() local
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DLocInfoType.h37 LocInfoType(QualType ty, TypeSourceInfo *TInfo) in LocInfoType() argument
38 : Type((TypeClass)LocInfo, ty, ty->getDependence()), DeclInfo(TInfo) { in LocInfoType()
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/debuginfo/
H A Dllvm_debuginfo.mli217 ty:Llvm.llmetadata ->
303 ty:Llvm.llmetadata ->
374 ty:Llvm.llmetadata ->
384 ty:Llvm.llmetadata ->
443 ty:Llvm.llmetadata ->
454 ty:Llvm.llmetadata ->
475 (** [dibuild_create_object_pointer_type dib ty] Create a uniqued DIType* clone
477 value and [ty] the underlying type to which this pointer points. *)
481 (** [dibuild_create_qualified_type dib tag ty] Create debugging information
483 [tag] identifyies the type and [ty] is the base type. *)
[all …]
H A Dllvm_debuginfo.ml205 ty:Llvm.llmetadata ->
312 ty:Llvm.llmetadata ->
320 ty:Llvm.llmetadata ->
373 ty:Llvm.llmetadata ->
383 ty:Llvm.llmetadata ->
417 ty:Llvm.llmetadata ->
428 ty:Llvm.llmetadata ->
475 ty:Llvm.llmetadata ->
498 lldibuilder -> ty:Llvm.llmetadata -> Llvm.llmetadata
548 ty:Llvm.llmetadata ->
[all …]
/openbsd-src/lib/libm/src/
H A Ds_fmal.c51 long double c, cc, hx, hy, p, q, tx, ty; in fmal() local
157 ty = ys - hy; in fmal()
160 q = hx * ty + tx * hy; in fmal()
162 cc = p - c + q + tx * ty; in fmal()
H A Ds_fma.c56 double c, cc, hx, hy, p, q, tx, ty; in fma() local
162 ty = ys - hy; in fma()
165 q = hx * ty + tx * hy; in fma()
167 cc = p - c + q + tx * ty; in fma()
/openbsd-src/usr.bin/rpcgen/
H A Drpc_util.c145 switch (def->def.ty.rel) { in fixit()
147 return (def->def.ty.old_type); in fixit()
149 return (fixit(def->def.ty.old_type, orig)); in fixit()
198 if (def->def_kind != DEF_TYPEDEF || def->def.ty.old_prefix != NULL) in typedefed()
223 type = def->def.ty.old_type;
224 rel = def->def.ty.rel;
/openbsd-src/gnu/gcc/libmudflap/
H A Dmf-impl.h342 #define DECLARE(ty, fname, ...) \ argument
343 typedef ty (*__mf_fn_ ## fname) (__VA_ARGS__); \
344 extern ty __mf_0fn_ ## fname (__VA_ARGS__);
357 #define DECLARE(ty, fname, ...) \ argument
358 extern ty __real_ ## fname (__VA_ARGS__)
/openbsd-src/gnu/llvm/llvm/tools/llvm-c-test/
H A Dcalc.c77 LLVMTypeRef ty = LLVMInt64Type(); in build_from_tokens() local
78 off = LLVMBuildGEP2(builder, ty, param, &stack[depth - 1], 1, ""); in build_from_tokens()
79 stack[depth - 1] = LLVMBuildLoad2(builder, ty, off, ""); in build_from_tokens()

1234567