22 if ((MI->
getOpcode() != NVPTX::LD_i32_avar) &&
32 #define DATA_MASK 0x7f
34 #define MORE_BYTES 0x80
36 static int encode_leb128(uint64_t val,
int *nbytes,
char *space,
int splen) {
38 char *
end = space + splen;
69 for (
unsigned i = 0, e =
strlen(str); i != e; ++i)
70 temp64.a[i] = str[e - 1 - i];
78 assert(retval == 0 &&
"Encoding to leb128 failed");
81 "Cannot support register names with leb128 encoding > 8 bytes");
84 for (
int i = 0; i < nbytes; ++i)
85 temp64.a[i] = encoded[i];
const_iterator end(StringRef path)
Get end iterator over path.
bool isImm() const
isImm - Tests if this is a MO_Immediate operand.
bool isParamLoad(const MachineInstr *MI)
const MachineOperand & getOperand(unsigned i) const
static int encode_leb128(uint64_t val, int *nbytes, char *space, int splen)
size_t strlen(const char *s);