Lines Matching defs:BitOffsetCase
63 std::string &BitOffsetCase);
66 std::string &BitOffsetCase,
99 std::string &BitOffsetCase,
272 BitOffsetCase += " case " + utostr(OpIdx) + ":\n";
273 BitOffsetCase += " // op: " + VarName + "\n";
274 BitOffsetCase += " return " + utostr(BitOffset) + ";\n";
282 std::string Case, BitOffsetCase;
286 BitOffsetCase += S;
332 BitOffsetCase);
337 return std::pair(std::move(Case), std::move(BitOffsetCase));
340 addInstructionCasesForEncoding(R, R, Target, Case, BitOffsetCase);
341 return std::pair(std::move(Case), std::move(BitOffsetCase));
346 std::string &BitOffsetCase) {
352 size_t OrigBitOffsetCaseSize = BitOffsetCase.size();
353 BitOffsetCase += " switch (OpNum) {\n";
354 size_t BitOffsetCaseSizeBeforeLoop = BitOffsetCase.size();
362 BitOffsetCase, Target);
365 if (BitOffsetCase.size() == BitOffsetCaseSizeBeforeLoop)
366 BitOffsetCase.resize(OrigBitOffsetCaseSize);
368 BitOffsetCase += " }\n";
549 std::string Case, BitOffsetCase;
550 std::tie(Case, BitOffsetCase) = getInstructionCases(R, Target);
553 BitOffsetCaseMap[BitOffsetCase].push_back(std::move(InstName));