Home | History | Annotate | Download | only in InstPrinter

Lines Matching defs:Imm

113 void AMDGPUInstPrinter::printImmediate(uint32_t Imm, raw_ostream &O) {
114 int32_t SImm = static_cast<int32_t>(Imm);
120 if (Imm == FloatToBits(1.0f) ||
121 Imm == FloatToBits(-1.0f) ||
122 Imm == FloatToBits(0.5f) ||
123 Imm == FloatToBits(-0.5f) ||
124 Imm == FloatToBits(2.0f) ||
125 Imm == FloatToBits(-2.0f) ||
126 Imm == FloatToBits(4.0f) ||
127 Imm == FloatToBits(-4.0f)) {
128 O << BitsToFloat(Imm);
132 O << formatHex(static_cast<uint64_t>(Imm));
175 unsigned Imm = MI->getOperand(OpNum).getImm();
177 if (Imm == 2) {
179 } else if (Imm == 1) {
181 } else if (Imm == 0) {
219 int32_t Imm = MI->getOperand(OpNo).getImm();
220 O << Imm << '(' << BitsToFloat(Imm) << ')';