Home
last modified time | relevance | path

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

/third_party/mesa3d/src/intel/compiler/
H A Dbrw_vec4_reg_allocate.cpp254 * - When we call this function from spill_reg(), we pass in scratch_reg the
261 * In either case, we check if the previous instructions read scratch_reg until
263 * scratch_reg at all.
267 unsigned scratch_reg) in can_use_scratch_for_source()
272 /* See if any previous source in the same instructions reads scratch_reg */ in can_use_scratch_for_source()
274 if (inst->src[n].file == VGRF && inst->src[n].nr == scratch_reg) in can_use_scratch_for_source()
278 /* Now check if previous instructions read/write scratch_reg */ in can_use_scratch_for_source()
283 /* If the previous instruction writes to scratch_reg then we can reuse in can_use_scratch_for_source()
287 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
294 * other registers (that won't read/write scratch_reg) d in can_use_scratch_for_source()
266 can_use_scratch_for_source(const vec4_instruction *inst, unsigned i, unsigned scratch_reg) can_use_scratch_for_source() argument
476 unsigned scratch_reg = ~0u; spill_reg() local
[all...]
/third_party/node/deps/v8/src/compiler/backend/ia32/
H A Dcode-generator-ia32.cc4188 Register scratch_reg = edx; in AssembleReturn() local
4189 DCHECK_NE(argc_reg, scratch_reg); in AssembleReturn()
4191 DCHECK(!call_descriptor->CalleeSavedRegisters().has(scratch_reg)); in AssembleReturn()
4194 __ Ret(parameter_slots * kSystemPointerSize, scratch_reg); in AssembleReturn()
4196 __ DropArguments(argc_reg, scratch_reg, TurboAssembler::kCountIsInteger, in AssembleReturn()
4208 Register scratch_reg = ecx; in AssembleReturn() local
4209 DCHECK(!call_descriptor->CalleeSavedRegisters().has(scratch_reg)); in AssembleReturn()
4211 __ Ret(static_cast<int>(pop_size), scratch_reg); in AssembleReturn() local
4215 Register scratch_reg = pop_reg == ecx ? edx : ecx; in AssembleReturn() local
4216 DCHECK(!call_descriptor->CalleeSavedRegisters().has(scratch_reg)); in AssembleReturn()
[all...]
/third_party/node/deps/v8/src/compiler/backend/x64/
H A Dcode-generator-x64.cc4857 Register scratch_reg = r10; in AssembleReturn() local
4858 DCHECK_NE(argc_reg, scratch_reg); in AssembleReturn()
4859 DCHECK(!call_descriptor->CalleeSavedRegisters().has(scratch_reg)); in AssembleReturn()
4863 __ Ret(parameter_slots * kSystemPointerSize, scratch_reg); in AssembleReturn()
4865 __ DropArguments(argc_reg, scratch_reg, TurboAssembler::kCountIsInteger, in AssembleReturn()
4870 Register scratch_reg = r10; in AssembleReturn() local
4871 DCHECK(!call_descriptor->CalleeSavedRegisters().has(scratch_reg)); in AssembleReturn()
4875 __ Ret(static_cast<int>(pop_size), scratch_reg); in AssembleReturn() local
4878 Register scratch_reg = pop_reg == r10 ? rcx : r10; in AssembleReturn() local
4879 DCHECK(!call_descriptor->CalleeSavedRegisters().has(scratch_reg)); in AssembleReturn()
[all...]

Completed in 13 milliseconds