Lines Matching defs:operand
157 aco_print_operand(const Operand* operand, FILE* output, unsigned flags)
159 if (operand->isLiteral() || (operand->isConstant() && operand->bytes() == 1)) {
160 if (operand->bytes() == 1)
161 fprintf(output, "0x%.2x", operand->constantValue());
162 else if (operand->bytes() == 2)
163 fprintf(output, "0x%.4x", operand->constantValue());
165 fprintf(output, "0x%x", operand->constantValue());
166 } else if (operand->isConstant()) {
167 print_constant(operand->physReg().reg(), output);
168 } else if (operand->isUndefined()) {
169 print_reg_class(operand->regClass(), output);
172 if (operand->isLateKill())
174 if (operand->is16bit())
176 if (operand->is24bit())
178 if ((flags & print_kill) && operand->isKill())
182 fprintf(output, "%%%d%s", operand->tempId(), operand->isFixed() ? ":" : "");
184 if (operand->isFixed())
185 print_physReg(operand->physReg(), operand->bytes(), output, flags);