Home
last modified time | relevance | path

Searched refs:Is (Results 1 – 25 of 779) sorted by relevance

12345678910>>...32

/external/v8/src/compiler/
Doperation-typer.cc138 if (!type.Is(cache_.kInteger)) { in Rangify()
257 if (type.Is(Type::Receiver())) return type; in ConvertReceiver()
271 if (type.Is(Type::Number())) return type; in ToNumberCommon()
272 if (type.Is(Type::NullOrUndefined())) { in ToNumberCommon()
273 if (type.Is(Type::Null())) return cache_.kSingletonZero; in ToNumberCommon()
274 if (type.Is(Type::Undefined())) return Type::NaN(); in ToNumberCommon()
277 if (type.Is(Type::Boolean())) { in ToNumberCommon()
278 if (type.Is(singleton_false_)) return cache_.kSingletonZero; in ToNumberCommon()
279 if (type.Is(singleton_true_)) return cache_.kSingletonOne; in ToNumberCommon()
282 if (type.Is(Type::NumberOrOddball())) { in ToNumberCommon()
[all …]
Dtyped-optimization.cc108 if (value_type.Is(Type::Receiver())) { in ReduceConvertReceiver()
111 } else if (value_type.Is(Type::NullOrUndefined())) { in ReduceConvertReceiver()
168 if (input_type.Is(Type::Number())) { in ReduceCheckNumber()
178 if (input_type.Is(Type::String())) { in ReduceCheckString()
191 if (val_type.Is(exp_type)) return Replace(effect); in ReduceCheckEqualsInternalizedString()
203 if (val_type.Is(exp_type)) return Replace(effect); in ReduceCheckEqualsSymbol()
233 if (input_type.Is(type_cache_.kIntegerOrMinusZeroOrNaN)) { in ReduceNumberFloor()
236 if (input_type.Is(Type::PlainNumber()) && in ReduceNumberFloor()
243 if (lhs_type.Is(Type::Unsigned32()) && rhs_type.Is(Type::Unsigned32())) { in ReduceNumberFloor()
269 if (input_type.Is(type_cache_.kIntegerOrMinusZeroOrNaN)) { in ReduceNumberRoundop()
[all …]
Drepresentation-change.cc208 if (output_type.Is(Type::SignedSmall())) { in GetTaggedSignedRepresentationFor()
217 if (output_type.Is(Type::None())) { in GetTaggedSignedRepresentationFor()
223 if (output_type.Is(Type::Signed31())) { in GetTaggedSignedRepresentationFor()
225 } else if (output_type.Is(Type::Signed32())) { in GetTaggedSignedRepresentationFor()
234 } else if (output_type.Is(Type::Unsigned32()) && in GetTaggedSignedRepresentationFor()
242 if (output_type.Is(Type::Signed31())) { in GetTaggedSignedRepresentationFor()
246 } else if (output_type.Is(Type::Signed32())) { in GetTaggedSignedRepresentationFor()
257 } else if (output_type.Is(Type::Unsigned32()) && in GetTaggedSignedRepresentationFor()
300 } else if (output_type.Is(Type::SignedSmall())) { in GetTaggedSignedRepresentationFor()
339 if (output_type.Is(Type::None())) { in GetTaggedPointerRepresentationFor()
[all …]
Dmachine-operator-reducer.cc170 if (m.right().Is(0)) return Replace(m.left().node()); // x ror 0 => x in Reduce()
182 if (m.left().IsInt32Sub() && m.right().Is(0)) { // x - y == 0 => x == y in Reduce()
197 if (m.left().IsInt64Sub() && m.right().Is(0)) { // x - y == 0 => x == y in Reduce()
217 if (m.right().Is(0)) return Replace(m.right().node()); // x * 0 => 0 in Reduce()
218 if (m.right().Is(1)) return Replace(m.left().node()); // x * 1 => x in Reduce()
222 if (m.right().Is(-1)) { // x * -1 => 0 - x in Reduce()
238 if (m.right().Is(2)) { in Reduce()
243 if (m.right().Is(-1)) { in Reduce()
265 if (m.left().IsWord32Or() && m.right().Is(0)) { in Reduce()
285 if (m.left().Is(kMaxUInt32)) return ReplaceBool(false); // M < x => false in Reduce()
[all …]
Dsimplified-lowering.cc239 return type.Is(Type::OrderedNumber()) && !type.IsNone() && type.Min() > 0; in IsSomePositiveOrderedNumber()
531 if (!type.IsInvalid() && new_type.Is(type)) return false; in UpdateFeedbackType()
704 DCHECK(info->restriction_type().Is(restriction_type)); in SetOutput()
705 DCHECK(restriction_type.Is(info->restriction_type())); in SetOutput()
710 DCHECK(info->restriction_type().Is(restriction_type)); in SetOutput()
711 DCHECK(restriction_type.Is(info->restriction_type())); in SetOutput()
725 return GetUpperBound(node->InputAt(0)).Is(type); in InputIs()
738 return GetUpperBound(node->InputAt(0)).Is(type) && in BothInputsAre()
739 GetUpperBound(node->InputAt(1)).Is(type); in BothInputsAre()
928 if (type.Is(Type::None())) { in GetOutputInfoForPhi()
[all …]
Dconstant-folding-reducer.cc41 } else if (upper.Is(Type::MinusZero())) { in Reduce()
45 } else if (upper.Is(Type::NaN())) { in Reduce()
47 } else if (upper.Is(Type::Null())) { in Reduce()
49 } else if (upper.Is(Type::PlainNumber()) && upper.Min() == upper.Max()) { in Reduce()
51 } else if (upper.Is(Type::Undefined())) { in Reduce()
Dtypes.cc56 DCHECK(this->Is(Number())); in Min()
57 DCHECK(!this->Is(NaN())); in Min()
65 if (!bitset.Is(NaN())) min = std::min(min, bitset.Min()); in Min()
74 DCHECK(this->Is(Number())); in Max()
75 DCHECK(!this->Is(NaN())); in Max()
83 if (!bitset.Is(NaN())) max = std::max(max, bitset.Max()); in Max()
382 DCHECK(BitsetType::Is(boundaries[i].internal, boundaries[i].external)); in ExpandInternals()
425 DCHECK(Is(bits, kNumber)); in Min()
426 DCHECK(!Is(bits, kNaN)); in Min()
430 if (Is(mins[i].internal, bits)) { in Min()
[all …]
Dtyper.cc330 CHECK(previous.Is(current)); in UpdateType()
333 if (!current.Is(previous)) { in UpdateType()
404 bool lhs_is_number = lhs.Is(Type::Number()); in BinaryNumberOpTyper()
405 bool rhs_is_number = rhs.Is(Type::Number()); in BinaryNumberOpTyper()
412 if (lhs.Is(Type::BigInt()) || rhs.Is(Type::BigInt())) { in BinaryNumberOpTyper()
440 if (type.Is(Type::Number())) { in BitwiseNot()
448 if (type.Is(Type::Number())) { in Decrement()
456 if (type.Is(Type::Number())) { in Increment()
464 if (type.Is(Type::Number())) { in Negate()
473 if (type.Is(Type::Primitive()) && !type.Maybe(Type::Receiver())) { in ToPrimitive()
[all …]
/external/skia/src/core/
DSkRecordOpts.cpp41 typedef Pattern<Is<SetMatrix>, in multiple_set_matrices()
42 Greedy<Is<NoOp>>, in multiple_set_matrices()
43 Is<SetMatrix> > in multiple_set_matrices()
59 typedef Pattern<Is<SetMatrix>,
60 Greedy<Is<NoOp>>,
61 Is<SetMatrix> >
78 typedef Pattern<Is<Save>,
79 Greedy<Or<Is<NoOp>, IsDraw>>,
80 Is<Restore>>
151 typedef Pattern<Is<Save>,
[all …]
/external/skqp/src/core/
DSkRecordOpts.cpp41 typedef Pattern<Is<SetMatrix>, in multiple_set_matrices()
42 Greedy<Is<NoOp>>, in multiple_set_matrices()
43 Is<SetMatrix> > in multiple_set_matrices()
59 typedef Pattern<Is<SetMatrix>,
60 Greedy<Is<NoOp>>,
61 Is<SetMatrix> >
78 typedef Pattern<Is<Save>,
79 Greedy<Or<Is<NoOp>, IsDraw>>,
80 Is<Restore>>
151 typedef Pattern<Is<Save>,
[all …]
/external/v8/src/
Dchar-predicates.h36 static bool Is(uc32 c);
40 static inline bool Is(uc32 c) {
41 return (c <= 0xFFFF) ? unibrow::ID_Start::Is(c) : false;
53 static bool Is(uc32 c);
56 static inline bool Is(uc32 c) {
59 return unibrow::ID_Start::Is(c) || unibrow::ID_Continue::Is(c);
71 static bool Is(uc32 c);
74 static inline bool Is(uc32 c) { return unibrow::WhiteSpace::Is(c); }
82 static inline bool Is(uc32 c) { in Is() function
83 return WhiteSpace::Is(c) || unibrow::IsLineTerminator(c); in Is()
/external/mesa3d/src/gallium/state_trackers/clover/util/
Dtuple.hpp33 template<int... Is>
39 template<int N, int... Is>
41 typedef typename enumerate<N-1, N-1, Is...>::type
45 template<int... Is>
46 struct enumerate<0, Is...> {
47 typedef integral_sequence<Is...> type;
57 template<typename F, typename T, int... Is>
58 struct _apply<F, T, integral_sequence<Is...>> {
61 std::declval<func_type>()(std::get<Is>(std::declval<T &&>())...)
66 return f(std::get<Is>(std::forward<T>(t))...); in eval()
[all …]
Dadaptor.hpp42 template<typename F, typename... Is>
47 F(typename std::iterator_traits<Is>::reference...)
56 iterator_adaptor(F f, std::tuple<Is...> &&its) : in iterator_adaptor()
164 std::tuple<Is...> its;
167 template<typename F, typename... Is>
168 iterator_adaptor<F, Is...>
169 operator+(typename iterator_adaptor<F, Is...>::difference_type n, in operator +()
170 const iterator_adaptor<F, Is...> &jt) { in operator +()
174 template<typename F, typename... Is>
175 iterator_adaptor<F, Is...>
[all …]
/external/vixl/src/aarch32/
Dassembler-aarch32.cc68 VIXL_ASSERT(IsUsingA32() || condition.Is(al)); in PerformCheckIT()
70 VIXL_ASSERT(condition.Is(first_condition_)); in PerformCheckIT()
1108 if (align.Is(k64BitAlign) || align.Is(kNoAlignment)) { in Dt_size_8()
1110 } else if (align.Is(k128BitAlign)) { in Dt_size_8()
1587 if (dt.Is(Untyped16)) SetEncodingValue(0x1); in Align_a_1()
1590 if (dt.Is(Untyped32)) SetEncodingValue(0x1); in Align_a_1()
1608 if (dt.Is(Untyped8)) SetEncodingValue(0x1); in Align_a_2()
1611 if (dt.Is(Untyped16)) SetEncodingValue(0x1); in Align_a_2()
1614 if (dt.Is(Untyped32)) SetEncodingValue(0x1); in Align_a_2()
1632 if (dt.Is(Untyped8)) SetEncodingValue(0x1); in Align_a_3()
[all …]
Ddisasm-aarch32.cc1009 if (dt.Is(Untyped16)) return k16BitAlign; in Align_a_1_Decode()
1010 if (dt.Is(Untyped32)) return k32BitAlign; in Align_a_1_Decode()
1023 if (dt.Is(Untyped8)) return k16BitAlign; in Align_a_2_Decode()
1024 if (dt.Is(Untyped16)) return k32BitAlign; in Align_a_2_Decode()
1025 if (dt.Is(Untyped32)) return k64BitAlign; in Align_a_2_Decode()
1039 if (dt.Is(Untyped8)) return k32BitAlign; in Align_a_3_Decode()
1040 if (dt.Is(Untyped16)) return k64BitAlign; in Align_a_3_Decode()
1135 if (!rd.Is(rn) || !use_short_hand_form_) { in adc()
1149 if (!rd.Is(rn) || !use_short_hand_form_) { in adcs()
1163 if (!rd.Is(rn) || !use_short_hand_form_) { in add()
[all …]
Doperands-aarch32.h289 if (immediate_type_.Is(I64)) in GetImmediate()
291 if (immediate_type_.Is(F64) || immediate_type_.Is(F32)) return 0; in GetImmediate()
297 if (immediate_type_.Is(I32)) return imm_.u32_; in GetImmediate()
298 if (immediate_type_.Is(F64) || immediate_type_.Is(F32)) return 0; in GetImmediate()
303 if (immediate_type_.Is(F64)) return static_cast<float>(imm_.d_); in GetImmediate()
308 if (immediate_type_.Is(F32)) return static_cast<double>(imm_.f_); in GetImmediate()
312 bool IsInteger32() const { return immediate_type_.Is(I32); } in IsInteger32()
313 bool IsInteger64() const { return immediate_type_.Is(I64); } in IsInteger64()
315 bool IsFloat() const { return immediate_type_.Is(F32); } in IsFloat()
316 bool IsDouble() const { return immediate_type_.Is(F64); } in IsDouble()
[all …]
/external/vixl/test/aarch64/
Dtest-api-aarch64.cc114 VIXL_CHECK(NoReg.Is(NoFPReg)); in TEST()
115 VIXL_CHECK(NoFPReg.Is(NoReg)); in TEST()
117 VIXL_CHECK(NoVReg.Is(NoReg)); in TEST()
118 VIXL_CHECK(NoReg.Is(NoVReg)); in TEST()
120 VIXL_CHECK(NoReg.Is(NoCPUReg)); in TEST()
121 VIXL_CHECK(NoCPUReg.Is(NoReg)); in TEST()
123 VIXL_CHECK(NoFPReg.Is(NoCPUReg)); in TEST()
124 VIXL_CHECK(NoCPUReg.Is(NoFPReg)); in TEST()
126 VIXL_CHECK(NoVReg.Is(NoCPUReg)); in TEST()
127 VIXL_CHECK(NoCPUReg.Is(NoVReg)); in TEST()
[all …]
/external/skqp/tests/
DRecordPatternTest.cpp16 typedef Pattern<Is<Save>,
17 Is<ClipRect>,
18 Is<Restore>>
81 Pattern<Is<Save>, Greedy<Is<ClipRect>>, Is<Restore>> pattern; in DEF_TEST()
101 Pattern<Is<Save>, in DEF_TEST()
102 Greedy<Not<Or<Is<Save>, in DEF_TEST()
103 Is<Restore>, in DEF_TEST()
105 Is<Restore>> pattern; in DEF_TEST()
/external/skia/tests/
DRecordPatternTest.cpp16 typedef Pattern<Is<Save>,
17 Is<ClipRect>,
18 Is<Restore>>
81 Pattern<Is<Save>, Greedy<Is<ClipRect>>, Is<Restore>> pattern; in DEF_TEST()
101 Pattern<Is<Save>, in DEF_TEST()
102 Greedy<Not<Or<Is<Save>, in DEF_TEST()
103 Is<Restore>, in DEF_TEST()
105 Is<Restore>> pattern; in DEF_TEST()
/external/parameter-framework/upstream/test/xml-generator/testVector/
Dcomplex.pfw7 Switch Is On
8 # Expecting a empty tree of all (except for the last `Switch Is On` rule)
14 Switch Is On
16 Switch Is On
26 Switch Is On
/external/golang-protobuf/ptypes/
Dany_test.go62 if Is(a, &pb.DescriptorProto{}) {
66 if Is(a, &pb.EnumDescriptorProto{}) {
70 if !Is(a, &pb.FileDescriptorProto{}) {
78 if !Is(a, m) {
85 if Is(nil, m) {
89 if Is(noPrefix, m) {
93 if !Is(shortPrefix, m) {
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/FunctionImport/
Dfuncimport_resolved.ll24 ; INSTLIMDEFAULT: Is importing function {{.*}} foo from {{.*}}funcimport_resolved1.ll
25 ; INSTLIMDEFAULT: Is importing function {{.*}} linkonceodrfunc from {{.*}}funcimport_resolved1.ll
26 ; INSTLIMDEFAULT: Is importing function {{.*}} linkonceodrfunc2 from {{.*}}funcimport_resolved1.ll
27 ; INSTLIMDEFAULT: Is importing function {{.*}} f from {{.*}}funcimport_resolved1.ll
28 ; INSTLIMDEFAULT-NOT: Is importing function {{.*}} linkonceodrfunc from {{.*}}funcimport_resolved2.…
35 ; INSTLIM8: Is importing function {{.*}} foo from {{.*}}funcimport_resolved1.ll
36 ; INSTLIM8: Is importing function {{.*}} linkonceodrfunc from {{.*}}funcimport_resolved1.ll
38 ; INSTLIM8: Is importing function {{.*}} f from {{.*}}funcimport_resolved1.ll
39 ; INSTLIM8-NOT: Is importing function {{.*}} linkonceodrfunc from {{.*}}funcimport_resolved2.ll
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorSyclTuple.h138 template <size_t... Is>
147 template <size_t MIN, size_t N, size_t... Is>
154 template <size_t MIN, size_t... Is>
155 struct RangeBuilder<MIN, MIN, Is...> {
156 typedef IndexList<Is...> type;
165 template <size_t MIN, size_t N, size_t... Is>
166 struct RangeBuilder : public RangeBuilder<MIN, N - 1, N - 1, Is...> {};
/external/v8/src/objects/
Dordered-hash-table-inl.h37 inline bool OrderedHashSet::Is(Handle<HeapObject> table) { in Is() function
41 inline bool OrderedHashMap::Is(Handle<HeapObject> table) { in Is() function
45 inline bool SmallOrderedHashSet::Is(Handle<HeapObject> table) { in Is() function
49 inline bool SmallOrderedHashMap::Is(Handle<HeapObject> table) { in Is() function
/external/protobuf/src/google/protobuf/
Dany_test.cc76 EXPECT_TRUE(any.Is<protobuf_unittest::TestAny>()); in TEST()
77 EXPECT_FALSE(any.Is<google::protobuf::Any>()); in TEST()
82 EXPECT_FALSE(message.any_value().Is<protobuf_unittest::TestAny>()); in TEST()
83 EXPECT_TRUE(message.any_value().Is<google::protobuf::Any>()); in TEST()

12345678910>>...32