Home
last modified time | relevance | path

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

12345678910>>...35

/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/swiftshader/src/Vulkan/Debug/
DType.cpp21 …pe> TypeOf<bool>::get() { static auto ty = std::make_shared<Type>(Kind::Bool); return… in get() local
22 …pe> TypeOf<uint8_t>::get() { static auto ty = std::make_shared<Type>(Kind::U8); return… in get() local
23 …pe> TypeOf<int8_t>::get() { static auto ty = std::make_shared<Type>(Kind::S8); return… in get() local
24 …pe> TypeOf<uint16_t>::get() { static auto ty = std::make_shared<Type>(Kind::U16); return… in get() local
25 …pe> TypeOf<int16_t>::get() { static auto ty = std::make_shared<Type>(Kind::S16); return… in get() local
26 …pe> TypeOf<float>::get() { static auto ty = std::make_shared<Type>(Kind::F32); return… in get() local
27 …pe> TypeOf<uint32_t>::get() { static auto ty = std::make_shared<Type>(Kind::U32); return… in get() local
28 …pe> TypeOf<int32_t>::get() { static auto ty = std::make_shared<Type>(Kind::S32); return… in get() local
29 …pe> TypeOf<double>::get() { static auto ty = std::make_shared<Type>(Kind::F64); return… in get() local
30 …pe> TypeOf<uint64_t>::get() { static auto ty = std::make_shared<Type>(Kind::U64); return… in get() local
[all …]
/external/crosvm/devices/src/usb/xhci/
Dxhci_regs.rs156 ty: u8, in init_xhci_mmio_space_and_regs()
164 ty: u16, in init_xhci_mmio_space_and_regs()
172 ty: u32, in init_xhci_mmio_space_and_regs()
181 ty: u32, in init_xhci_mmio_space_and_regs()
192 ty: u32, in init_xhci_mmio_space_and_regs()
206 ty: u32, in init_xhci_mmio_space_and_regs()
217 ty: u32, in init_xhci_mmio_space_and_regs()
226 ty: u32, in init_xhci_mmio_space_and_regs()
235 ty: u32, in init_xhci_mmio_space_and_regs()
245 ty: u32, in init_xhci_mmio_space_and_regs()
[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.h138 Constant(const Type* ty) : type_(ty) {} in Constant() argument
167 ScalarConstant(const Type* ty, const std::vector<uint32_t>& w) in ScalarConstant() argument
168 : Constant(ty), words_(w) {} in ScalarConstant()
169 ScalarConstant(const Type* ty, std::vector<uint32_t>&& w) in ScalarConstant() argument
170 : Constant(ty), words_(std::move(w)) {} in ScalarConstant()
177 IntConstant(const Integer* ty, const std::vector<uint32_t>& w) in IntConstant() argument
178 : ScalarConstant(ty, w) {} in IntConstant()
179 IntConstant(const Integer* ty, std::vector<uint32_t>&& w) in IntConstant() argument
180 : ScalarConstant(ty, std::move(w)) {} in IntConstant()
227 FloatConstant(const Float* ty, const std::vector<uint32_t>& w) in FloatConstant() argument
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dconstants.h138 Constant(const Type* ty) : type_(ty) {} in Constant() argument
167 ScalarConstant(const Type* ty, const std::vector<uint32_t>& w) in ScalarConstant() argument
168 : Constant(ty), words_(w) {} in ScalarConstant()
169 ScalarConstant(const Type* ty, std::vector<uint32_t>&& w) in ScalarConstant() argument
170 : Constant(ty), words_(std::move(w)) {} in ScalarConstant()
177 IntConstant(const Integer* ty, const std::vector<uint32_t>& w) in IntConstant() argument
178 : ScalarConstant(ty, w) {} in IntConstant()
179 IntConstant(const Integer* ty, std::vector<uint32_t>&& w) in IntConstant() argument
180 : ScalarConstant(ty, std::move(w)) {} in IntConstant()
227 FloatConstant(const Float* ty, const std::vector<uint32_t>& w) in FloatConstant() argument
[all …]
/external/angle/third_party/spirv-tools/src/source/opt/
Dconstants.h138 Constant(const Type* ty) : type_(ty) {} in Constant() argument
167 ScalarConstant(const Type* ty, const std::vector<uint32_t>& w) in ScalarConstant() argument
168 : Constant(ty), words_(w) {} in ScalarConstant()
169 ScalarConstant(const Type* ty, std::vector<uint32_t>&& w) in ScalarConstant() argument
170 : Constant(ty), words_(std::move(w)) {} in ScalarConstant()
177 IntConstant(const Integer* ty, const std::vector<uint32_t>& w) in IntConstant() argument
178 : ScalarConstant(ty, w) {} in IntConstant()
179 IntConstant(const Integer* ty, std::vector<uint32_t>&& w) in IntConstant() argument
180 : ScalarConstant(ty, std::move(w)) {} in IntConstant()
227 FloatConstant(const Float* ty, const std::vector<uint32_t>& w) in FloatConstant() argument
[all …]
/external/crosvm/sys_util/src/
Dioctl.rs15 ($dir:expr, $ty:expr, $nr:expr, $size:expr) => {
17 | ($ty << $crate::ioctl::_IOC_TYPESHIFT)
26 ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr) => {
29 $crate::ioctl_expr!($dir, $ty, $nr, $size)
32 ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr, $($v:ident),+) => {
35 $crate::ioctl_expr!($dir, $ty, $nr, $size)
43 ($name:ident, $ty:expr, $nr:expr) => {
44 $crate::ioctl_ioc_nr!($name, $crate::ioctl::_IOC_NONE, $ty, $nr, 0);
46 ($name:ident, $ty:expr, $nr:expr, $($v:ident),+) => {
47 $crate::ioctl_ioc_nr!($name, $crate::ioctl::_IOC_NONE, $ty, $nr, 0, $($v),+);
[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,
87 ty=bool,
94 ty=bool,
101 ty=bool,
109 ty=int,
118 ty=bool,
124 ty=bool,
131 ty=bool,
138 ty=bool,
[all …]
/external/rust/crates/libc/src/
Dmacros.rs156 $($arg:ident: $argty:ty),*
157 ) -> $ret:ty {
171 $($arg:ident: $argty:ty),*
172 ) -> $ret:ty {
187 $($arg:ident: $argty:ty),*
188 ) -> $ret:ty {
202 $($arg:ident: $argty:ty),*
203 ) -> $ret:ty {
226 pub const $name:ident : $t1:ty
245 (pub const $id:ident: $ty:ty = $expr:expr;) => {
[all …]
/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/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/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/crosvm/devices/src/register_space/
Dregister.rs175 (ty: $ty:ty,offset: $offset:expr,value: $value:expr,) => {{
177 static REG_SPEC: StaticRegisterSpec<$ty> = StaticRegisterSpec::<$ty> {
352 ty: $ty:ty,
359 let spec: RegisterSpec<$ty> = RegisterSpec::<$ty> {
366 Register::<$ty>::new(spec, $rv)
368 (name: $name:tt, ty: $ty:ty,offset: $offset:expr,reset_value: $rv:expr,) => {{
370 let spec: RegisterSpec<$ty> = RegisterSpec::<$ty> {
377 Register::<$ty>::new(spec, $rv)
385 ty:
386 $ty:ty,cnt:
[all …]
/external/rust/crates/syn/1.0.7/src/
Dty.rs279 Type::Array(ty) => { in hash()
281 ty.hash(hash); in hash()
283 Type::BareFn(ty) => { in hash()
285 ty.hash(hash); in hash()
287 Type::Group(ty) => { in hash()
289 ty.hash(hash); in hash()
291 Type::ImplTrait(ty) => { in hash()
293 ty.hash(hash); in hash()
295 Type::Infer(ty) => { in hash()
297 ty.hash(hash); in hash()
[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/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/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/rust/crates/proc-macro2/tests/
Dmarker.rs4 ($ty:ident is $($marker:ident) and +) => {
7 fn $ty() {
9 assert_implemented::<$ty>();
13 ($ty:ident is not $($marker:ident) or +) => {
16 fn $ty() {
29 impl IsImplemented for $ty {}
33 <$ty>::assert_not_implemented();
/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/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

12345678910>>...35