Home | History | Annotate | Download | only in TableGen

Lines Matching defs:Insn

372   // Populates the insn given the uid.
373 void insnWithID(insn_t &Insn, unsigned Opcode) const {
386 Insn.push_back(BIT_UNSET);
388 Insn.push_back(bitFromBits(Bits, i));
397 // Populates the field of the insn given the start position and the number of
402 bool fieldFromInsn(uint64_t &Field, insn_t &Insn, unsigned StartBit,
433 const insn_t &Insn) const;
510 insn_t Insn;
512 // Populates the insn given the uid.
513 Owner->insnWithID(Insn, Owner->Opcodes[i]);
517 bool ok = Owner->fieldFromInsn(Field, Insn, StartBit, NumBits);
906 << " unsigned Idx, InsnType insn, MCInst &MI,\n";
925 // Populates the field of the insn given the start position and the number of
930 bool FilterChooser::fieldFromInsn(uint64_t &Field, insn_t &Insn,
935 if (Insn[StartBit + i] == BIT_UNSET)
938 if (Insn[StartBit + i] == BIT_TRUE)
1011 const insn_t &Insn) const {
1024 Val = Value(Insn[i]);
1072 << "(insn, " << OI->Base << ", " << OI->Width
1079 << "(insn, " << OI->Base << ", " << OI->Width
1103 << "(MI, insn, Address, Decoder)"
1311 insn_t Insn;
1312 insnWithID(Insn, Opc);
1315 getIslands(StartBits, EndBits, FieldVals, Insn);
1426 insn_t Insn;
1428 insnWithID(Insn, Opcodes[i]);
1431 if (getIslands(StartBits, EndBits, FieldVals, Insn) > 0) {
1470 insn_t insn;
1472 insnWithID(insn, Opcodes[InsnIndex]);
1477 if (insn[BitIndex] == BIT_UNSET)
1483 if (insn[BitIndex] == BIT_UNSET)
1487 if (insn[BitIndex] != BIT_UNSET)
2029 << "static InsnType fieldFromInstruction(InsnType insn, unsigned startBit,\n"
2038 << " return (insn & fieldMask) >> startBit;\n"
2047 << " InsnType insn, uint64_t Address,\n"
2065 << " CurFieldValue = fieldFromInstruction(insn, Start, Len);\n"
2091 << " InsnType FieldValue = fieldFromInstruction(insn, Start, Len);\n"
2139 << " return decodeToMCInst(S, DecodeIdx, insn, MI, Address, DisAsm);\n"
2148 << " bool Fail = (insn & PositiveMask) || (~insn & NegativeMask);\n"