Home
last modified time | relevance | path

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

12345678910>>...37

/external/v8/src/compiler/
Doperation-typer.cc131 if (!type.Is(cache_->kInteger)) { in Rangify()
255 if (type.Is(Type::Receiver())) return type; in ConvertReceiver()
268 if (type.Is(Type::Number())) return type; in ToNumber()
283 DCHECK(type.Is(Type::NumberOrOddball())); in ToNumber()
325 DCHECK(type.Is(Type::Number())); in NumberAbs()
336 if (type.Is(cache_->kInteger)) { in NumberAbs()
355 DCHECK(type.Is(Type::Number())); in NumberAcos()
360 DCHECK(type.Is(Type::Number())); in NumberAcosh()
365 DCHECK(type.Is(Type::Number())); in NumberAsin()
370 DCHECK(type.Is(Type::Number())); in NumberAsinh()
[all …]
Drepresentation-change.cc164 if (output_type.Is(Type::BigInt()) && in GetRepresentationFor()
248 if (output_type.Is(Type::SignedSmall())) { in GetTaggedSignedRepresentationFor()
257 if (output_type.Is(Type::None())) { in GetTaggedSignedRepresentationFor()
263 if (output_type.Is(Type::Signed31())) { in GetTaggedSignedRepresentationFor()
265 } else if (output_type.Is(Type::Signed32())) { in GetTaggedSignedRepresentationFor()
274 } else if (output_type.Is(Type::Unsigned32()) && in GetTaggedSignedRepresentationFor()
282 if (output_type.Is(Type::Signed31())) { in GetTaggedSignedRepresentationFor()
286 } else if (output_type.Is(Type::Signed32()) && SmiValuesAre32Bits()) { in GetTaggedSignedRepresentationFor()
291 if (output_type.Is(cache_->kPositiveSafeInteger)) { in GetTaggedSignedRepresentationFor()
293 } else if (output_type.Is(cache_->kSafeInteger)) { in GetTaggedSignedRepresentationFor()
[all …]
Dtyped-optimization.cc146 if (value_type.Is(Type::Receiver())) { in ReduceConvertReceiver()
149 } else if (value_type.Is(Type::NullOrUndefined())) { in ReduceConvertReceiver()
175 CHECK(index_type.Is(Type::Unsigned31())); in ReduceMaybeGrowFastElements()
176 CHECK(length_type.Is(Type::Unsigned31())); in ReduceMaybeGrowFastElements()
248 if (input_type.Is(Type::Number())) { in ReduceCheckNumber()
258 if (input_type.Is(Type::String())) { in ReduceCheckString()
271 if (val_type.Is(exp_type)) return Replace(effect); in ReduceCheckEqualsInternalizedString()
283 if (val_type.Is(exp_type)) return Replace(effect); in ReduceCheckEqualsSymbol()
313 if (input_type.Is(type_cache_->kIntegerOrMinusZeroOrNaN)) { in ReduceNumberFloor()
316 if (input_type.Is(Type::PlainNumber()) && in ReduceNumberFloor()
[all …]
Dsimplified-lowering.cc215 return type.Is(Type::OrderedNumber()) && !type.IsNone() && type.Min() > 0; in IsSomePositiveOrderedNumber()
472 if (!type.IsInvalid() && new_type.Is(type)) return false; in UpdateFeedbackType()
737 return GetUpperBound(node->InputAt(0)).Is(type); in InputIs()
750 return GetUpperBound(node->InputAt(0)).Is(type) && in BothInputsAre()
751 GetUpperBound(node->InputAt(1)).Is(type); in BothInputsAre()
1001 if (type.Is(Type::None())) { in GetOutputInfoForPhi()
1003 } else if (type.Is(Type::Signed32()) || type.Is(Type::Unsigned32())) { in GetOutputInfoForPhi()
1005 } else if (type.Is(Type::NumberOrOddball()) && use.IsUsedAsWord32()) { in GetOutputInfoForPhi()
1007 } else if (type.Is(Type::Boolean())) { in GetOutputInfoForPhi()
1009 } else if (type.Is(Type::NumberOrOddball()) && in GetOutputInfoForPhi()
[all …]
Dmachine-operator-reducer.cc306 if (m.right().Is(0)) return Replace(m.left().node()); // x ror 0 => x in Reduce()
322 if (m.left().IsInt64Sub() && m.right().Is(0)) { // x - y == 0 => x == y in Reduce()
342 if (m.right().Is(0)) return Replace(m.right().node()); // x * 0 => 0 in Reduce()
343 if (m.right().Is(1)) return Replace(m.left().node()); // x * 1 => x in Reduce()
348 if (m.right().Is(-1)) { // x * -1 => 0 - x in Reduce()
375 if (m.right().Is(2)) { in Reduce()
380 if (m.right().Is(-1)) { in Reduce()
405 if (m.left().IsWord32Or() && m.right().Is(0)) { in Reduce()
426 if (m.left().Is(kMaxUInt32)) return ReplaceBool(false); // M < x => false in Reduce()
427 if (m.right().Is(0)) return ReplaceBool(false); // x < 0 => false in Reduce()
[all …]
Dconstant-folding-reducer.cc20 } else if (type.Is(Type::Null())) { in TryGetConstant()
22 } else if (type.Is(Type::Undefined())) { in TryGetConstant()
24 } else if (type.Is(Type::MinusZero())) { in TryGetConstant()
26 } else if (type.Is(Type::NaN())) { in TryGetConstant()
28 } else if (type.Is(Type::Hole())) { in TryGetConstant()
32 } else if (type.Is(Type::PlainNumber()) && type.Min() == type.Max()) { in TryGetConstant()
Dtypes.cc57 DCHECK(this->Is(Number())); in Min()
58 DCHECK(!this->Is(NaN())); in Min()
66 if (!bitset.Is(NaN())) min = std::min(min, bitset.Min()); in Min()
75 DCHECK(this->Is(Number())); in Max()
76 DCHECK(!this->Is(NaN())); in Max()
84 if (!bitset.Is(NaN())) max = std::max(max, bitset.Max()); in Max()
373 DCHECK(BitsetType::Is(boundaries[i].internal, boundaries[i].external)); in ExpandInternals()
416 DCHECK(Is(bits, kNumber)); in Min()
417 DCHECK(!Is(bits, kNaN)); in Min()
421 if (Is(mins[i].internal, bits)) { in Min()
[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/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>>
148 typedef Pattern<Is<Save>,
[all …]
/external/mesa3d/src/gallium/frontends/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/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/vixl/test/aarch64/
Dtest-api-aarch64.cc175 VIXL_CHECK(NoReg.Is(NoVReg)); in TEST()
176 VIXL_CHECK(NoVReg.Is(NoReg)); in TEST()
178 VIXL_CHECK(NoVReg.Is(NoReg)); in TEST()
179 VIXL_CHECK(NoReg.Is(NoVReg)); in TEST()
181 VIXL_CHECK(NoReg.Is(NoCPUReg)); in TEST()
182 VIXL_CHECK(NoCPUReg.Is(NoReg)); in TEST()
184 VIXL_CHECK(NoVReg.Is(NoCPUReg)); in TEST()
185 VIXL_CHECK(NoCPUReg.Is(NoVReg)); in TEST()
187 VIXL_CHECK(NoVReg.Is(NoCPUReg)); in TEST()
188 VIXL_CHECK(NoCPUReg.Is(NoVReg)); in TEST()
[all …]
/external/v8/src/objects/
Dheap-object.h75 V8_INLINE bool Is##Type() const; \
76 V8_INLINE bool Is##Type(IsolateRoot isolate) const;
87 V8_INLINE bool Is##Type(Isolate* isolate) const; \
88 V8_INLINE bool Is##Type(LocalIsolate* isolate) const; \
89 V8_INLINE bool Is##Type(ReadOnlyRoots roots) const; \
90 V8_INLINE bool Is##Type() const;
96 V8_INLINE bool Is##Name() const; \
97 V8_INLINE bool Is##Name(IsolateRoot isolate) const;
Dfeedback-vector-inl.h252 bool Is(int type_feedback) { in Is() function
257 if (Is<CompareOperationFeedback::kNone>(type_feedback)) { in CompareOperationHintFromFeedback()
261 if (Is<CompareOperationFeedback::kSignedSmall>(type_feedback)) { in CompareOperationHintFromFeedback()
263 } else if (Is<CompareOperationFeedback::kNumber>(type_feedback)) { in CompareOperationHintFromFeedback()
265 } else if (Is<CompareOperationFeedback::kNumberOrBoolean>(type_feedback)) { in CompareOperationHintFromFeedback()
269 if (Is<CompareOperationFeedback::kInternalizedString>(type_feedback)) { in CompareOperationHintFromFeedback()
271 } else if (Is<CompareOperationFeedback::kString>(type_feedback)) { in CompareOperationHintFromFeedback()
275 if (Is<CompareOperationFeedback::kReceiver>(type_feedback)) { in CompareOperationHintFromFeedback()
277 } else if (Is<CompareOperationFeedback::kReceiverOrNullOrUndefined>( in CompareOperationHintFromFeedback()
282 if (Is<CompareOperationFeedback::kBigInt>(type_feedback)) { in CompareOperationHintFromFeedback()
[all …]
/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/v8/src/builtins/
Dcast.tq14 return Is<AccessorInfo>(o);
19 return Is<AccessorPair>(o);
24 return Is<AllocationSite>(o);
29 return Is<Cell>(o);
34 return Is<Code>(o);
39 return Is<Context>(o);
44 return Is<CoverageInfo>(o);
49 return Is<DebugInfo>(o);
54 return Is<FixedDoubleArray>(o);
59 return Is<FeedbackCell>(o);
[all …]
/external/protobuf/src/google/protobuf/
Dany_test.cc113 EXPECT_TRUE(any.Is<protobuf_unittest::TestAny>()); in TEST()
114 EXPECT_FALSE(any.Is<google::protobuf::Any>()); in TEST()
119 EXPECT_FALSE(message.any_value().Is<protobuf_unittest::TestAny>()); in TEST()
120 EXPECT_TRUE(message.any_value().Is<google::protobuf::Any>()); in TEST()
123 EXPECT_TRUE(any.Is<protobuf_unittest::TestAny>()); in TEST()
126 EXPECT_FALSE(any.Is<protobuf_unittest::TestAny>()); in TEST()
129 EXPECT_FALSE(any.Is<protobuf_unittest::TestAny>()); in TEST()
/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...> {};

12345678910>>...37