/external/v8/src/ |
D | typing-asm.cc | 1145 Type* right_type = computed_type_; in VisitIntegerBitwiseOperator() local 1146 if (!right_type->Is(right_expected)) { in VisitIntegerBitwiseOperator() 1155 if (left_type->Is(cache_.kAsmFixnum) && right_type->Is(cache_.kAsmInt)) { in VisitIntegerBitwiseOperator() 1156 left_type = right_type; in VisitIntegerBitwiseOperator() 1158 if (right_type->Is(cache_.kAsmFixnum) && left_type->Is(cache_.kAsmInt)) { in VisitIntegerBitwiseOperator() 1159 right_type = left_type; in VisitIntegerBitwiseOperator() 1162 if (!left_type->Is(cache_.kAsmIntQ) || !right_type->Is(cache_.kAsmIntQ)) { in VisitIntegerBitwiseOperator() 1263 Type* right_type = computed_type_; in VisitBinaryOperation() local 1265 Type* type = Type::Union(left_type, right_type, zone()); in VisitBinaryOperation() 1306 right_type->Is(cache_.kAsmDouble) && in VisitBinaryOperation() [all …]
|
D | type-info.cc | 198 Type** right_type, in CompareType() argument 203 *left_type = *right_type = *combined_type = Type::None(); in CompareType() 215 *right_type = CompareICState::StateToType(zone(), stub.right()); in CompareType()
|
D | code-stubs-hydrogen.cc | 1522 Type* right_type = state.GetRightType(); in BuildCodeInitializedStub() local 1525 DCHECK(!left_type->Is(Type::None()) && !right_type->Is(Type::None()) && in BuildCodeInitializedStub() 1531 (left_type->Maybe(Type::String()) || right_type->Maybe(Type::String())) && in BuildCodeInitializedStub() 1532 !left_type->Is(Type::String()) && !right_type->Is(Type::String())) { in BuildCodeInitializedStub() 1541 right_type, result_type, in BuildCodeInitializedStub() 1547 right_type, result_type, in BuildCodeInitializedStub() 1564 right_type, result_type, in BuildCodeInitializedStub() 1572 right_type, result_type, in BuildCodeInitializedStub() 1601 Type* right_type = state.GetRightType(); in BuildCodeStub() local 1605 return BuildBinaryOperation(state.op(), left, right, left_type, right_type, in BuildCodeStub()
|
/external/v8/src/crankshaft/ |
D | typing.cc | 634 Type* right_type; in VisitBinaryOperation() local 638 &left_type, &right_type, &type, &fixed_right_arg, in VisitBinaryOperation() 642 NarrowLowerType(expr->right(), right_type); in VisitBinaryOperation() 735 Type* right_type; in VisitCompareOperation() local 738 &left_type, &right_type, &combined_type); in VisitCompareOperation() 740 NarrowLowerType(expr->right(), right_type); in VisitCompareOperation()
|
D | hydrogen.cc | 11171 Type* right_type = bounds_.get(expr->right()).lower; in BuildBinaryOperation() local 11181 expr->op(), left, right, left_type, right_type, result_type, in BuildBinaryOperation() 11200 Type* right_type, Type* result_type, in BuildBinaryOperation() argument 11214 if (!right_type->IsInhabited() && left->IsConstant() && in BuildBinaryOperation() 11216 right_type = Type::String(); in BuildBinaryOperation() 11221 right_type->Maybe(Type::String()) || in BuildBinaryOperation() 11222 right_type->Maybe(Type::Receiver())); in BuildBinaryOperation() 11226 Representation right_rep = RepresentationFor(right_type); in BuildBinaryOperation() 11237 if (!right_type->IsInhabited()) { in BuildBinaryOperation() 11241 right_type = Type::Any(); in BuildBinaryOperation() [all …]
|
D | hydrogen.h | 1502 Type* left_type, Type* right_type, 2770 Type* right_type, Type* combined_type, SourcePosition left_position,
|
/external/v8/src/compiler/ |
D | js-typed-lowering.cc | 77 bool right_is_primitive = right_type()->Is(Type::PlainPrimitive()); in ConvertInputsToNumber() 198 bool RightInputIs(Type* t) { return right_type()->Is(t); } in RightInputIs() 205 return !left_type()->Maybe(t) || !right_type()->Maybe(t); in OneInputCannotBe() 209 return !left_type()->Maybe(t) && !right_type()->Maybe(t); in NeitherInputCanBe() 218 Type* right_type() { return NodeProperties::GetType(node_->InputAt(1)); } in right_type() function in v8::internal::compiler::JSBinopReduction 744 if (!r.left_type()->Maybe(r.right_type())) { in ReduceJSStrictEqual() 1199 if (!r.right_type()->IsConstant() || in ReduceJSInstanceOf() 1200 !r.right_type()->AsConstant()->Value()->IsJSFunction()) { in ReduceJSInstanceOf() 1205 Handle<JSFunction>::cast(r.right_type()->AsConstant()->Value()); in ReduceJSInstanceOf() 1300 graph()->NewNode(simplified()->ReferenceEqual(r.right_type()), in ReduceJSInstanceOf() [all …]
|
/external/v8/src/arm64/ |
D | code-stubs-arm64.cc | 169 Register right_type = scratch; in EmitIdenticalObjectComparison() local 172 __ JumpIfObjectType(right, right_type, right_type, FIRST_JS_RECEIVER_TYPE, in EmitIdenticalObjectComparison() 175 __ Cmp(right_type, SYMBOL_TYPE); in EmitIdenticalObjectComparison() 178 __ Cmp(right_type, SIMD128_VALUE_TYPE); in EmitIdenticalObjectComparison() 183 __ JumpIfObjectType(right, right_type, right_type, HEAP_NUMBER_TYPE, in EmitIdenticalObjectComparison() 186 __ Cmp(right_type, FIRST_JS_RECEIVER_TYPE); in EmitIdenticalObjectComparison() 189 __ Cmp(right_type, SYMBOL_TYPE); in EmitIdenticalObjectComparison() 192 __ Cmp(right_type, SIMD128_VALUE_TYPE); in EmitIdenticalObjectComparison() 198 __ Cmp(right_type, ODDBALL_TYPE); in EmitIdenticalObjectComparison() 257 Register right_type, in EmitStrictTwoHeapObjectCompare() argument [all …]
|
/external/v8/test/cctest/compiler/ |
D | test-js-typed-lowering.cc | 117 Node* ReduceBinop(const Operator* op, Type* left_type, Type* right_type) { in ReduceBinop() argument 118 return reduce(Binop(op, Parameter(left_type, 0), Parameter(right_type, 1))); in ReduceBinop()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 697 unsigned right_type = getTypeOfMaskedICmp(A, D, E, RHSCC); in foldLogOpOfMaskedICmpsHelper() local 698 return left_type & right_type; in foldLogOpOfMaskedICmpsHelper()
|