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