/external/v8/src/compiler/ |
D | memory-optimizer.cc | 175 jsgraph()->IntPtrConstant(object_size)); in VisitAllocate() 179 top_address, jsgraph()->IntPtrConstant(0), top, effect, control); in VisitAllocate() 185 jsgraph()->IntPtrConstant(kHeapObjectTag))); in VisitAllocate() 198 jsgraph()->IntPtrConstant(0), effect, control); in VisitAllocate() 201 jsgraph()->IntPtrConstant(0), effect, control); in VisitAllocate() 235 jsgraph()->IntPtrConstant(kHeapObjectTag)); in VisitAllocate() 246 jsgraph()->IntPtrConstant(object_size)); in VisitAllocate() 250 top_address, jsgraph()->IntPtrConstant(0), top, effect, control); in VisitAllocate() 256 jsgraph()->IntPtrConstant(kHeapObjectTag))); in VisitAllocate() 267 jsgraph()->IntPtrConstant(0), effect, control); in VisitAllocate() [all …]
|
D | js-generic-lowering.cc | 165 jsgraph()->IntPtrConstant(JSFunction::kLiteralsOffset - kHeapObjectTag), in LowerJSLoadProperty() 169 jsgraph()->IntPtrConstant(LiteralsArray::kFeedbackVectorOffset - in LowerJSLoadProperty() 189 jsgraph()->IntPtrConstant(JSFunction::kLiteralsOffset - kHeapObjectTag), in LowerJSLoadNamed() 193 jsgraph()->IntPtrConstant(LiteralsArray::kFeedbackVectorOffset - in LowerJSLoadNamed() 215 jsgraph()->IntPtrConstant(JSFunction::kLiteralsOffset - kHeapObjectTag), in LowerJSLoadGlobal() 219 jsgraph()->IntPtrConstant(LiteralsArray::kFeedbackVectorOffset - in LowerJSLoadGlobal() 244 jsgraph()->IntPtrConstant(JSFunction::kLiteralsOffset - kHeapObjectTag), in LowerJSStoreProperty() 248 jsgraph()->IntPtrConstant(LiteralsArray::kFeedbackVectorOffset - in LowerJSStoreProperty() 277 jsgraph()->IntPtrConstant(JSFunction::kLiteralsOffset - kHeapObjectTag), in LowerJSStoreNamed() 281 jsgraph()->IntPtrConstant(LiteralsArray::kFeedbackVectorOffset - in LowerJSStoreNamed() [all …]
|
D | raw-machine-assembler.h | 76 return IntPtrConstant(reinterpret_cast<intptr_t>(value)); in PointerConstant() 78 Node* IntPtrConstant(intptr_t value) { in IntPtrConstant() function 125 return Load(rep, base, IntPtrConstant(0)); in Load() 132 return Store(rep, base, IntPtrConstant(0), value, write_barrier); in Store() 143 return UnalignedLoad(rep, base, IntPtrConstant(0)); in UnalignedLoad() 153 return UnalignedStore(rep, base, IntPtrConstant(0), value); in UnalignedStore()
|
D | code-assembler.cc | 108 Node* CodeAssembler::IntPtrConstant(intptr_t value) { in IntPtrConstant() function in v8::internal::compiler::CodeAssembler 109 return raw_assembler_->IntPtrConstant(value); in IntPtrConstant() 117 return BitcastWordToTaggedSigned(IntPtrConstant(bit_cast<intptr_t>(value))); in SmiConstant() 238 return (shift != 0) ? raw_assembler_->WordShl(value, IntPtrConstant(shift)) in CODE_ASSEMBLER_BINARY_OP_LIST() 243 return (shift != 0) ? raw_assembler_->WordShr(value, IntPtrConstant(shift)) in WordShr() 303 IntPtrConstant(root_index * kPointerSize)); in LoadRoot() 335 IntPtrConstant(root_index * kPointerSize), value); in StoreRoot()
|
D | js-graph.h | 107 Node* IntPtrConstant(intptr_t value) { in NON_EXPORTED_BASE()
|
D | effect-control-linearizer.cc | 955 jsgraph()->IntPtrConstant(0)), in LowerTruncateTaggedToBit() 1008 jsgraph()->IntPtrConstant(0)), in LowerTruncateTaggedToBit() 2595 jsgraph()->IntPtrConstant(Name::kEmptyHashField), etrue2, if_true2); in LowerStringFromCodePoint() 2602 vtrue2, jsgraph()->IntPtrConstant(SeqOneByteString::kHeaderSize - in LowerStringFromCodePoint() 2639 jsgraph()->IntPtrConstant(Name::kEmptyHashField), efalse1, if_false1); in LowerStringFromCodePoint() 2646 vfalse1, jsgraph()->IntPtrConstant(SeqTwoByteString::kHeaderSize - in LowerStringFromCodePoint() 2704 jsgraph()->IntPtrConstant(Name::kEmptyHashField), efalse0, if_false0); in LowerStringFromCodePoint() 2711 vfalse0, jsgraph()->IntPtrConstant(SeqTwoByteString::kHeaderSize - in LowerStringFromCodePoint() 2863 jsgraph()->IntPtrConstant(kSmiTagMask)), in ObjectIsSmi() 2864 jsgraph()->IntPtrConstant(kSmiTag)); in ObjectIsSmi() [all …]
|
D | code-assembler.h | 227 Node* IntPtrConstant(intptr_t value);
|
D | wasm-compiler.cc | 427 jsgraph()->IntPtrConstant(0), *effect, *control); in StackCheck() 2571 jsgraph()->IntPtrConstant(kSmiTagMask)); in BuildTestNotSmi() 2575 return jsgraph()->IntPtrConstant(kSmiShiftSize + kSmiTagSize); in BuildSmiShiftBitsConstant() 2613 return jsgraph()->IntPtrConstant(HeapNumber::kValueOffset - kHeapObjectTag); in BuildHeapNumberValueIndexConstant() 2919 jsgraph()->IntPtrConstant(effective_offset), in BoundsCheckMem()
|
D | representation-change.cc | 714 jsgraph()->IntPtrConstant(0)); in GetBitRepresentationFor()
|
D | simplified-lowering.cc | 1390 DeferReplacement(node, lowering->jsgraph()->IntPtrConstant(value)); in VisitNode()
|
/external/v8/src/ |
D | code-stub-assembler.cc | 90 return IntPtrConstant(value); in IntPtrOrSmiConstant() 101 return IntPtrConstant(left_constant + right_constant); in IntPtrAddFoldConstants() 121 return IntPtrConstant(left_constant - right_constant); in IntPtrSubFoldConstants() 133 CSA_ASSERT(this, UintPtrLessThanOrEqual(value, IntPtrConstant(0x80000000u))); in IntPtrRoundUpToPowerOfTwo32() 134 value = IntPtrSub(value, IntPtrConstant(1)); in IntPtrRoundUpToPowerOfTwo32() 136 value = WordOr(value, WordShr(value, IntPtrConstant(i))); in IntPtrRoundUpToPowerOfTwo32() 138 return IntPtrAdd(value, IntPtrConstant(1)); in IntPtrRoundUpToPowerOfTwo32() 144 Select(WordEqual(value, IntPtrConstant(0)), IntPtrConstant(1), in WordIsPowerOfTwo() 145 WordAnd(value, IntPtrSub(value, IntPtrConstant(1))), in WordIsPowerOfTwo() 147 IntPtrConstant(0)); in WordIsPowerOfTwo() [all …]
|
D | fast-accessor-assembler.cc | 140 assembler_->WordEqual(FromId(value), assembler_->IntPtrConstant(0)), in CheckNotZeroOrReturnNull() 167 assembler_->WordEqual(FromId(value_id), assembler_->IntPtrConstant(0)), in CheckNotZeroOrJump() 228 assembler_->IntPtrConstant(0xff)); in CheckIsJSObjectOrJump() 235 instance_type, assembler_->IntPtrConstant(Internals::kJSObjectType)), in CheckIsJSObjectOrJump() 240 assembler_->WordEqual(instance_type, assembler_->IntPtrConstant( in CheckIsJSObjectOrJump()
|
D | code-stubs.cc | 1321 assembler->WordEqual(divisor, assembler->IntPtrConstant(0)), in Generate() 1328 assembler->WordEqual(dividend, assembler->IntPtrConstant(0)), in Generate() 1334 assembler->IntPtrLessThan(divisor, assembler->IntPtrConstant(0)), in Generate() 1961 assembler->IntPtrConstant(DescriptorArray::ToValueIndex(index())); in GenerateAssembly() 2158 script_context, assembler->IntPtrConstant(slot_index()), 0, in GenerateAssembly() 2175 script_context, assembler->IntPtrConstant(slot_index()), value, in GenerateAssembly() 2255 assembler->IntPtrConstant(JSObject::kHeaderSize)); in GenerateFastPath() 2259 object_size, assembler->IntPtrConstant(AllocationMemento::kSize)); in GenerateFastPath() 2273 offset.Bind(assembler->IntPtrConstant(-kHeapObjectTag)); in GenerateFastPath() 2292 assembler->IntPtrConstant(kPointerSize))); in GenerateFastPath() [all …]
|
D | code-stub-assembler.h | 747 return WordNotEqual(WordAnd(word, IntPtrConstant(T::kMask)), in IsSetWord() 748 IntPtrConstant(0)); in IsSetWord()
|
/external/v8/src/interpreter/ |
D | interpreter-assembler.cc | 181 IntPtrConstant(reg.ToOperand() << kPointerSizeLog2)); in LoadRegister() 192 IntPtrConstant(reg.ToOperand() << kPointerSizeLog2), value); in StoreRegister() 203 return IntPtrAdd(reg_index, IntPtrConstant(-1)); in NextRegister() 207 return IntPtrConstant( in OperandOffset() 271 Node* offset = IntPtrConstant(relative_offset + msb_offset + i * kStep); in BytecodeOperandReadUnaligned() 295 IntPtrAdd(BytecodeOffset(), IntPtrConstant(operand_offset))); in BytecodeOperandUnsignedShort() 311 IntPtrAdd(BytecodeOffset(), IntPtrConstant(operand_offset))); in BytecodeOperandSignedShort() 331 IntPtrAdd(BytecodeOffset(), IntPtrConstant(operand_offset))); in BytecodeOperandUnsignedQuad() 346 IntPtrAdd(BytecodeOffset(), IntPtrConstant(operand_offset))); in BytecodeOperandSignedQuad() 463 IntPtrAdd(IntPtrConstant(FixedArray::kHeaderSize - kHeapObjectTag), in LoadConstantPoolEntry() [all …]
|
D | interpreter.cc | 852 __ Branch(__ IntPtrGreaterThan(cell_index, __ IntPtrConstant(0)), &if_export, in DoLdaModuleVariable() 860 Node* export_index = __ IntPtrSub(cell_index, __ IntPtrConstant(1)); in DoLdaModuleVariable() 871 Node* import_index = __ IntPtrSub(__ IntPtrConstant(-1), cell_index); in DoLdaModuleVariable() 895 __ Branch(__ IntPtrGreaterThan(cell_index, __ IntPtrConstant(0)), &if_export, in DoStaModuleVariable() 903 Node* export_index = __ IntPtrSub(cell_index, __ IntPtrConstant(1)); in DoStaModuleVariable() 993 __ GotoIf(__ WordEqual(slot_index, __ IntPtrConstant(0)), in DoCompareOpWithFeedback()
|
/external/v8/src/builtins/ |
D | builtins-regexp.cc | 278 match_info, a->IntPtrConstant(RegExpMatchInfo::kNumberOfCapturesIndex), 0, in ConstructNewResultFromMatchInfo() 282 match_info, a->IntPtrConstant(RegExpMatchInfo::kFirstCaptureIndex), 0, in ConstructNewResultFromMatchInfo() 285 match_info, a->IntPtrConstant(RegExpMatchInfo::kFirstCaptureIndex + 1), 0, in ConstructNewResultFromMatchInfo() 296 a->StoreFixedArrayElement(result_elements, a->IntPtrConstant(0), first, in ConstructNewResultFromMatchInfo() 303 a->IntPtrConstant(RegExpMatchInfo::kFirstCaptureIndex), num_indices); in ConstructNewResultFromMatchInfo() 309 a->IntPtrConstant(RegExpMatchInfo::kFirstCaptureIndex + 2)); in ConstructNewResultFromMatchInfo() 310 var_to_cursor.Bind(a->IntPtrConstant(1)); in ConstructNewResultFromMatchInfo() 326 a->IntPtrAdd(from_cursor, a->IntPtrConstant(1)); in ConstructNewResultFromMatchInfo() 334 var_from_cursor.Bind(a->IntPtrAdd(from_cursor, a->IntPtrConstant(2))); in ConstructNewResultFromMatchInfo() 335 var_to_cursor.Bind(a->IntPtrAdd(to_cursor, a->IntPtrConstant(1))); in ConstructNewResultFromMatchInfo() [all …]
|
D | builtins-string.cc | 119 Node* begin = assembler->IntPtrConstant( in GenerateStringEqual() 156 assembler->IntPtrAdd(offset, assembler->IntPtrConstant(1))); in GenerateStringEqual() 256 Node* begin = assembler->IntPtrConstant(SeqOneByteString::kHeaderSize - in GenerateStringRelationalComparison() 290 assembler->IntPtrAdd(offset, assembler->IntPtrConstant(1))); in GenerateStringRelationalComparison() 436 assembler->Branch(assembler->WordEqual(argc, assembler->IntPtrConstant(1)), in Generate_StringFromCharCode() 460 max_index.Bind(assembler->IntPtrConstant(0)); in Generate_StringFromCharCode() 486 assembler->IntPtrConstant(1))); in Generate_StringFromCharCode() 499 Node* zero = assembler->IntPtrConstant(0); in Generate_StringFromCharCode() 513 assembler->IntPtrAdd(max_index.value(), assembler->IntPtrConstant(1))); in Generate_StringFromCharCode() 533 assembler->IntPtrConstant(1))); in Generate_StringFromCharCode() [all …]
|
D | builtins-conversion.cc | 428 assembler->IntPtrConstant( in Generate_ToObject() 436 assembler->IntPtrConstant(Context::NUMBER_FUNCTION_INDEX)); in Generate_ToObject()
|
D | builtins-math.cc | 56 assembler->IntPtrConstant(0), assembler->BitcastTaggedToWord(x)); in Generate_MathAbs()
|
D | builtins-number.cc | 1324 assembler->WordEqual(divisor, assembler->IntPtrConstant(0)), in Generate_Divide() 1331 assembler->WordEqual(dividend, assembler->IntPtrConstant(0)), in Generate_Divide() 1337 assembler->IntPtrLessThan(divisor, assembler->IntPtrConstant(0)), in Generate_Divide()
|
D | builtins-array.cc | 1283 Node* intptr_zero = assembler->IntPtrConstant(0); in Generate_ArrayIncludes() 1284 Node* intptr_one = assembler->IntPtrConstant(1); in Generate_ArrayIncludes() 1729 Node* intptr_zero = assembler->IntPtrConstant(0); in Generate_ArrayIndexOf() 1730 Node* intptr_one = assembler->IntPtrConstant(1); in Generate_ArrayIndexOf()
|
D | builtins-object.cc | 51 assembler->IntPtrConstant(0)), in Generate_ObjectHasOwnProperty()
|
/external/v8/src/ic/ |
D | keyed-store-generic.cc | 208 Node* new_length = SmiTag(IntPtrAdd(index, IntPtrConstant(1))); in MaybeUpdateLengthAndReturn()
|