Lines Matching refs:value
127 // Clobbers object, dst, value, and ra, if (ra_status == kRAHasBeenSaved)
131 Register value, RAStatus ra_status,
142 JumpIfSmi(value, &done);
161 RecordWrite(object, Operand(offset - kHeapObjectTag), value, ra_status,
283 // Clobbers object, address, value, and ra, if (ra_status == kRAHasBeenSaved)
287 Register value, RAStatus ra_status,
291 DCHECK(!AreAliased(object, value));
299 Operand(value));
314 JumpIfSmi(value, &done);
317 CheckPageFlag(value, MemoryChunk::kPointersToHereAreInterestingMask, eq,
329 DCHECK(!AreAliased(object, slot_address, value));
1108 void TurboAssembler::li(Register dst, Handle<HeapObject> value, LiFlags mode) {
1111 // embedding the relocatable value.
1113 IndirectLoadConstant(dst, value);
1116 li(dst, Operand(value), mode);
1119 void TurboAssembler::li(Register dst, ExternalReference value, LiFlags mode) {
1122 // embedding the relocatable value.
1124 IndirectLoadExternalReference(dst, value);
1127 li(dst, Operand(value), mode);
1135 static inline int InstrCountForLiLower32Bit(int64_t value) {
1136 if (is_int12(static_cast<int32_t>(value)) ||
1137 is_uint12(static_cast<int32_t>(value)) || !(value & kImm12Mask)) {
1157 int TurboAssembler::InstrCountForLi64Bit(int64_t value) {
1158 if (is_int32(value)) {
1159 return InstrCountForLiLower32Bit(value);
1160 } else if (is_int52(value)) {
1161 return InstrCountForLiLower32Bit(value) + 1;
1162 } else if ((value & 0xffffffffL) == 0) {
1164 uint8_t tzc = base::bits::CountTrailingZeros32(value >> 32);
1165 uint8_t lzc = base::bits::CountLeadingZeros32(value >> 32);
1174 int64_t imm21 = (value >> 31) & 0x1fffffL;
1176 return InstrCountForLiLower32Bit(value) + 2;
1178 return InstrCountForLiLower32Bit(value) + 1;
1193 // Normal load of an immediate value which does not need Relocation Info.
1242 // this code to load another value which may need all 3 instructions.
2056 int32_t value = 0x01010101; // (T)~(T)0/255
2076 li(scratch, value);
2086 int64_t value = 0x0101010101010101l; // (T)~(T)0/255
2106 li(scratch, value);
2629 void MacroAssembler::JumpIfIsInRange(Register value, unsigned lower_limit,
2636 Sub_d(scratch, value, Operand(lower_limit));
2639 Branch(on_in_range, ls, value, Operand(higher_limit - lower_limit));
2771 // Adjust the value in ra to point to the correct return location, 2nd
2994 // to push undefined value as arguments.
3297 // All parameters are on the stack. v0 has the return value after call.
3344 void MacroAssembler::EmitIncrementCounter(StatsCounter* counter, int value,
3347 DCHECK_GT(value, 0);
3355 Add_w(scratch1, scratch1, Operand(value));
3360 void MacroAssembler::EmitDecrementCounter(StatsCounter* counter, int value,
3363 DCHECK_GT(value, 0);
3371 Sub_w(scratch1, scratch1, Operand(value));
3437 // generated instructions is 10, so we use this as a maximum value.
3542 // Remember: we only need to save every 2nd double FPU value.
3550 // (used by DirectCEntry to hold the return value if a struct is
3559 // Set the exit frame sp value to point just before the return address
3574 // Remember: we only need to restore every 2nd double FPU value.
3669 void TurboAssembler::JumpIfSmi(Register value, Label* smi_label) {
3673 andi(scratch, value, kSmiTagMask);
3677 void MacroAssembler::JumpIfNotSmi(Register value, Label* not_smi_label) {
3681 andi(scratch, value, kSmiTagMask);
3920 // and the original value of sp.