Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/compiler/
Daco_optimizer.cpp1306 ((instr->definitions[0].bytes() == 4 && instr->operands[0].constantEquals(0x7FFFFFFFu)) || in label_instruction()
1307 (instr->definitions[0].bytes() == 2 && instr->operands[0].constantEquals(0x7FFFu)))) in label_instruction()
1315 ((instr->definitions[0].bytes() == 4 && instr->operands[0].constantEquals(0x80000000u)) || in label_instruction()
1316 (instr->definitions[0].bytes() == 2 && instr->operands[0].constantEquals(0x8000u)))) { in label_instruction()
1346 if (instr->operands[i].constantEquals(0)) in label_instruction()
1348 else if (instr->operands[i].constantEquals(is_fp16 ? 0x3c00 : 0x3f800000)) /* 1.0 */ in label_instruction()
1358 if (instr->operands[0].constantEquals(0) && in label_instruction()
1359 instr->operands[1].constantEquals(0xFFFFFFFF)) in label_instruction()
1361 else if (instr->operands[0].constantEquals(0) && in label_instruction()
1362 instr->operands[1].constantEquals(0x3f800000u)) in label_instruction()
[all …]
Daco_ir.h639 constexpr bool constantEquals(uint32_t cmp) const noexcept in constantEquals() function
Daco_lower_to_hw_instr.cpp1006 if (op.bytes() == 4 && op.constantEquals(0x3e22f983) && ctx->program->chip_class >= GFX8) in copy_constant()