Lines Matching defs:BitOffsetCase
65 std::string &BitOffsetCase);
68 std::string &BitOffsetCase,
102 std::string &BitOffsetCase,
275 BitOffsetCase += " case " + utostr(OpIdx) + ":\n";
276 BitOffsetCase += " // op: " + VarName + "\n";
277 BitOffsetCase += " return " + utostr(BitOffset) + ";\n";
286 std::string Case, BitOffsetCase;
290 BitOffsetCase += S;
336 BitOffsetCase);
341 return {std::move(Case), std::move(BitOffsetCase)};
344 addInstructionCasesForEncoding(R, R, Target, Case, BitOffsetCase);
345 return {std::move(Case), std::move(BitOffsetCase)};
350 std::string &Case, std::string &BitOffsetCase) {
356 size_t OrigBitOffsetCaseSize = BitOffsetCase.size();
357 BitOffsetCase += " switch (OpNum) {\n";
358 size_t BitOffsetCaseSizeBeforeLoop = BitOffsetCase.size();
366 BitOffsetCase, Target);
369 if (BitOffsetCase.size() == BitOffsetCaseSizeBeforeLoop)
370 BitOffsetCase.resize(OrigBitOffsetCaseSize);
372 BitOffsetCase += " }\n";
550 std::string Case, BitOffsetCase;
551 std::tie(Case, BitOffsetCase) = getInstructionCases(R, Target);
554 BitOffsetCaseMap[BitOffsetCase].push_back(std::move(InstName));