Lines Matching defs:Indentation

100                  unsigned Indentation, unsigned BitWidth,
104 unsigned Indentation) const;
107 unsigned Indentation) const;
428 bool emitPredicateMatch(raw_ostream &o, unsigned &Indentation,
447 void emitBinaryParser(raw_ostream &o, unsigned &Indentation,
451 void emitDecoder(raw_ostream &OS, unsigned Indentation, unsigned Opc,
693 unsigned Indentation,
696 OS.indent(Indentation) << "static const uint8_t DecoderTable" << Namespace
699 Indentation += 2;
719 OS.indent(Indentation) << "MCD::OPC_ExtractField, " << Start << ", "
728 OS.indent(Indentation) << "MCD::OPC_FilterValue, ";
748 OS.indent(Indentation) << "MCD::OPC_CheckField, " << Start << ", "
766 OS.indent(Indentation) << "MCD::OPC_CheckPredicate, ";
792 OS.indent(Indentation) << "MCD::OPC_" << (IsTry ? "Try" : "")
826 OS.indent(Indentation) << "MCD::OPC_SoftFail";
858 OS.indent(Indentation) << "MCD::OPC_Fail,\n";
863 OS.indent(Indentation) << "0\n";
865 Indentation -= 2;
867 OS.indent(Indentation) << "};\n\n";
872 unsigned Indentation) const {
875 OS.indent(Indentation) << "static bool checkDecoderPredicate(unsigned Idx, "
877 Indentation += 2;
879 OS.indent(Indentation) << "switch (Idx) {\n";
880 OS.indent(Indentation) << "default: llvm_unreachable(\"Invalid index!\");\n";
883 OS.indent(Indentation) << "case " << Index++ << ":\n";
884 OS.indent(Indentation+2) << "return (" << Predicate << ");\n";
886 OS.indent(Indentation) << "}\n";
889 OS.indent(Indentation) << "llvm_unreachable(\"Invalid index!\");\n";
891 Indentation -= 2;
892 OS.indent(Indentation) << "}\n\n";
897 unsigned Indentation) const {
900 OS.indent(Indentation) << "template<typename InsnType>\n";
901 OS.indent(Indentation) << "static DecodeStatus decodeToMCInst(DecodeStatus S,"
903 OS.indent(Indentation) << " uint64_t "
905 Indentation += 2;
906 OS.indent(Indentation) << "DecodeComplete = true;\n";
907 OS.indent(Indentation) << "InsnType tmp;\n";
908 OS.indent(Indentation) << "switch (Idx) {\n";
909 OS.indent(Indentation) << "default: llvm_unreachable(\"Invalid index!\");\n";
912 OS.indent(Indentation) << "case " << Index++ << ":\n";
914 OS.indent(Indentation+2) << "return S;\n";
916 OS.indent(Indentation) << "}\n";
917 Indentation -= 2;
918 OS.indent(Indentation) << "}\n\n";
1037 void FilterChooser::emitBinaryParser(raw_ostream &o, unsigned &Indentation,
1043 o.indent(Indentation) << "tmp = 0;\n";
1046 o.indent(Indentation) << "tmp ";
1057 o.indent(Indentation) << Emitter->GuardPrefix << Decoder
1064 o.indent(Indentation) << "MI.addOperand(MCOperand::createImm(tmp));\n";
1068 void FilterChooser::emitDecoder(raw_ostream &OS, unsigned Indentation,
1076 OS.indent(Indentation) << Emitter->GuardPrefix << Op.Decoder
1085 emitBinaryParser(OS, Indentation, Op, OpHasCompleteDecoder);
1126 bool FilterChooser::emitPredicateMatch(raw_ostream &o, unsigned &Indentation,