/external/llvm/test/CodeGen/AMDGPU/ |
D | scratch-buffer.ll | 21 %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/ |
D | handler-compiler-mips.cc | 129 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/ |
D | handler-compiler-mips64.cc | 129 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/ |
D | lithium-codegen-mips64.cc | 255 __ 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/ |
D | lithium-codegen-mips.cc | 279 __ 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/ |
D | code-stubs-ia32.h | 204 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/ |
D | code-stubs-x87.h | 201 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
|
D | builtins-x87.cc | 2866 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/ |
D | code-stubs-x64.h | 196 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/ |
D | code-stubs-arm.h | 145 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/ |
D | code-stubs-mips.h | 176 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/ |
D | code-stubs-mips64.h | 177 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/ |
D | code-stubs-ppc.h | 163 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/ |
D | handler-compiler-arm64.cc | 44 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/ |
D | handler-compiler-ppc.cc | 130 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/ |
D | handler-compiler-s390.cc | 124 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/ |
D | lithium-codegen-arm.cc | 265 __ 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/ |
D | handler-compiler-arm.cc | 135 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/ |
D | lithium-codegen-ppc.cc | 266 __ 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/ |
D | code-stubs-s390.h | 191 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/ |
D | lithium-codegen-s390.cc | 253 __ 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/ |
D | handler-compiler-x64.cc | 44 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/ |
D | handler-compiler-x87.cc | 83 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/ |
D | handler-compiler-ia32.cc | 83 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/ |
D | code-stubs-arm64.h | 239 Register scratch0() { return scratch0_; } in scratch0() function 356 Register scratch0);
|