/external/llvm-project/llvm/unittests/ADT/ |
D | StringExtrasTest.cpp | 195 EXPECT_EQ("0", utostr(0)); in TEST() 196 EXPECT_EQ("0", utostr(0, /*isNeg=*/false)); in TEST() 197 EXPECT_EQ("1", utostr(1)); in TEST() 198 EXPECT_EQ("1", utostr(1, /*isNeg=*/false)); in TEST() 199 EXPECT_EQ(std::to_string(MaxUint64), utostr(MaxUint64)); in TEST() 200 EXPECT_EQ(std::to_string(MaxUint64), utostr(MaxUint64, /*isNeg=*/false)); in TEST() 202 EXPECT_EQ("-0", utostr(0, /*isNeg=*/true)); in TEST() 203 EXPECT_EQ("-1", utostr(1, /*isNeg=*/true)); in TEST() 204 EXPECT_EQ("-" + std::to_string(MaxInt64), utostr(MaxInt64, /*isNeg=*/true)); in TEST() 207 utostr(MinusMinInt64, /*isNeg=*/true)); in TEST() [all …]
|
/external/llvm/lib/Target/AArch64/Utils/ |
D | AArch64BaseInfo.cpp | 113 return "S" + utostr(Op0) + "_" + utostr(Op1) + "_C" + utostr(CRn) + "_C" + in genericRegisterString() 114 utostr(CRm) + "_" + utostr(Op2); in genericRegisterString()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/Utils/ |
D | AArch64BaseInfo.cpp | 155 return "S" + utostr(Op0) + "_" + utostr(Op1) + "_C" + utostr(CRn) + "_C" + in genericRegisterString() 156 utostr(CRm) + "_" + utostr(Op2); in genericRegisterString()
|
/external/llvm-project/llvm/lib/Target/AArch64/Utils/ |
D | AArch64BaseInfo.cpp | 155 return "S" + utostr(Op0) + "_" + utostr(Op1) + "_C" + utostr(CRn) + "_C" + in genericRegisterString() 156 utostr(CRm) + "_" + utostr(Op2); in genericRegisterString()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
D | WebAssemblyInstPrinter.cpp | 84 printAnnotation(OS, "label" + utostr(ControlFlowCounter) + ':'); in printInst() 115 OS, "label" + utostr(ControlFlowStack.pop_back_val().first) + ':'); in printInst() 125 OS, "label" + utostr(ControlFlowStack.pop_back_val().first) + ':'); in printInst() 135 printAnnotation(OS, "catch" + utostr(EHPadStack.pop_back_val()) + ':'); in printInst() 149 printAnnotation(OS, "down to catch" + utostr(EHPadStack.back())); in printInst() 176 printAnnotation(OS, utostr(Depth) + ": " + in printInst() 178 utostr(Pair.first)); in printInst()
|
/external/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
D | WebAssemblyInstPrinter.cpp | 95 printAnnotation(OS, "label" + utostr(ControlFlowCounter) + ':'); in printInst() 126 OS, "label" + utostr(ControlFlowStack.pop_back_val().first) + ':'); in printInst() 136 OS, "label" + utostr(ControlFlowStack.pop_back_val().first) + ':'); in printInst() 146 printAnnotation(OS, "catch" + utostr(EHPadStack.pop_back_val()) + ':'); in printInst() 160 printAnnotation(OS, "down to catch" + utostr(EHPadStack.back())); in printInst() 187 printAnnotation(OS, utostr(Depth) + ": " + in printInst() 189 utostr(Pair.first)); in printInst()
|
/external/llvm/lib/Target/WebAssembly/InstPrinter/ |
D | WebAssemblyInstPrinter.cpp | 75 printAnnotation(OS, "label" + utostr(TopLabel) + ':'); in printInst() 85 OS, "label" + utostr(ControlFlowStack.pop_back_val().first) + ':'); in printInst() 89 OS, "label" + utostr(ControlFlowStack.pop_back_val().first) + ':'); in printInst() 106 printAnnotation(OS, utostr(Depth) + ": " + (Pair.second ? "up" : "down") + in printInst() 107 " to label" + utostr(Pair.first)); in printInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 1381 std::string R1 = r + utostr(RegPairNum + 1); in processInstruction() 1385 std::string R2 = r + utostr(RegPairNum); in processInstruction() 1396 std::string R1 = r + utostr(RegPairNum + 1); in processInstruction() 1400 std::string R2 = r + utostr(RegPairNum); in processInstruction() 1412 std::string R1 = r + utostr(RegPairNum + 1); in processInstruction() 1416 std::string R2 = r + utostr(RegPairNum); in processInstruction() 1429 std::string R1 = v + utostr(RegPairNum + 1); in processInstruction() 1432 std::string R2 = v + utostr(RegPairNum); in processInstruction() 1744 std::string R1 = r + utostr(RegPairNum + 1); in processInstruction() 1748 std::string R2 = r + utostr(RegPairNum); in processInstruction() [all …]
|
/external/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 1602 std::string R1 = r + llvm::utostr(RegPairNum + 1); in processInstruction() 1606 std::string R2 = r + llvm::utostr(RegPairNum); in processInstruction() 1617 std::string R1 = r + llvm::utostr(RegPairNum + 1); in processInstruction() 1621 std::string R2 = r + llvm::utostr(RegPairNum); in processInstruction() 1633 std::string R1 = r + llvm::utostr(RegPairNum + 1); in processInstruction() 1637 std::string R2 = r + llvm::utostr(RegPairNum); in processInstruction() 1650 std::string R1 = v + llvm::utostr(RegPairNum + 1); in processInstruction() 1653 std::string R2 = v + llvm::utostr(RegPairNum); in processInstruction() 1973 std::string R1 = r + llvm::utostr(RegPairNum + 1); in processInstruction() 1977 std::string R2 = r + llvm::utostr(RegPairNum); in processInstruction() [all …]
|
/external/llvm/utils/TableGen/ |
D | CodeEmitterGen.cpp | 127 " op = " + EncoderMethodName + "(MI, " + utostr(OpIdx); in AddCodeToMergeInOperand() 133 " op = getMachineOpValue(MI, MI.getOperand(" + utostr(OpIdx) + ")"; in AddCodeToMergeInOperand() 165 Case += " Value |= (op & UINT64_C(" + utostr(opMask) + ")) << " + in AddCodeToMergeInOperand() 168 Case += " Value |= (op & UINT64_C(" + utostr(opMask) + ")) >> " + in AddCodeToMergeInOperand() 171 Case += " Value |= op & UINT64_C(" + utostr(opMask) + ");\n"; in AddCodeToMergeInOperand()
|
/external/llvm-project/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 1302 const std::string R1 = r + utostr(RegPair.first); in processInstruction() 1303 const std::string R2 = r + utostr(RegPair.second); in processInstruction() 1756 std::string R1 = r + utostr(RegPairNum + 1); in processInstruction() 1760 std::string R2 = r + utostr(RegPairNum); in processInstruction() 1782 std::string Name = r + utostr(RegNum) + Colon + utostr(RegNum - 1); in processInstruction() 1787 std::string Name = r + utostr(RegNum + 1) + Colon + utostr(RegNum); in processInstruction() 1799 std::string Name = r + utostr(RegNum) + Colon + utostr(RegNum - 1); in processInstruction() 1804 std::string Name = r + utostr(RegNum + 1) + Colon + utostr(RegNum); in processInstruction() 1816 std::string Name = r + utostr(RegNum) + Colon + utostr(RegNum - 1); in processInstruction() 1821 std::string Name = r + utostr(RegNum + 1) + Colon + utostr(RegNum); in processInstruction() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | StringExtras.h | 78 static inline std::string utostr(uint64_t X, bool isNeg = false) { 96 return utostr(static_cast<uint64_t>(-X), true); in itostr() 98 return utostr(static_cast<uint64_t>(X)); in itostr()
|
/external/capstone/arch/AArch64/ |
D | AArch64BaseInfo.c | 81 static char *utostr(uint64_t X, bool isNeg) in utostr() function 671 Op0S = utostr(Op0, false); in A64SysRegMapper_toString() 672 Op1S = utostr(Op1, false); in A64SysRegMapper_toString() 673 CRnS = utostr(CRn, false); in A64SysRegMapper_toString() 674 CRmS = utostr(CRm, false); in A64SysRegMapper_toString() 675 Op2S = utostr(Op2, false); in A64SysRegMapper_toString()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 35 using llvm::utostr; 1416 buf += utostr(ObjCBcLabelNo.back()); in RewriteBreakStmt() 1433 buf += utostr(ObjCBcLabelNo.back()); in RewriteContinueStmt() 1589 buf += utostr(ObjCBcLabelNo.back()); in RewriteObjCForCollectionStmt() 1601 buf += utostr(ObjCBcLabelNo.back()); in RewriteObjCForCollectionStmt() 2492 S += utostr(NumObjCStringLiterals++); in RewriteObjCStringLiteral() 2503 Preamble += utostr(Exp->getString()->getByteLength()) + "};\n"; in RewriteObjCStringLiteral() 3242 "_" + utostr(BlockByRefDeclNo[VD]) ; in RewriteByRefString() 3258 funcName.str() + "_" + "block_func_" + utostr(i); in SynthesizeBlockFunc() 3350 S += "_block_copy_" + utostr(i); in SynthesizeBlockHelperFuncs() [all …]
|
D | RewriteModernObjC.cpp | 36 using llvm::utostr; 1609 buf += utostr(ObjCBcLabelNo.back()); in RewriteBreakStmt() 1621 LineString += utostr(PLoc.getLine()); in ConvertSourceLocationToLineDirective() 1639 buf += utostr(ObjCBcLabelNo.back()); in RewriteContinueStmt() 1798 buf += utostr(ObjCBcLabelNo.back()); in RewriteObjCForCollectionStmt() 1810 buf += utostr(ObjCBcLabelNo.back()); in RewriteObjCForCollectionStmt() 2568 S += utostr(NumObjCStringLiterals++); in RewriteObjCStringLiteral() 2579 Preamble += utostr(Exp->getString()->getByteLength()) + "};\n"; in RewriteObjCStringLiteral() 3062 LineString += utostr(PLoc.getLine()); in RewriteLineDirective() 3106 std::string name = "__Stret"; name += utostr(stretCount); in SynthMsgSendStretCallExpr() [all …]
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 35 using llvm::utostr; 1425 buf += utostr(ObjCBcLabelNo.back()); in RewriteBreakStmt() 1442 buf += utostr(ObjCBcLabelNo.back()); in RewriteContinueStmt() 1598 buf += utostr(ObjCBcLabelNo.back()); in RewriteObjCForCollectionStmt() 1610 buf += utostr(ObjCBcLabelNo.back()); in RewriteObjCForCollectionStmt() 2501 S += utostr(NumObjCStringLiterals++); in RewriteObjCStringLiteral() 2512 Preamble += utostr(Exp->getString()->getByteLength()) + "};\n"; in RewriteObjCStringLiteral() 3255 "_" + utostr(BlockByRefDeclNo[VD]) ; in RewriteByRefString() 3271 funcName.str() + "_" + "block_func_" + utostr(i); in SynthesizeBlockFunc() 3363 S += "_block_copy_" + utostr(i); in SynthesizeBlockHelperFuncs() [all …]
|
D | RewriteModernObjC.cpp | 36 using llvm::utostr; 1616 buf += utostr(ObjCBcLabelNo.back()); in RewriteBreakStmt() 1628 LineString += utostr(PLoc.getLine()); in ConvertSourceLocationToLineDirective() 1646 buf += utostr(ObjCBcLabelNo.back()); in RewriteContinueStmt() 1805 buf += utostr(ObjCBcLabelNo.back()); in RewriteObjCForCollectionStmt() 1817 buf += utostr(ObjCBcLabelNo.back()); in RewriteObjCForCollectionStmt() 2574 S += utostr(NumObjCStringLiterals++); in RewriteObjCStringLiteral() 2585 Preamble += utostr(Exp->getString()->getByteLength()) + "};\n"; in RewriteObjCStringLiteral() 3063 LineString += utostr(PLoc.getLine()); in RewriteLineDirective() 3106 std::string name = "__Stret"; name += utostr(stretCount); in SynthMsgSendStretCallExpr() [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | StringExtras.h | 79 static inline std::string utostr(uint64_t X, bool isNeg = false) { 97 return utostr(static_cast<uint64_t>(-X), true); in itostr() 99 return utostr(static_cast<uint64_t>(X)); in itostr()
|
/external/llvm-project/llvm/utils/TableGen/ |
D | CodeEmitterGen.cpp | 150 Case += " " + EncoderMethodName + "(MI, " + utostr(OpIdx); in AddCodeToMergeInOperand() 153 Case += " op = " + EncoderMethodName + "(MI, " + utostr(OpIdx); in AddCodeToMergeInOperand() 160 Case += " getMachineOpValue(MI, MI.getOperand(" + utostr(OpIdx) + ")"; in AddCodeToMergeInOperand() 163 Case += " op = getMachineOpValue(MI, MI.getOperand(" + utostr(OpIdx) + ")"; in AddCodeToMergeInOperand() 240 maskStr = "UINT64_C(" + utostr(opMask) + ")"; in AddCodeToMergeInOperand() 343 OS << ((I > 0) ? ", " : "") << "UINT64_C(" << utostr(Bits.getRawData()[I]) in emitInstBits()
|
/external/clang/utils/TableGen/ |
D | NeonEmitter.cpp | 569 S += utostr(ElementBitwidth); in str() 571 S += "x" + utostr(getNumElements()); in str() 573 S += "x" + utostr(NumVectors); in str() 629 Ret += "V" + utostr(getNumElements()) + S; in builtin_str() 989 S += utostr(T.getElementSizeInBits()); in getInstTypeCode() 1225 std::string Name = "p" + utostr(I); in emitArgumentReversal() 1226 std::string NewName = "rev" + utostr(I); in emitArgumentReversal() 1266 std::string Name = "p" + utostr(I); in emitShadowedArgs() 1271 std::string NewName = "s" + utostr(I); in emitShadowedArgs() 1321 Variable &V = Variables["p" + utostr(I)]; in emitBodyAsBuiltinCall() [all …]
|
/external/llvm-project/clang/utils/TableGen/ |
D | MveEmitter.cpp | 253 std::string suffix() const { return toLetter(Kind) + utostr(Bits); } in suffix() 255 return toCPrefix(Kind) + utostr(Bits); in cNameBase() 272 return "Int" + utostr(Bits) + "Ty"; in llvmName() 276 + utostr(Bits); in acleSuffix() 300 return Element->cNameBase() + "x" + utostr(Lanes); in cNameBase() 304 utostr(Lanes) + ")"; in llvmName() 327 return Element->cNameBase() + "x" + utostr(Registers); in cNameBase() 358 utostr(ModifiedLanes) + ")"; in llvmName() 446 return "Param" + utostr(ParamNumber); in allocParam() 588 utostr(ArgNum) + "), getContext())"; in getIntegerValue() [all …]
|
D | NeonEmitter.cpp | 620 S += utostr(ElementBitwidth); in str() 622 S += "x" + utostr(getNumElements()); in str() 624 S += "x" + utostr(NumVectors); in str() 685 Ret += "V" + utostr(getNumElements()) + S; in builtin_str() 986 S += utostr(T.getElementSizeInBits()); in getInstTypeCode() 1217 std::string Name = "p" + utostr(I); in emitArgumentReversal() 1218 std::string NewName = "rev" + utostr(I); in emitArgumentReversal() 1257 std::string Name = "p" + utostr(I); in emitShadowedArgs() 1262 std::string NewName = "s" + utostr(I); in emitShadowedArgs() 1300 Variable &V = Variables["p" + utostr(I)]; in emitBodyAsBuiltinCall() [all …]
|
/external/llvm-project/mlir/lib/Transforms/ |
D | ViewOpGraph.cpp | 118 return (op.getName().getStringRef() + llvm::utostr(unnamedOpCtr)).str(); in getOpName() 135 : ("__" + llvm::utostr(indexed_block.index())); in processModule()
|
/external/llvm-project/llvm/tools/llvm-opt-report/ |
D | OptReport.cpp | 292 unsigned VFDigits = llvm::utostr(MaxLI.VectorizationFactor).size(); in writeReport() 293 unsigned ICDigits = llvm::utostr(MaxLI.InterleaveCount).size(); in writeReport() 294 unsigned UCDigits = llvm::utostr(MaxLI.UnrollCount).size(); in writeReport() 301 unsigned LNDigits = llvm::utostr(NumLines).size(); in writeReport()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | StringExtras.h | 223 inline std::string utostr(uint64_t X, bool isNeg = false) { 240 return utostr(static_cast<uint64_t>(-X), true); in itostr() 242 return utostr(static_cast<uint64_t>(X)); in itostr()
|