Home
last modified time | relevance | path

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

12345678910>>...19

/external/v8/src/compiler/
Doperation-typer.cc116 if (!type->Is(cache_.kInteger)) { in Rangify()
245 if (type->Is(Type::Number())) return type; in ToNumber()
246 if (type->Is(Type::NullOrUndefined())) { in ToNumber()
247 if (type->Is(Type::Null())) return cache_.kSingletonZero; in ToNumber()
248 if (type->Is(Type::Undefined())) return Type::NaN(); in ToNumber()
251 if (type->Is(Type::Boolean())) { in ToNumber()
252 if (type->Is(singleton_false_)) return cache_.kSingletonZero; in ToNumber()
253 if (type->Is(singleton_true_)) return cache_.kSingletonOne; in ToNumber()
256 if (type->Is(Type::NumberOrOddball())) { in ToNumber()
257 if (type->Is(Type::NumberOrUndefined())) { in ToNumber()
[all …]
Dtyped-optimization.cc52 } else if (upper->Is(Type::MinusZero())) { in Reduce()
56 } else if (upper->Is(Type::NaN())) { in Reduce()
60 } else if (upper->Is(Type::Null())) { in Reduce()
64 } else if (upper->Is(Type::PlainNumber()) && in Reduce()
69 } else if (upper->Is(Type::Undefined())) { in Reduce()
156 if (input_type->Is(Type::String())) { in ReduceCheckString()
194 if (input_type->Is(type_cache_.kIntegerOrMinusZeroOrNaN)) { in ReduceNumberFloor()
197 if (input_type->Is(Type::PlainNumber()) && in ReduceNumberFloor()
203 if (lhs_type->Is(Type::Unsigned32()) && rhs_type->Is(Type::Unsigned32())) { in ReduceNumberFloor()
228 if (input_type->Is(type_cache_.kIntegerOrMinusZeroOrNaN)) { in ReduceNumberRoundop()
[all …]
Drepresentation-change.cc190 if (output_type->Is(Type::SignedSmall())) { in GetTaggedSignedRepresentationFor()
199 if (output_type->Is(Type::None())) { in GetTaggedSignedRepresentationFor()
204 if (output_type->Is(Type::Signed31())) { in GetTaggedSignedRepresentationFor()
206 } else if (output_type->Is(Type::Signed32())) { in GetTaggedSignedRepresentationFor()
215 } else if (output_type->Is(Type::Unsigned32()) && in GetTaggedSignedRepresentationFor()
223 if (output_type->Is(Type::Signed31())) { in GetTaggedSignedRepresentationFor()
227 } else if (output_type->Is(Type::Signed32())) { in GetTaggedSignedRepresentationFor()
238 } else if (output_type->Is(Type::Unsigned32()) && in GetTaggedSignedRepresentationFor()
279 } else if (output_type->Is(Type::SignedSmall())) { in GetTaggedSignedRepresentationFor()
314 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 …]
Dtyper.cc317 CHECK(previous->Is(current)); in UpdateType()
320 if (!current->Is(previous)) { in UpdateType()
391 DCHECK(type->Is(Type::Boolean())); in Invert()
393 if (type->Is(t->singleton_false_)) return t->singleton_true_; in Invert()
394 if (type->Is(t->singleton_true_)) return t->singleton_false_; in Invert()
423 if (type->Is(Type::Primitive()) && !type->Maybe(Type::Receiver())) { in ToPrimitive()
431 if (type->Is(Type::Boolean())) return type; in ToBoolean()
432 if (type->Is(t->falsish_)) return t->singleton_false_; in ToBoolean()
433 if (type->Is(t->truish_)) return t->singleton_true_; in ToBoolean()
434 if (type->Is(Type::Number())) { in ToBoolean()
[all …]
Dsimplified-lowering.cc494 if (type != nullptr && new_type->Is(type)) return false; in UpdateFeedbackType()
666 DCHECK(info->restriction_type()->Is(restriction_type)); in SetOutput()
667 DCHECK(restriction_type->Is(info->restriction_type())); in SetOutput()
672 DCHECK(info->restriction_type()->Is(restriction_type)); in SetOutput()
673 DCHECK(restriction_type->Is(info->restriction_type())); in SetOutput()
687 return GetUpperBound(node->InputAt(0))->Is(type); in InputIs()
700 return GetUpperBound(node->InputAt(0))->Is(type) && in BothInputsAre()
701 GetUpperBound(node->InputAt(1))->Is(type); in BothInputsAre()
873 if (type->Is(Type::None())) { in GetOutputInfoForPhi()
875 } else if (type->Is(Type::Signed32()) || type->Is(Type::Unsigned32())) { in GetOutputInfoForPhi()
[all …]
Dtypes.cc70 DCHECK(this->Is(Number())); in Min()
87 DCHECK(this->Is(Number())); in Max()
376 DCHECK(BitsetType::Is(boundaries[i].internal, boundaries[i].external)); in ExpandInternals()
419 DCHECK(Is(bits, kNumber)); in Min()
423 if (Is(mins[i].internal, bits)) { in Min()
433 DCHECK(Is(bits, kNumber)); in Max()
436 if (BitsetType::Is(mins[BoundariesSize() - 1].internal, bits)) { in Max()
440 if (Is(mins[i].internal, bits)) { in Max()
508 return BitsetType::Is(this->BitsetLub(), that->AsBitset()); in SlowIs()
512 return BitsetType::Is(this->AsBitset(), that->BitsetGlb()); in SlowIs()
[all …]
Djs-typed-lowering.cc129 if (!left_type()->Is(Type::Receiver())) { in CheckInputsToReceiver()
132 if (!right_type()->Is(Type::Receiver())) { in CheckInputsToReceiver()
144 if (!left_type()->Is(Type::String())) { in CheckInputsToString()
150 if (!right_type()->Is(Type::String())) { in CheckInputsToString()
162 if (!left_type()->Is(Type::UniqueName())) { in CheckInputsToInternalizedString()
168 if (!right_type()->Is(Type::UniqueName())) { in CheckInputsToInternalizedString()
188 bool left_is_primitive = left_type()->Is(Type::PlainPrimitive()); in ConvertInputsToNumber()
189 bool right_is_primitive = right_type()->Is(Type::PlainPrimitive()); in ConvertInputsToNumber()
370 bool LeftInputIs(Type* t) { return left_type()->Is(t); } in LeftInputIs()
372 bool RightInputIs(Type* t) { return right_type()->Is(t); } in RightInputIs()
[all …]
/external/skia/src/core/
DSkRecordOpts.cpp40 typedef Pattern<Is<SetMatrix>, in multiple_set_matrices()
41 Greedy<Is<NoOp>>, in multiple_set_matrices()
42 Is<SetMatrix> > in multiple_set_matrices()
58 typedef Pattern<Is<SetMatrix>,
59 Greedy<Is<NoOp>>,
60 Is<SetMatrix> >
77 typedef Pattern<Is<Save>,
78 Greedy<Or<Is<NoOp>, IsDraw>>,
79 Is<Restore>>
151 typedef Pattern<Is<Save>,
[all …]
/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/v8/src/
Dchar-predicates.h42 static inline bool Is(uc32 c) { in Is() function
44 return unibrow::ID_Start::Is(c); in Is()
56 static inline bool Is(uc32 c) { in Is() function
58 return unibrow::ID_Start::Is(c) || unibrow::ID_Continue::Is(c); in Is()
70 static inline bool Is(uc32 c) { return unibrow::WhiteSpace::Is(c); } in Is() function
77 static inline bool Is(uc32 c) { in Is() function
78 return WhiteSpace::Is(c) || unibrow::LineTerminator::Is(c); in Is()
Dunicode.h173 static bool Is(uchar c);
176 static bool Is(uchar c);
179 static bool Is(uchar c);
182 static bool Is(uchar c);
185 static bool Is(uchar c);
188 static bool Is(uchar c);
191 static bool Is(uchar c);
/external/vixl/src/aarch32/
Dassembler-aarch32.cc68 VIXL_ASSERT(IsUsingA32() || condition.Is(al)); in PerformCheckIT()
70 VIXL_ASSERT(condition.Is(first_condition_)); in PerformCheckIT()
1149 if (align.Is(k64BitAlign) || align.Is(kNoAlignment)) { in Dt_size_8()
1151 } else if (align.Is(k128BitAlign)) { in Dt_size_8()
1613 if (dt.Is(Untyped16)) SetEncodingValue(0x1); in Align_a_1()
1616 if (dt.Is(Untyped32)) SetEncodingValue(0x1); in Align_a_1()
1634 if (dt.Is(Untyped8)) SetEncodingValue(0x1); in Align_a_2()
1637 if (dt.Is(Untyped16)) SetEncodingValue(0x1); in Align_a_2()
1640 if (dt.Is(Untyped32)) SetEncodingValue(0x1); in Align_a_2()
1658 if (dt.Is(Untyped8)) SetEncodingValue(0x1); in Align_a_3()
[all …]
Ddisasm-aarch32.cc998 if (dt.Is(Untyped16)) return k16BitAlign; in Align_a_1_Decode()
999 if (dt.Is(Untyped32)) return k32BitAlign; in Align_a_1_Decode()
1012 if (dt.Is(Untyped8)) return k16BitAlign; in Align_a_2_Decode()
1013 if (dt.Is(Untyped16)) return k32BitAlign; in Align_a_2_Decode()
1014 if (dt.Is(Untyped32)) return k64BitAlign; in Align_a_2_Decode()
1028 if (dt.Is(Untyped8)) return k32BitAlign; in Align_a_3_Decode()
1029 if (dt.Is(Untyped16)) return k64BitAlign; in Align_a_3_Decode()
1124 if (!rd.Is(rn)) { in adc()
1138 if (!rd.Is(rn)) { in adcs()
1152 if (!rd.Is(rn)) { 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/v8/src/crankshaft/
Dhydrogen-types.cc17 if (AstType::Any()->Is(type)) return HType::Any(); in FromType()
19 if (type->Is(AstType::SignedSmall())) return HType::Smi(); in FromType()
20 if (type->Is(AstType::Number())) return HType::TaggedNumber(); in FromType()
21 if (type->Is(AstType::Null())) return HType::Null(); in FromType()
22 if (type->Is(AstType::String())) return HType::String(); in FromType()
23 if (type->Is(AstType::Boolean())) return HType::Boolean(); in FromType()
24 if (type->Is(AstType::Undefined())) return HType::Undefined(); in FromType()
25 if (type->Is(AstType::Object())) return HType::JSObject(); in FromType()
26 if (type->Is(AstType::DetectableReceiver())) return HType::JSReceiver(); in FromType()
/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/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/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()
/external/flatbuffers/src/
Didl_parser.cpp496 bool Parser::Is(int t) { in Is() function in flatbuffers::Parser
511 while (Is('.')) { in ParseNamespacing()
768 if (Is(kTokenStringConstant)) { in ParseAnyValue()
838 if ((!opts.strict_json || !fieldn) && Is('}')) { NEXT(); break; } in ParseTable()
840 if (Is(kTokenStringConstant)) { in ParseTable()
855 if (Is(kTokenNull)) { in ParseTable()
875 if (Is('}')) { NEXT(); break; } in ParseTable()
957 if ((!opts.strict_json || !count) && Is(']')) { NEXT(); break; } in ParseVector()
963 if (Is(']')) { NEXT(); break; } in ParseVector()
994 if (Is('(')) { in ParseMetaData()
[all …]
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIs.java17 public class Is<T> extends BaseMatcher<T> { class
20 public Is(Matcher<T> matcher) { in Is() method in Is
49 return new Is<T>(matcher); in is()
/external/llvm/include/llvm/Support/
DFormat.h82 template <std::size_t... Is>
84 index_sequence<Is...>) const { in snprint_tuple() argument
86 return _snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...); in snprint_tuple()
88 return snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...); in snprint_tuple()
/external/swiftshader/third_party/subzero/src/
DIceTypes.def57 // V - Is vector type.
58 // I - Is integer value (scalar or vector).
59 // F - Is floating point value (scalar or vector).
60 // IA - Is integer arithmetic type
61 // B - Is Boolean type (scalar or vector).

12345678910>>...19