Home | History | Annotate | Download | only in TableGen

Lines Matching defs:Decoder

1 //===------------ FixedLenDecoderEmitter.cpp - Decoder Generator ----------===//
10 // It contains the tablegen backend that emits the decoder functions for
35 #define DEBUG_TYPE "decoder-emitter"
46 std::string Decoder;
49 : Decoder(D) { }
98 // Emit the decoder state machine table.
214 /// which could have been used by the decoder to resolve the conflict. The
215 /// decoder could try to decode the even/odd register numbering and assign to
216 /// VST4q8a or VST4q8b, but for the time being, the decoder chooses the "a"
719 // Emit the decoder state machine table.
824 // Decoder index.
902 // The decoder function is just a big switch statement based on the
903 // input decoder index.
908 << "Address, const void *Decoder) {\n";
1067 const std::string &Decoder = OpInfo.Decoder;
1084 if (Decoder != "")
1085 o.indent(Indentation) << Emitter->GuardPrefix << Decoder
1086 << "(MI, tmp, Address, Decoder)"
1100 // If a custom instruction decoder was specified, use that.
1101 if (I->numFields() == 0 && I->Decoder.size()) {
1102 OS.indent(Indentation) << Emitter->GuardPrefix << I->Decoder
1103 << "(MI, insn, Address, Decoder)"
1115 SmallString<256> Decoder;
1118 raw_svector_ostream S(Decoder);
1123 // Using the full decoder string as the key value here is a bit
1130 Decoders.insert(Decoder.str());
1134 Decoder.str());
1358 // Decoder index
1714 // of trying to auto-generate the decoder.
1835 std::string Decoder = "";
1842 Decoder = String->getValue();
1844 if (Decoder == "" &&
1859 Decoder
1862 Decoder = "DecodePointerLikeRegClass" +
1871 Decoder = String->getValue();
1873 OperandInfo OpInfo(Decoder);
1917 std::string Decoder = "";
1923 // decoder methods, and operands with (simple) MIOperandInfo's.
1931 Decoder = "Decode" + TypeRecord->getName() + "RegisterClass";
1934 Decoder = "DecodePointerLikeRegClass" +
1943 Decoder = String->getValue();
1945 OperandInfo OpInfo(Decoder);
2135 << " << \", using decoder \" << DecodeIdx << \"\\n\" );\n"
2209 // Emit the decoder for this namespace+width combination.
2213 // The decode table is cleared for each top level decoder function. The
2239 // Emit the decoder function.
2242 // Emit the main entry point for the decoder, decodeInstruction().