Lines Matching refs:BitOffsetCase

63                                       std::string &BitOffsetCase);
66 std::string &BitOffsetCase,
99 std::string &BitOffsetCase, in addCodeToMergeInOperand() argument
267 BitOffsetCase += " case " + utostr(OpIdx) + ":\n"; in addCodeToMergeInOperand()
268 BitOffsetCase += " // op: " + VarName + "\n"; in addCodeToMergeInOperand()
269 BitOffsetCase += " return " + utostr(BitOffset) + ";\n"; in addCodeToMergeInOperand()
277 std::string Case, BitOffsetCase; in getInstructionCases() local
281 BitOffsetCase += S; in getInstructionCases()
293 BitOffsetCase); in getInstructionCases()
298 return std::make_pair(std::move(Case), std::move(BitOffsetCase)); in getInstructionCases()
301 addInstructionCasesForEncoding(R, R, Target, Case, BitOffsetCase); in getInstructionCases()
302 return std::make_pair(std::move(Case), std::move(BitOffsetCase)); in getInstructionCases()
307 std::string &BitOffsetCase) { in addInstructionCasesForEncoding() argument
313 size_t OrigBitOffsetCaseSize = BitOffsetCase.size(); in addInstructionCasesForEncoding()
314 BitOffsetCase += " switch (OpNum) {\n"; in addInstructionCasesForEncoding()
315 size_t BitOffsetCaseSizeBeforeLoop = BitOffsetCase.size(); in addInstructionCasesForEncoding()
323 BitOffsetCase, Target); in addInstructionCasesForEncoding()
326 if (BitOffsetCase.size() == BitOffsetCaseSizeBeforeLoop) in addInstructionCasesForEncoding()
327 BitOffsetCase.resize(OrigBitOffsetCaseSize); in addInstructionCasesForEncoding()
329 BitOffsetCase += " }\n"; in addInstructionCasesForEncoding()
508 std::string Case, BitOffsetCase; in run() local
509 std::tie(Case, BitOffsetCase) = getInstructionCases(R, Target); in run()
512 BitOffsetCaseMap[BitOffsetCase].push_back(std::move(InstName)); in run()