Home
last modified time | relevance | path

Searched refs:scratch0 (Results 1 – 25 of 73) sorted by relevance

123

/external/llvm/test/CodeGen/AMDGPU/
Dscratch-buffer.ll21 %scratch0 = alloca [8192 x i32]
24 %scratchptr0 = getelementptr [8192 x i32], [8192 x i32]* %scratch0, i32 0, i32 0
34 %if_ptr = getelementptr [8192 x i32], [8192 x i32]* %scratch0, i32 0, i32 %if_offset
59 %scratch0 = alloca [8192 x i32]
63 %scratchptr0 = getelementptr [8192 x i32], [8192 x i32]* %scratch0, i32 0, i32 %offset0
75 %if_ptr = getelementptr [8192 x i32], [8192 x i32]* %scratch0, i32 0, i32 %if_offset
/external/v8/src/x64/
Dcode-stubs-x64.h196 Register scratch0) in RegisterAllocation() argument
199 scratch0_orig_(scratch0), in RegisterAllocation()
202 scratch0_(scratch0) { in RegisterAllocation()
203 DCHECK(!AreAliased(scratch0, object, address, no_reg)); in RegisterAllocation()
205 if (scratch0.is(rcx)) { in RegisterAllocation()
281 inline Register scratch0() { return scratch0_; } in scratch0() function
/external/v8/src/arm/
Dcode-stubs-arm.h145 Register scratch0) in RegisterAllocation() argument
148 scratch0_(scratch0) { in RegisterAllocation()
149 DCHECK(!AreAliased(scratch0, object, address, no_reg)); in RegisterAllocation()
184 inline Register scratch0() { return scratch0_; } in scratch0() function
281 Register scratch0);
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.cc264 __ li(scratch0(), Operand(Smi::FromInt(StackFrame::STUB))); in GenerateDeferredCode()
265 __ push(scratch0()); in GenerateDeferredCode()
770 Register scratch = scratch0(); in DeoptimizeIf()
1134 __ Dmul(scratch0(), result, Operand(divisor)); in DoDivByConstI()
1135 __ Dsubu(scratch0(), scratch0(), dividend); in DoDivByConstI()
1136 DeoptimizeIf(ne, instr, Deoptimizer::kLostPrecision, scratch0(), in DoDivByConstI()
1207 Register scratch = result.is(dividend) ? scratch0() : dividend; in DoFlooringDivByPowerOf2I()
1342 Register remainder = scratch0(); in DoFlooringDivI()
1357 Register scratch = scratch0(); in DoMulS()
1459 Register scratch = scratch0(); in DoMulI()
[all …]
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc289 __ li(scratch0(), Operand(Smi::FromInt(StackFrame::STUB))); in GenerateDeferredCode()
290 __ push(scratch0()); in GenerateDeferredCode()
782 Register scratch = scratch0(); in DeoptimizeIf()
1144 __ Mul(scratch0(), result, Operand(divisor)); in DoDivByConstI()
1145 __ Subu(scratch0(), scratch0(), dividend); in DoDivByConstI()
1146 DeoptimizeIf(ne, instr, Deoptimizer::kLostPrecision, scratch0(), in DoDivByConstI()
1211 Register scratch = result.is(dividend) ? scratch0() : dividend; in DoFlooringDivByPowerOf2I()
1317 Register remainder = scratch0(); in DoFlooringDivI()
1357 Register scratch = scratch0(); in DoMulI()
1509 Register scratch = scratch0(); in DoShiftI()
[all …]
/external/v8/src/x87/
Dcode-stubs-x87.h201 Register scratch0) in RegisterAllocation() argument
204 scratch0_orig_(scratch0), in RegisterAllocation()
207 scratch0_(scratch0) { in RegisterAllocation()
208 DCHECK(!AreAliased(scratch0, object, address, no_reg)); in RegisterAllocation()
210 if (scratch0.is(ecx)) { in RegisterAllocation()
296 inline Register scratch0() { return scratch0_; } in scratch0() function
Dbuiltins-x87.cc2348 Register scratch0, Register scratch1, in CompatibleReceiverCheck() argument
2358 __ mov(scratch0, FieldOperand(receiver, HeapObject::kMapOffset)); in CompatibleReceiverCheck()
2363 __ GetMapConstructor(scratch0, scratch0, scratch1); in CompatibleReceiverCheck()
2369 __ mov(scratch0, in CompatibleReceiverCheck()
2370 FieldOperand(scratch0, JSFunction::kSharedFunctionInfoOffset)); in CompatibleReceiverCheck()
2371 __ mov(scratch0, in CompatibleReceiverCheck()
2372 FieldOperand(scratch0, SharedFunctionInfo::kFunctionDataOffset)); in CompatibleReceiverCheck()
2379 __ cmp(scratch0, FieldOperand(function_template_info, in CompatibleReceiverCheck()
2385 __ JumpIfSmi(scratch0, &next_prototype, Label::kNear); in CompatibleReceiverCheck()
2386 __ CmpObjectType(scratch0, FUNCTION_TEMPLATE_INFO_TYPE, scratch1); in CompatibleReceiverCheck()
[all …]
/external/v8/src/ia32/
Dcode-stubs-ia32.h204 Register scratch0) in RegisterAllocation() argument
207 scratch0_orig_(scratch0), in RegisterAllocation()
210 scratch0_(scratch0) { in RegisterAllocation()
211 DCHECK(!AreAliased(scratch0, object, address, no_reg)); in RegisterAllocation()
213 if (scratch0.is(ecx)) { in RegisterAllocation()
307 inline Register scratch0() { return scratch0_; } in scratch0() function
Dbuiltins-ia32.cc2341 Register scratch0, Register scratch1, in CompatibleReceiverCheck() argument
2351 __ mov(scratch0, FieldOperand(receiver, HeapObject::kMapOffset)); in CompatibleReceiverCheck()
2356 __ GetMapConstructor(scratch0, scratch0, scratch1); in CompatibleReceiverCheck()
2362 __ mov(scratch0, in CompatibleReceiverCheck()
2363 FieldOperand(scratch0, JSFunction::kSharedFunctionInfoOffset)); in CompatibleReceiverCheck()
2364 __ mov(scratch0, in CompatibleReceiverCheck()
2365 FieldOperand(scratch0, SharedFunctionInfo::kFunctionDataOffset)); in CompatibleReceiverCheck()
2372 __ cmp(scratch0, FieldOperand(function_template_info, in CompatibleReceiverCheck()
2378 __ JumpIfSmi(scratch0, &next_prototype, Label::kNear); in CompatibleReceiverCheck()
2379 __ CmpObjectType(scratch0, FUNCTION_TEMPLATE_INFO_TYPE, scratch1); in CompatibleReceiverCheck()
[all …]
/external/v8/src/mips/
Dcode-stubs-mips.h176 Register scratch0) in RegisterAllocation() argument
179 scratch0_(scratch0) { in RegisterAllocation()
180 DCHECK(!AreAliased(scratch0, object, address, no_reg)); in RegisterAllocation()
215 inline Register scratch0() { return scratch0_; } in scratch0() function
312 Register scratch0);
/external/v8/src/ppc/
Dcode-stubs-ppc.h163 RegisterAllocation(Register object, Register address, Register scratch0) in RegisterAllocation() argument
164 : object_(object), address_(address), scratch0_(scratch0) { in RegisterAllocation()
165 DCHECK(!AreAliased(scratch0, object, address, no_reg)); in RegisterAllocation()
204 inline Register scratch0() { return scratch0_; } in scratch0() function
298 Register scratch0);
/external/v8/src/mips64/
Dcode-stubs-mips64.h177 Register scratch0) in RegisterAllocation() argument
180 scratch0_(scratch0) { in RegisterAllocation()
181 DCHECK(!AreAliased(scratch0, object, address, no_reg)); in RegisterAllocation()
216 inline Register scratch0() { return scratch0_; } in scratch0() function
313 Register scratch0);
/external/v8/src/ic/mips64/
Dhandler-compiler-mips64.cc125 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
127 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
129 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
130 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
140 __ lbu(scratch0, FieldMemOperand(map, Map::kBitFieldOffset)); in GenerateDictionaryNegativeLookup()
141 __ And(scratch0, scratch0, Operand(kInterceptorOrAccessCheckNeededMask)); in GenerateDictionaryNegativeLookup()
142 __ Branch(miss_label, ne, scratch0, Operand(zero_reg)); in GenerateDictionaryNegativeLookup()
145 __ lbu(scratch0, FieldMemOperand(map, Map::kInstanceTypeOffset)); in GenerateDictionaryNegativeLookup()
146 __ Branch(miss_label, lt, scratch0, Operand(FIRST_JS_RECEIVER_TYPE)); in GenerateDictionaryNegativeLookup()
149 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
[all …]
/external/v8/src/ic/mips/
Dhandler-compiler-mips.cc125 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
127 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
129 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
130 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
140 __ lbu(scratch0, FieldMemOperand(map, Map::kBitFieldOffset)); in GenerateDictionaryNegativeLookup()
141 __ And(scratch0, scratch0, Operand(kInterceptorOrAccessCheckNeededMask)); in GenerateDictionaryNegativeLookup()
142 __ Branch(miss_label, ne, scratch0, Operand(zero_reg)); in GenerateDictionaryNegativeLookup()
145 __ lbu(scratch0, FieldMemOperand(map, Map::kInstanceTypeOffset)); in GenerateDictionaryNegativeLookup()
146 __ Branch(miss_label, lt, scratch0, Operand(FIRST_JS_RECEIVER_TYPE)); in GenerateDictionaryNegativeLookup()
149 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
[all …]
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc274 __ mov(scratch0(), Operand(Smi::FromInt(StackFrame::STUB))); in GenerateDeferredCode()
275 __ push(scratch0()); in GenerateDeferredCode()
318 Register entry_offset = scratch0(); in GenerateJumpTable()
805 Register scratch = scratch0(); in DeoptimizeIf()
1123 Register scratch = scratch0(); in DoModI()
1243 __ smull(scratch0(), ip, result, ip); in DoDivByConstI()
1244 __ sub(scratch0(), scratch0(), dividend, SetCC); in DoDivByConstI()
1304 Register remainder = scratch0(); in DoDivI()
1479 Register remainder = scratch0(); in DoFlooringDivI()
1564 Register scratch = scratch0(); in DoMulI()
[all …]
/external/v8/src/ic/ppc/
Dhandler-compiler-ppc.cc125 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
127 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
129 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
130 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
140 __ lbz(scratch0, FieldMemOperand(map, Map::kBitFieldOffset)); in GenerateDictionaryNegativeLookup()
141 __ andi(r0, scratch0, Operand(kInterceptorOrAccessCheckNeededMask)); in GenerateDictionaryNegativeLookup()
145 __ lbz(scratch0, FieldMemOperand(map, Map::kInstanceTypeOffset)); in GenerateDictionaryNegativeLookup()
146 __ cmpi(scratch0, Operand(FIRST_JS_RECEIVER_TYPE)); in GenerateDictionaryNegativeLookup()
150 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
166 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
/external/v8/src/ic/arm64/
Dhandler-compiler-arm64.cc41 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
42 DCHECK(!AreAliased(receiver, scratch0, scratch1)); in GenerateDictionaryNegativeLookup()
45 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
46 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
56 __ Ldrb(scratch0, FieldMemOperand(map, Map::kBitFieldOffset)); in GenerateDictionaryNegativeLookup()
57 __ Tst(scratch0, kInterceptorOrAccessCheckNeededMask); in GenerateDictionaryNegativeLookup()
61 __ Ldrb(scratch0, FieldMemOperand(map, Map::kInstanceTypeOffset)); in GenerateDictionaryNegativeLookup()
62 __ Cmp(scratch0, FIRST_JS_RECEIVER_TYPE); in GenerateDictionaryNegativeLookup()
66 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
75 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
/external/v8/src/ic/arm/
Dhandler-compiler-arm.cc127 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
129 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
131 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
132 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
142 __ ldrb(scratch0, FieldMemOperand(map, Map::kBitFieldOffset)); in GenerateDictionaryNegativeLookup()
143 __ tst(scratch0, Operand(kInterceptorOrAccessCheckNeededMask)); in GenerateDictionaryNegativeLookup()
147 __ ldrb(scratch0, FieldMemOperand(map, Map::kInstanceTypeOffset)); in GenerateDictionaryNegativeLookup()
148 __ cmp(scratch0, Operand(FIRST_JS_RECEIVER_TYPE)); in GenerateDictionaryNegativeLookup()
152 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
168 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.cc274 __ LoadSmiLiteral(scratch0(), Smi::FromInt(StackFrame::STUB)); in GenerateDeferredCode()
275 __ PushFixedFrame(scratch0()); in GenerateDeferredCode()
313 Register entry_offset = scratch0(); in GenerateJumpTable()
749 Register scratch = scratch0(); in DeoptimizeIf()
1001 Register scratch = scratch0(); in DoModI()
1121 Register scratch = scratch0(); in DoDivByConstI()
1183 Register scratch = scratch0(); in DoDivI()
1355 Register scratch = scratch0(); in DoFlooringDivI()
1398 Register scratch = scratch0(); in DoMulI()
1614 Register scratch = scratch0(); in DoShiftI()
[all …]
/external/v8/src/ic/x87/
Dhandler-compiler-x87.cc77 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
79 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
84 __ mov(scratch0, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateDictionaryNegativeLookup()
90 __ test_b(FieldOperand(scratch0, Map::kBitFieldOffset), in GenerateDictionaryNegativeLookup()
95 __ CmpInstanceType(scratch0, FIRST_JS_RECEIVER_TYPE); in GenerateDictionaryNegativeLookup()
99 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
/external/v8/src/ic/x64/
Dhandler-compiler-x64.cc41 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
43 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
48 __ movp(scratch0, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateDictionaryNegativeLookup()
54 __ testb(FieldOperand(scratch0, Map::kBitFieldOffset), in GenerateDictionaryNegativeLookup()
59 __ CmpInstanceType(scratch0, FIRST_JS_RECEIVER_TYPE); in GenerateDictionaryNegativeLookup()
63 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
Dic-x64.cc90 Register value, Register scratch0, in GenerateDictionaryStore() argument
107 masm, miss_label, &done, elements, name, scratch0, scratch1); in GenerateDictionaryStore()
132 __ movp(scratch0, value); in GenerateDictionaryStore()
133 __ RecordWrite(elements, scratch1, scratch0, kDontSaveFPRegs); in GenerateDictionaryStore()
/external/v8/src/ic/ia32/
Dhandler-compiler-ia32.cc77 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
79 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
84 __ mov(scratch0, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateDictionaryNegativeLookup()
90 __ test_b(FieldOperand(scratch0, Map::kBitFieldOffset), in GenerateDictionaryNegativeLookup()
95 __ CmpInstanceType(scratch0, FIRST_JS_RECEIVER_TYPE); in GenerateDictionaryNegativeLookup()
99 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
/external/v8/src/arm64/
Dcode-stubs-arm64.h239 Register scratch0() { return scratch0_; } in scratch0() function
356 Register scratch0);
Dmacro-assembler-arm64.cc1493 Register scratch0, in CheckEnumCache() argument
1498 DCHECK(!AreAliased(object, null_value, scratch0, scratch1, scratch2, in CheckEnumCache()
1501 Register empty_fixed_array_value = scratch0; in CheckEnumCache()
3769 Register scratch0, in LoadFromNumberDictionary() argument
3773 DCHECK(!AreAliased(elements, key, scratch0, scratch1, scratch2, scratch3)); in LoadFromNumberDictionary()
3777 SmiUntag(scratch0, key); in LoadFromNumberDictionary()
3778 GetNumberHash(scratch0, scratch1); in LoadFromNumberDictionary()
3790 Add(scratch2, scratch0, SeededNumberDictionary::GetProbeOffset(i)); in LoadFromNumberDictionary()
3792 Mov(scratch2, scratch0); in LoadFromNumberDictionary()
4240 Register scratch0, in JumpIfBlack() argument
[all …]

123