reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
  196     return Value;
  200     return Value & 0xfff;
  204     return (((Value >> 5) & 0x7f) << 25) | ((Value & 0x1f) << 7);
  204     return (((Value >> 5) & 0x7f) << 25) | ((Value & 0x1f) << 7);
  209     return ((Value + 0x800) >> 12) & 0xfffff;
  211     if (!isInt<21>(Value))
  213     if (Value & 0x1)
  216     unsigned Sbit = (Value >> 20) & 0x1;
  217     unsigned Hi8 = (Value >> 12) & 0xff;
  218     unsigned Mid1 = (Value >> 11) & 0x1;
  219     unsigned Lo10 = (Value >> 1) & 0x3ff;
  224     Value = (Sbit << 19) | (Lo10 << 9) | (Mid1 << 8) | Hi8;
  225     return Value;
  228     if (!isInt<13>(Value))
  230     if (Value & 0x1)
  234     unsigned Sbit = (Value >> 12) & 0x1;
  235     unsigned Hi1 = (Value >> 11) & 0x1;
  236     unsigned Mid6 = (Value >> 5) & 0x3f;
  237     unsigned Lo4 = (Value >> 1) & 0xf;
  242     Value = (Sbit << 31) | (Mid6 << 25) | (Lo4 << 8) | (Hi1 << 7);
  243     return Value;
  250     uint64_t UpperImm = (Value + 0x800ULL) & 0xfffff000ULL;
  251     uint64_t LowerImm = Value & 0xfffULL;
  256     unsigned Bit11  = (Value >> 11) & 0x1;
  257     unsigned Bit4   = (Value >> 4) & 0x1;
  258     unsigned Bit9_8 = (Value >> 8) & 0x3;
  259     unsigned Bit10  = (Value >> 10) & 0x1;
  260     unsigned Bit6   = (Value >> 6) & 0x1;
  261     unsigned Bit7   = (Value >> 7) & 0x1;
  262     unsigned Bit3_1 = (Value >> 1) & 0x7;
  263     unsigned Bit5   = (Value >> 5) & 0x1;
  264     Value = (Bit11 << 10) | (Bit4 << 9) | (Bit9_8 << 7) | (Bit10 << 6) |
  266     return Value;
  270     unsigned Bit8   = (Value >> 8) & 0x1;
  271     unsigned Bit7_6 = (Value >> 6) & 0x3;
  272     unsigned Bit5   = (Value >> 5) & 0x1;
  273     unsigned Bit4_3 = (Value >> 3) & 0x3;
  274     unsigned Bit2_1 = (Value >> 1) & 0x3;
  275     Value = (Bit8 << 12) | (Bit4_3 << 10) | (Bit7_6 << 5) | (Bit2_1 << 3) |
  277     return Value;