Home
last modified time | relevance | path

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

12345678910>>...32

/external/swiftshader/third_party/llvm-7.0/llvm/utils/
Dshuffle_select_fuzz_tester.py113 def __init__(self, name, ty, value = None): argument
114 self.ty = ty # Type
121 def __init__(self, name, ty, op0, op1, mask): argument
122 Value.__init__(self, name, ty)
137 def __init__(self, name, ty, op0, op1, mask): argument
138 Instruction.__init__(self, '%shuf' + name, ty, op0, op1, mask)
143 return self.shuf_template.format(name = self.name, ty = self.ty.dump(), op0 = self.op0.name,
144 op1 = self.op1.name, num = self.ty.elt_num, mask = str_mask)
155 if index < self.ty.elt_num and index >= 0:
157 elif index >= self.ty.elt_num:
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/aarch64/
Dffi.c245 get_homogeneous_type (ffi_type *ty) in get_homogeneous_type() argument
247 if (ty->type == FFI_TYPE_STRUCT && ty->elements) in get_homogeneous_type()
251 = get_homogeneous_type (ty->elements[0]); in get_homogeneous_type()
252 for (i =1; ty->elements[i]; i++) in get_homogeneous_type()
258 if (ty->elements[i]->type == FFI_TYPE_STRUCT in get_homogeneous_type()
259 && ty->elements[i]->elements) in get_homogeneous_type()
261 iteration_type = get_homogeneous_type (ty->elements[i]); in get_homogeneous_type()
265 iteration_type = ty->elements[i]->type; in get_homogeneous_type()
277 return ty->type; in get_homogeneous_type()
287 element_count (ffi_type *ty) in element_count() argument
[all …]
/external/libffi/src/aarch64/
Dffi.c248 get_homogeneous_type (ffi_type *ty) in get_homogeneous_type() argument
250 if (ty->type == FFI_TYPE_STRUCT && ty->elements) in get_homogeneous_type()
254 = get_homogeneous_type (ty->elements[0]); in get_homogeneous_type()
255 for (i =1; ty->elements[i]; i++) in get_homogeneous_type()
261 if (ty->elements[i]->type == FFI_TYPE_STRUCT in get_homogeneous_type()
262 && ty->elements[i]->elements) in get_homogeneous_type()
264 iteration_type = get_homogeneous_type (ty->elements[i]); in get_homogeneous_type()
268 iteration_type = ty->elements[i]->type; in get_homogeneous_type()
280 return ty->type; in get_homogeneous_type()
290 element_count (ffi_type *ty) in element_count() argument
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconstants.h130 Constant(const Type* ty) : type_(ty) {} in Constant() argument
159 ScalarConstant(const Type* ty, const std::vector<uint32_t>& w) in ScalarConstant() argument
160 : Constant(ty), words_(w) {} in ScalarConstant()
161 ScalarConstant(const Type* ty, std::vector<uint32_t>&& w) in ScalarConstant() argument
162 : Constant(ty), words_(std::move(w)) {} in ScalarConstant()
169 IntConstant(const Integer* ty, const std::vector<uint32_t>& w) in IntConstant() argument
170 : ScalarConstant(ty, w) {} in IntConstant()
171 IntConstant(const Integer* ty, std::vector<uint32_t>&& w) in IntConstant() argument
172 : ScalarConstant(ty, std::move(w)) {} in IntConstant()
219 FloatConstant(const Float* ty, const std::vector<uint32_t>& w) in FloatConstant() argument
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dconstants.h130 Constant(const Type* ty) : type_(ty) {} in Constant() argument
159 ScalarConstant(const Type* ty, const std::vector<uint32_t>& w) in ScalarConstant() argument
160 : Constant(ty), words_(w) {} in ScalarConstant()
161 ScalarConstant(const Type* ty, std::vector<uint32_t>&& w) in ScalarConstant() argument
162 : Constant(ty), words_(std::move(w)) {} in ScalarConstant()
169 IntConstant(const Integer* ty, const std::vector<uint32_t>& w) in IntConstant() argument
170 : ScalarConstant(ty, w) {} in IntConstant()
171 IntConstant(const Integer* ty, std::vector<uint32_t>&& w) in IntConstant() argument
172 : ScalarConstant(ty, std::move(w)) {} in IntConstant()
219 FloatConstant(const Float* ty, const std::vector<uint32_t>& w) in FloatConstant() argument
[all …]
/external/turbine/java/com/google/turbine/types/
DErasure.java33 public static Type erase(Type ty, Function<TyVarSymbol, SourceTypeBoundClass.TyVarInfo> tenv) { in erase() argument
34 switch (ty.tyKind()) { in erase()
37 return ty; in erase()
39 return eraseClassTy((Type.ClassTy) ty); in erase()
41 return eraseArrayTy((Type.ArrayTy) ty, tenv); in erase()
43 return eraseTyVar((TyVar) ty, tenv); in erase()
45 return eraseIntersectionTy((Type.IntersectionTy) ty, tenv); in erase()
47 throw new AssertionError(ty.tyKind()); in erase()
52 IntersectionTy ty, Function<TyVarSymbol, TyVarInfo> tenv) { in eraseIntersectionTy() argument
53 return erase(ty.bounds().get(0), tenv); in eraseIntersectionTy()
[all …]
/external/tensorflow/tensorflow/python/data/experimental/ops/
Doptimization_options.py42 ty=bool,
49 ty=bool,
56 ty=int,
65 ty=bool,
71 ty=bool,
78 ty=bool,
85 ty=bool,
92 ty=bool,
98 ty=bool,
105 ty=bool,
[all …]
/external/llvm/include/llvm/Support/
DCBindingWrapping.h20 #define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ argument
21 inline ty *unwrap(ref P) { \
22 return reinterpret_cast<ty*>(P); \
25 inline ref wrap(const ty *P) { \
26 return reinterpret_cast<ref>(const_cast<ty*>(P)); \
29 #define DEFINE_ISA_CONVERSION_FUNCTIONS(ty, ref) \ argument
30 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
37 #define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref) \ argument
38 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCBindingWrapping.h20 #define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ argument
21 inline ty *unwrap(ref P) { \
22 return reinterpret_cast<ty*>(P); \
25 inline ref wrap(const ty *P) { \
26 return reinterpret_cast<ref>(const_cast<ty*>(P)); \
29 #define DEFINE_ISA_CONVERSION_FUNCTIONS(ty, ref) \ argument
30 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
37 #define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref) \ argument
38 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DCBindingWrapping.h20 #define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ argument
21 inline ty *unwrap(ref P) { \
22 return reinterpret_cast<ty*>(P); \
25 inline ref wrap(const ty *P) { \
26 return reinterpret_cast<ref>(const_cast<ty*>(P)); \
29 #define DEFINE_ISA_CONVERSION_FUNCTIONS(ty, ref) \ argument
30 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
37 #define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref) \ argument
38 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
/external/swiftshader/third_party/subzero/crosstest/
Dvectors.h34 #define X(ty, eltty, castty) typedef eltty ty __attribute__((vector_size(16))); argument
44 #define X(ty, expandedty, numelements) class ty; argument
71 #define X(ty, eltty, castty) \ argument
72 DECLARE_VECTOR_TYPE(ty, ty, eltty, castty, (sizeof(ty) / sizeof(eltty)))
76 #define X(ty, expandedty, numelements) \ argument
77 DECLARE_VECTOR_TYPE(ty, expandedty, bool, int64_t, numelements)
/external/walt/pywalt/pywalt/
Dminimization.py45 def minimize_lsq(tx, x, ty, y, tl, min_shift, max_shift, step): argument
62 yl = numpy.interp(tl + shift, ty, y)
81 (tx, x, ty, y) = evparser.load_xy(fname_evtest)
84 t0 = min(tx[0], ty[0])
86 ty = ty - t0
95 best_shift_coarse = minimize_lsq(tx, x, ty, y, tl, 0, 0.2, coarse_step)
99 best_shift_fine = minimize_lsq(tx, x, ty, y, tl, lmts[0], lmts[1], fine_step)
103 debug_plot(tx, x, ty, y, tl, best_shift_fine)
108 def debug_plot(tx, x, ty, y, tl, shift): argument
116 xx = numpy.interp(ty, tx, x)
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_inlines.h54 static inline unsigned int typeSizeof(DataType ty) in typeSizeof() argument
56 switch (ty) { in typeSizeof()
81 static inline unsigned int typeSizeofLog2(DataType ty) in typeSizeofLog2() argument
83 switch (ty) { in typeSizeofLog2()
122 static inline bool isFloatType(DataType ty) in isFloatType() argument
124 return (ty >= TYPE_F16 && ty <= TYPE_F64); in isFloatType()
127 static inline bool isSignedIntType(DataType ty) in isSignedIntType() argument
129 return (ty == TYPE_S8 || ty == TYPE_S16 || ty == TYPE_S32 || ty == TYPE_S64); in isSignedIntType()
132 static inline bool isSignedType(DataType ty) in isSignedType() argument
134 switch (ty) { in isSignedType()
[all …]
/external/turbine/java/com/google/turbine/lower/
DLowerSignature.java56 public Sig.TySig signature(Type ty) { in signature() argument
57 switch (ty.tyKind()) { in signature()
59 return classTySig((Type.ClassTy) ty); in signature()
61 return tyVarSig((TyVar) ty); in signature()
63 return arrayTySig((ArrayTy) ty); in signature()
65 return refBaseTy((PrimTy) ty); in signature()
69 return wildTy((WildTy) ty); in signature()
71 throw new AssertionError(ty.tyKind()); in signature()
123 private TySig wildTy(WildTy ty) { in wildTy() argument
124 switch (ty.boundKind()) { in wildTy()
[all …]
/external/clang/include/clang/AST/
DLocInfoType.h38 LocInfoType(QualType ty, TypeSourceInfo *TInfo) in LocInfoType() argument
39 : Type((TypeClass)LocInfo, ty, ty->isDependentType(), in LocInfoType()
40 ty->isInstantiationDependentType(), ty->isVariablyModifiedType(), in LocInfoType()
41 ty->containsUnexpandedParameterPack()), in LocInfoType()
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objdump/
Dcoff-import-library.test3 CHECK: [ 0](sec 0)(fl 0x00)(ty 0)(scl 0) (nx 0) 0x00000000 __imp__constant
5 CHECK: [ 0](sec 0)(fl 0x00)(ty 0)(scl 0) (nx 0) 0x00000000 __imp__data
7 CHECK: [ 0](sec 0)(fl 0x00)(ty 0)(scl 0) (nx 0) 0x00000000 __imp__function
8 CHECK: [ 1](sec 0)(fl 0x00)(ty 20)(scl 0) (nx 0) 0x00000000 _function
10 CHECK: [ 0](sec 0)(fl 0x00)(ty 0)(scl 0) (nx 0) 0x00000000 __imp__ordinal
11 CHECK: [ 1](sec 0)(fl 0x00)(ty 20)(scl 0) (nx 0) 0x00000000 _ordinal
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Dumulo-32.ll3 %umul.ty = type { i32, i1 }
8 %tmp0 = tail call %umul.ty @llvm.umul.with.overflow.i32(i32 %a, i32 37)
9 %tmp1 = extractvalue %umul.ty %tmp0, 0
14 declare %umul.ty @llvm.umul.with.overflow.i32(i32, i32) nounwind readnone
32 %5 = call %umul.ty @llvm.umul.with.overflow.i32(i32 %4, i32 8)
33 %6 = extractvalue %umul.ty %5, 1
34 %7 = extractvalue %umul.ty %5, 0
/external/llvm/test/CodeGen/ARM/
Dumulo-32.ll3 %umul.ty = type { i32, i1 }
8 %tmp0 = tail call %umul.ty @llvm.umul.with.overflow.i32(i32 %a, i32 37)
9 %tmp1 = extractvalue %umul.ty %tmp0, 0
14 declare %umul.ty @llvm.umul.with.overflow.i32(i32, i32) nounwind readnone
32 %5 = call %umul.ty @llvm.umul.with.overflow.i32(i32 %4, i32 8)
33 %6 = extractvalue %umul.ty %5, 1
34 %7 = extractvalue %umul.ty %5, 0
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
Dumulo-32.ll3 %umul.ty = type { i32, i1 }
8 %tmp0 = tail call %umul.ty @llvm.umul.with.overflow.i32(i32 %a, i32 37)
9 %tmp1 = extractvalue %umul.ty %tmp0, 0
14 declare %umul.ty @llvm.umul.with.overflow.i32(i32, i32) nounwind readnone
32 %5 = call %umul.ty @llvm.umul.with.overflow.i32(i32 %4, i32 8)
33 %6 = extractvalue %umul.ty %5, 1
34 %7 = extractvalue %umul.ty %5, 0
/external/skia/src/compute/ts/
Dtransform_stack.c65 ts_transform_float_t ty; member
202 A->sx * B->tx + A->shx * B->ty + A->tx, \
203 A->shy * B->sx + A->sy * B->shy + A->ty * B->w0, \
204 A->shy * B->shx + A->sy * B->sy + A->ty * B->w1, \
205 A->shy * B->tx + A->sy * B->ty + A->ty, \
208 A->w0 * B->tx + A->w1 * B->ty + TS_TRANSFORM_ONE
302 ts_transform_float_t const ty, in ts_transform_stack_store_matrix_8() argument
314 t->ty = ty; in ts_transform_stack_store_matrix_8()
335 ts_transform_float_t const ty, in ts_transform_stack_store_matrix() argument
344 shy,sy, ty, in ts_transform_stack_store_matrix()
[all …]
/external/skqp/src/compute/ts/
Dtransform_stack.c65 ts_transform_float_t ty; member
202 A->sx * B->tx + A->shx * B->ty + A->tx, \
203 A->shy * B->sx + A->sy * B->shy + A->ty * B->w0, \
204 A->shy * B->shx + A->sy * B->sy + A->ty * B->w1, \
205 A->shy * B->tx + A->sy * B->ty + A->ty, \
208 A->w0 * B->tx + A->w1 * B->ty + TS_TRANSFORM_ONE
302 ts_transform_float_t const ty, in ts_transform_stack_store_matrix_8() argument
314 t->ty = ty; in ts_transform_stack_store_matrix_8()
335 ts_transform_float_t const ty, in ts_transform_stack_store_matrix() argument
344 shy,sy, ty, in ts_transform_stack_store_matrix()
[all …]
/external/skqp/include/core/
DSkRSXform.h22 static SkRSXform Make(SkScalar scos, SkScalar ssin, SkScalar tx, SkScalar ty) { in Make()
23 SkRSXform xform = { scos, ssin, tx, ty }; in Make()
33 static SkRSXform MakeFromRadians(SkScalar scale, SkScalar radians, SkScalar tx, SkScalar ty, in MakeFromRadians()
37 return Make(c, s, tx + -c * ax + s * ay, ty + -s * ax - c * ay); in MakeFromRadians()
54 void set(SkScalar scos, SkScalar ssin, SkScalar tx, SkScalar ty) { in set()
58 fTy = ty; in set()
/external/skia/include/core/
DSkRSXform.h22 static SkRSXform Make(SkScalar scos, SkScalar ssin, SkScalar tx, SkScalar ty) { in Make()
23 SkRSXform xform = { scos, ssin, tx, ty }; in Make()
33 static SkRSXform MakeFromRadians(SkScalar scale, SkScalar radians, SkScalar tx, SkScalar ty, in MakeFromRadians()
37 return Make(c, s, tx + -c * ax + s * ay, ty + -s * ax - c * ay); in MakeFromRadians()
54 void set(SkScalar scos, SkScalar ssin, SkScalar tx, SkScalar ty) { in set()
58 fTy = ty; in set()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrAtomics.td208 class AStorePatNoOffset<ValueType ty, PatFrag kind, NI inst> :
209 Pat<(kind I32:$addr, ty:$val), (inst 0, 0, I32:$addr, ty:$val)>;
216 class AStorePatImmOff<ValueType ty, PatFrag kind, PatFrag operand, NI inst> :
217 Pat<(kind (operand I32:$addr, imm:$off), ty:$val),
218 (inst 0, imm:$off, I32:$addr, ty:$val)>;
224 class AStorePatGlobalAddr<ValueType ty, PatFrag kind, NI inst> :
226 ty:$val),
227 (inst 0, tglobaladdr:$off, I32:$addr, ty:$val)>;
231 class AStorePatExternalSym<ValueType ty, PatFrag kind, NI inst> :
232 Pat<(kind (add I32:$addr, (WebAssemblywrapper texternalsym:$off)), ty:$val),
[all …]
/external/clang/utils/
DClangDataFormat.py120 ty = value.GetType()
121 if ty.IsPointerType() or ty.IsReferenceType():
122 return ty.GetPointeeType().GetName()
123 return ty.GetName()
130 ty = value.GetType()
131 if not (ty.IsPointerType() or
132 ty.IsReferenceType() or

12345678910>>...32