Home
last modified time | relevance | path

Searched refs:IntPtrConstant (Results 1 – 24 of 24) sorted by relevance

/external/v8/src/compiler/
Dmemory-optimizer.cc175 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 …]
Djs-generic-lowering.cc165 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 …]
Draw-machine-assembler.h76 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()
Dcode-assembler.cc108 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()
Djs-graph.h107 Node* IntPtrConstant(intptr_t value) { in NON_EXPORTED_BASE()
Deffect-control-linearizer.cc955 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 …]
Dcode-assembler.h227 Node* IntPtrConstant(intptr_t value);
Dwasm-compiler.cc427 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()
Drepresentation-change.cc714 jsgraph()->IntPtrConstant(0)); in GetBitRepresentationFor()
Dsimplified-lowering.cc1390 DeferReplacement(node, lowering->jsgraph()->IntPtrConstant(value)); in VisitNode()
/external/v8/src/
Dcode-stub-assembler.cc90 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 …]
Dfast-accessor-assembler.cc140 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()
Dcode-stubs.cc1321 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 …]
Dcode-stub-assembler.h747 return WordNotEqual(WordAnd(word, IntPtrConstant(T::kMask)), in IsSetWord()
748 IntPtrConstant(0)); in IsSetWord()
/external/v8/src/interpreter/
Dinterpreter-assembler.cc181 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 …]
Dinterpreter.cc852 __ 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/
Dbuiltins-regexp.cc278 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 …]
Dbuiltins-string.cc119 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 …]
Dbuiltins-conversion.cc428 assembler->IntPtrConstant( in Generate_ToObject()
436 assembler->IntPtrConstant(Context::NUMBER_FUNCTION_INDEX)); in Generate_ToObject()
Dbuiltins-math.cc56 assembler->IntPtrConstant(0), assembler->BitcastTaggedToWord(x)); in Generate_MathAbs()
Dbuiltins-number.cc1324 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()
Dbuiltins-array.cc1283 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()
Dbuiltins-object.cc51 assembler->IntPtrConstant(0)), in Generate_ObjectHasOwnProperty()
/external/v8/src/ic/
Dkeyed-store-generic.cc208 Node* new_length = SmiTag(IntPtrAdd(index, IntPtrConstant(1))); in MaybeUpdateLengthAndReturn()