Lines Matching defs:encoder
791 const MipsEncodingMap *encoder = &EncodingMap[lir->opcode];
792 uint32_t bits = encoder->skeleton;
798 switch (encoder->field_loc[i].kind) {
802 if (encoder->field_loc[i].start == 0 && encoder->field_loc[i].end == 31) {
805 value = (operand << encoder->field_loc[i].start) &
806 ((1 << (encoder->field_loc[i].end + 1)) - 1);
812 bits |= (value << encoder->field_loc[i].start);
813 bits |= (value << encoder->field_loc[i].end);
821 value = (RegStorage::RegNum(operand) << encoder->field_loc[i].start) &
822 ((1 << (encoder->field_loc[i].end + 1)) - 1);
828 value = (RegStorage::RegNum(operand) << encoder->field_loc[i].start) &
829 ((1 << (encoder->field_loc[i].end + 1)) - 1);
833 LOG(FATAL) << "Bad encoder format: " << encoder->field_loc[i].kind;
842 if (encoder->size == 8) {