Home
last modified time | relevance | path

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

1234

/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/ic/mips/
Dhandler-compiler-mips.cc129 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
131 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
133 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
134 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
144 __ lbu(scratch0, FieldMemOperand(map, Map::kBitFieldOffset)); in GenerateDictionaryNegativeLookup()
145 __ And(scratch0, scratch0, Operand(kInterceptorOrAccessCheckNeededMask)); in GenerateDictionaryNegativeLookup()
146 __ Branch(miss_label, ne, scratch0, Operand(zero_reg)); in GenerateDictionaryNegativeLookup()
149 __ lbu(scratch0, FieldMemOperand(map, Map::kInstanceTypeOffset)); in GenerateDictionaryNegativeLookup()
150 __ Branch(miss_label, lt, scratch0, Operand(FIRST_JS_RECEIVER_TYPE)); in GenerateDictionaryNegativeLookup()
153 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
[all …]
/external/v8/src/ic/mips64/
Dhandler-compiler-mips64.cc129 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
131 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
133 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
134 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
144 __ lbu(scratch0, FieldMemOperand(map, Map::kBitFieldOffset)); in GenerateDictionaryNegativeLookup()
145 __ And(scratch0, scratch0, Operand(kInterceptorOrAccessCheckNeededMask)); in GenerateDictionaryNegativeLookup()
146 __ Branch(miss_label, ne, scratch0, Operand(zero_reg)); in GenerateDictionaryNegativeLookup()
149 __ lbu(scratch0, FieldMemOperand(map, Map::kInstanceTypeOffset)); in GenerateDictionaryNegativeLookup()
150 __ Branch(miss_label, lt, scratch0, Operand(FIRST_JS_RECEIVER_TYPE)); in GenerateDictionaryNegativeLookup()
153 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
[all …]
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.cc255 __ li(scratch0(), Operand(Smi::FromInt(StackFrame::STUB))); in GenerateDeferredCode()
256 __ PushCommonFrame(scratch0()); in GenerateDeferredCode()
263 __ PopCommonFrame(scratch0()); in GenerateDeferredCode()
749 Register scratch = scratch0(); in DeoptimizeIf()
1091 __ Dmul(scratch0(), result, Operand(divisor)); in DoDivByConstI()
1092 __ Dsubu(scratch0(), scratch0(), dividend); in DoDivByConstI()
1093 DeoptimizeIf(ne, instr, Deoptimizer::kLostPrecision, scratch0(), in DoDivByConstI()
1164 Register scratch = result.is(dividend) ? scratch0() : dividend; in DoFlooringDivByPowerOf2I()
1299 Register remainder = scratch0(); in DoFlooringDivI()
1314 Register scratch = scratch0(); in DoMulS()
[all …]
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc279 __ li(scratch0(), Operand(Smi::FromInt(StackFrame::STUB))); in GenerateDeferredCode()
280 __ PushCommonFrame(scratch0()); in GenerateDeferredCode()
287 __ PopCommonFrame(scratch0()); in GenerateDeferredCode()
761 Register scratch = scratch0(); in DeoptimizeIf()
1101 __ Mul(scratch0(), result, Operand(divisor)); in DoDivByConstI()
1102 __ Subu(scratch0(), scratch0(), dividend); in DoDivByConstI()
1103 DeoptimizeIf(ne, instr, Deoptimizer::kLostPrecision, scratch0(), in DoDivByConstI()
1168 Register scratch = result.is(dividend) ? scratch0() : dividend; in DoFlooringDivByPowerOf2I()
1274 Register remainder = scratch0(); in DoFlooringDivI()
1314 Register scratch = scratch0(); in DoMulI()
[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()
287 inline Register scratch0() { return scratch0_; } in scratch0() function
/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()
284 inline Register scratch0() { return scratch0_; } in scratch0() function
Dbuiltins-x87.cc2866 Register scratch0, Register scratch1, in CompatibleReceiverCheck() argument
2876 __ mov(scratch0, FieldOperand(receiver, HeapObject::kMapOffset)); in CompatibleReceiverCheck()
2881 __ GetMapConstructor(scratch0, scratch0, scratch1); in CompatibleReceiverCheck()
2887 __ mov(scratch0, in CompatibleReceiverCheck()
2888 FieldOperand(scratch0, JSFunction::kSharedFunctionInfoOffset)); in CompatibleReceiverCheck()
2889 __ mov(scratch0, in CompatibleReceiverCheck()
2890 FieldOperand(scratch0, SharedFunctionInfo::kFunctionDataOffset)); in CompatibleReceiverCheck()
2897 __ cmp(scratch0, FieldOperand(function_template_info, in CompatibleReceiverCheck()
2903 __ JumpIfSmi(scratch0, &next_prototype, Label::kNear); in CompatibleReceiverCheck()
2904 __ CmpObjectType(scratch0, FUNCTION_TEMPLATE_INFO_TYPE, scratch1); in CompatibleReceiverCheck()
[all …]
/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/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/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/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/ic/arm64/
Dhandler-compiler-arm64.cc44 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
45 DCHECK(!AreAliased(receiver, scratch0, scratch1)); in GenerateDictionaryNegativeLookup()
48 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
49 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
59 __ Ldrb(scratch0, FieldMemOperand(map, Map::kBitFieldOffset)); in GenerateDictionaryNegativeLookup()
60 __ Tst(scratch0, kInterceptorOrAccessCheckNeededMask); in GenerateDictionaryNegativeLookup()
64 __ Ldrb(scratch0, FieldMemOperand(map, Map::kInstanceTypeOffset)); in GenerateDictionaryNegativeLookup()
65 __ Cmp(scratch0, FIRST_JS_RECEIVER_TYPE); in GenerateDictionaryNegativeLookup()
69 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
78 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
/external/v8/src/ic/ppc/
Dhandler-compiler-ppc.cc130 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
132 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
134 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
135 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
145 __ lbz(scratch0, FieldMemOperand(map, Map::kBitFieldOffset)); in GenerateDictionaryNegativeLookup()
146 __ andi(r0, scratch0, Operand(kInterceptorOrAccessCheckNeededMask)); in GenerateDictionaryNegativeLookup()
150 __ lbz(scratch0, FieldMemOperand(map, Map::kInstanceTypeOffset)); in GenerateDictionaryNegativeLookup()
151 __ cmpi(scratch0, Operand(FIRST_JS_RECEIVER_TYPE)); in GenerateDictionaryNegativeLookup()
155 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
171 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
/external/v8/src/ic/s390/
Dhandler-compiler-s390.cc124 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
126 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
128 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
129 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
139 __ LoadlB(scratch0, FieldMemOperand(map, Map::kBitFieldOffset)); in GenerateDictionaryNegativeLookup()
140 __ AndP(r0, scratch0, Operand(kInterceptorOrAccessCheckNeededMask)); in GenerateDictionaryNegativeLookup()
145 __ LoadlB(scratch0, FieldMemOperand(map, Map::kInstanceTypeOffset)); in GenerateDictionaryNegativeLookup()
146 __ CmpP(scratch0, Operand(FIRST_JS_RECEIVER_TYPE)); in GenerateDictionaryNegativeLookup()
150 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
163 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc265 __ Move(scratch0(), Smi::FromInt(StackFrame::STUB)); in GenerateDeferredCode()
266 __ PushCommonFrame(scratch0()); in GenerateDeferredCode()
273 __ PopCommonFrame(scratch0()); in GenerateDeferredCode()
307 Register entry_offset = scratch0(); in GenerateJumpTable()
785 Register scratch = scratch0(); in DeoptimizeIf()
1081 Register scratch = scratch0(); in DoModI()
1201 __ smull(scratch0(), ip, result, ip); in DoDivByConstI()
1202 __ sub(scratch0(), scratch0(), dividend, SetCC); in DoDivByConstI()
1262 Register remainder = scratch0(); in DoDivI()
1437 Register remainder = scratch0(); in DoFlooringDivI()
[all …]
/external/v8/src/ic/arm/
Dhandler-compiler-arm.cc135 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
137 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
139 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
140 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
150 __ ldrb(scratch0, FieldMemOperand(map, Map::kBitFieldOffset)); in GenerateDictionaryNegativeLookup()
151 __ tst(scratch0, Operand(kInterceptorOrAccessCheckNeededMask)); in GenerateDictionaryNegativeLookup()
155 __ ldrb(scratch0, FieldMemOperand(map, Map::kInstanceTypeOffset)); in GenerateDictionaryNegativeLookup()
156 __ cmp(scratch0, Operand(FIRST_JS_RECEIVER_TYPE)); in GenerateDictionaryNegativeLookup()
160 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
176 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup()
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.cc266 __ LoadSmiLiteral(scratch0(), Smi::FromInt(StackFrame::STUB)); in GenerateDeferredCode()
267 __ PushCommonFrame(scratch0()); in GenerateDeferredCode()
274 __ PopCommonFrame(scratch0()); in GenerateDeferredCode()
304 Register entry_offset = scratch0(); in GenerateJumpTable()
731 Register scratch = scratch0(); in DeoptimizeIf()
961 Register scratch = scratch0(); in DoModI()
1081 Register scratch = scratch0(); in DoDivByConstI()
1147 Register scratch = scratch0(); in DoDivI()
1319 Register scratch = scratch0(); in DoFlooringDivI()
1365 Register scratch = scratch0(); in DoMulI()
[all …]
/external/v8/src/s390/
Dcode-stubs-s390.h191 RegisterAllocation(Register object, Register address, Register scratch0) in RegisterAllocation() argument
192 : object_(object), address_(address), scratch0_(scratch0) { in RegisterAllocation()
193 DCHECK(!AreAliased(scratch0, object, address, no_reg)); in RegisterAllocation()
230 inline Register scratch0() { return scratch0_; } in scratch0() function
322 Register scratch0);
/external/v8/src/crankshaft/s390/
Dlithium-codegen-s390.cc253 __ LoadSmiLiteral(scratch0(), Smi::FromInt(StackFrame::STUB)); in GenerateDeferredCode()
254 __ PushCommonFrame(scratch0()); in GenerateDeferredCode()
261 __ PopCommonFrame(scratch0()); in GenerateDeferredCode()
290 Register entry_offset = scratch0(); in GenerateJumpTable()
690 Register scratch = scratch0(); in DeoptimizeIf()
1051 Register scratch = scratch0(); in DoDivByConstI()
1264 Register scratch = scratch0(); in DoFlooringDivI()
1308 Register scratch = scratch0(); in DoMulI()
1530 Register scratch = scratch0(); in DoShiftI()
1748 __ LoadDoubleLiteral(result, bits, scratch0()); in DoShiftI()
[all …]
/external/v8/src/ic/x64/
Dhandler-compiler-x64.cc44 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
46 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
51 __ movp(scratch0, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateDictionaryNegativeLookup()
57 __ testb(FieldOperand(scratch0, Map::kBitFieldOffset), in GenerateDictionaryNegativeLookup()
62 __ CmpInstanceType(scratch0, FIRST_JS_RECEIVER_TYPE); in GenerateDictionaryNegativeLookup()
66 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
/external/v8/src/ic/x87/
Dhandler-compiler-x87.cc83 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
85 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
90 __ mov(scratch0, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateDictionaryNegativeLookup()
96 __ test_b(FieldOperand(scratch0, Map::kBitFieldOffset), in GenerateDictionaryNegativeLookup()
101 __ CmpInstanceType(scratch0, FIRST_JS_RECEIVER_TYPE); in GenerateDictionaryNegativeLookup()
105 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
/external/v8/src/ic/ia32/
Dhandler-compiler-ia32.cc83 Handle<Name> name, Register scratch0, Register scratch1) { in GenerateDictionaryNegativeLookup() argument
85 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
90 __ mov(scratch0, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateDictionaryNegativeLookup()
96 __ test_b(FieldOperand(scratch0, Map::kBitFieldOffset), in GenerateDictionaryNegativeLookup()
101 __ CmpInstanceType(scratch0, FIRST_JS_RECEIVER_TYPE); in GenerateDictionaryNegativeLookup()
105 Register properties = scratch0; in GenerateDictionaryNegativeLookup()
/external/v8/src/arm64/
Dcode-stubs-arm64.h239 Register scratch0() { return scratch0_; } in scratch0() function
356 Register scratch0);

1234