Home
last modified time | relevance | path

Searched refs:scratch_reg (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_vec4_reg_allocate.cpp304 unsigned scratch_reg) in can_use_scratch_for_source() argument
311 if (inst->src[n].file == VGRF && inst->src[n].nr == scratch_reg) in can_use_scratch_for_source()
324 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
344 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source()
512 int scratch_reg = -1; in spill_reg() local
516 if (scratch_reg == -1 || in spill_reg()
517 !can_use_scratch_for_source(inst, i, scratch_reg)) { in spill_reg()
523 scratch_reg = alloc.allocate(alloc.sizes[spill_reg_nr]); in spill_reg()
525 temp.nr = scratch_reg; in spill_reg()
532 assert(scratch_reg != -1); in spill_reg()
[all …]
/external/v8/src/compiler/x64/
Dcode-generator-x64.cc3230 Register scratch_reg = pop_reg == rcx ? rdx : rcx; in AssembleReturn() local
3231 __ popq(scratch_reg); in AssembleReturn()
3233 __ jmp(scratch_reg); in AssembleReturn()
/external/v8/src/compiler/ia32/
Dcode-generator-ia32.cc4350 Register scratch_reg = pop_reg == ecx ? edx : ecx; in AssembleReturn() local
4351 __ pop(scratch_reg); in AssembleReturn()
4353 __ jmp(scratch_reg); in AssembleReturn()