reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Analysis/OptimizationRemarkEmitter.h
   28 class Twine;
include/llvm/CodeGen/GlobalISel/Utils.h
   37 class Twine;
include/llvm/IR/DiagnosticPrinter.h
   27 class Twine;
include/llvm/IR/GlobalAlias.h
   23 class Twine;
include/llvm/IR/GlobalIFunc.h
   26 class Twine;
include/llvm/IR/LLVMContext.h
   37 class Twine;
include/llvm/IR/Mangler.h
   24 class Twine;
include/llvm/IR/Value.h
   51 class Twine;
include/llvm/MC/MCParser/MCAsmParserExtension.h
   20 class Twine;
include/llvm/MC/MCStreamer.h
   55 class Twine;
include/llvm/Support/ErrorHandling.h
   22   class Twine;
include/llvm/Support/Threading.h
   50 class Twine;
include/llvm/Support/YAMLParser.h
   56 class Twine;
lib/CodeGen/MIRParser/MILexer.h
   24 class Twine;
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
   38 class Twine;
lib/TableGen/TGLexer.h
   29 class Twine;
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h
   34 class Twine;
tools/clang/include/clang/Basic/LLVM.h
   29   class Twine;
tools/clang/lib/CodeGen/CodeGenFunction.h
   49 class Twine;
tools/lld/include/lld/Common/LLVM.h
   29 class Twine;
tools/lldb/include/lldb/Utility/DataBufferLLVM.h
   20 class Twine;
tools/llvm-diff/DifferenceEngine.h
   28   class Twine;

References

include/llvm/ADT/StringExtras.h
  199 inline bool to_float(const Twine &T, N &Num, N (*StrTo)(const char *, char **)) {
  211 inline bool to_float(const Twine &T, float &Num) {
  215 inline bool to_float(const Twine &T, double &Num) {
  219 inline bool to_float(const Twine &T, long double &Num) {
include/llvm/ADT/Triple.h
  262   explicit Triple(const Twine &Str);
  263   Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr);
  263   Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr);
  263   Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr);
  264   Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
  264   Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
  264   Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
  265          const Twine &EnvironmentStr);
  767   void setTriple(const Twine &Str);
include/llvm/ADT/Twine.h
  138       const Twine *twine;
  174     explicit Twine(const Twine &LHS, const Twine &RHS)
  174     explicit Twine(const Twine &LHS, const Twine &RHS)
  260     Twine(const Twine &) = default;
  374     Twine &operator=(const Twine &) = delete;
  374     Twine &operator=(const Twine &) = delete;
  378     static Twine createNull() {
  387     static Twine utohexstr(const uint64_t &Val) {
  425     Twine concat(const Twine &Suffix) const;
  425     Twine concat(const Twine &Suffix) const;
  488   inline Twine Twine::concat(const Twine &Suffix) const {
  488   inline Twine Twine::concat(const Twine &Suffix) const {
  517   inline Twine operator+(const Twine &LHS, const Twine &RHS) {
  517   inline Twine operator+(const Twine &LHS, const Twine &RHS) {
  517   inline Twine operator+(const Twine &LHS, const Twine &RHS) {
  524   inline Twine operator+(const char *LHS, const StringRef &RHS) {
  531   inline Twine operator+(const StringRef &LHS, const char *RHS) {
  535   inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) {
include/llvm/Analysis/BlockFrequencyInfoImpl.h
  569   auto MachineName = "BB" + Twine(BB->getNumber());
  569   auto MachineName = "BB" + Twine(BB->getNumber());
include/llvm/BinaryFormat/Magic.h
   74 std::error_code identify_magic(const Twine &path, file_magic &result);
include/llvm/CodeGen/AsmPrinter.h
  448   MCSymbol *createTempSymbol(const Twine &Name) const;
include/llvm/CodeGen/MachineBlockFrequencyInfo.h
   71   void view(const Twine &Name, bool isSimple = true) const;
include/llvm/CodeGen/MachineScheduler.h
  345   void viewGraph(const Twine &Name, const Twine &Title) override;
  345   void viewGraph(const Twine &Name, const Twine &Title) override;
  533   ReadyQueue(unsigned id, const Twine &name): ID(id), Name(name.str()) {}
  683   SchedBoundary(unsigned ID, const Twine &Name):
include/llvm/CodeGen/ScheduleDAG.h
  587     virtual void viewGraph(const Twine &Name, const Twine &Title);
  587     virtual void viewGraph(const Twine &Name, const Twine &Title);
include/llvm/DebugInfo/CodeView/CodeViewError.h
   46                   StringError>::ErrorInfo; // inherit constructors
   47   CodeViewError(const Twine &S) : ErrorInfo(S, cv_error_code::unspecified) {}
include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
   35   virtual void AddComment(const Twine &T) = 0;
   36   virtual void AddRawComment(const Twine &T) = 0;
   66   Error mapInteger(TypeIndex &TypeInd, const Twine &Comment = "");
   99   template <typename T> Error mapInteger(T &Value, const Twine &Comment = "") {
  113   template <typename T> Error mapEnum(T &Value, const Twine &Comment = "") {
  132   Error mapEncodedInteger(int64_t &Value, const Twine &Comment = "");
  133   Error mapEncodedInteger(uint64_t &Value, const Twine &Comment = "");
  134   Error mapEncodedInteger(APSInt &Value, const Twine &Comment = "");
  135   Error mapStringZ(StringRef &Value, const Twine &Comment = "");
  136   Error mapGuid(GUID &Guid, const Twine &Comment = "");
  139                           const Twine &Comment = "");
  143                    const Twine &Comment = "") {
  180                       const Twine &Comment = "") {
  199   Error mapByteVectorTail(ArrayRef<uint8_t> &Bytes, const Twine &Comment = "");
  201                           const Twine &Comment = "");
  212   void emitRawComment(const Twine &T) {
  219                                 const Twine &Comment = "");
  221                                   const Twine &Comment = "");
  235   void emitComment(const Twine &Comment) {
  237       Twine TComment(Comment);
include/llvm/DebugInfo/MSF/MSFError.h
   45   using ErrorInfo<MSFError, StringError>::ErrorInfo; // inherit constructors
   46   MSFError(const Twine &S) : ErrorInfo(S, msf_error_code::unspecified) {}
include/llvm/DebugInfo/PDB/GenericError.h
   45   using ErrorInfo<PDBError, StringError>::ErrorInfo; // inherit constructors
   46   PDBError(const Twine &S) : ErrorInfo(S, pdb_error_code::unspecified) {}
include/llvm/DebugInfo/PDB/Native/RawError.h
   52   using ErrorInfo<RawError, StringError>::ErrorInfo; // inherit constructors
   53   RawError(const Twine &S) : ErrorInfo(S, raw_error_code::unspecified) {}
include/llvm/ExecutionEngine/JITLink/JITLink.h
   46   JITLinkError(Twine ErrMsg) : ErrMsg(ErrMsg.str()) {}
include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
  417 GlobalVariable *createImplPointer(PointerType &PT, Module &M, const Twine &Name,
include/llvm/IR/Argument.h
   38   explicit Argument(Type *Ty, const Twine &Name = "", Function *F = nullptr,
include/llvm/IR/BasicBlock.h
   76   explicit BasicBlock(LLVMContext &C, const Twine &Name = "",
   99   static BasicBlock *Create(LLVMContext &Context, const Twine &Name = "",
  389   BasicBlock *splitBasicBlock(iterator I, const Twine &BBName = "");
  390   BasicBlock *splitBasicBlock(Instruction *I, const Twine &BBName = "") {
include/llvm/IR/DiagnosticInfo.h
  133   const Twine &MsgStr;
  141   DiagnosticInfoInlineAsm(const Twine &MsgStr,
  149   DiagnosticInfoInlineAsm(unsigned LocCookie, const Twine &MsgStr,
  159   DiagnosticInfoInlineAsm(const Instruction &I, const Twine &MsgStr,
  163   const Twine &getMsgStr() const { return MsgStr; }
  285                               const Twine &Msg,
  289   DiagnosticInfoSampleProfile(StringRef FileName, const Twine &Msg,
  293   DiagnosticInfoSampleProfile(const Twine &Msg,
  306   const Twine &getMsg() const { return Msg; }
  317   const Twine &Msg;
  323   DiagnosticInfoPGOProfile(const char *FileName, const Twine &Msg,
  335   const Twine &getMsg() const { return Msg; }
  342   const Twine &Msg;
  654                                const DiagnosticLocation &Loc, const Twine &Msg)
  711                      const DiagnosticLocation &Loc, const Twine &Msg)
  752                            const DiagnosticLocation &Loc, const Twine &Msg)
  800                              const Twine &Msg)
  819                              const DiagnosticLocation &Loc, const Twine &Msg)
  861                                       const Twine &Msg)
  902                                      const Twine &Msg)
  958                                     const Twine &Msg)
  982   Twine Msg;
  992       const Function &Fn, const Twine &Msg,
 1002   const Twine &getMessage() const { return Msg; }
 1010     DiagnosticInfoMisExpect(const Instruction *Inst, Twine &Msg);
 1019   const Twine &getMsg() const { return Msg; }
 1023   const Twine &Msg;
include/llvm/IR/DiagnosticPrinter.h
   50   virtual DiagnosticPrinter &operator<<(const Twine &Str) = 0;
   83   DiagnosticPrinter &operator<<(const Twine &Str) override;
include/llvm/IR/Dominators.h
  183   void viewGraph(const Twine &Name, const Twine &Title);
  183   void viewGraph(const Twine &Name, const Twine &Title);
include/llvm/IR/Function.h
  123            const Twine &N = "", Module *M = nullptr);
  136                           unsigned AddrSpace, const Twine &N = "",
  143                           const Twine &N = "", Module *M = nullptr) {
  152                           const Twine &N, Module &M);
include/llvm/IR/GlobalAlias.h
   32               const Twine &Name, Constant *Aliasee, Module *Parent);
   41                              LinkageTypes Linkage, const Twine &Name,
   46                              LinkageTypes Linkage, const Twine &Name,
   51                              LinkageTypes Linkage, const Twine &Name,
   55   static GlobalAlias *create(LinkageTypes Linkage, const Twine &Name,
   59   static GlobalAlias *create(const Twine &Name, GlobalValue *Aliasee);
include/llvm/IR/GlobalIFunc.h
   37               const Twine &Name, Constant *Resolver, Module *Parent);
   46                              LinkageTypes Linkage, const Twine &Name,
include/llvm/IR/GlobalIndirectSymbol.h
   31       LinkageTypes Linkage, const Twine &Name, Constant *Symbol);
include/llvm/IR/GlobalObject.h
   47                LinkageTypes Linkage, const Twine &Name,
include/llvm/IR/GlobalValue.h
   77               LinkageTypes Linkage, const Twine &Name, unsigned AddressSpace)
include/llvm/IR/GlobalVariable.h
   55                  Constant *Initializer = nullptr, const Twine &Name = "",
   62                  const Twine &Name = "", GlobalVariable *InsertBefore = nullptr,
include/llvm/IR/IRBuilder.h
   63   void InsertHelper(Instruction *I, const Twine &Name,
   80   void InsertHelper(Instruction *I, const Twine &Name,
  329   GlobalVariable *CreateGlobalString(StringRef Str, const Twine &Name = "",
  639                              Value *PassThru = nullptr, const Twine &Name = "");
  649                                const Twine& Name = "");
  666                                    const Twine &Name = "");
  676                                    const Twine &Name = "");
  685                                    const Twine &Name = "");
  694                            ArrayRef<Value *> GCArgs, const Twine &Name = "");
  703       const Twine &Name = "");
  713                            ArrayRef<Value *> GCArgs, const Twine &Name = "");
  719                            const Twine &Name = "");
  727                              const Twine &Name = "");
  733                                  const Twine &Name = "");
  739                                   const Twine &Name = "");
  747                             const Twine &Name = "");
  750   CallInst *CreateMinNum(Value *LHS, Value *RHS, const Twine &Name = "") {
  755   CallInst *CreateMaxNum(Value *LHS, Value *RHS, const Twine &Name = "") {
  760   CallInst *CreateMinimum(Value *LHS, Value *RHS, const Twine &Name = "") {
  765   CallInst *CreateMaximum(Value *LHS, Value *RHS, const Twine &Name = "") {
  773                                   const Twine &Name = "");
  845   InstTy *Insert(InstTy *I, const Twine &Name = "") const {
  852   Constant *Insert(Constant *C, const Twine& = "") const {
  947                            const Twine &Name = "") {
  955                            const Twine &Name = "") {
  963                            const Twine &Name = "") {
  971                            const Twine &Name = "") {
  980                            const Twine &Name = "") {
  991                            const Twine &Name = "") {
 1003                            const Twine &Name = "") {
 1012                            const Twine &Name = "") {
 1021                            const Twine &Name = "") {
 1029                            const Twine &Name = "") {
 1045                                      const Twine &Name = "") {
 1051                                const Twine &Name = "") {
 1057                                    const Twine &Name = "") {
 1075                                           const Twine &Name,
 1094                       Value *R, const Twine &Name) const {
 1133   Value *CreateAdd(Value *LHS, Value *RHS, const Twine &Name = "",
 1142   Value *CreateNSWAdd(Value *LHS, Value *RHS, const Twine &Name = "") {
 1146   Value *CreateNUWAdd(Value *LHS, Value *RHS, const Twine &Name = "") {
 1150   Value *CreateSub(Value *LHS, Value *RHS, const Twine &Name = "",
 1159   Value *CreateNSWSub(Value *LHS, Value *RHS, const Twine &Name = "") {
 1163   Value *CreateNUWSub(Value *LHS, Value *RHS, const Twine &Name = "") {
 1167   Value *CreateMul(Value *LHS, Value *RHS, const Twine &Name = "",
 1176   Value *CreateNSWMul(Value *LHS, Value *RHS, const Twine &Name = "") {
 1180   Value *CreateNUWMul(Value *LHS, Value *RHS, const Twine &Name = "") {
 1184   Value *CreateUDiv(Value *LHS, Value *RHS, const Twine &Name = "",
 1194   Value *CreateExactUDiv(Value *LHS, Value *RHS, const Twine &Name = "") {
 1198   Value *CreateSDiv(Value *LHS, Value *RHS, const Twine &Name = "",
 1208   Value *CreateExactSDiv(Value *LHS, Value *RHS, const Twine &Name = "") {
 1212   Value *CreateURem(Value *LHS, Value *RHS, const Twine &Name = "") {
 1217   Value *CreateSRem(Value *LHS, Value *RHS, const Twine &Name = "") {
 1222   Value *CreateShl(Value *LHS, Value *RHS, const Twine &Name = "",
 1231   Value *CreateShl(Value *LHS, const APInt &RHS, const Twine &Name = "",
 1237   Value *CreateShl(Value *LHS, uint64_t RHS, const Twine &Name = "",
 1243   Value *CreateLShr(Value *LHS, Value *RHS, const Twine &Name = "",
 1253   Value *CreateLShr(Value *LHS, const APInt &RHS, const Twine &Name = "",
 1258   Value *CreateLShr(Value *LHS, uint64_t RHS, const Twine &Name = "",
 1263   Value *CreateAShr(Value *LHS, Value *RHS, const Twine &Name = "",
 1273   Value *CreateAShr(Value *LHS, const APInt &RHS, const Twine &Name = "",
 1278   Value *CreateAShr(Value *LHS, uint64_t RHS, const Twine &Name = "",
 1283   Value *CreateAnd(Value *LHS, Value *RHS, const Twine &Name = "") {
 1293   Value *CreateAnd(Value *LHS, const APInt &RHS, const Twine &Name = "") {
 1297   Value *CreateAnd(Value *LHS, uint64_t RHS, const Twine &Name = "") {
 1309   Value *CreateOr(Value *LHS, Value *RHS, const Twine &Name = "") {
 1319   Value *CreateOr(Value *LHS, const APInt &RHS, const Twine &Name = "") {
 1323   Value *CreateOr(Value *LHS, uint64_t RHS, const Twine &Name = "") {
 1335   Value *CreateXor(Value *LHS, Value *RHS, const Twine &Name = "") {
 1340   Value *CreateXor(Value *LHS, const APInt &RHS, const Twine &Name = "") {
 1344   Value *CreateXor(Value *LHS, uint64_t RHS, const Twine &Name = "") {
 1348   Value *CreateFAdd(Value *L, Value *R, const Twine &Name = "",
 1362                        const Twine &Name = "") {
 1373   Value *CreateFSub(Value *L, Value *R, const Twine &Name = "",
 1387                        const Twine &Name = "") {
 1398   Value *CreateFMul(Value *L, Value *R, const Twine &Name = "",
 1412                        const Twine &Name = "") {
 1423   Value *CreateFDiv(Value *L, Value *R, const Twine &Name = "",
 1437                        const Twine &Name = "") {
 1448   Value *CreateFRem(Value *L, Value *R, const Twine &Name = "",
 1462                        const Twine &Name = "") {
 1474                      Value *LHS, Value *RHS, const Twine &Name = "",
 1485       const Twine &Name = "", MDNode *FPMathTag = nullptr,
 1502   Value *CreateNeg(Value *V, const Twine &Name = "",
 1512   Value *CreateNSWNeg(Value *V, const Twine &Name = "") {
 1516   Value *CreateNUWNeg(Value *V, const Twine &Name = "") {
 1520   Value *CreateFNeg(Value *V, const Twine &Name = "",
 1531                        const Twine &Name = "") {
 1539   Value *CreateNot(Value *V, const Twine &Name = "") {
 1546                     Value *V, const Twine &Name = "",
 1559                       const Twine &Name = "",
 1579                            Value *ArraySize = nullptr, const Twine &Name = "") {
 1584                            const Twine &Name = "") {
 1595   LoadInst *CreateLoad(Type *Ty, Value *Ptr, const Twine &Name = "") {
 1600                        const Twine &Name = "") {
 1610   LoadInst *CreateLoad(Value *Ptr, const Twine &Name = "") {
 1615   LoadInst *CreateLoad(Value *Ptr, bool isVolatile, const Twine &Name = "") {
 1634                               const Twine &Name = "") {
 1640                               bool isVolatile, const Twine &Name = "") {
 1653                               const Twine &Name = "") {
 1659                               const Twine &Name = "") {
 1673                          const Twine &Name = "") {
 1693                    const Twine &Name = "") {
 1698                    const Twine &Name = "") {
 1712                            const Twine &Name = "") {
 1717                            const Twine &Name = "") {
 1731   Value *CreateGEP(Value *Ptr, Value *Idx, const Twine &Name = "") {
 1735   Value *CreateGEP(Type *Ty, Value *Ptr, Value *Idx, const Twine &Name = "") {
 1743                            const Twine &Name = "") {
 1750   Value *CreateConstGEP1_32(Value *Ptr, unsigned Idx0, const Twine &Name = "") {
 1755                             const Twine &Name = "") {
 1765                                     const Twine &Name = "") {
 1775                             const Twine &Name = "") {
 1788                                     unsigned Idx1, const Twine &Name = "") {
 1801                             const Twine &Name = "") {
 1810   Value *CreateConstGEP1_64(Value *Ptr, uint64_t Idx0, const Twine &Name = "") {
 1815                                     const Twine &Name = "") {
 1825                                     const Twine &Name = "") {
 1830                             const Twine &Name = "") {
 1843                             const Twine &Name = "") {
 1848                                     uint64_t Idx1, const Twine &Name = "") {
 1861                                     const Twine &Name = "") {
 1866                          const Twine &Name = "") {
 1870   Value *CreateStructGEP(Value *Ptr, unsigned Idx, const Twine &Name = "") {
 1876   Constant *CreateGlobalStringPtr(StringRef Str, const Twine &Name = "",
 1889   Value *CreateTrunc(Value *V, Type *DestTy, const Twine &Name = "") {
 1893   Value *CreateZExt(Value *V, Type *DestTy, const Twine &Name = "") {
 1897   Value *CreateSExt(Value *V, Type *DestTy, const Twine &Name = "") {
 1904                            const Twine &Name = "") {
 1919                            const Twine &Name = "") {
 1931   Value *CreateFPToUI(Value *V, Type *DestTy, const Twine &Name = "") {
 1938   Value *CreateFPToSI(Value *V, Type *DestTy, const Twine &Name = "") {
 1945   Value *CreateUIToFP(Value *V, Type *DestTy, const Twine &Name = ""){
 1949   Value *CreateSIToFP(Value *V, Type *DestTy, const Twine &Name = ""){
 1954                        const Twine &Name = "") {
 1962   Value *CreateFPExt(Value *V, Type *DestTy, const Twine &Name = "") {
 1970                         const Twine &Name = "") {
 1975                         const Twine &Name = "") {
 1980                        const Twine &Name = "") {
 1985                              const Twine &Name = "") {
 1990                              const Twine &Name = "") {
 1999                              const Twine &Name = "") {
 2008                               const Twine &Name = "") {
 2017                     const Twine &Name = "") {
 2026                            const Twine &Name = "") {
 2035                                              const Twine &Name = "") {
 2049                        const Twine &Name = "") {
 2058                                 const Twine &Name = "") {
 2069   Value *CreateFPCast(Value *V, Type *DestTy, const Twine &Name = "") {
 2079       Instruction *FMFSource = nullptr, const Twine &Name = "",
 2119   Value *CreateICmpEQ(Value *LHS, Value *RHS, const Twine &Name = "") {
 2123   Value *CreateICmpNE(Value *LHS, Value *RHS, const Twine &Name = "") {
 2127   Value *CreateICmpUGT(Value *LHS, Value *RHS, const Twine &Name = "") {
 2131   Value *CreateICmpUGE(Value *LHS, Value *RHS, const Twine &Name = "") {
 2135   Value *CreateICmpULT(Value *LHS, Value *RHS, const Twine &Name = "") {
 2139   Value *CreateICmpULE(Value *LHS, Value *RHS, const Twine &Name = "") {
 2143   Value *CreateICmpSGT(Value *LHS, Value *RHS, const Twine &Name = "") {
 2147   Value *CreateICmpSGE(Value *LHS, Value *RHS, const Twine &Name = "") {
 2151   Value *CreateICmpSLT(Value *LHS, Value *RHS, const Twine &Name = "") {
 2155   Value *CreateICmpSLE(Value *LHS, Value *RHS, const Twine &Name = "") {
 2159   Value *CreateFCmpOEQ(Value *LHS, Value *RHS, const Twine &Name = "",
 2164   Value *CreateFCmpOGT(Value *LHS, Value *RHS, const Twine &Name = "",
 2169   Value *CreateFCmpOGE(Value *LHS, Value *RHS, const Twine &Name = "",
 2174   Value *CreateFCmpOLT(Value *LHS, Value *RHS, const Twine &Name = "",
 2179   Value *CreateFCmpOLE(Value *LHS, Value *RHS, const Twine &Name = "",
 2184   Value *CreateFCmpONE(Value *LHS, Value *RHS, const Twine &Name = "",
 2189   Value *CreateFCmpORD(Value *LHS, Value *RHS, const Twine &Name = "",
 2194   Value *CreateFCmpUNO(Value *LHS, Value *RHS, const Twine &Name = "",
 2199   Value *CreateFCmpUEQ(Value *LHS, Value *RHS, const Twine &Name = "",
 2204   Value *CreateFCmpUGT(Value *LHS, Value *RHS, const Twine &Name = "",
 2209   Value *CreateFCmpUGE(Value *LHS, Value *RHS, const Twine &Name = "",
 2214   Value *CreateFCmpULT(Value *LHS, Value *RHS, const Twine &Name = "",
 2219   Value *CreateFCmpULE(Value *LHS, Value *RHS, const Twine &Name = "",
 2224   Value *CreateFCmpUNE(Value *LHS, Value *RHS, const Twine &Name = "",
 2230                     const Twine &Name = "") {
 2238                     const Twine &Name = "", MDNode *FPMathTag = nullptr) {
 2250                      const Twine &Name = "") {
 2258                        ArrayRef<Value *> Args = None, const Twine &Name = "",
 2270                        const Twine &Name = "", MDNode *FPMathTag = nullptr) {
 2280                        const Twine &Name = "", MDNode *FPMathTag = nullptr) {
 2287                        const Twine &Name = "", MDNode *FPMathTag = nullptr) {
 2294                        const Twine &Name = "", MDNode *FPMathTag = nullptr) {
 2303                        const Twine &Name = "", MDNode *FPMathTag = nullptr) {
 2310                       const Twine &Name = "", Instruction *MDFrom = nullptr) {
 2327   VAArgInst *CreateVAArg(Value *List, Type *Ty, const Twine &Name = "") {
 2332                               const Twine &Name = "") {
 2340                               const Twine &Name = "") {
 2345                              const Twine &Name = "") {
 2354                              const Twine &Name = "") {
 2359                              const Twine &Name = "") {
 2368                              const Twine &Name = "") {
 2375                             const Twine &Name = "") {
 2383                            const Twine &Name = "") {
 2391                                    const Twine &Name = "") {
 2400   Value *CreateIsNull(Value *Arg, const Twine &Name = "") {
 2406   Value *CreateIsNotNull(Value *Arg, const Twine &Name = "") {
 2417   Value *CreatePtrDiff(Value *LHS, Value *RHS, const Twine &Name = "") {
 2486   Value *CreateVectorSplat(unsigned NumElts, Value *V, const Twine &Name = "") {
 2503                               const Twine &Name) {
include/llvm/IR/InstrTypes.h
  108                 const Twine &Name, Instruction *InsertBefore);
  110                 const Twine &Name, BasicBlock *InsertAtEnd);
  125                                const Twine &Name = Twine(),
  133                                const Twine &Name,
  160                                               const Twine &Name = "") {
  167                                       const Twine &Name = "") {
  193                  const Twine &Name, Instruction *InsertBefore);
  195                  const Twine &Name, BasicBlock *InsertAtEnd);
  217                                 const Twine &Name = Twine(),
  225                                 const Twine &Name, BasicBlock *InsertAtEnd);
  252                                                const Twine &Name = "") {
  260                                        const Twine &Name = "") {
  265                                        const Twine &Name = "") {
  270                                        const Twine &Name = "") {
  275                                        const Twine &Name = "") {
  280                                        const Twine &Name = "") {
  284                                        const Twine &Name = "") {
  290                                    const Twine &Name = "") {
  296                                    const Twine &Name, BasicBlock *BB) {
  302                                    const Twine &Name, Instruction *I) {
  309                                    const Twine &Name = "") {
  315                                    const Twine &Name, BasicBlock *BB) {
  321                                    const Twine &Name, Instruction *I) {
  328                                      const Twine &Name = "") {
  334                                      const Twine &Name, BasicBlock *BB) {
  340                                      const Twine &Name, Instruction *I) {
  381   static BinaryOperator *CreateNeg(Value *Op, const Twine &Name = "",
  383   static BinaryOperator *CreateNeg(Value *Op, const Twine &Name,
  385   static BinaryOperator *CreateNSWNeg(Value *Op, const Twine &Name = "",
  387   static BinaryOperator *CreateNSWNeg(Value *Op, const Twine &Name,
  389   static BinaryOperator *CreateNUWNeg(Value *Op, const Twine &Name = "",
  391   static BinaryOperator *CreateNUWNeg(Value *Op, const Twine &Name,
  393   static BinaryOperator *CreateFNeg(Value *Op, const Twine &Name = "",
  395   static BinaryOperator *CreateFNeg(Value *Op, const Twine &Name,
  397   static BinaryOperator *CreateNot(Value *Op, const Twine &Name = "",
  399   static BinaryOperator *CreateNot(Value *Op, const Twine &Name,
  443            const Twine &NameStr = "", Instruction *InsertBefore = nullptr)
  449            const Twine &NameStr, BasicBlock *InsertAtEnd)
  465     const Twine &Name = "", ///< Name for the instruction
  478     const Twine &Name, ///< The name for the instruction
  486     const Twine &Name = "", ///< Name for the instruction
  494     const Twine &Name, ///< The name for the instruction
  502     const Twine &Name = "", ///< Name for the instruction
  510     const Twine &Name, ///< The name for the instruction
  518     const Twine &Name, ///< The name for the instruction
  526     const Twine &Name = "", ///< Name for the instruction
  534     const Twine &Name, ///< The name for the instruction
  542     const Twine &Name = "", ///< Name for the instruction
  555     const Twine &Name = "", ///< Name for the instruction
  564     const Twine &Name = "", ///< Name for the instruction
  573     const Twine &Name, ///< The name for the instruction
  581     const Twine &Name = "", ///< Name for the instruction
  589     const Twine &Name, ///< The name for the instruction
  597     const Twine &Name = "", ///< Name for the instruction
  605     const Twine &Name, ///< The name for the instruction
  770           Value *LHS, Value *RHS, const Twine &Name = "",
  775           Value *LHS, Value *RHS, const Twine &Name,
  791                          Value *S2, const Twine &Name = "",
  799                          Value *S2, const Twine &Name, BasicBlock *InsertAtEnd);
 2140                           const Twine &NameStr, Instruction *InsertBefore);
 2143                           const Twine &NameStr, BasicBlock *InsertAtEnd);
 2145   void init(Value *ParentPad, ArrayRef<Value *> Args, const Twine &NameStr);
include/llvm/IR/Instructions.h
   71                       const Twine &Name = "",
   74              const Twine &Name, BasicBlock *InsertAtEnd);
   77              const Twine &Name, Instruction *InsertBefore = nullptr);
   79              const Twine &Name, BasicBlock *InsertAtEnd);
   82              const Twine &Name = "", Instruction *InsertBefore = nullptr);
   84              const Twine &Name, BasicBlock *InsertAtEnd);
  179   LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr = "",
  181   LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, BasicBlock *InsertAtEnd);
  182   LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile,
  184   LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile,
  186   LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile,
  188   LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile,
  190   LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile,
  194   LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile,
  199   explicit LoadInst(Value *Ptr, const Twine &NameStr = "",
  203   LoadInst(Value *Ptr, const Twine &NameStr, BasicBlock *InsertAtEnd)
  206   LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile,
  210   LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile,
  214   LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile, MaybeAlign Align,
  218   LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile, MaybeAlign Align,
  222   LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile, MaybeAlign Align,
  227   LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile, MaybeAlign Align,
  893                            const Twine &NameStr, Instruction *InsertBefore);
  896                            const Twine &NameStr, BasicBlock *InsertAtEnd);
  898   void init(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr);
  909                                    const Twine &NameStr = "",
  925                                    const Twine &NameStr,
  943                                            const Twine &NameStr = "",
  950                  const Twine &NameStr = "",
  960                                            const Twine &NameStr,
  967                                            const Twine &NameStr,
 1116                                      const Twine &NameStr,
 1130                                      const Twine &NameStr,
 1178     const Twine &NameStr = ""  ///< Name of the instruction
 1193     const Twine &NameStr = ""  ///< Name of the instruction
 1207     const Twine &NameStr = "" ///< Name of the instruction
 1318     const Twine &NameStr = ""  ///< Name of the instruction
 1331     const Twine &NameStr = ""  ///< Name of the instruction
 1343     const Twine &NameStr = "", ///< Name of the instruction
 1406                   ArrayRef<OperandBundleDef> Bundles, const Twine &NameStr,
 1410                   const Twine &NameStr, Instruction *InsertBefore)
 1416                   ArrayRef<OperandBundleDef> Bundles, const Twine &NameStr,
 1419   explicit CallInst(FunctionType *Ty, Value *F, const Twine &NameStr,
 1422   CallInst(FunctionType *ty, Value *F, const Twine &NameStr,
 1426             ArrayRef<OperandBundleDef> Bundles, const Twine &NameStr);
 1427   void init(FunctionType *FTy, Value *Func, const Twine &NameStr);
 1443   static CallInst *Create(FunctionType *Ty, Value *F, const Twine &NameStr = "",
 1449                           const Twine &NameStr,
 1457                           const Twine &NameStr = "",
 1467   static CallInst *Create(FunctionType *Ty, Value *F, const Twine &NameStr,
 1473                           const Twine &NameStr, BasicBlock *InsertAtEnd) {
 1480                           const Twine &NameStr, BasicBlock *InsertAtEnd) {
 1489   static CallInst *Create(FunctionCallee Func, const Twine &NameStr = "",
 1497                           const Twine &NameStr = "",
 1504                           const Twine &NameStr,
 1510   static CallInst *Create(FunctionCallee Func, const Twine &NameStr,
 1517                           const Twine &NameStr, BasicBlock *InsertAtEnd) {
 1524                           const Twine &NameStr, BasicBlock *InsertAtEnd) {
 1530   static CallInst *Create(Value *Func, const Twine &NameStr = "",
 1539                           const Twine &NameStr,
 1549                           const Twine &NameStr = "",
 1557   static CallInst *Create(Value *Func, const Twine &NameStr,
 1566                           const Twine &NameStr, BasicBlock *InsertAtEnd) {
 1575                           const Twine &NameStr, BasicBlock *InsertAtEnd) {
 1600                                    const Twine &Name = "");
 1605                                    const Twine &Name = "");
 1611                                    const Twine &Name = "");
 1617                                    const Twine &Name = "");
 1688                    ArrayRef<OperandBundleDef> Bundles, const Twine &NameStr,
 1699                    ArrayRef<OperandBundleDef> Bundles, const Twine &NameStr,
 1716   SelectInst(Value *C, Value *S1, Value *S2, const Twine &NameStr,
 1724   SelectInst(Value *C, Value *S1, Value *S2, const Twine &NameStr,
 1747                             const Twine &NameStr = "",
 1757                             const Twine &NameStr,
 1818   VAArgInst(Value *List, Type *Ty, const Twine &NameStr = "",
 1824   VAArgInst(Value *List, Type *Ty, const Twine &NameStr,
 1851   ExtractElementInst(Value *Vec, Value *Idx, const Twine &NameStr = "",
 1853   ExtractElementInst(Value *Vec, Value *Idx, const Twine &NameStr,
 1864                                    const Twine &NameStr = "",
 1870                                    const Twine &NameStr,
 1916                     const Twine &NameStr = "",
 1918   InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, const Twine &NameStr,
 1929                                    const Twine &NameStr = "",
 1935                                    const Twine &NameStr,
 1986                     const Twine &NameStr = "",
 1989                     const Twine &NameStr, BasicBlock *InsertAtEnd);
 2303                           const Twine &NameStr,
 2307                           const Twine &NameStr, BasicBlock *InsertAtEnd);
 2309   void init(ArrayRef<unsigned> Idxs, const Twine &NameStr);
 2320                                   const Twine &NameStr = "",
 2328                                   const Twine &NameStr,
 2380                                    const Twine &NameStr,
 2389                                    const Twine &NameStr,
 2414                          const Twine &NameStr,
 2418                          const Twine &NameStr, BasicBlock *InsertAtEnd);
 2423                   const Twine &NameStr = "",
 2425   InsertValueInst(Value *Agg, Value *Val, unsigned Idx, const Twine &NameStr,
 2429             const Twine &NameStr);
 2445                                  const Twine &NameStr = "",
 2452                                  const Twine &NameStr,
 2517                                  const Twine &NameStr,
 2528                                  const Twine &NameStr,
 2554                    const Twine &NameStr = "",
 2562   PHINode(Type *Ty, unsigned NumReservedValues, const Twine &NameStr,
 2587                          const Twine &NameStr = "",
 2593                          const Twine &NameStr, BasicBlock *InsertAtEnd) {
 2803                           const Twine &NameStr, Instruction *InsertBefore);
 2805                           const Twine &NameStr, BasicBlock *InsertAtEnd);
 2813   void init(unsigned NumReservedValues, const Twine &NameStr);
 2825                                 const Twine &NameStr = "",
 2828                                 const Twine &NameStr, BasicBlock *InsertAtEnd);
 3675                     const Twine &NameStr, Instruction *InsertBefore);
 3680                     const Twine &NameStr, BasicBlock *InsertAtEnd);
 3684             ArrayRef<OperandBundleDef> Bundles, const Twine &NameStr);
 3702                             const Twine &NameStr,
 3713                             const Twine &NameStr = "",
 3726                             const Twine &NameStr, BasicBlock *InsertAtEnd) {
 3736                             const Twine &NameStr, BasicBlock *InsertAtEnd) {
 3748                             const Twine &NameStr,
 3757                             const Twine &NameStr = "",
 3765                             const Twine &NameStr, BasicBlock *InsertAtEnd) {
 3773                             const Twine &NameStr, BasicBlock *InsertAtEnd) {
 3781                             const Twine &NameStr,
 3793                             const Twine &NameStr = "",
 3804                             const Twine &NameStr, BasicBlock *InsertAtEnd) {
 3814                             const Twine &NameStr, BasicBlock *InsertAtEnd) {
 3892                        const Twine &NameStr, Instruction *InsertBefore)
 3902                        const Twine &NameStr, BasicBlock *InsertAtEnd)
 3930                     const Twine &NameStr, Instruction *InsertBefore);
 3936                     const Twine &NameStr, BasicBlock *InsertAtEnd);
 3940             ArrayRef<OperandBundleDef> Bundles, const Twine &NameStr);
 3963                             ArrayRef<Value *> Args, const Twine &NameStr,
 3976                             const Twine &NameStr = "",
 3990                             ArrayRef<Value *> Args, const Twine &NameStr,
 4003                             const Twine &NameStr, BasicBlock *InsertAtEnd) {
 4015                             ArrayRef<Value *> Args, const Twine &NameStr,
 4025                             const Twine &NameStr = "",
 4033                             ArrayRef<Value *> Args, const Twine &NameStr,
 4044                             const Twine &NameStr, BasicBlock *InsertAtEnd) {
 4133                        const Twine &NameStr, Instruction *InsertBefore)
 4144                        const Twine &NameStr, BasicBlock *InsertAtEnd)
 4234                   unsigned NumHandlers, const Twine &NameStr,
 4242                   unsigned NumHandlers, const Twine &NameStr,
 4260                                  const Twine &NameStr = "",
 4267                                  unsigned NumHandlers, const Twine &NameStr,
 4396                           unsigned Values, const Twine &NameStr,
 4401                           unsigned Values, const Twine &NameStr,
 4408                                 const Twine &NameStr = "",
 4416                                 const Twine &NameStr, BasicBlock *InsertAtEnd) {
 4437                         unsigned Values, const Twine &NameStr,
 4442                         unsigned Values, const Twine &NameStr,
 4449                               const Twine &NameStr = "",
 4457                               const Twine &NameStr, BasicBlock *InsertAtEnd) {
 4725     const Twine &NameStr = "",          ///< A name for the new instruction
 4733     const Twine &NameStr,         ///< A name for the new instruction
 4764     const Twine &NameStr = "",          ///< A name for the new instruction
 4772     const Twine &NameStr,         ///< A name for the new instruction
 4803     const Twine &NameStr = "",          ///< A name for the new instruction
 4811     const Twine &NameStr,         ///< A name for the new instruction
 4842     const Twine &NameStr = "",          ///< A name for the new instruction
 4850     const Twine &NameStr,         ///< A name for the new instruction
 4881     const Twine &NameStr = "",          ///< A name for the new instruction
 4889     const Twine &NameStr,         ///< A name for the new instruction
 4920     const Twine &NameStr = "",          ///< A name for the new instruction
 4928     const Twine &NameStr,         ///< A name for the new instruction
 4959     const Twine &NameStr = "",          ///< A name for the new instruction
 4967     const Twine &NameStr,         ///< A name for the new instruction
 4998     const Twine &NameStr = "",          ///< A name for the new instruction
 5006     const Twine &NameStr,         ///< A name for the new instruction
 5037     const Twine &NameStr = "",          ///< A name for the new instruction
 5045     const Twine &NameStr,         ///< A name for the new instruction
 5072     const Twine &NameStr = "",          ///< A name for the new instruction
 5080     const Twine &NameStr,         ///< A name for the new instruction
 5119     const Twine &NameStr = "",          ///< A name for the new instruction
 5127     const Twine &NameStr,         ///< A name for the new instruction
 5170     const Twine &NameStr = "",          ///< A name for the new instruction
 5178     const Twine &NameStr,         ///< A name for the new instruction
 5210     const Twine &NameStr = "",          ///< A name for the new instruction
 5218     const Twine &NameStr,         ///< A name for the new instruction
include/llvm/IR/LLVMContext.h
  287   void emitError(unsigned LocCookie, const Twine &ErrorStr);
  288   void emitError(const Instruction *I, const Twine &ErrorStr);
  289   void emitError(const Twine &ErrorStr);
include/llvm/IR/Mangler.h
   43   static void getNameWithPrefix(raw_ostream &OS, const Twine &GVName,
   46                                 const Twine &GVName, const DataLayout &DL);
include/llvm/IR/Metadata.h
 1335   explicit NamedMDNode(const Twine &N);
include/llvm/IR/Module.h
  450   NamedMDNode *getNamedMetadata(const Twine &Name) const;
include/llvm/IR/Value.h
  260   void setNameImpl(const Twine &Name);
  275   void setName(const Twine &Name);
include/llvm/MC/MCContext.h
  349     MCSymbol *createTempSymbol(const Twine &Name, bool AlwaysAddSuffix,
  364     MCSymbol *getOrCreateSymbol(const Twine &Name);
  377     MCSymbol *lookupSymbol(const Twine &Name) const;
  424     MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
  429     MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
  431                                 const Twine &Group) {
  435     MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
  437                                 const Twine &Group, unsigned UniqueID) {
  442     MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
  444                                 const Twine &Group, unsigned UniqueID,
  447     MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
  456     MCSectionELF *getELFNamedSection(const Twine &Prefix, const Twine &Suffix,
  456     MCSectionELF *getELFNamedSection(const Twine &Prefix, const Twine &Suffix,
  460     MCSectionELF *createELFRelSection(const Twine &Name, unsigned Type,
  487     MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K) {
  491     MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
  496     MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
  497                                   const Twine &Group, unsigned UniqueID) {
  501     MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
  502                                   const Twine &Group, unsigned UniqueID,
  505     MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
  681     void reportError(SMLoc L, const Twine &Msg);
  682     void reportWarning(SMLoc L, const Twine &Msg);
  687                                                   const Twine &Msg);
include/llvm/MC/MCParser/MCAsmParser.h
  180   virtual void Note(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
  185   virtual bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
  192   bool Error(SMLoc L, const Twine &Msg, SMRange Range = None);
  198   virtual bool printError(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
  213   bool addErrorSuffix(const Twine &Suffix);
  223   bool TokError(const Twine &Msg, SMRange Range = None);
  226   bool parseToken(AsmToken::TokenKind T, const Twine &Msg = "unexpected token");
  231   bool parseEOL(const Twine &ErrMsg);
  235   bool parseIntToken(int64_t &V, const Twine &ErrMsg);
  237   bool check(bool P, const Twine &Msg);
  238   bool check(bool P, SMLoc Loc, const Twine &Msg);
include/llvm/MC/MCParser/MCAsmParserExtension.h
   70   bool Warning(SMLoc L, const Twine &Msg) {
   74   bool Error(SMLoc L, const Twine &Msg, SMRange Range = SMRange()) {
   78   void Note(SMLoc L, const Twine &Msg) {
   82   bool TokError(const Twine &Msg) {
   89                   const Twine &Msg = "unexpected token") {
  101   bool check(bool P, const Twine &Msg) {
  105   bool check(bool P, SMLoc Loc, const Twine &Msg) {
  109   bool addErrorSuffix(const Twine &Suffix) {
include/llvm/MC/MCStreamer.h
  317   virtual void AddComment(const Twine &T, bool EOL = true) {}
  328   virtual void emitRawComment(const Twine &T, bool TabPrefix = true);
  332   virtual void addExplicitComment(const Twine &T);
 1012   void EmitRawText(const Twine &String);
include/llvm/MC/MCWinCOFFStreamer.h
   77   void Error(const Twine &Msg) const;
include/llvm/Object/ELF.h
   47 static inline Error createError(const Twine &Err) {
   67 static inline Error defaultWarningHandler(const Twine &Msg) {
  107   using WarningHandler = llvm::function_ref<Error(const Twine &Msg)>;
  196                          Twine(getHeader()->e_phentsize));
  201                          Twine(getBufSize()) + ": e_phoff = 0x" +
  202                          Twine::utohexstr(getHeader()->e_phoff) +
  203                          ", e_phnum = " + Twine(getHeader()->e_phnum) +
  204                          ", e_phentsize = " + Twine(getHeader()->e_phentsize));
  222                         Twine::utohexstr(Phdr.p_offset) + ") or size (0x" +
  223                         Twine::utohexstr(Phdr.p_filesz) + ")");
  242                         Twine::utohexstr(Shdr.sh_offset) + ") or size (0x" +
  243                         Twine::utohexstr(Shdr.sh_size) + ")");
  328         Twine(ShndxTable.size()));
  395                        " has an invalid sh_entsize: " + Twine(Sec->sh_entsize));
  402                        " has an invalid sh_size (" + Twine(Size) +
  404                        Twine(Sec->sh_entsize) + ")");
  408                        " has a sh_offset (0x" + Twine::utohexstr(Offset) +
  409                        ") + sh_size (0x" + Twine(Size) +
  512                        Twine(getHeader()->e_shentsize));
  519         Twine::utohexstr(SectionTableOffset));
  536                        Twine(NumSections) + ")");
  542         Twine::utohexstr(SectionTableOffset) +
  545         Twine::utohexstr(NumSections) + ")");
  570                        ", but got " + Twine(Section->sh_entsize));
  575                        Twine::utohexstr(Pos) +
  646     return createError("SHT_SYMTAB_SHNDX has " + Twine(V.size()) +
  699                        Twine::utohexstr(Offset) +
include/llvm/Object/Error.h
   68   GenericBinaryError(Twine Msg);
   69   GenericBinaryError(Twine Msg, object_error ECOverride);
include/llvm/Object/WindowsResource.h
   94   EmptyResError(Twine Msg, object_error ECOverride)
include/llvm/ObjectYAML/yaml2obj.h
   47 using ErrorHandler = llvm::function_ref<void(const Twine &Msg)>;
include/llvm/Option/ArgList.h
  352   const char *MakeArgString(const Twine &Str) const {
include/llvm/ProfileData/InstrProfReader.h
  129   static Expected<std::unique_ptr<InstrProfReader>> create(const Twine &Path);
  495   create(const Twine &Path, const Twine &RemappingPath = "");
  495   create(const Twine &Path, const Twine &RemappingPath = "");
include/llvm/ProfileData/SampleProfReader.h
  379   void reportError(int64_t LineNumber, Twine Msg) const {
include/llvm/Support/CommandLine.h
  388   bool error(const Twine &Message, StringRef ArgName = StringRef(), raw_ostream &Errs = llvm::errs());
  389   bool error(const Twine &Message, raw_ostream &Errs) {
include/llvm/Support/Error.h
  330 template <typename ErrT, typename... ArgTs> Error make_error(ArgTs &&... Args) {
  331   return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...));
  346   using ParentErrT::ParentErrT; // inherit constructors
  982 void logAllUnhandledErrors(Error E, raw_ostream &OS, Twine ErrorBanner = {});
 1179   StringError(std::error_code EC, const Twine &S = Twine());
 1182   StringError(const Twine &S, std::error_code EC);
 1207 inline Error createStringError(std::error_code EC, const Twine &S) {
 1223   friend Error createFileError(const Twine &, Error);
 1224   friend Error createFileError(const Twine &, size_t, Error);
 1243   FileError(const Twine &F, Optional<size_t> LineNum,
 1253   static Error build(const Twine &F, Optional<size_t> Line, Error E) {
 1265 inline Error createFileError(const Twine &F, Error E) {
 1271 inline Error createFileError(const Twine &F, size_t Line, Error E) {
 1277 inline Error createFileError(const Twine &F, std::error_code EC) {
 1283 inline Error createFileError(const Twine &F, size_t Line, std::error_code EC) {
 1287 Error createFileError(const Twine &F, ErrorSuccess) = delete;
include/llvm/Support/ErrorHandling.h
   77 LLVM_ATTRIBUTE_NORETURN void report_fatal_error(const Twine &reason,
include/llvm/Support/FileCollector.h
   28   void addFile(const Twine &file);
include/llvm/Support/FileSystem.h
  304 void make_absolute(const Twine &current_directory, SmallVectorImpl<char> &path);
  325 std::error_code create_directories(const Twine &path,
  335 std::error_code create_directory(const Twine &path, bool IgnoreExisting = true,
  349 std::error_code create_link(const Twine &to, const Twine &from);
  349 std::error_code create_link(const Twine &to, const Twine &from);
  357 std::error_code create_hard_link(const Twine &to, const Twine &from);
  357 std::error_code create_hard_link(const Twine &to, const Twine &from);
  366 std::error_code real_path(const Twine &path, SmallVectorImpl<char> &output,
  373 void expand_tilde(const Twine &path, SmallVectorImpl<char> &output);
  387 std::error_code set_current_path(const Twine &path);
  395 std::error_code remove(const Twine &path, bool IgnoreNonExisting = true);
  402 std::error_code remove_directories(const Twine &path, bool IgnoreErrors = true);
  412 std::error_code rename(const Twine &from, const Twine &to);
  412 std::error_code rename(const Twine &from, const Twine &to);
  418 std::error_code copy_file(const Twine &From, const Twine &To);
  418 std::error_code copy_file(const Twine &From, const Twine &To);
  424 std::error_code copy_file(const Twine &From, int ToFD);
  442 ErrorOr<MD5::MD5Result> md5_contents(const Twine &Path);
  462 std::error_code access(const Twine &Path, AccessMode Mode);
  468 inline bool exists(const Twine &Path) {
  476 bool can_execute(const Twine &Path);
  482 inline bool can_write(const Twine &Path) {
  507 std::error_code equivalent(const Twine &A, const Twine &B, bool &result);
  507 std::error_code equivalent(const Twine &A, const Twine &B, bool &result);
  511 inline bool equivalent(const Twine &A, const Twine &B) {
  511 inline bool equivalent(const Twine &A, const Twine &B) {
  523 std::error_code is_local(const Twine &path, bool &result);
  530 inline bool is_local(const Twine &Path) {
  548 file_type get_file_type(const Twine &Path, bool Follow = true);
  563 std::error_code is_directory(const Twine &path, bool &result);
  567 inline bool is_directory(const Twine &Path) {
  585 std::error_code is_regular_file(const Twine &path, bool &result);
  589 inline bool is_regular_file(const Twine &Path) {
  609 std::error_code is_symlink_file(const Twine &path, bool &result);
  613 inline bool is_symlink_file(const Twine &Path) {
  635 std::error_code is_other(const Twine &path, bool &result);
  645 std::error_code status(const Twine &path, file_status &result,
  673 std::error_code setPermissions(const Twine &Path, perms Permissions);
  688 ErrorOr<perms> getPermissions(const Twine &Path);
  696 inline std::error_code file_size(const Twine &Path, uint64_t &Result) {
  732 std::error_code status_known(const Twine &path, bool &result);
  803 void createUniquePath(const Twine &Model, SmallVectorImpl<char> &ResultPath,
  827 std::error_code createUniqueFile(const Twine &Model, int &ResultFD,
  833 std::error_code createUniqueFile(const Twine &Model,
  851   static Expected<TempFile> create(const Twine &Model,
  863   Error keep(const Twine &Name);
  883 std::error_code createTemporaryFile(const Twine &Prefix, StringRef Suffix,
  889 std::error_code createTemporaryFile(const Twine &Prefix, StringRef Suffix,
  892 std::error_code createUniqueDirectory(const Twine &Prefix,
  902 std::error_code getPotentiallyUniqueFileName(const Twine &Model,
  914 getPotentiallyUniqueTempFileName(const Twine &Prefix, StringRef Suffix,
  951 std::error_code openFile(const Twine &Name, int &ResultFD,
  969 Expected<file_t> openNativeFile(const Twine &Name, CreationDisposition Disp,
 1032 openFileForWrite(const Twine &Name, int &ResultFD,
 1051 inline Expected<file_t> openNativeFileForWrite(const Twine &Name,
 1073 inline std::error_code openFileForReadWrite(const Twine &Name, int &ResultFD,
 1093 inline Expected<file_t> openNativeFileForReadWrite(const Twine &Name,
 1114 std::error_code openFileForRead(const Twine &Name, int &ResultFD,
 1131 openNativeFileForRead(const Twine &Name, OpenFlags Flags = OF_None,
 1145 std::error_code getUniqueID(const Twine Path, UniqueID &Result);
 1156 ErrorOr<space_info> disk_space(const Twine &Path);
 1223   explicit directory_entry(const Twine &Path, bool FollowSymlinks = true,
 1231   void replace_filename(const Twine &Filename, file_type Type,
 1285   explicit directory_iterator(const Twine &path, std::error_code &ec,
 1348   explicit recursive_directory_iterator(const Twine &path, std::error_code &ec,
include/llvm/Support/FileUtilities.h
   48     explicit FileRemover(const Twine& filename, bool deleteIt = true)
   63     void setFile(const Twine& filename, bool deleteIt = true) {
include/llvm/Support/FormatProviders.h
  217   static void format(const Twine &V, llvm::raw_ostream &Stream,
include/llvm/Support/FormatVariadic.h
  253 inline auto formatv(const char *Fmt, Ts &&... Vals) -> formatv_object<decltype(
  254     std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...))> {
  256       std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
  259       std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
include/llvm/Support/FormatVariadicDetails.h
   33   T Item;
   36   explicit provider_format_adapter(T &&Item) : Item(std::forward<T>(Item)) {}
   36   explicit provider_format_adapter(T &&Item) : Item(std::forward<T>(Item)) {}
   39     format_provider<typename std::decay<T>::type>::format(Item, S, Options);
   62   using Decayed = typename std::decay<T>::type;
   78   using ConstRefT = const typename std::decay<T>::type &;
  136 typename std::enable_if<uses_format_provider<T>::value,
  137                         provider_format_adapter<T>>::type
  138 build_format_adapter(T &&Item) {
  139   return provider_format_adapter<T>(std::forward<T>(Item));
include/llvm/Support/GraphWriter.h
  309 raw_ostream &WriteGraph(raw_ostream &O, const GraphType &G,
  311                         const Twine &Title = "") {
  321 std::string createGraphFilename(const Twine &Name, int &FD);
  328 std::string WriteGraph(const GraphType &G, const Twine &Name,
  330                        const Twine &Title = "",
  366 void ViewGraph(const GraphType &G, const Twine &Name,
  367                bool ShortNames = false, const Twine &Title = "",
include/llvm/Support/MemoryBuffer.h
   80   getFile(const Twine &Filename, int64_t FileSize = -1,
   87   getFileAsStream(const Twine &Filename);
   93   getOpenFileSlice(sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize,
  103   getOpenFile(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize,
  118   getMemBufferCopy(StringRef InputData, const Twine &BufferName = "");
  126   getFileOrSTDIN(const Twine &Filename, int64_t FileSize = -1,
  131   getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset,
  180   getFile(const Twine &Filename, int64_t FileSize = -1,
  185   getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset,
  192   getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "");
  198   getNewMemBuffer(size_t Size, const Twine &BufferName = "");
  242   getFile(const Twine &Filename, int64_t FileSize = -1);
  246   getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset);
include/llvm/Support/Path.h
  148 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension,
  178 void append(SmallVectorImpl<char> &path, const Twine &a,
  179                                          const Twine &b = "",
  180                                          const Twine &c = "",
  181                                          const Twine &d = "");
  183 void append(SmallVectorImpl<char> &path, Style style, const Twine &a,
  184             const Twine &b = "", const Twine &c = "", const Twine &d = "");
  184             const Twine &b = "", const Twine &c = "", const Twine &d = "");
  184             const Twine &b = "", const Twine &c = "", const Twine &d = "");
  210 void native(const Twine &path, SmallVectorImpl<char> &result,
  371 bool has_root_name(const Twine &path, Style style = Style::native);
  379 bool has_root_directory(const Twine &path, Style style = Style::native);
  387 bool has_root_path(const Twine &path, Style style = Style::native);
  395 bool has_relative_path(const Twine &path, Style style = Style::native);
  403 bool has_parent_path(const Twine &path, Style style = Style::native);
  411 bool has_filename(const Twine &path, Style style = Style::native);
  419 bool has_stem(const Twine &path, Style style = Style::native);
  427 bool has_extension(const Twine &path, Style style = Style::native);
  433 bool is_absolute(const Twine &path, Style style = Style::native);
  439 bool is_relative(const Twine &path, Style style = Style::native);
include/llvm/Support/SourceMgr.h
  192                     const Twine &Msg,
  198   void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
  215   SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
  236   SMFixIt(SMLoc Loc, const Twine &Insertion)
  242   SMFixIt(SMRange R, const Twine &Replacement)
include/llvm/Support/StringSaver.h
   30   StringRef save(const Twine &S) { return save(StringRef(S.str())); }
   52   StringRef save(const Twine &S) { return save(StringRef(S.str())); }
include/llvm/Support/SymbolRemappingReader.h
   71   SymbolRemappingParseError(StringRef File, int64_t Line, Twine Message)
include/llvm/Support/Threading.h
  177   void set_thread_name(const Twine &Name);
include/llvm/Support/VirtualFileSystem.h
   61   Status(const Twine &Name, llvm::sys::fs::UniqueID UID,
   67   static Status copyWithNewName(const Status &In, const Twine &NewName);
   69                                 const Twine &NewName);
  118   getBuffer(const Twine &Name, int64_t FileSize = -1,
  214   recursive_directory_iterator(FileSystem &FS, const Twine &Path,
  249   virtual llvm::ErrorOr<Status> status(const Twine &Path) = 0;
  253   openFileForRead(const Twine &Path) = 0;
  258   getBufferForFile(const Twine &Name, int64_t FileSize = -1,
  263   virtual directory_iterator dir_begin(const Twine &Dir,
  268   virtual std::error_code setCurrentWorkingDirectory(const Twine &Path) = 0;
  276   virtual std::error_code getRealPath(const Twine &Path,
  280   bool exists(const Twine &Path);
  283   virtual std::error_code isLocal(const Twine &Path, bool &Result);
  334   llvm::ErrorOr<Status> status(const Twine &Path) override;
  336   openFileForRead(const Twine &Path) override;
  337   directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
  339   std::error_code setCurrentWorkingDirectory(const Twine &Path) override;
  340   std::error_code isLocal(const Twine &Path, bool &Result) override;
  341   std::error_code getRealPath(const Twine &Path,
  374   llvm::ErrorOr<Status> status(const Twine &Path) override {
  378   openFileForRead(const Twine &Path) override {
  381   directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override {
  387   std::error_code setCurrentWorkingDirectory(const Twine &Path) override {
  390   std::error_code getRealPath(const Twine &Path,
  394   std::error_code isLocal(const Twine &Path, bool &Result) override {
  422   bool addFile(const Twine &Path, time_t ModificationTime,
  439   bool addFile(const Twine &Path, time_t ModificationTime,
  457   bool addHardLink(const Twine &From, const Twine &To);
  457   bool addHardLink(const Twine &From, const Twine &To);
  465   bool addFileNoOwn(const Twine &Path, time_t ModificationTime,
  476   llvm::ErrorOr<Status> status(const Twine &Path) override;
  478   openFileForRead(const Twine &Path) override;
  479   directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
  490   std::error_code getRealPath(const Twine &Path,
  492   std::error_code isLocal(const Twine &Path, bool &Result) override;
  493   std::error_code setCurrentWorkingDirectory(const Twine &Path) override;
  711   ErrorOr<Status> status(const Twine &Path, Entry *E);
  715   ErrorOr<Entry *> lookupPath(const Twine &Path) const;
  724   ErrorOr<Status> status(const Twine &Path) override;
  725   ErrorOr<std::unique_ptr<File>> openFileForRead(const Twine &Path) override;
  727   std::error_code getRealPath(const Twine &Path,
  732   std::error_code setCurrentWorkingDirectory(const Twine &Path) override;
  734   std::error_code isLocal(const Twine &Path, bool &Result) override;
  736   directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
include/llvm/Support/YAMLParser.h
  103   void printError(Node *N, const Twine &Msg);
  167   void setError(const Twine &Message, Token &Location) const;
  562   void setError(const Twine &Message, Token &Location) const;
include/llvm/Support/YAMLTraits.h
  790   virtual void setError(const Twine &) = 0;
 1434   void setError(const Twine &message) override;
 1513   void setError(HNode *hnode, const Twine &message);
 1514   void setError(Node *node, const Twine &message);
 1581   void setError(const Twine &message) override;
include/llvm/TableGen/Error.h
   21 void PrintNote(const Twine &Msg);
   22 void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg);
   24 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg);
   25 void PrintWarning(const char *Loc, const Twine &Msg);
   26 void PrintWarning(const Twine &Msg);
   28 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg);
   29 void PrintError(const char *Loc, const Twine &Msg);
   30 void PrintError(const Twine &Msg);
   32 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(const Twine &Msg);
   34                                              const Twine &Msg);
include/llvm/Transforms/Utils/BasicBlockUtils.h
  232                        const Twine &BBName = "");
include/llvm/Transforms/Utils/Cloning.h
  110                             const Twine &NameSuffix = "", Function *F = nullptr,
  248                              const Twine &NameSuffix, LoopInfo *LI,
include/llvm/WindowsManifest/WindowsManifestMerger.h
   41   WindowsManifestError(const Twine &Msg);
lib/Analysis/DemandedBits.cpp
  466     OS << "DemandedBits: 0x" << Twine::utohexstr(KV.second.getLimitedValue())
lib/Analysis/DomPrinter.cpp
   82 void DominatorTree::viewGraph(const Twine &Name, const Twine &Title) {
   82 void DominatorTree::viewGraph(const Twine &Name, const Twine &Title) {
lib/Analysis/Lint.cpp
  171     void CheckFailed(const Twine &Message) { MessagesStr << Message << '\n'; }
  178     void CheckFailed(const Twine &Message, const T1 &V1, const Ts &...Vs) {
lib/AsmParser/LLLexer.cpp
   28 bool LLLexer::Error(LocTy ErrorLoc, const Twine &Msg) const {
   33 void LLLexer::Warning(LocTy WarningLoc, const Twine &Msg) const {
lib/AsmParser/LLLexer.h
   69     bool Error(LocTy ErrorLoc, const Twine &Msg) const;
   70     bool Error(const Twine &Msg) const { return Error(getLoc(), Msg); }
   72     void Warning(LocTy WarningLoc, const Twine &Msg) const;
   73     void Warning(const Twine &Msg) const { return Warning(getLoc(), Msg); }
lib/AsmParser/LLParser.cpp
 1376 Value *LLParser::checkValidVariableType(LocTy Loc, const Twine &Name, Type *Ty,
 2316 bool LLParser::ParseType(Type *&Result, const Twine &Msg, bool AllowVoid) {
 5066 bool LLParser::ParseValueAsMetadata(Metadata *&MD, const Twine &TypeMsg,
lib/AsmParser/LLParser.h
  190     bool Error(LocTy L, const Twine &Msg) const {
  193     bool TokError(const Twine &Msg) const {
  390     bool ParseType(Type *&Result, const Twine &Msg, bool AllowVoid = false);
  394     bool ParseType(Type *&Result, const Twine &Msg, LocTy &Loc,
  459     Value *checkValidVariableType(LocTy Loc, const Twine &Name, Type *Ty,
  517     bool ParseValueAsMetadata(Metadata *&MD, const Twine &TypeMsg,
lib/BinaryFormat/Magic.cpp
  224 std::error_code llvm::identify_magic(const Twine &Path, file_magic &Result) {
lib/Bitcode/Reader/BitcodeReader.cpp
  103 static Error error(const Twine &Message) {
  447   Error error(const Twine &Message);
  452 Error BitcodeReaderBase::error(const Twine &Message) {
lib/Bitcode/Reader/MetadataLoader.cpp
  416 static Error error(const Twine &Message) {
lib/CodeGen/AsmPrinter/AccelTable.cpp
  427     Asm->OutStreamer->AddComment("Compilation unit " + Twine(CU.index()));
  436     Asm->OutStreamer->AddComment("Bucket " + Twine(Bucket.index()));
  447       Asm->OutStreamer->AddComment("String in Bucket " + Twine(Bucket.index()) +
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2776 MCSymbol *AsmPrinter::createTempSymbol(const Twine &Name) const {
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
  256                             Twine::utohexstr(Die.getOffset()) + ":0x" +
  257                             Twine::utohexstr(Die.getSize()) + " " +
lib/CodeGen/AsmPrinter/ByteStreamer.h
   32   virtual void EmitInt8(uint8_t Byte, const Twine &Comment = "") = 0;
   33   virtual void EmitSLEB128(uint64_t DWord, const Twine &Comment = "") = 0;
   34   virtual void EmitULEB128(uint64_t DWord, const Twine &Comment = "", unsigned PadTo = 0) = 0;
   43   void EmitInt8(uint8_t Byte, const Twine &Comment) override {
   47   void EmitSLEB128(uint64_t DWord, const Twine &Comment) override {
   51   void EmitULEB128(uint64_t DWord, const Twine &Comment, unsigned PadTo) override {
   62   void EmitInt8(uint8_t Byte, const Twine &Comment) override {
   65   void EmitSLEB128(uint64_t DWord, const Twine &Comment) override {
   68   void EmitULEB128(uint64_t DWord, const Twine &Comment, unsigned PadTo) override {
   88   void EmitInt8(uint8_t Byte, const Twine &Comment) override {
   93   void EmitSLEB128(uint64_t DWord, const Twine &Comment) override {
  105   void EmitULEB128(uint64_t DWord, const Twine &Comment, unsigned PadTo) override {
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  112   void AddComment(const Twine &T) { OS->AddComment(T); }
  114   void AddRawComment(const Twine &T) { OS->emitRawComment(T); }
lib/CodeGen/BranchFolding.cpp
  582 void BranchFolder::MBFIWrapper::view(const Twine &Name, bool isSimple) {
lib/CodeGen/BranchFolding.h
  146       void view(const Twine &Name, bool isSimple = true);
lib/CodeGen/EdgeBundles.cpp
   76                           const Twine &Title) {
lib/CodeGen/GlobalMerge.cpp
  510     Twine MergedName =
lib/CodeGen/MIRParser/MILexer.cpp
   31     function_ref<void(StringRef::iterator Loc, const Twine &)>;
lib/CodeGen/MIRParser/MILexer.h
  232     function_ref<void(StringRef::iterator, const Twine &)> ErrorCallback);
lib/CodeGen/MIRParser/MIParser.cpp
  387   bool error(const Twine &Msg);
  392   bool error(StringRef::iterator Loc, const Twine &Msg);
  534 bool MIParser::error(const Twine &Msg) { return error(Token.location(), Msg); }
  536 bool MIParser::error(StringRef::iterator Loc, const Twine &Msg) {
lib/CodeGen/MIRParser/MIRParser.cpp
   76   bool error(const Twine &Message);
   81   bool error(SMLoc Loc, const Twine &Message);
  176 bool MIRParserImpl::error(const Twine &Message) {
  182 bool MIRParserImpl::error(SMLoc Loc, const Twine &Message) {
lib/CodeGen/MachineBlockFrequencyInfo.cpp
  221 void MachineBlockFrequencyInfo::view(const Twine &Name, bool isSimple) const {
lib/CodeGen/MachineScheduler.cpp
 3746 void ScheduleDAGMI::viewGraph(const Twine &Name, const Twine &Title) {
 3746 void ScheduleDAGMI::viewGraph(const Twine &Name, const Twine &Title) {
lib/CodeGen/ScheduleDAGPrinter.cpp
   84 void ScheduleDAG::viewGraph(const Twine &Name, const Twine &Title) {
   84 void ScheduleDAG::viewGraph(const Twine &Name, const Twine &Title) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  339                                               const Twine &ErrMsg) {
 8519                                              const Twine &Message) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  777   void emitInlineAsmError(ImmutableCallSite CS, const Twine &Message);
lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
  101                                           const Twine &Comment) {
  117                                           const Twine &Comment) {
  127 Error CodeViewRecordIO::mapInteger(TypeIndex &TypeInd, const Twine &Comment) {
  149                                           const Twine &Comment) {
  174                                           const Twine &Comment) {
  189 Error CodeViewRecordIO::mapEncodedInteger(APSInt &Value, const Twine &Comment) {
  204 Error CodeViewRecordIO::mapStringZ(StringRef &Value, const Twine &Comment) {
  222 Error CodeViewRecordIO::mapGuid(GUID &Guid, const Twine &Comment) {
  250                                           const Twine &Comment) {
  275                                                 const Twine &Comment) {
  301                                                   const Twine &Comment) {
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
  177   DictScope NameScope(W, ("Name@0x" + Twine::utohexstr(NameOffset)).str());
  248       ListScope HashScope(W, ("Hash 0x" + Twine::utohexstr(Hash)).str());
  408   DictScope AbbrevScope(W, ("Abbreviation 0x" + Twine::utohexstr(Code)).str());
  665   DictScope EntryScope(W, ("Entry @ 0x" + Twine::utohexstr(EntryId)).str());
  741   DictScope UnitScope(W, ("Name Index @ 0x" + Twine::utohexstr(Base)).str());
lib/DebugInfo/DWARF/DWARFContext.cpp
 1273 static Error createError(const Twine &Reason, llvm::Error E) {
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
 1035 static bool isPathAbsoluteOnWindowsOrPosix(const Twine &Path) {
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
  229                                   const Twine &Name, Constant *Initializer) {
lib/IR/BasicBlock.cpp
   40 BasicBlock::BasicBlock(LLVMContext &C, const Twine &Name, Function *NewParent,
lib/IR/DiagnosticInfo.cpp
   54                                                  const Twine &MsgStr,
  374                                                  Twine &Msg)
lib/IR/DiagnosticPrinter.cpp
   93 DiagnosticPrinter &DiagnosticPrinterRawOStream::operator<<(const Twine &Str) {
lib/IR/Function.cpp
   66 Argument::Argument(Type *Ty, const Twine &Name, Function *Par, unsigned ArgNo)
  218                            const Twine &N, Module &M) {
  243                    const Twine &name, Module *ParentModule)
lib/IR/Globals.cpp
  337                                Constant *InitVal, const Twine &Name,
  357                                const Twine &Name, GlobalVariable *Before,
  428     unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name,
  477                          const Twine &Name, Constant *Aliasee,
  486                                  LinkageTypes Link, const Twine &Name,
  492                                  LinkageTypes Linkage, const Twine &Name,
  498                                  LinkageTypes Linkage, const Twine &Name,
  503 GlobalAlias *GlobalAlias::create(LinkageTypes Link, const Twine &Name,
  510 GlobalAlias *GlobalAlias::create(const Twine &Name, GlobalValue *Aliasee) {
  533                          const Twine &Name, Constant *Resolver,
  542                                  LinkageTypes Link, const Twine &Name,
lib/IR/IRBuilder.cpp
   43                                                   const Twine &Name,
   76                                   const Twine &Name = "",
   90                                       const Twine &Name = "") {
  472                                           const Twine &Name) {
  508                                                const Twine &Name) {
  524                                             const Twine& Name) {
  605     const Twine &Name) {
  627     ArrayRef<Value *> GCArgs, const Twine &Name) {
  636     ArrayRef<Use> DeoptArgs, ArrayRef<Value *> GCArgs, const Twine &Name) {
  645     ArrayRef<Value *> GCArgs, const Twine &Name) {
  656     ArrayRef<T2> DeoptArgs, ArrayRef<T3> GCArgs, const Twine &Name) {
  678     ArrayRef<Value *> GCArgs, const Twine &Name) {
  689     ArrayRef<Use> DeoptArgs, ArrayRef<Value *> GCArgs, const Twine &Name) {
  698     ArrayRef<Value *> DeoptArgs, ArrayRef<Value *> GCArgs, const Twine &Name) {
  707                                        const Twine &Name) {
  721                                          const Twine &Name) {
  735                                               const Twine &Name) {
  744                                                const Twine &Name) {
  754                                          const Twine &Name) {
lib/IR/Instructions.cpp
  194                                const Twine &NameStr, Instruction *InsertBefore)
  200                                const Twine &NameStr, BasicBlock *InsertAtEnd)
  219                                        const Twine &NameStr,
  225                                        const Twine &NameStr,
  230 void LandingPadInst::init(unsigned NumReservedValues, const Twine &NameStr) {
  386                     ArrayRef<OperandBundleDef> Bundles, const Twine &NameStr) {
  412 void CallInst::init(FunctionType *FTy, Value *Func, const Twine &NameStr) {
  422 CallInst::CallInst(FunctionType *Ty, Value *Func, const Twine &Name,
  429 CallInst::CallInst(FunctionType *Ty, Value *Func, const Twine &Name,
  527                                  Function *MallocF, const Twine &Name) {
  614                                     const Twine &Name) {
  623                                     const Twine &Name) {
  639                                     Function *MallocF, const Twine &Name) {
  647                                     Function *MallocF, const Twine &Name) {
  719                       const Twine &NameStr) {
  787                       const Twine &NameStr) {
  994                                  const Twine &NameStr,
 1006                                  const Twine &NameStr, BasicBlock *InsertAtEnd)
 1075                           const Twine &NameStr) {
 1093                                const Twine &NameStr, Instruction *InsertBefore)
 1102                                const Twine &NameStr, BasicBlock *InsertAtEnd)
 1210 AllocaInst::AllocaInst(Type *Ty, unsigned AddrSpace, const Twine &Name,
 1214 AllocaInst::AllocaInst(Type *Ty, unsigned AddrSpace, const Twine &Name,
 1219                        const Twine &Name, Instruction *InsertBefore)
 1224                        const Twine &Name, BasicBlock *InsertAtEnd)
 1228                        MaybeAlign Align, const Twine &Name,
 1239                        MaybeAlign Align, const Twine &Name,
 1290 LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name,
 1294 LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name,
 1298 LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile,
 1302 LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile,
 1306 LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile,
 1311 LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile,
 1316 LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile,
 1328 LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile,
 1598                              const Twine &Name) {
 1705                                        const Twine &Name,
 1719                                        const Twine &Name,
 1744                                      const Twine &Name,
 1758                                      const Twine &Name,
 1790                                      const Twine &Name,
 1807                                      const Twine &Name,
 2108                            const Twine &Name) {
 2139 void ExtractValueInst::init(ArrayRef<unsigned> Idxs, const Twine &Name) {
 2192                              Type *Ty, const Twine &Name,
 2201                              Type *Ty, const Twine &Name,
 2210                                      const Twine &Name,
 2216                                      const Twine &Name,
 2245                                Type *Ty, const Twine &Name,
 2258                                Type *Ty, const Twine &Name,
 2339                                        const Twine &Name,
 2347                                        const Twine &Name,
 2354 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name,
 2362 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name,
 2370 BinaryOperator *BinaryOperator::CreateNSWNeg(Value *Op, const Twine &Name,
 2376 BinaryOperator *BinaryOperator::CreateNSWNeg(Value *Op, const Twine &Name,
 2382 BinaryOperator *BinaryOperator::CreateNUWNeg(Value *Op, const Twine &Name,
 2388 BinaryOperator *BinaryOperator::CreateNUWNeg(Value *Op, const Twine &Name,
 2394 BinaryOperator *BinaryOperator::CreateFNeg(Value *Op, const Twine &Name,
 2401 BinaryOperator *BinaryOperator::CreateFNeg(Value *Op, const Twine &Name,
 2408 BinaryOperator *BinaryOperator::CreateNot(Value *Op, const Twine &Name,
 2415 BinaryOperator *BinaryOperator::CreateNot(Value *Op, const Twine &Name,
 2748   const Twine &Name, Instruction *InsertBefore) {
 2770   const Twine &Name, BasicBlock *InsertAtEnd) {
 2792                                         const Twine &Name,
 2800                                         const Twine &Name,
 2808                                         const Twine &Name,
 2816                                         const Twine &Name,
 2824                                          const Twine &Name,
 2832                                          const Twine &Name,
 2840                                       const Twine &Name,
 2858                                       const Twine &Name,
 2876   const Twine &Name,
 2889   const Twine &Name,
 2901                                            const Twine &Name,
 2912                                       bool isSigned, const Twine &Name,
 2926                                       bool isSigned, const Twine &Name,
 2940                                  const Twine &Name,
 2953                                  const Twine &Name,
 3303   Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
 3309   Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
 3315   Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
 3321   Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
 3326   Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
 3332   Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
 3338   Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
 3344   Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
 3350   Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
 3356   Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
 3362   Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
 3368   Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
 3374   Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
 3380   Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
 3386   Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
 3392   Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
 3398   Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
 3404   Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
 3410   Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
 3416   Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
 3422   Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
 3428   Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
 3434   Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
 3440   Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
 3446   Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
 3452   Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
 3462                  Value *RHS, const Twine &Name, Instruction *InsertBefore,
 3477                  Value *RHS, const Twine &Name, BasicBlock *InsertAtEnd)
 3490                 const Twine &Name, Instruction *InsertBefore) {
 3510                 const Twine &Name, BasicBlock *InsertAtEnd) {
lib/IR/LLVMContext.cpp
  176 void LLVMContext::emitError(const Twine &ErrorStr) {
  180 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) {
  238 void LLVMContext::emitError(unsigned LocCookie, const Twine &ErrorStr) {
lib/IR/Mangler.cpp
   32 static void getNameWithPrefixImpl(raw_ostream &OS, const Twine &GVName,
   61 static void getNameWithPrefixImpl(raw_ostream &OS, const Twine &GVName,
   68 void Mangler::getNameWithPrefix(raw_ostream &OS, const Twine &GVName,
   74                                 const Twine &GVName, const DataLayout &DL) {
lib/IR/Metadata.cpp
 1068 NamedMDNode::NamedMDNode(const Twine &N)
lib/IR/Module.cpp
  250 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const {
lib/IR/ModuleSummaryIndex.cpp
  218   void add(const Twine &Name, const Twine &Value,
  218   void add(const Twine &Name, const Twine &Value,
  219            const Twine &Comment = Twine());
  220   void addComment(const Twine &Comment);
  235 void Attributes::add(const Twine &Name, const Twine &Value,
  235 void Attributes::add(const Twine &Name, const Twine &Value,
  236                      const Twine &Comment) {
  245 void Attributes::addComment(const Twine &Comment) {
lib/IR/Value.cpp
  223 void Value::setNameImpl(const Twine &NewName) {
  285 void Value::setName(const Twine &NewName) {
lib/IR/Verifier.cpp
  213   void CheckFailed(const Twine &Message) {
  224   void CheckFailed(const Twine &Message, const T1 &V1, const Ts &... Vs) {
  231   void DebugInfoCheckFailed(const Twine &Message) {
  240   void DebugInfoCheckFailed(const Twine &Message, const T1 &V1,
lib/LTO/LTOBackend.cpp
   50 LLVM_ATTRIBUTE_NORETURN static void reportOpenError(StringRef Path, Twine Msg) {
lib/LTO/LTOCodeGenerator.cpp
  702   const Twine &Msg;
  704   LTODiagnosticInfo(const Twine &DiagMsg, DiagnosticSeverity Severity=DS_Error)
lib/LTO/ThinLTOCodeGenerator.cpp
  160   const Twine &Msg;
  162   ThinLTODiagnosticInfo(const Twine &DiagMsg,
lib/Linker/IRMover.cpp
  347                                        const Twine &Msg)
  434   Error stringErr(const Twine &T) {
  446   void emitWarning(const Twine &Message) {
lib/Linker/LinkDiagnosticInfo.h
   16   const Twine &Msg;
   19   LinkDiagnosticInfo(DiagnosticSeverity Severity, const Twine &Msg);
lib/Linker/LinkModules.cpp
   59   bool emitError(const Twine &Message) {
lib/MC/MCAsmStreamer.cpp
  109   void AddComment(const Twine &T, bool EOL = true) override;
  123   void emitRawComment(const Twine &T, bool TabPrefix = true) override;
  125   void addExplicitComment(const Twine &T) override;
  356 void MCAsmStreamer::AddComment(const Twine &T, bool EOL) {
  392 void MCAsmStreamer::emitRawComment(const Twine &T, bool TabPrefix) {
  399 void MCAsmStreamer::addExplicitComment(const Twine &T) {
lib/MC/MCContext.cpp
  129 MCSymbol *MCContext::getOrCreateSymbol(const Twine &Name) {
  212 MCSymbol *MCContext::createTempSymbol(const Twine &Name, bool AlwaysAddSuffix,
  264 MCSymbol *MCContext::lookupSymbol(const Twine &Name) const {
  364 MCSectionELF *MCContext::createELFRelSection(const Twine &Name, unsigned Type,
  378 MCSectionELF *MCContext::getELFNamedSection(const Twine &Prefix,
  379                                             const Twine &Suffix, unsigned Type,
  385 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type,
  387                                        const Twine &Group, unsigned UniqueID,
  397 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type,
  495 MCSectionWasm *MCContext::getWasmSection(const Twine &Section, SectionKind K,
  496                                          const Twine &Group, unsigned UniqueID,
  507 MCSectionWasm *MCContext::getWasmSection(const Twine &Section, SectionKind Kind,
  687 void MCContext::reportError(SMLoc Loc, const Twine &Msg) {
  701 void MCContext::reportWarning(SMLoc Loc, const Twine &Msg) {
  716 void MCContext::reportFatalError(SMLoc Loc, const Twine &Msg) {
lib/MC/MCExpr.cpp
   50       OS << "0x" << Twine::utohexstr(Value);
lib/MC/MCParser/AsmParser.cpp
  228   void Note(SMLoc L, const Twine &Msg, SMRange Range = None) override;
  229   bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) override;
  230   bool printError(SMLoc L, const Twine &Msg, SMRange Range = None) override;
  309   void printMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg,
  763 void AsmParser::Note(SMLoc L, const Twine &Msg, SMRange Range) {
  769 bool AsmParser::Warning(SMLoc L, const Twine &Msg, SMRange Range) {
  779 bool AsmParser::printError(SMLoc L, const Twine &Msg, SMRange Range) {
lib/MC/MCParser/MCAsmParser.cpp
   42 bool MCAsmParser::parseEOL(const Twine &Msg) {
   49 bool MCAsmParser::parseToken(AsmToken::TokenKind T, const Twine &Msg) {
   58 bool MCAsmParser::parseIntToken(int64_t &V, const Twine &Msg) {
   73 bool MCAsmParser::check(bool P, const Twine &Msg) {
   77 bool MCAsmParser::check(bool P, SMLoc Loc, const Twine &Msg) {
   83 bool MCAsmParser::TokError(const Twine &Msg, SMRange Range) {
   87 bool MCAsmParser::Error(SMLoc L, const Twine &Msg, SMRange Range) {
  103 bool MCAsmParser::addErrorSuffix(const Twine &Suffix) {
lib/MC/MCSectionELF.cpp
  160     report_fatal_error("unsupported type 0x" + Twine::utohexstr(Type) +
lib/MC/MCStreamer.cpp
  118 void MCStreamer::emitRawComment(const Twine &T, bool TabPrefix) {}
  120 void MCStreamer::addExplicitComment(const Twine &T) {}
  948 void MCStreamer::EmitRawText(const Twine &T) {
lib/MC/MCWinCOFFStreamer.cpp
  335 void MCWinCOFFStreamer::Error(const Twine &Msg) const {
lib/Object/Archive.cpp
   47 malformedError(Twine Msg) {
lib/Object/ArchiveWriter.cpp
  116 static void printWithSpacePadding(raw_ostream &OS, T Data, unsigned Size) {
lib/Object/COFFModuleDefinition.cpp
   83 static Error createError(const Twine &Err) {
lib/Object/ELF.cpp
  576                        Twine::utohexstr(VAddr));
  582                        Twine::utohexstr(VAddr));
lib/Object/Error.cpp
   63 GenericBinaryError::GenericBinaryError(Twine Msg) : Msg(Msg.str()) {}
   65 GenericBinaryError::GenericBinaryError(Twine Msg, object_error ECOverride)
lib/Object/MachOObjectFile.cpp
   60 static Error malformedError(const Twine &Msg) {
 2862                         Twine::utohexstr(offset));
 2870         "export info size: 0x" + Twine::utohexstr(ExportInfoSize) +
 2871         " in export trie data at node: 0x" + Twine::utohexstr(offset) +
 2882                           Twine::utohexstr(offset));
 2893           " in flags: 0x" + Twine::utohexstr(State.Flags) +
 2894           " in export trie data at node: 0x" + Twine::utohexstr(offset));
 2904                             Twine::utohexstr(offset));
 2913               ") in export trie data at node: 0x" + Twine::utohexstr(offset));
 2926                               Twine::utohexstr(offset) +
 2936                               Twine::utohexstr(offset) +
 2948                             Twine::utohexstr(offset));
 2957                               Twine::utohexstr(offset));
 2966           Twine::utohexstr(ExportInfoSize) + " where actual size was: 0x" +
 2967           Twine::utohexstr(State.Current - ExportStart) +
 2968           " in export trie data at node: 0x" + Twine::utohexstr(offset));
 2977                         Twine::utohexstr(offset) +
 3000                           Twine::utohexstr(Top.Start - Trie.begin()) +
 3011                           Twine::utohexstr(Top.Start - Trie.begin()));
 3018                             Twine::utohexstr(Top.Start - Trie.begin()) +
 3020                             Twine::utohexstr(childNodeIndex));
 3033                         Twine::utohexstr(Stack.back().Start - Trie.begin()));
 3059                         Twine::utohexstr(Stack.back().Start - Trie.begin()));
 3154                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3169                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3178                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3194                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3203                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3218                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3230                            Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3252                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3271                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3284                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3301                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3313                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3331                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3344                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3356                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3370                           Twine::utohexstr(Opcode) + " for opcode at: 0x" +
 3371                           Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3514                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3526                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3539                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3548                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3558                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3571                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3582                               Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3604             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3625                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3639                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3654                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3663                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3679                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3688                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3705                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3713             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3721                            Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3734                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3743                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3752             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3760             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3768                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3781                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3798                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3807                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3816             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3825             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3838                            Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3851                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3864                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3874                             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3883             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3892             Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3902                            Twine::utohexstr(OpcodeStart - Opcodes.begin()));
 3916                           Twine::utohexstr(Opcode) + " for opcode at: 0x" +
 3917                           Twine::utohexstr(OpcodeStart - Opcodes.begin()));
lib/Object/MachOUniversal.cpp
   25 malformedError(Twine Msg) {
lib/ObjectYAML/ELFEmitter.cpp
  122   void reportError(const Twine &Msg);
  640 template <class ELFT> void ELFState<ELFT>::reportError(const Twine &Msg) {
lib/ObjectYAML/WasmEmitter.cpp
   67   void reportError(const Twine &Msg);
  125 void WasmWriter::reportError(const Twine &Msg) {
lib/ProfileData/InstrProfReader.cpp
   41 setupMemoryBuffer(const Twine &Path) {
   54 InstrProfReader::create(const Twine &Path) {
   92 IndexedInstrProfReader::create(const Twine &Path, const Twine &RemappingPath) {
   92 IndexedInstrProfReader::create(const Twine &Path, const Twine &RemappingPath) {
lib/ProfileData/SampleProfReader.cpp
 1243 setupMemoryBuffer(const Twine &Filename) {
lib/Support/ARMAttributeParser.cpp
  683       errs() << "unrecognised tag: 0x" << Twine::utohexstr(Tag) << '\n';
lib/Support/CommandLine.cpp
 1598 bool Option::error(const Twine &Message, StringRef ArgName, raw_ostream &Errs) {
lib/Support/Error.cpp
   61 void logAllUnhandledErrors(Error E, raw_ostream &OS, Twine ErrorBanner) {
  115 StringError::StringError(std::error_code EC, const Twine &S)
  118 StringError::StringError(const Twine &S, std::error_code EC)
lib/Support/ErrorHandling.cpp
   93 void llvm::report_fatal_error(const Twine &Reason, bool GenCrashDiag) {
lib/Support/FileCheck.cpp
 1512   Twine CheckName =
lib/Support/FileCheckImpl.h
  340   static Error get(const SourceMgr &SM, SMLoc Loc, const Twine &ErrMsg) {
  345   static Error get(const SourceMgr &SM, StringRef Buffer, const Twine &ErrMsg) {
lib/Support/FileCollector.cpp
   64 void FileCollector::addFile(const Twine &file) {
  199   llvm::ErrorOr<llvm::vfs::Status> status(const Twine &Path) override {
  207   openFileForRead(const Twine &Path) override {
  214   llvm::vfs::directory_iterator dir_begin(const llvm::Twine &Dir,
  234   std::error_code getRealPath(const Twine &Path,
  245   std::error_code isLocal(const Twine &Path, bool &Result) override {
  253   std::error_code setCurrentWorkingDirectory(const llvm::Twine &Path) override {
lib/Support/GraphWriter.cpp
   79 std::string llvm::createGraphFilename(const Twine &Name, int &FD) {
lib/Support/MemoryBuffer.cpp
   67   const Twine &Name;
   68   NamedBufferAlloc(const Twine &Name) : Name(Name) {}
  108 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
  126 getMemBufferCopyImpl(StringRef InputData, const Twine &BufferName) {
  135 MemoryBuffer::getMemBufferCopy(StringRef InputData, const Twine &BufferName) {
  143 MemoryBuffer::getFileOrSTDIN(const Twine &Filename, int64_t FileSize,
  154 MemoryBuffer::getFileSlice(const Twine &FilePath, uint64_t MapSize,
  211 getMemoryBufferForStream(sys::fs::file_t FD, const Twine &BufferName) {
  231 MemoryBuffer::getFile(const Twine &Filename, int64_t FileSize,
  239 getOpenFileImpl(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize,
  245 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
  259 WritableMemoryBuffer::getFile(const Twine &Filename, int64_t FileSize,
  267 WritableMemoryBuffer::getFileSlice(const Twine &Filename, uint64_t MapSize,
  274 WritableMemoryBuffer::getNewUninitMemBuffer(size_t Size, const Twine &BufferName) {
  300 WritableMemoryBuffer::getNewMemBuffer(size_t Size, const Twine &BufferName) {
  364 getReadWriteFile(const Twine &Filename, uint64_t FileSize, uint64_t MapSize,
  405 WriteThroughMemoryBuffer::getFile(const Twine &Filename, int64_t FileSize) {
  411 WriteThroughMemoryBuffer::getFileSlice(const Twine &Filename, uint64_t MapSize,
  418 getOpenFileImpl(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize,
  482 MemoryBuffer::getOpenFile(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize,
  489 MemoryBuffer::getOpenFileSlice(sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize,
  507 MemoryBuffer::getFileAsStream(const Twine &Filename) {
lib/Support/Path.cpp
  168 createUniqueEntity(const Twine &Model, int &ResultFD,
  417 void append(SmallVectorImpl<char> &path, Style style, const Twine &a,
  418             const Twine &b, const Twine &c, const Twine &d) {
  418             const Twine &b, const Twine &c, const Twine &d) {
  418             const Twine &b, const Twine &c, const Twine &d) {
  455 void append(SmallVectorImpl<char> &path, const Twine &a, const Twine &b,
  455 void append(SmallVectorImpl<char> &path, const Twine &a, const Twine &b,
  456             const Twine &c, const Twine &d) {
  456             const Twine &c, const Twine &d) {
  480 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension,
  522 void native(const Twine &path, SmallVectorImpl<char> &result, Style style) {
  607 bool has_root_name(const Twine &path, Style style) {
  614 bool has_root_directory(const Twine &path, Style style) {
  621 bool has_root_path(const Twine &path, Style style) {
  628 bool has_relative_path(const Twine &path, Style style) {
  635 bool has_filename(const Twine &path, Style style) {
  642 bool has_parent_path(const Twine &path, Style style) {
  649 bool has_stem(const Twine &path, Style style) {
  656 bool has_extension(const Twine &path, Style style) {
  663 bool is_absolute(const Twine &path, Style style) {
  674 bool is_relative(const Twine &path, Style style) {
  732 std::error_code getUniqueID(const Twine Path, UniqueID &Result) {
  741 void createUniquePath(const Twine &Model, SmallVectorImpl<char> &ResultPath,
  767 std::error_code createUniqueFile(const Twine &Model, int &ResultFd,
  773 static std::error_code createUniqueFile(const Twine &Model, int &ResultFd,
  780 std::error_code createUniqueFile(const Twine &Model,
  793 createTemporaryFile(const Twine &Model, int &ResultFD,
  805 createTemporaryFile(const Twine &Prefix, StringRef Suffix, int &ResultFD,
  812 std::error_code createTemporaryFile(const Twine &Prefix, StringRef Suffix,
  818 std::error_code createTemporaryFile(const Twine &Prefix, StringRef Suffix,
  832 std::error_code createUniqueDirectory(const Twine &Prefix,
  840 getPotentiallyUniqueFileName(const Twine &Model,
  847 getPotentiallyUniqueTempFileName(const Twine &Prefix, StringRef Suffix,
  853 void make_absolute(const Twine &current_directory,
  915 std::error_code create_directories(const Twine &Path, bool IgnoreExisting,
  964 std::error_code copy_file(const Twine &From, const Twine &To) {
  964 std::error_code copy_file(const Twine &From, const Twine &To) {
  983 std::error_code copy_file(const Twine &From, int ToFD) {
 1015 ErrorOr<MD5::MD5Result> md5_contents(const Twine &Path) {
 1033 file_type get_file_type(const Twine &Path, bool Follow) {
 1044 std::error_code is_directory(const Twine &path, bool &result) {
 1056 std::error_code is_regular_file(const Twine &path, bool &result) {
 1068 std::error_code is_symlink_file(const Twine &path, bool &result) {
 1082 std::error_code is_other(const Twine &Path, bool &Result) {
 1090 void directory_entry::replace_filename(const Twine &Filename, file_type Type,
 1099 ErrorOr<perms> getPermissions(const Twine &Path) {
 1159 Error TempFile::keep(const Twine &Name) {
 1227 Expected<TempFile> TempFile::create(const Twine &Model, unsigned Mode) {
lib/Support/SourceMgr.cpp
  164                                    const Twine &Msg,
  244                              const Twine &Msg, ArrayRef<SMRange> Ranges,
  250                              const Twine &Msg, ArrayRef<SMRange> Ranges,
lib/Support/Triple.cpp
  725 Triple::Triple(const Twine &Str)
  765 Triple::Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr)
  765 Triple::Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr)
  765 Triple::Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr)
  780 Triple::Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
  780 Triple::Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
  780 Triple::Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
  781                const Twine &EnvironmentStr)
 1164 void Triple::setTriple(const Twine &Str) {
lib/Support/Twine.cpp
   60   case Twine::NullKind: break;
   61   case Twine::EmptyKind: break;
   62   case Twine::TwineKind:
   65   case Twine::CStringKind:
   68   case Twine::StdStringKind:
   71   case Twine::StringRefKind:
   74   case Twine::SmallStringKind:
   77   case Twine::FormatvObjectKind:
   80   case Twine::CharKind:
   83   case Twine::DecUIKind:
   86   case Twine::DecIKind:
   89   case Twine::DecULKind:
   92   case Twine::DecLKind:
   95   case Twine::DecULLKind:
   98   case Twine::DecLLKind:
  101   case Twine::UHexKind:
  110   case Twine::NullKind:
  112   case Twine::EmptyKind:
  114   case Twine::TwineKind:
  118   case Twine::CStringKind:
  122   case Twine::StdStringKind:
  126   case Twine::StringRefKind:
  130   case Twine::SmallStringKind:
  133   case Twine::FormatvObjectKind:
  136   case Twine::CharKind:
  139   case Twine::DecUIKind:
  142   case Twine::DecIKind:
  145   case Twine::DecULKind:
  148   case Twine::DecLKind:
  151   case Twine::DecULLKind:
  154   case Twine::DecLLKind:
  157   case Twine::UHexKind:
lib/Support/Unix/Path.inc
  273 ErrorOr<space_info> disk_space(const Twine &Path) {
  320 std::error_code set_current_path(const Twine &path) {
  330 std::error_code create_directory(const Twine &path, bool IgnoreExisting,
  345 std::error_code create_link(const Twine &to, const Twine &from) {
  345 std::error_code create_link(const Twine &to, const Twine &from) {
  358 std::error_code create_hard_link(const Twine &to, const Twine &from) {
  358 std::error_code create_hard_link(const Twine &to, const Twine &from) {
  371 std::error_code remove(const Twine &path, bool IgnoreNonExisting) {
  477 std::error_code is_local(const Twine &Path, bool &Result) {
  495 std::error_code rename(const Twine &from, const Twine &to) {
  495 std::error_code rename(const Twine &from, const Twine &to) {
  542 std::error_code access(const Twine &Path, AccessMode Mode) {
  561 bool can_execute(const Twine &Path) {
  571 std::error_code equivalent(const Twine &A, const Twine &B, bool &result) {
  571 std::error_code equivalent(const Twine &A, const Twine &B, bool &result) {
  622 void expand_tilde(const Twine &path, SmallVectorImpl<char> &dest) {
  682 std::error_code status(const Twine &Path, file_status &Result, bool Follow) {
  705 std::error_code setPermissions(const Twine &Path, perms Permissions) {
  918 std::error_code openFile(const Twine &Name, int &ResultFD,
  940 Expected<int> openNativeFile(const Twine &Name, CreationDisposition Disp,
  951 std::error_code openFileForRead(const Twine &Name, int &ResultFD,
  989 Expected<file_t> openNativeFileForRead(const Twine &Name, OpenFlags Flags,
 1033 static std::error_code remove_directories_impl(const T &Entry,
 1061 std::error_code remove_directories(const Twine &path, bool IgnoreErrors) {
 1071 std::error_code real_path(const Twine &path, SmallVectorImpl<char> &dest,
lib/Support/Unix/Threading.inc
  141 void llvm::set_thread_name(const Twine &Name) {
lib/Support/VirtualFileSystem.cpp
   71 Status::Status(const Twine &Name, UniqueID UID, sys::TimePoint<> MTime,
   77 Status Status::copyWithNewName(const Status &In, const Twine &NewName) {
   83 Status Status::copyWithNewName(const file_status &In, const Twine &NewName) {
  115 FileSystem::getBufferForFile(const llvm::Twine &Name, int64_t FileSize,
  136 std::error_code FileSystem::getRealPath(const Twine &Path,
  141 std::error_code FileSystem::isLocal(const Twine &Path, bool &Result) {
  145 bool FileSystem::exists(const Twine &Path) {
  191   ErrorOr<std::unique_ptr<MemoryBuffer>> getBuffer(const Twine &Name,
  218 RealFile::getBuffer(const Twine &Name, int64_t FileSize,
  255   ErrorOr<Status> status(const Twine &Path) override;
  256   ErrorOr<std::unique_ptr<File>> openFileForRead(const Twine &Path) override;
  257   directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
  260   std::error_code setCurrentWorkingDirectory(const Twine &Path) override;
  261   std::error_code isLocal(const Twine &Path, bool &Result) override;
  262   std::error_code getRealPath(const Twine &Path,
  268   Twine adjustPath(const Twine &Path, SmallVectorImpl<char> &Storage) const {
  268   Twine adjustPath(const Twine &Path, SmallVectorImpl<char> &Storage) const {
  287 ErrorOr<Status> RealFileSystem::status(const Twine &Path) {
  297 RealFileSystem::openFileForRead(const Twine &Name) {
  317 std::error_code RealFileSystem::setCurrentWorkingDirectory(const Twine &Path) {
  334 std::error_code RealFileSystem::isLocal(const Twine &Path, bool &Result) {
  340 RealFileSystem::getRealPath(const Twine &Path,
  361   RealFSDirIter(const Twine &Path, std::error_code &EC) : Iter(Path, EC) {
  378 directory_iterator RealFileSystem::dir_begin(const Twine &Dir,
  400 ErrorOr<Status> OverlayFileSystem::status(const Twine &Path) {
  411 OverlayFileSystem::openFileForRead(const llvm::Twine &Path) {
  428 OverlayFileSystem::setCurrentWorkingDirectory(const Twine &Path) {
  435 std::error_code OverlayFileSystem::isLocal(const Twine &Path, bool &Result) {
  443 OverlayFileSystem::getRealPath(const Twine &Path,
  503   OverlayFSDirIterImpl(const Twine &Path, OverlayFileSystem &FS,
  515 directory_iterator OverlayFileSystem::dir_begin(const Twine &Dir,
  559   Status getStatus(const Twine &RequestedName) const {
  611   getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator,
  633   Status getStatus(const Twine &RequestedName) const {
  667 Status getNodeStatus(const InMemoryNode *Node, const Twine &RequestedName) {
  692 bool InMemoryFileSystem::addFile(const Twine &P, time_t ModificationTime,
  783 bool InMemoryFileSystem::addFile(const Twine &P, time_t ModificationTime,
  793 bool InMemoryFileSystem::addFileNoOwn(const Twine &P, time_t ModificationTime,
  808                    const Twine &P) {
  850 bool InMemoryFileSystem::addHardLink(const Twine &FromPath,
  851                                      const Twine &ToPath) {
  862 llvm::ErrorOr<Status> InMemoryFileSystem::status(const Twine &Path) {
  870 InMemoryFileSystem::openFileForRead(const Twine &Path) {
  934 directory_iterator InMemoryFileSystem::dir_begin(const Twine &Dir,
  950 std::error_code InMemoryFileSystem::setCurrentWorkingDirectory(const Twine &P) {
  968 InMemoryFileSystem::getRealPath(const Twine &Path,
  980 std::error_code InMemoryFileSystem::isLocal(const Twine &Path, bool &Result) {
 1038       const Twine &Path,
 1052 RedirectingFileSystem::setCurrentWorkingDirectory(const Twine &Path) {
 1071 std::error_code RedirectingFileSystem::isLocal(const Twine &Path,
 1076 directory_iterator RedirectingFileSystem::dir_begin(const Twine &Dir,
 1142   void error(yaml::Node *N, const Twine &Msg) { Stream.printError(N, Msg); }
 1625 RedirectingFileSystem::lookupPath(const Twine &Path_) const {
 1701 static Status getRedirectedFileStatus(const Twine &Path, bool UseExternalNames,
 1710 ErrorOr<Status> RedirectingFileSystem::status(const Twine &Path,
 1726 ErrorOr<Status> RedirectingFileSystem::status(const Twine &Path) {
 1752   getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator,
 1764 RedirectingFileSystem::openFileForRead(const Twine &Path) {
 1794 RedirectingFileSystem::getRealPath(const Twine &Path,
 2035     const Twine &_Path,
 2105     FileSystem &FS_, const Twine &Path, std::error_code &EC)
lib/Support/YAMLParser.cpp
  265   void printError(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Message,
  270   void setError(const Twine &Message, StringRef::iterator Position) {
  285   void setError(const Twine &Message) {
 1774 void Stream::printError(Node *N, const Twine &Msg) {
 1869 void Node::setError(const Twine &Msg, Token &Tok) const {
 2293 void Document::setError(const Twine &Message, Token &Location) const {
lib/Support/YAMLTraits.cpp
  352 void Input::setError(HNode *hnode, const Twine &message) {
  367 void Input::setError(Node *node, const Twine &message) {
  426 void Input::setError(const Twine &Message) {
  734 void Output::setError(const Twine &message) {
lib/TableGen/Error.cpp
   27                          const Twine &Msg) {
   42 void PrintNote(const Twine &Msg) { WithColor::note() << Msg << "\n"; }
   44 void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg) {
   48 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) {
   52 void PrintWarning(const char *Loc, const Twine &Msg) {
   56 void PrintWarning(const Twine &Msg) { WithColor::warning() << Msg << "\n"; }
   58 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) {
   62 void PrintError(const char *Loc, const Twine &Msg) {
   66 void PrintError(const Twine &Msg) { WithColor::error() << Msg << "\n"; }
   68 void PrintFatalError(const Twine &Msg) {
   75 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) {
lib/TableGen/Main.cpp
   55 static int reportError(const char *ProgName, Twine Msg) {
lib/TableGen/TGLexer.cpp
   69 tgtok::TokKind TGLexer::ReturnError(SMLoc Loc, const Twine &Msg) {
   74 tgtok::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) {
lib/TableGen/TGLexer.h
  130   tgtok::TokKind ReturnError(SMLoc Loc, const Twine &Msg);
  131   tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg);
lib/TableGen/TGParser.h
  125   bool Error(SMLoc L, const Twine &Msg) const {
  129   bool TokError(const Twine &Msg) const {
lib/TableGen/TableGenBackend.cpp
   21 static void printLine(raw_ostream &OS, const Twine &Prefix, char Fill,
lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
   59   OS << "\t.inst\t0x" << Twine::utohexstr(Inst) << "\n";
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  224                               const Twine &Name = "") {
  233                                Value *Arg2, const Twine &Name = "") {
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
  610                                          const Twine& ErrMsg) const {
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h
   64   MCOperand errOperand(unsigned V, const Twine& ErrMsg) const;
lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
  561       Stream << "0x" << Twine::utohexstr(Reg) << ",0x" << Twine::utohexstr(Val);
  561       Stream << "0x" << Twine::utohexstr(Reg) << ",0x" << Twine::utohexstr(Val);
lib/Target/ARM/ARMFastISel.cpp
  229     unsigned getLibcallReg(const Twine &Name);
 2184 unsigned ARMFastISel::getLibcallReg(const Twine &Name) {
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  377   void Note(SMLoc L, const Twine &Msg, SMRange Range = None) {
  381   bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) {
  385   bool Error(SMLoc L, const Twine &Msg, SMRange Range = None) {
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  258   OS << "\t0x" << Twine::utohexstr(Inst) << "\n";
  267     OS << ", 0x" << Twine::utohexstr(*OCI);
lib/Target/BPF/BPFISelLowering.cpp
   39 static void fail(const SDLoc &DL, SelectionDAG &DAG, const Twine &Msg) {
lib/Target/BPF/BTFDebug.cpp
   38   OS.AddComment("0x" + Twine::utohexstr(BTFType.Info));
  150   OS.AddComment("0x" + Twine::utohexstr(IntVal));
  257     OS.AddComment("0x" + Twine::utohexstr(Member.Offset));
  712   OS.AddComment("0x" + Twine::utohexstr(BTF::MAGIC));
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
  114   void Warning(SMLoc L, const Twine &Msg) { Parser.Warning(L, Msg); }
  115   bool Error(SMLoc L, const Twine &Msg) { return Parser.Error(L, Msg); }
lib/Target/Hexagon/HexagonMachineScheduler.h
  156     VLIWSchedBoundary(unsigned ID, const Twine &Name)
lib/Target/Hexagon/HexagonTargetObjectFile.cpp
  383     Twine Name = Twine(".scommon") + getSectionSuffixForSize(Size);
lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp
  711 void HexagonMCChecker::reportError(Twine const &Msg) {
  715 void HexagonMCChecker::reportError(SMLoc Loc, Twine const &Msg) {
  720 void HexagonMCChecker::reportNote(SMLoc Loc, llvm::Twine const &Msg) {
  728 void HexagonMCChecker::reportWarning(Twine const &Msg) {
lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.h
  120   void reportError(SMLoc Loc, Twine const &Msg);
  121   void reportNote(SMLoc Loc, Twine const &Msg);
  122   void reportError(Twine const &Msg);
  123   void reportWarning(Twine const &Msg);
lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp
  669 void HexagonShuffler::reportError(Twine const &Msg) {
lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.h
  187   void reportError(Twine const &Msg);
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  159   void printWarningWithFixIt(const Twine &Msg, const Twine &FixMsg,
  159   void printWarningWithFixIt(const Twine &Msg, const Twine &FixMsg,
  333   bool reportParseError(Twine ErrorMsg);
  334   bool reportParseError(SMLoc Loc, Twine ErrorMsg);
 5803 MipsAsmParser::printWarningWithFixIt(const Twine &Msg, const Twine &FixMsg,
 5803 MipsAsmParser::printWarningWithFixIt(const Twine &Msg, const Twine &FixMsg,
 6654 bool MipsAsmParser::reportParseError(Twine ErrorMsg) {
 6659 bool MipsAsmParser::reportParseError(SMLoc Loc, Twine ErrorMsg) {
lib/Target/Mips/MipsAsmPrinter.cpp
  528       O << "0x" << Twine::utohexstr(MO.getImm());
  533       O << "0x" << Twine::utohexstr(MO.getImm() & 0xffff);
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
  104   void Warning(SMLoc L, const Twine &Msg) { getParser().Warning(L, Msg); }
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
   63                                   int64_t Lower, int64_t Upper, Twine Msg);
  773     Twine Msg = "immediate must be an integer in the range") {
 1059     Twine Msg = "immediate must be an integer in the range";
 1080     Twine Msg = "operand must be a valid system register name "
 1087     Twine Msg = "immediate must be an integer in the range";
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  218   bool error(const Twine &Msg, const AsmToken &Tok) {
  222   bool error(const Twine &Msg) {
  843     auto SecName = ".text." + SymName;
lib/Target/X86/AsmParser/X86AsmParser.cpp
  804   bool Error(SMLoc L, const Twine &Msg, SMRange Range = None,
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
   57 static std::unique_ptr<MemoryBuffer> openFile(const Twine &Path) {
lib/ToolDrivers/llvm-lib/LibDriver.cpp
  104 static void fatalOpenError(llvm::Error E, Twine File) {
lib/Transforms/Coroutines/CoroFrame.cpp
  994 static BasicBlock *splitBlockIfNotFirst(Instruction *I, const Twine &Name) {
 1007 static void splitAround(Instruction *I, const Twine &Name) {
lib/Transforms/Coroutines/CoroSplit.cpp
   95   const Twine &Suffix;
  108   CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape,
  116   CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape,
  394                                         const Twine &Suffix,
  776 static Function *createClone(Function &F, const Twine &Suffix,
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  453                                       const Twine &Suffix = "") {
lib/Transforms/Instrumentation/CFGMST.h
  234   void dumpEdges(raw_ostream &OS, const Twine &Message) const {
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  563                               Twine(FunctionHash) + "\t" + Str);
  678       Twine(F.getName() + "." + Twine(FunctionHash)).str();
  678       Twine(F.getName() + "." + Twine(FunctionHash)).str();
  681   FuncName = Twine(FuncName + "." + Twine(FunctionHash)).str();
  681   FuncName = Twine(FuncName + "." + Twine(FunctionHash)).str();
  698       Twine(OrigComdat->getName() + "." + Twine(FunctionHash)).str();
  707       GA->setName(Twine(GA->getName() + "." + Twine(FunctionHash)));
lib/Transforms/ObjCARC/ObjCARCContract.cpp
  321                const Twine &NameStr, Instruction *InsertBefore,
  336 createCallInst(FunctionCallee Func, ArrayRef<Value *> Args, const Twine &NameStr,
lib/Transforms/Scalar/Reassociate.cpp
  232 static BinaryOperator *CreateAdd(Value *S1, Value *S2, const Twine &Name,
  244 static BinaryOperator *CreateMul(Value *S1, Value *S2, const Twine &Name,
  256 static BinaryOperator *CreateNeg(Value *S1, const Twine &Name,
lib/Transforms/Scalar/SROA.cpp
  134   const Twine getNameWithPrefix(const Twine &Name) const {
  134   const Twine getNameWithPrefix(const Twine &Name) const {
  139   void SetNamePrefix(const Twine &P) { Prefix = P.str(); }
  142   void InsertHelper(Instruction *I, const Twine &Name, BasicBlock *BB,
 1398                        SmallVectorImpl<Value *> &Indices, Twine NamePrefix) {
 1423                                     Twine NamePrefix) {
 1468                                        Twine NamePrefix) {
 1541                                       Twine NamePrefix) {
 1579                              APInt Offset, Type *PointerTy, Twine NamePrefix) {
 2132                              const Twine &Name) {
 2154                             Value *V, uint64_t Offset, const Twine &Name) {
 2185                             unsigned EndIndex, const Twine &Name) {
 2211                            unsigned BeginIndex, const Twine &Name) {
 3307     void emitSplitOps(Type *Ty, Value *&Agg, const Twine &Name) {
 3358     void emitFunc(Type *Ty, Value *&Agg, unsigned Align, const Twine &Name) {
 3398     void emitFunc(Type *Ty, Value *&Agg, unsigned Align, const Twine &Name) {
lib/Transforms/Scalar/Scalarizer.cpp
  107                     const Twine &Name) const {
  120                     const Twine &Name) const {
  132   Value *operator()(IRBuilder<> &Builder, Value *Op, const Twine &Name) const {
  145                     const Twine &Name) const {
lib/Transforms/Utils/BasicBlockUtils.cpp
  404                              MemorySSAUpdater *MSSAU, const Twine &BBName) {
lib/Transforms/Utils/CloneFunction.cpp
   41                                   const Twine &NameSuffix, Function *F,
  754                                    const Twine &NameSuffix, LoopInfo *LI,
lib/Transforms/Utils/MisExpect.cpp
   82   Twine Msg(PerString);
lib/Transforms/Vectorize/LoopVectorize.cpp
 7265 void VPInterleaveRecipe::print(raw_ostream &O, const Twine &Indent) const {
lib/Transforms/Vectorize/SLPVectorizer.cpp
 5788     Value *createOp(IRBuilder<> &Builder, const Twine &Name) const {
 6024     Value *createOp(IRBuilder<> &Builder, const Twine &Name,
 6048     Value *createOp(IRBuilder<> &Builder, const Twine &Name,
lib/Transforms/Vectorize/VPlan.cpp
  337 void VPInstruction::print(raw_ostream &O, const Twine &Indent) const {
  490 const Twine VPlanPrinter::getUID(const VPBlockBase *Block) {
  495 const Twine VPlanPrinter::getOrCreateName(const VPBlockBase *Block) {
  541                             bool Hidden, const Twine &Label) {
  647 void VPWidenRecipe::print(raw_ostream &O, const Twine &Indent) const {
  654                                           const Twine &Indent) const {
  664 void VPWidenPHIRecipe::print(raw_ostream &O, const Twine &Indent) const {
  668 void VPBlendRecipe::print(raw_ostream &O, const Twine &Indent) const {
  688 void VPReplicateRecipe::print(raw_ostream &O, const Twine &Indent) const {
  697 void VPPredInstPHIRecipe::print(raw_ostream &O, const Twine &Indent) const {
  704                                            const Twine &Indent) const {
lib/Transforms/Vectorize/VPlan.h
  401   void setName(const Twine &newName) { Name = newName.str(); }
  612   virtual void print(raw_ostream &O, const Twine &Indent) const = 0;
  691   void print(raw_ostream &O, const Twine &Indent) const override;
  740   void print(raw_ostream &O, const Twine &Indent) const override;
  765   void print(raw_ostream &O, const Twine &Indent) const override;
  786   void print(raw_ostream &O, const Twine &Indent) const override;
  817   void print(raw_ostream &O, const Twine &Indent) const override;
  844   void print(raw_ostream &O, const Twine &Indent) const override;
  894   void print(raw_ostream &O, const Twine &Indent) const override;
  918   void print(raw_ostream &O, const Twine &Indent) const override {
  953   void print(raw_ostream &O, const Twine &Indent) const override;
  980   void print(raw_ostream &O, const Twine &Indent) const override;
  995   VPBasicBlock(const Twine &Name = "", VPRecipeBase *Recipe = nullptr)
 1223   void setName(const Twine &newName) { Name = newName.str(); }
 1299   const Twine getOrCreateName(const VPBlockBase *Block);
 1301   const Twine getUID(const VPBlockBase *Block);
 1305                 const Twine &Label);
lib/WindowsManifest/WindowsManifestMerger.cpp
   31 WindowsManifestError::WindowsManifestError(const Twine &Msg) : Msg(Msg.str()) {}
tools/clang/include/clang/ARCMigrate/FileRemapper.h
   67   bool report(const Twine &err, DiagnosticsEngine &Diag);
tools/clang/include/clang/AST/Type.h
  990              const Twine &PlaceHolder = Twine(),
  994                     const PrintingPolicy &policy, const Twine &PlaceHolder,
 1001                     const Twine &PlaceHolder,
 1019     const Twine &PlaceHolder;
 1024                            const Twine &PlaceHolder, unsigned Indentation)
 1036                                 const Twine &PlaceHolder = Twine(),
tools/clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h
   86     template <class T> ArgStream &operator<<(const T &Arg) {
   87       return operator<<(Twine(Arg));
   89     ArgStream &operator<<(const Twine &Arg);
tools/clang/include/clang/Basic/MacroBuilder.h
   29   void defineMacro(const Twine &Name, const Twine &Value = "1") {
   29   void defineMacro(const Twine &Name, const Twine &Value = "1") {
   35   void undefineMacro(const Twine &Name) {
   40   void append(const Twine &Str) {
tools/clang/include/clang/CodeGen/ConstantInitBuilder.h
   78                                      const llvm::Twine &name,
  369   llvm::GlobalVariable *finishAndCreateGlobal(As &&...args) {
  372                                       std::forward<As>(args)...);
tools/clang/include/clang/Edit/EditedSource.h
   92   StringRef copyString(const Twine &twine);
tools/clang/include/clang/Frontend/PrecompiledPreamble.h
  138     static llvm::ErrorOr<TempPCHFile> createInSystemTempDir(const Twine &Prefix,
  143     static llvm::ErrorOr<TempPCHFile> createFromCustomPath(const Twine &Path);
tools/clang/include/clang/Lex/ModuleMap.h
  640                          Twine NameAsWritten);
  645                       Twine NameAsWritten);
tools/clang/include/clang/Sema/CodeCompleteConsumer.h
  639   const char *CopyString(const Twine &String);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h
  325     llvm::Twine Name = "$" + llvm::Twine(ID);
tools/clang/include/clang/Tooling/CompilationDatabase.h
   45   CompileCommand(Twine Directory, Twine Filename,
   45   CompileCommand(Twine Directory, Twine Filename,
   46                  std::vector<std::string> CommandLine, Twine Output)
  184       Twine Directory = ".");
  193   FixedCompilationDatabase(Twine Directory, ArrayRef<std::string> CommandLine);
tools/clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
  152   llvm::ErrorOr<llvm::vfs::Status> status(const Twine &Path) override;
  154   openFileForRead(const Twine &Path) override;
tools/clang/include/clang/Tooling/Tooling.h
  157 bool runToolOnCode(std::unique_ptr<FrontendAction> ToolAction, const Twine &Code,
  158                    const Twine &FileName = "input.cc",
  180     std::unique_ptr<FrontendAction> ToolAction, const Twine &Code,
  181     const std::vector<std::string> &Args, const Twine &FileName = "input.cc",
  182     const Twine &ToolName = "clang-tool",
  189     std::unique_ptr<FrontendAction> ToolAction, const Twine &Code,
  191     const std::vector<std::string> &Args, const Twine &FileName = "input.cc",
  192     const Twine &ToolName = "clang-tool",
tools/clang/lib/ARCMigrate/FileRemapper.cpp
  256 bool FileRemapper::report(const Twine &err, DiagnosticsEngine &Diag) {
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 2166 static bool reportDiag(const Twine &Err, DiagnosticsEngine &Diag) {
tools/clang/lib/AST/TypePrinter.cpp
 1881                      const Twine &PlaceHolder, unsigned Indentation) const {
 1888                      const Twine &PlaceHolder, unsigned Indentation) {
tools/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp
   60 Diagnostics::ArgStream &Diagnostics::ArgStream::operator<<(const Twine &Arg) {
  167                      const Twine Prefix, llvm::raw_ostream &OS) {
tools/clang/lib/Basic/Targets/ARM.cpp
  653     Builder.defineMacro("__ARM_FEATURE_LDREX", "0x" + Twine::utohexstr(LDREX));
  662     Builder.defineMacro("__ARM_FP", "0x" + Twine::utohexstr(HW_FP));
  749                         "0x" + Twine::utohexstr(HW_FP & ~HW_FP_DP));
tools/clang/lib/CodeGen/CGBlocks.cpp
 2705                                                const llvm::Twine &name) {
tools/clang/lib/CodeGen/CGBuilder.h
   32   void InsertHelper(llvm::Instruction *I, const llvm::Twine &Name,
   69   llvm::LoadInst *CreateLoad(Address Addr, const llvm::Twine &Name = "") {
   82                              const llvm::Twine &Name = "") {
   91                                     const llvm::Twine &Name = "") {
  100                                     const llvm::Twine &Name = "") {
  129                                  const llvm::Twine &Name = "") {
  142                         const llvm::Twine &Name = "") {
  149                               const llvm::Twine &Name = "") {
  157                                const llvm::Twine &Name = "") {
  164                                               const llvm::Twine &Name = "") {
  179                           const llvm::Twine &Name = "") {
  199                               const llvm::Twine &Name = "") {
  217                                  const llvm::Twine &Name = "") {
  233                          const llvm::Twine &Name = "") {
  245                                      const llvm::Twine &Name = "") {
  251                              const llvm::Twine &Name = "") {
  259                                      const llvm::Twine &Name = "") {
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1460     llvm::Twine Format = Types.find(CanonicalType) == Types.end()
 5815     const CmpInst::Predicate Ip, const Twine &Name) {
tools/clang/lib/CodeGen/CGCall.cpp
 3657                                          const llvm::Twine &name) {
 3665                                          const llvm::Twine &name) {
 3674                                                  const llvm::Twine &name) {
 3700                                                  const llvm::Twine &name) {
 3733                                          const Twine &name) {
 3741                                          const Twine &name) {
 3751                                                   const Twine &Name) {
tools/clang/lib/CodeGen/CGCleanup.cpp
  310 static llvm::LoadInst *createLoadInstBefore(Address addr, const Twine &name,
tools/clang/lib/CodeGen/CGDecl.cpp
 1327       Twine Name = Twine("__vla_expr") + Twine(VLAExprCounter++);
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  335     llvm::FunctionType *FTy, const Twine &Name, const CGFunctionInfo &FI,
tools/clang/lib/CodeGen/CGExpr.cpp
   66                                                      const Twine &Name,
   76                                           const Twine &Name,
  107                                                     const Twine &Name,
  120                                                       const Twine &Name) {
  134 Address CodeGenFunction::CreateIRTemp(QualType Ty, const Twine &Name) {
  139 Address CodeGenFunction::CreateMemTemp(QualType Ty, const Twine &Name,
  146                                        const Twine &Name, Address *Alloca) {
  152                                                   const Twine &Name) {
  157                                                   const Twine &Name) {
 3371                                     const llvm::Twine &name = "arrayidx") {
 3410                                      const llvm::Twine &name = "arrayidx") {
tools/clang/lib/CodeGen/CGExprScalar.cpp
 4654                                         SourceLocation Loc, const Twine &Name) {
tools/clang/lib/CodeGen/CGObjCGNU.cpp
  192   std::string SymbolForProtocol(Twine Name) {
tools/clang/lib/CodeGen/CGObjCMac.cpp
 1010   llvm::Constant *EmitPropertyList(Twine Name,
 1018   llvm::Constant *EmitProtocolMethodTypes(Twine Name,
 1050   llvm::GlobalVariable *CreateMetadataVar(Twine Name,
 1054   llvm::GlobalVariable *CreateMetadataVar(Twine Name,
 1275   llvm::Constant *emitMethodList(Twine Name, MethodListType MLT,
 1299   llvm::Constant *EmitProtocolList(Twine Name,
 1447   llvm::Constant *emitMethodList(Twine Name, MethodListType MLT,
 1474   llvm::Constant *EmitProtocolList(Twine Name,
 1859                      const llvm::Twine &Name, CodeGenModule &CGM) {
 3176 CGObjCMac::EmitProtocolList(Twine name,
 3242 llvm::Constant *CGObjCCommonMac::EmitPropertyList(Twine Name,
 3318 CGObjCCommonMac::EmitProtocolMethodTypes(Twine Name,
 3883 llvm::Constant *CGObjCMac::emitMethodList(Twine name, MethodListType MLT,
 3989 llvm::GlobalVariable *CGObjCCommonMac::CreateMetadataVar(Twine Name,
 4005 llvm::GlobalVariable *CGObjCCommonMac::CreateMetadataVar(Twine Name,
 6657 CGObjCNonFragileABIMac::emitMethodList(Twine name, MethodListType kind,
 7006 CGObjCNonFragileABIMac::EmitProtocolList(Twine Name,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1543                    ArrayRef<llvm::Constant *> Data, const Twine &Name,
 3134     llvm::Type *Ty, const llvm::Twine &Name, unsigned AddressSpace) {
tools/clang/lib/CodeGen/CGOpenMPRuntime.h
  739                                               const llvm::Twine &Name,
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 2599                                 const Twine &Name,
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 2130                                    const llvm::Twine &Name,
 2139     llvm::Instruction *I, const llvm::Twine &Name, llvm::BasicBlock *BB,
tools/clang/lib/CodeGen/CodeGenFunction.h
  289   void InsertHelper(llvm::Instruction *I, const llvm::Twine &Name,
 1823                                 const llvm::Twine &name);
 2061   llvm::BasicBlock *createBasicBlock(const Twine &name = "",
 2199   llvm::AllocaInst *CreateTempAlloca(llvm::Type *Ty, const Twine &Name = "tmp",
 2202                            const Twine &Name = "tmp",
 2206                                       const Twine &Name = "tmp",
 2220                                        const Twine &Name = "tmp");
 2239   Address CreateIRTemp(QualType T, const Twine &Name = "tmp");
 2244   Address CreateMemTemp(QualType T, const Twine &Name = "tmp",
 2246   Address CreateMemTemp(QualType T, CharUnits Align, const Twine &Name = "tmp",
 2251   Address CreateMemTempWithoutCast(QualType T, const Twine &Name = "tmp");
 2253                                    const Twine &Name = "tmp");
 2257   AggValueSlot CreateAggTemp(QualType T, const Twine &Name = "tmp") {
 3619                                   const Twine &name = "");
 3622                                   const Twine &name = "");
 3624                                           const Twine &name = "");
 3627                                           const Twine &name = "");
 3634                                    const Twine &Name = "");
 3637                                           const Twine &name = "");
 3639                                           const Twine &name = "");
 3735                                              const llvm::Twine &Name = "");
 4083                                       const Twine &Name = "");
tools/clang/lib/CodeGen/CodeGenModule.h
  807   CreateGlobalInitOrDestructFunction(llvm::FunctionType *ty, const Twine &name,
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp
   68                                       const llvm::Twine &name,
tools/clang/lib/CodeGen/TargetInfo.cpp
  376                             const llvm::Twine &Name = "") {
tools/clang/lib/Driver/Driver.cpp
 1817                               Twine Indent = {}, int Kind = TopLevelAction) {
 1828   Twine SibIndent = Indent + getSibIndent(Kind);
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
   65 void tools::addPathIfExists(const Driver &D, const Twine &Path,
tools/clang/lib/Driver/ToolChains/CommonArgs.h
   23 void addPathIfExists(const Driver &D, const Twine &Path,
tools/clang/lib/Driver/ToolChains/Gnu.cpp
 2636     Twine Base, Twine Suffix, StringRef GCCTriple, StringRef GCCMultiarchTriple,
 2636     Twine Base, Twine Suffix, StringRef GCCTriple, StringRef GCCMultiarchTriple,
 2637     StringRef TargetMultiarchTriple, Twine IncludeSuffix,
tools/clang/lib/Driver/ToolChains/Gnu.h
  325   bool addLibStdCXXIncludePaths(Twine Base, Twine Suffix, StringRef GCCTriple,
  325   bool addLibStdCXXIncludePaths(Twine Base, Twine Suffix, StringRef GCCTriple,
  328                                 Twine IncludeSuffix,
tools/clang/lib/Edit/EditedSource.cpp
   69 StringRef EditedSource::copyString(const Twine &twine) {
tools/clang/lib/Format/Format.cpp
  621 inline llvm::Error make_string_error(const llvm::Twine &Message) {
tools/clang/lib/Frontend/ASTUnit.cpp
  132     void setOutput(const Twine &Output) {
tools/clang/lib/Frontend/CompilerInvocation.cpp
  648                                   const Twine &ProfileName) {
tools/clang/lib/Frontend/InitHeaderSearch.cpp
   59   bool AddPath(const Twine &Path, IncludeDirGroup Group, bool isFramework);
   64   bool AddUnmappedPath(const Twine &Path, IncludeDirGroup Group,
  117 bool InitHeaderSearch::AddPath(const Twine &Path, IncludeDirGroup Group,
  132 bool InitHeaderSearch::AddUnmappedPath(const Twine &Path, IncludeDirGroup Group,
tools/clang/lib/Frontend/InitPreprocessor.cpp
  166 static void DefineTypeSize(const Twine &MacroName, unsigned TypeWidth,
  176 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty,
  182 static void DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty,
  192 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty,
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
  545 PrecompiledPreamble::TempPCHFile::createInSystemTempDir(const Twine &Prefix,
  561 PrecompiledPreamble::TempPCHFile::createFromCustomPath(const Twine &Path) {
tools/clang/lib/Lex/ModuleMap.cpp
 1105                                   Twine NameAsWritten) {
 1117                                Twine NameAsWritten) {
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  345 const char *CodeCompletionAllocator::CopyString(const Twine &String) {
tools/clang/lib/Tooling/AllTUsExecution.cpp
   21 llvm::Error make_string_error(const llvm::Twine &Message) {
tools/clang/lib/Tooling/CompilationDatabase.cpp
  346                                               Twine Directory) {
  378 FixedCompilationDatabase(Twine Directory, ArrayRef<std::string> CommandLine) {
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
  199 DependencyScanningWorkerFilesystem::status(const Twine &Path) {
  224   getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator,
  259 DependencyScanningWorkerFilesystem::openFileForRead(const Twine &Path) {
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
   59   std::error_code setCurrentWorkingDirectory(const Twine &Path) override {
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp
  137 inline llvm::Error make_string_error(const llvm::Twine &Message) {
tools/clang/lib/Tooling/StandaloneExecution.cpp
   15 static llvm::Error make_string_error(const llvm::Twine &Message) {
tools/clang/lib/Tooling/Tooling.cpp
  155                    const Twine &Code, const Twine &FileName,
  155                    const Twine &Code, const Twine &FileName,
  166 getSyntaxOnlyToolArgs(const Twine &ToolName,
  181     std::unique_ptr<FrontendAction> ToolAction, const Twine &Code,
  183     const std::vector<std::string> &Args, const Twine &FileName,
  184     const Twine &ToolName,
  199     std::unique_ptr<FrontendAction> ToolAction, const Twine &Code,
  200     const std::vector<std::string> &Args, const Twine &FileName,
  201     const Twine &ToolName,
tools/clang/lib/Tooling/Transformer/RangeSelector.cpp
   33 static Error invalidArgumentError(Twine Message) {
   43                        Twine ExpectedType) {
   49 static Error missingPropertyError(StringRef ID, Twine Description,
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp
   77   TextNode(const Twine &Text)
   86   TagNode(HTMLTag Tag, const Twine &Text) : TagNode(Tag) {
  302 static std::unique_ptr<TagNode> genLink(const Twine &Text, const Twine &Link) {
  302 static std::unique_ptr<TagNode> genLink(const Twine &Text, const Twine &Link) {
tools/clang/tools/extra/clang-doc/MDGenerator.cpp
   23 static std::string genItalic(const Twine &Text) {
   27 static std::string genEmphasis(const Twine &Text) {
   43 static void writeLine(const Twine &Text, raw_ostream &OS) {
   49 static void writeHeader(const Twine &Text, unsigned int Num, raw_ostream &OS) {
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp
  133 bool CreateDirectory(const Twine &DirName, bool ClearDirectory = false) {
tools/clang/tools/extra/clang-move/tool/ClangMove.cpp
   30 std::error_code CreateNewFile(const llvm::Twine &path) {
tools/clang/tools/extra/clang-query/Query.h
   54   InvalidQuery(const Twine &ErrStr) : Query(QK_Invalid), ErrStr(ErrStr.str()) {}
tools/clang/tools/extra/clangd/FS.cpp
   65     openFileForRead(const llvm::Twine &Path) override {
   79     llvm::ErrorOr<llvm::vfs::Status> status(const llvm::Twine &Path) override {
  102     llvm::ErrorOr<llvm::vfs::Status> status(const llvm::Twine &Path) override {
tools/clang/tools/extra/clangd/FSProvider.cpp
   29   openFileForRead(const llvm::Twine &InPath) override {
   53     getBuffer(const llvm::Twine &Name, int64_t FileSize,
tools/clang/tools/extra/clangd/Logger.h
   40 template <typename T> T &&wrap(T &&V) { return std::forward<T>(V); }
   40 template <typename T> T &&wrap(T &&V) { return std::forward<T>(V); }
   40 template <typename T> T &&wrap(T &&V) { return std::forward<T>(V); }
   45 void log(Logger::Level L, const char *Fmt, Ts &&... Vals) {
   46   detail::log(L, llvm::formatv(Fmt, detail::wrap(std::forward<Ts>(Vals))...));
   67 template <typename... Ts> void vlog(const char *Fmt, Ts &&... Vals) {
   68   detail::log(Logger::Verbose, Fmt, std::forward<Ts>(Vals)...);
tools/clang/tools/extra/clangd/Threading.cpp
   70 void AsyncTaskRunner::runAsync(const llvm::Twine &Name,
tools/clang/tools/extra/clangd/Threading.h
  113   void runAsync(const llvm::Twine &Name, llvm::unique_function<void()> Action);
tools/clang/tools/extra/clangd/Trace.cpp
  205 void log(const llvm::Twine &Message) {
  212 static Context makeSpanContext(llvm::Twine Name, llvm::json::Object *Args) {
  224 Span::Span(llvm::Twine Name)
tools/clang/tools/extra/clangd/Trace.h
   70 void log(const llvm::Twine &Name);
   83   Span(llvm::Twine Name);
tools/clang/tools/extra/clangd/URI.cpp
   24 inline llvm::Error make_string_error(const llvm::Twine &Message) {
tools/clang/tools/extra/clangd/index/Serialization.cpp
   28 llvm::Error makeError(const llvm::Twine &Msg) {
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
  911         openFileForRead(const Twine &Path) override {
  915         llvm::ErrorOr<llvm::vfs::Status> status(const Twine &Path) override {
tools/clang/tools/extra/pp-trace/PPTrace.cpp
   72 LLVM_ATTRIBUTE_NORETURN static void error(Twine Message) {
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h
   84                const Twine &Filename = "input.cc",
tools/clang/tools/extra/unittests/clang-tidy/LLVMModuleTest.cpp
   14 static std::string runHeaderGuardCheck(StringRef Code, const Twine &Filename,
   36 runHeaderGuardCheckWithEndif(StringRef Code, const Twine &Filename,
tools/clang/unittests/AST/MatchVerifier.h
   64   void setFailure(const Twine &Result) {
tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
   33 buildASTFromCodeWithArgs(const Twine &Code,
   42 std::unique_ptr<ASTUnit> buildASTFromCode(const Twine &Code) {
tools/clang/unittests/Frontend/PCHPreambleTest.cpp
   32   ErrorOr<std::unique_ptr<vfs::File>> openFileForRead(const Twine &Path) override
   41   unsigned GetReadCount(const Twine &Path) const
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp
  194    Twine ArgumentsAccumulate;
tools/clang/unittests/Tooling/ExecutionTest.cpp
  230   FixedCompilationDatabaseWithFiles(Twine Directory,
tools/clang/unittests/Tooling/TestVisitor.h
  134   void DisallowMatch(Twine Match, unsigned Line, unsigned Column) {
  144   void ExpectMatch(Twine Match, unsigned Line, unsigned Column,
  186     MatchCandidate(Twine Name, unsigned LineNumber, unsigned ColumnNumber)
  217     ExpectedMatch(Twine Name, unsigned LineNumber, unsigned ColumnNumber,
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  636   LLVM_ATTRIBUTE_NORETURN void PrintFatalError(llvm::Twine const &Msg) const {
tools/clang/utils/TableGen/ClangOpcodesEmitter.cpp
   62                std::function<void(ArrayRef<Record *>, Twine)> &&F) {
   66   std::function<void(size_t, const Twine &)> Rec;
  266   std::function<void(size_t, const Twine &)> Rec;
tools/clang/utils/TableGen/NeonEmitter.cpp
 2215     OS << "mask = 0x" << Twine::utohexstr(OI.Mask) << "ULL";
tools/dsymutil/DwarfLinker.cpp
  221 void DwarfLinker::reportWarning(const Twine &Warning, const DebugMapObject &DMO,
  257     std::function<void(const Twine &, const DWARFDie &)> ReportWarning) {
  293     std::function<void(const Twine &, const DWARFDie &)> ReportWarning,
tools/dsymutil/DwarfLinker.h
   65   void reportWarning(const Twine &Warning, const DebugMapObject &DMO,
tools/dsymutil/LinkUtils.h
   74 inline void warn(Twine Warning, Twine Context = {}) {
   74 inline void warn(Twine Warning, Twine Context = {}) {
   80 inline bool error(Twine Error, Twine Context = {}) {
   80 inline bool error(Twine Error, Twine Context = {}) {
tools/dsymutil/MachODebugMapParser.cpp
  105   void Warning(const Twine &Msg, StringRef File = StringRef()) {
tools/lld/COFF/Chunks.cpp
  115     error("unsupported relocation type 0x" + Twine::utohexstr(type) + " in " +
  130     error("unsupported relocation type 0x" + Twine::utohexstr(type) + " in " +
  200     error("unsupported relocation type 0x" + Twine::utohexstr(type) + " in " +
  312     error("unsupported relocation type 0x" + Twine::utohexstr(type) + " in " +
tools/lld/COFF/DriverUtils.cpp
   53   void add(Twine s) { args.push_back(saver.save(s)); }
tools/lld/COFF/SymbolTable.cpp
   58 static void errorOrWarn(const Twine &s) {
tools/lld/Common/ErrorHandler.cpp
   36 static StringRef getSeparator(const Twine &msg) {
  111 std::string ErrorHandler::getLocation(const Twine &msg) {
  148 void ErrorHandler::log(const Twine &msg) {
  155 void ErrorHandler::message(const Twine &msg) {
  161 void ErrorHandler::warn(const Twine &msg) {
  173 void ErrorHandler::error(const Twine &msg) {
  206 void ErrorHandler::fatal(const Twine &msg) {
tools/lld/Common/Strings.cpp
   75 void lld::saveBuffer(StringRef buffer, const Twine &path) {
tools/lld/ELF/Arch/PPC64.cpp
  858               Twine::utohexstr(insn));
tools/lld/ELF/Config.h
  320 static inline void errorOrWarn(const Twine &msg) {
tools/lld/ELF/Driver.cpp
  804 static void parseClangOption(StringRef opt, const Twine &msg) {
tools/lld/ELF/DriverUtils.cpp
  207 static Optional<std::string> findFile(StringRef path1, const Twine &path2) {
tools/lld/ELF/EhFrame.cpp
   43   template <class P> void failOn(const P *loc, const Twine &msg) {
tools/lld/ELF/ICF.cpp
  441 static void print(const Twine &s) {
  485   log("ICF needed " + Twine(cnt) + " iterations");
tools/lld/ELF/InputFiles.cpp
  451           Twine(sec.sh_size) + ") must be a multiple of sh_entsize (" +
  603       fatal(toString(this) + ": invalid sh_link index: " + Twine(sec.sh_link));
tools/lld/ELF/LinkerScript.cpp
  127 void LinkerScript::setDot(Expr e, const Twine &loc, bool inSec) {
 1162 ExprValue LinkerScript::getSymbolValue(StringRef name, const Twine &loc) {
tools/lld/ELF/LinkerScript.h
   42             const Twine &loc)
  231   void setDot(Expr e, const Twine &loc, bool inSec);
  270   ExprValue getSymbolValue(StringRef name, const Twine &loc);
tools/lld/ELF/MapFile.cpp
  137        << Twine::utohexstr(p.inputOff) + ")\n";
tools/lld/ELF/ScriptLexer.cpp
   74 void ScriptLexer::setError(const Twine &msg) {
tools/lld/ELF/ScriptLexer.h
   25   void setError(const Twine &msg);
tools/lld/ELF/ScriptParser.cpp
  889              Twine::utohexstr(value));
tools/lld/ELF/SyntheticSections.cpp
  125             Twine(s->version));
  519               Twine::utohexstr(pc - va));
 1960     log(".relr.dyn needs " + Twine(oldSize - relrRelocs.size()) +
tools/lld/ELF/Target.h
  193 static inline void reportRangeError(uint8_t *loc, RelType type, const Twine &v,
tools/lld/ELF/Writer.cpp
 2589     error("output file too large: " + Twine(fileSize) + " bytes");
tools/lld/MinGW/Driver.cpp
  113 static Optional<std::string> findFile(StringRef path1, const Twine &path2) {
tools/lld/include/lld/Common/ErrorHandler.h
   95   void error(const Twine &msg);
   96   LLVM_ATTRIBUTE_NORETURN void fatal(const Twine &msg);
   97   void log(const Twine &msg);
   98   void message(const Twine &msg);
   99   void warn(const Twine &msg);
  106   std::string getLocation(const Twine &msg);
  114 inline void error(const Twine &msg) { errorHandler().error(msg); }
  115 inline LLVM_ATTRIBUTE_NORETURN void fatal(const Twine &msg) {
  118 inline void log(const Twine &msg) { errorHandler().log(msg); }
  119 inline void message(const Twine &msg) { errorHandler().message(msg); }
  120 inline void warn(const Twine &msg) { errorHandler().warn(msg); }
  156 inline std::string toString(const Twine &s) { return s.str(); }
tools/lld/include/lld/Common/Strings.h
   28 void saveBuffer(llvm::StringRef buffer, const llvm::Twine &path);
tools/lld/include/lld/Core/Error.h
   49   GenericError(Twine Msg);
tools/lld/lib/Core/Error.cpp
   86 GenericError::GenericError(Twine Msg) : Msg(Msg.str()) { }
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  632              + " (r1_address=" + Twine::utohexstr(reloc.offset)
  642              + ", (r2_address=" + Twine::utohexstr(reloc2.offset)
  668              + " (r_address=" + Twine::utohexstr(reloc.offset)
  695 static const Atom* findDefinedAtomByName(MachOFile &file, Twine name) {
  749                    Twine::utohexstr(stabSym.value) + " in " + file.path());
tools/lld/tools/lld/lld.cpp
   53 LLVM_ATTRIBUTE_NORETURN static void die(const Twine &s) {
tools/lld/wasm/Driver.cpp
  150 static Optional<std::string> findFile(StringRef path1, const Twine &path2) {
tools/lld/wasm/OutputSections.cpp
  166         Twine::utohexstr(segment->startVA) + ", name=" + segment->name);
tools/lld/wasm/WriterUtils.cpp
   66 void debugWrite(uint64_t offset, const Twine &msg) {
   70 void writeUleb128(raw_ostream &os, uint32_t number, const Twine &msg) {
   75 void writeSleb128(raw_ostream &os, int32_t number, const Twine &msg) {
   81                       const Twine &msg) {
   86 void writeStr(raw_ostream &os, StringRef string, const Twine &msg) {
   93 void writeU8(raw_ostream &os, uint8_t byte, const Twine &msg) {
   98 void writeU32(raw_ostream &os, uint32_t number, const Twine &msg) {
  103 void writeValueType(raw_ostream &os, ValType type, const Twine &msg) {
  120 void writeI32Const(raw_ostream &os, int32_t number, const Twine &msg) {
  125 void writeI64Const(raw_ostream &os, int32_t number, const Twine &msg) {
tools/lld/wasm/WriterUtils.h
   19 void debugWrite(uint64_t offset, const Twine &msg);
   21 void writeUleb128(raw_ostream &os, uint32_t number, const Twine &msg);
   23 void writeSleb128(raw_ostream &os, int32_t number, const Twine &msg);
   26                 const Twine &msg);
   28 void writeStr(raw_ostream &os, StringRef string, const Twine &msg);
   30 void writeU8(raw_ostream &os, uint8_t byte, const Twine &msg);
   32 void writeU32(raw_ostream &os, uint32_t number, const Twine &msg);
   35                     const Twine &msg);
   39 void writeI32Const(raw_ostream &os, int32_t number, const Twine &msg);
   41 void writeI64Const(raw_ostream &os, int32_t number, const Twine &msg);
tools/lldb/include/lldb/Host/FileSystem.h
   75   llvm::vfs::directory_iterator DirBegin(const llvm::Twine &dir,
   82   llvm::ErrorOr<llvm::vfs::Status> GetStatus(const llvm::Twine &path) const;
   88   llvm::sys::TimePoint<> GetModificationTime(const llvm::Twine &path) const;
   94   uint64_t GetByteSize(const llvm::Twine &path) const;
  103   uint32_t GetPermissions(const llvm::Twine &path) const;
  105   uint32_t GetPermissions(const llvm::Twine &path, std::error_code &ec) const;
  111   bool Exists(const llvm::Twine &path) const;
  117   bool Readable(const llvm::Twine &path) const;
  123   bool IsDirectory(const llvm::Twine &path) const;
  129   bool IsLocal(const llvm::Twine &path) const;
  146   std::shared_ptr<DataBufferLLVM> CreateDataBuffer(const llvm::Twine &path,
  174   void EnumerateDirectory(llvm::Twine path, bool find_directories,
  179   std::error_code GetRealPath(const llvm::Twine &path,
  182   llvm::ErrorOr<std::string> GetExternalPath(const llvm::Twine &path);
tools/lldb/include/lldb/Host/linux/Support.h
   19 getProcFile(::pid_t pid, ::pid_t tid, const llvm::Twine &file);
   22 getProcFile(::pid_t pid, const llvm::Twine &file);
   25 getProcFile(const llvm::Twine &file);
tools/lldb/include/lldb/Interpreter/CommandCompletions.h
   63   static void DiskFiles(const llvm::Twine &partial_file_name,
   70   static void DiskDirectories(const llvm::Twine &partial_file_name,
tools/lldb/source/Commands/CommandCompletions.cpp
   89 static void DiskFilesOrDirectories(const llvm::Twine &partial_name,
  225 static void DiskFilesOrDirectories(const llvm::Twine &partial_name,
  248 void CommandCompletions::DiskFiles(const llvm::Twine &partial_file_name,
  260 void CommandCompletions::DiskDirectories(const llvm::Twine &partial_file_name,
tools/lldb/source/Host/common/FileSystem.cpp
   93 vfs::directory_iterator FileSystem::DirBegin(const Twine &dir,
  103 llvm::ErrorOr<vfs::Status> FileSystem::GetStatus(const Twine &path) const {
  112 sys::TimePoint<> FileSystem::GetModificationTime(const Twine &path) const {
  123 uint64_t FileSystem::GetByteSize(const Twine &path) const {
  139 uint32_t FileSystem::GetPermissions(const Twine &path) const {
  144 uint32_t FileSystem::GetPermissions(const Twine &path,
  154 bool FileSystem::Exists(const Twine &path) const { return m_fs->exists(path); }
  160 bool FileSystem::Readable(const Twine &path) const {
  168 bool FileSystem::IsDirectory(const Twine &path) const {
  179 bool FileSystem::IsLocal(const Twine &path) const {
  189 void FileSystem::EnumerateDirectory(Twine path, bool find_directories,
  236 std::error_code FileSystem::GetRealPath(const Twine &path,
  280 FileSystem::CreateDataBuffer(const llvm::Twine &path, uint64_t size,
  445 ErrorOr<std::string> FileSystem::GetExternalPath(const llvm::Twine &path) {
tools/lldb/source/Host/linux/Support.cpp
   14 lldb_private::getProcFile(::pid_t pid, ::pid_t tid, const llvm::Twine &file) {
   26 lldb_private::getProcFile(::pid_t pid, const llvm::Twine &file) {
   36 lldb_private::getProcFile(const llvm::Twine &file) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp
   29 static bool VerifyClangPath(const llvm::Twine &clang_path) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h
   86   PacketUnimplementedError(const llvm::Twine &S)
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
  699 Expected<PythonObject> PythonDictionary::GetItem(const Twine &key) const {
  720 Error PythonDictionary::SetItem(const Twine &key,
  766 Expected<PythonModule> PythonModule::Import(const Twine &name) {
  773 Expected<PythonObject> PythonModule::Get(const Twine &name) {
 1541 python::runStringOneLine(const llvm::Twine &string,
 1572 python::runStringMultiLine(const llvm::Twine &string,
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
  171   NullTerminated(const llvm::Twine &twine) {
  345   llvm::Expected<PythonObject> GetAttribute(const llvm::Twine &name) const {
  577   llvm::Expected<PythonObject> GetItem(const llvm::Twine &key) const;
  579   llvm::Error SetItem(const llvm::Twine &key, const PythonObject &value) const;
  607   static llvm::Expected<PythonModule> Import(const llvm::Twine &name);
  609   llvm::Expected<PythonObject> Get(const llvm::Twine &name);
  734 llvm::Expected<PythonObject> runStringOneLine(const llvm::Twine &string,
  738 llvm::Expected<PythonObject> runStringMultiLine(const llvm::Twine &string,
tools/lldb/source/Symbol/Variable.cpp
  486     const llvm::Twine
  493     const llvm::Twine
  500     const llvm::Twine
  559     const llvm::Twine
tools/lldb/tools/lldb-test/FormatUtil.h
   47   void printLine(const llvm::Twine &T) { line() << T; }
tools/lldb/unittests/Host/FileSystemTest.cpp
   28   getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator,
   49   ErrorOr<vfs::Status> status(const Twine &Path) override {
   57   openFileForRead(const Twine &Path) override {
   66   std::error_code setCurrentWorkingDirectory(const Twine &Path) override {
   71   std::error_code getRealPath(const Twine &Path,
   99                 const Twine &_Path)
  125   vfs::directory_iterator dir_begin(const Twine &Dir,
tools/lldb/unittests/Interpreter/TestCompletion.cpp
  106   static bool HasEquivalentFile(const Twine &Path, const StringList &Paths) {
  114   void DoDirCompletions(const Twine &Prefix,
tools/lldb/unittests/TestingSupport/TestUtilities.cpp
   22 std::string lldb_private::GetInputFilePath(const llvm::Twine &name) {
   49 llvm::Expected<TestFile> TestFile::fromYamlFile(const llvm::Twine &Name) {
tools/lldb/unittests/TestingSupport/TestUtilities.h
   30 std::string GetInputFilePath(const llvm::Twine &name);
   35   static llvm::Expected<TestFile> fromYamlFile(const llvm::Twine &Name);
tools/llvm-ar/llvm-ar.cpp
  131 LLVM_ATTRIBUTE_NORETURN static void fail(Twine Error) {
  143 static void failIfError(std::error_code EC, Twine Context = "") {
  153 static void failIfError(Error E, Twine Context = "") {
  259 static object::Archive &readLibrary(const Twine &Library) {
tools/llvm-cov/CodeCoverage.cpp
   68   void error(const Twine &Message, StringRef Whence = "");
   71   void warning(const Twine &Message, StringRef Whence = "");
  164 static std::string getErrorString(const Twine &Message, StringRef Whence,
  174 void CodeCoverageTool::error(const Twine &Message, StringRef Whence) {
  180 void CodeCoverageTool::warning(const Twine &Message, StringRef Whence) {
  370                << " with hash = 0x" << Twine::utohexstr(HashMismatch.second)
tools/llvm-cov/RenderingSupport.h
   43 inline raw_ostream &operator<<(const ColoredRawOstream &OS, T &&Value) {
tools/llvm-cvtres/llvm-cvtres.cpp
   70 LLVM_ATTRIBUTE_NORETURN void reportError(Twine Msg) {
tools/llvm-cxxmap/llvm-cxxmap.cpp
   45 static void warn(Twine Message, Twine Whence = "",
   45 static void warn(Twine Message, Twine Whence = "",
   56 static void exitWithError(Twine Message, Twine Whence = "",
   56 static void exitWithError(Twine Message, Twine Whence = "",
tools/llvm-dwarfdump/Statistics.cpp
  491                                Twine Filename, raw_ostream &OS) {
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  281 using HandlerFn = std::function<bool(ObjectFile &, DWARFContext &DICtx, Twine,
  414                                Twine Filename, raw_ostream &OS);
  416 static bool dumpObjectFile(ObjectFile &Obj, DWARFContext &DICtx, Twine Filename,
  451                              Twine Filename, raw_ostream &OS) {
tools/llvm-dwp/llvm-dwp.cpp
  646 static int error(const Twine &Error, const Twine &Context) {
  646 static int error(const Twine &Error, const Twine &Context) {
tools/llvm-exegesis/lib/Error.h
   22   Failure(const Twine &S) : StringError(S, inconvertibleErrorCode()) {}
tools/llvm-exegesis/lib/SnippetGenerator.cpp
   33 SnippetGeneratorFailure::SnippetGeneratorFailure(const Twine &S)
tools/llvm-exegesis/lib/SnippetGenerator.h
   47   SnippetGeneratorFailure(const Twine &S);
tools/llvm-jitlink/llvm-jitlink.cpp
  515 Session::findSymbolInfo(StringRef SymbolName, Twine ErrorMsgStem) {
tools/llvm-jitlink/llvm-jitlink.h
   60                                               Twine ErrorMsgStem);
tools/llvm-lipo/llvm-lipo.cpp
   33 LLVM_ATTRIBUTE_NORETURN static void reportError(Twine Message) {
tools/llvm-lto/llvm-lto.cpp
  290 static void error(const Twine &Msg) {
  295 static void error(std::error_code EC, const Twine &Prefix) {
  301 static void error(const ErrorOr<T> &V, const Twine &Prefix) {
tools/llvm-mt/llvm-mt.cpp
   67 LLVM_ATTRIBUTE_NORETURN void reportError(Twine Msg) {
tools/llvm-nm/llvm-nm.cpp
  224 static void error(Twine Message, Twine Path = Twine()) {
  224 static void error(Twine Message, Twine Path = Twine()) {
  229 static bool error(std::error_code EC, Twine Path = Twine()) {
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  206 static Error makeStringError(std::error_code EC, const Twine &Msg, Ts &&... Args) {
tools/llvm-objcopy/ELF/Object.cpp
  647 void SymbolTableSection::addSymbol(Twine Name, uint8_t Bind, uint8_t Type,
  837         "Link field value " + Twine(Link) + " in section " + Name +
  839         "Link field value " + Twine(Link) + " in section " + Name +
  843     setSection(SecTable.getSection(Info, "Info field value " + Twine(Info) +
 1160   Twine Prefix = Twine("_binary_") + SanitizedFilename;
 1272       error("program header with offset 0x" + Twine::utohexstr(Phdr.p_offset) +
 1273             " and file size 0x" + Twine::utohexstr(Phdr.p_filesz) +
 1385           "symbol '" + Name + "' has invalid section index " + Twine(Index));
 1391             Twine(Sym.st_shndx));
 1397                             Twine(Sym.st_shndx));
 1426 SectionBase *SectionTableRef::getSection(uint32_t Index, Twine ErrMsg) {
 1433 T *SectionTableRef::getSectionOfType(uint32_t Index, Twine IndexErrMsg,
 1434                                      Twine TypeErrMsg) {
tools/llvm-objcopy/ELF/Object.h
   64   SectionBase *getSection(uint32_t Index, Twine ErrMsg);
   67   T *getSectionOfType(uint32_t Index, Twine IndexErrMsg, Twine TypeErrMsg);
   67   T *getSectionOfType(uint32_t Index, Twine IndexErrMsg, Twine TypeErrMsg);
  498   OwnedDataSection(const Twine &SecName, uint64_t SecAddr, uint64_t SecFlags,
  671   void addSymbol(Twine Name, uint8_t Bind, uint8_t Type, SectionBase *DefinedIn,
tools/llvm-objcopy/llvm-objcopy.cpp
   57 LLVM_ATTRIBUTE_NORETURN void error(Twine Message) {
tools/llvm-objcopy/llvm-objcopy.h
   21 LLVM_ATTRIBUTE_NORETURN extern void error(Twine Message);
tools/llvm-objdump/llvm-objdump.cpp
  407 void reportWarning(Twine Message, StringRef File) {
  416 LLVM_ATTRIBUTE_NORETURN void reportError(StringRef File, Twine Message) {
  440 static void reportCmdLineWarning(Twine Message) {
  444 LLVM_ATTRIBUTE_NORETURN static void reportCmdLineError(Twine Message) {
 1479                 outs() << "+0x" << Twine::utohexstr(Disp);
 2115                       Twine::utohexstr(Stop) + " specified by --stop-address",
 2119                       Twine::utohexstr(Start) + " specified by --start-address",
 2123                       Twine::utohexstr(Start) + ",0x" + Twine::utohexstr(Stop) +
 2123                       Twine::utohexstr(Start) + ",0x" + Twine::utohexstr(Stop) +
tools/llvm-objdump/llvm-objdump.h
  142 LLVM_ATTRIBUTE_NORETURN void reportError(StringRef File, Twine Message);
  146 void reportWarning(Twine Message, StringRef File);
tools/llvm-pdbutil/BytesOutputStyle.cpp
   79 static void printHeader(LinePrinter &P, const Twine &S) {
tools/llvm-pdbutil/DumpOutputStyle.cpp
  231 static void printHeader(LinePrinter &P, const Twine &S) {
tools/llvm-pdbutil/LinePrinter.cpp
   87 void LinePrinter::print(const Twine &T) { OS << T; }
   89 void LinePrinter::printLine(const Twine &T) {
tools/llvm-pdbutil/LinePrinter.h
   42   void printLine(const Twine &T);
   43   void print(const Twine &T);
   44   template <typename... Ts> void formatLine(const char *Fmt, Ts &&... Items) {
  134 inline raw_ostream &operator<<(LinePrinter &Printer, const T &Item) {
tools/llvm-profdata/llvm-profdata.cpp
   46 static void warn(Twine Message, std::string Whence = "",
   56 static void exitWithError(Twine Message, std::string Whence = "",
tools/llvm-rc/ResourceFileWriter.cpp
   46 static Error createError(const Twine &Message,
   52                              const Twine &FieldName) {
   62 static Error checkNumberFits(uint32_t Number, const Twine &FieldName) {
   68 static Error checkSignedNumberFits(uint32_t Number, const Twine &FieldName,
   85 static Error checkRCInt(RCInt Number, const Twine &FieldName) {
   91 static Error checkIntOrString(IntOrString Value, const Twine &FieldName) {
  801   Twine getResourceTypeName() const override { return "Icon/cursor image"; }
  823   Twine getResourceTypeName() const override { return "Icon/cursor group"; }
 1239   Twine getResourceTypeName() const override { return "STRINGTABLE"; }
tools/llvm-rc/ResourceScriptParser.cpp
   34 RCParser::ParserError::ParserError(const Twine &Expected, const LocIter CurLoc,
  843 Error RCParser::getExpectedError(const Twine &Message, bool IsAlreadyRead) {
tools/llvm-rc/ResourceScriptParser.h
   41     ParserError(const Twine &Expected, const LocIter CurLoc, const LocIter End);
  182   Error getExpectedError(const Twine &Message, bool IsAlreadyRead = false);
tools/llvm-rc/ResourceScriptStmt.h
  163   operator Twine() const {
  243   virtual Twine getResourceTypeName() const {
  258   Twine getResourceTypeName() const override { return "(NULL)"; }
  312   Twine getResourceTypeName() const override { return "LANGUAGE"; }
  357   Twine getResourceTypeName() const override { return "ACCELERATORS"; }
  382   Twine getResourceTypeName() const override { return "BITMAP"; }
  403   Twine getResourceTypeName() const override { return "CURSOR"; }
  425   Twine getResourceTypeName() const override { return "ICON"; }
  452   Twine getResourceTypeName() const override { return "HTML"; }
  571   Twine getResourceTypeName() const override { return "MENU"; }
  592   Twine getResourceTypeName() const override { return "STRINGTABLE"; }
  671   Twine getResourceTypeName() const override {
  704   Twine getResourceTypeName() const override { return Type; }
  835   Twine getResourceTypeName() const override { return "VERSIONINFO"; }
  855   Twine getResourceTypeName() const override { return "CHARACTERISTICS"; }
  871   Twine getResourceTypeName() const override { return "VERSION"; }
  884   Twine getResourceTypeName() const override { return "CAPTION"; }
  905   Twine getResourceTypeName() const override { return "FONT"; }
  918   Twine getResourceTypeName() const override { return "STYLE"; }
  931   Twine getResourceTypeName() const override { return "EXSTYLE"; }
  944   Twine getResourceTypeName() const override { return "CLASS"; }
tools/llvm-rc/ResourceScriptToken.cpp
   78 static Error getStringError(const Twine &message) {
tools/llvm-rc/llvm-rc.cpp
   75 LLVM_ATTRIBUTE_NORETURN static void fatalError(const Twine &Message) {
  124     const Twine TokenNames[] = {
tools/llvm-readobj/COFFDumper.cpp
   63 static inline Error createError(const Twine &Err) {
tools/llvm-readobj/ELFDumper.cpp
  436   std::function<Error(const Twine &Msg)> WarningHandler;
 1697                       Twine(getTypeString(
 2268              << Twine::utohexstr(Contents[0]) << '\n';
 2404                               Twine::utohexstr(*DtPltGot)),
 2427                          Twine::utohexstr(*DtMipsPltGot));
 2432                          Twine::utohexstr(*DtJmpRel));
 3766                                          const Twine &Name, unsigned EntriesNum,
tools/llvm-readobj/ObjDumper.cpp
   26 static inline Error createError(const Twine &Msg) {
tools/llvm-readobj/llvm-readobj.cpp
  365 LLVM_ATTRIBUTE_NORETURN static void error(Twine Msg) {
tools/llvm-rtdyld/llvm-rtdyld.cpp
  342 static void ErrorAndExit(const Twine &Msg) {
tools/llvm-size/llvm-size.cpp
  110 static void error(const Twine &Message, StringRef File) {
tools/llvm-stress/llvm-stress.cpp
  168   Twine Name = "autogen_SD" + Twine{SeedCL};
tools/llvm-xray/xray-graph-diff.cpp
  305 static Twine truncateString(const StringRef &S, size_t n) {
tools/llvm-xray/xray-stacks.cpp
  127   Twine DecodeRecordType(uint16_t recordType) {
tools/obj2yaml/elf2yaml.cpp
  109     Ret = (Name + " [" + Twine(++It.first->second) + "]").str();
  141           (Name + " [" + Twine(++It.first->second) + "]").str();
tools/polly/include/polly/CodeGen/IRBuilder.h
  140   void InsertHelper(llvm::Instruction *I, const llvm::Twine &Name,
tools/polly/include/polly/CodeGen/IslExprBuilder.h
  233                            const llvm::Twine &Name);
  243                          const llvm::Twine &Name = "");
  253                          const llvm::Twine &Name = "");
  263                          const llvm::Twine &Name = "");
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp
   87 template <typename T> std::string operator+(Twine LHS, const T &RHS) {
tools/polly/lib/CodeGen/IslExprBuilder.cpp
  100                                    Value *RHS, const Twine &Name) {
  152 Value *IslExprBuilder::createAdd(Value *LHS, Value *RHS, const Twine &Name) {
  156 Value *IslExprBuilder::createSub(Value *LHS, Value *RHS, const Twine &Name) {
  160 Value *IslExprBuilder::createMul(Value *LHS, Value *RHS, const Twine &Name) {
tools/sancov/sancov.cpp
  174 static void fail(const llvm::Twine &E) {
  179 static void failIf(bool B, const llvm::Twine &E) {
  206 static void failIfNotEmpty(const llvm::Twine &E) {
unittests/ADT/TwineTest.cpp
   19 std::string repr(const Twine &Value) {
unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
  381        Twine::utohexstr(ExpectedEnd) + " but it ended at 0x000000" +
  382        Twine::utohexstr(ExpectedEnd - 1))
  412        Twine::utohexstr(ExpectedEnd) + " but it ended at 0x000000" +
  413        Twine::utohexstr(ExpectedEnd + 1))
unittests/ExecutionEngine/ExecutionEngineTest.cpp
   40   GlobalVariable *NewExtGlobal(Type *T, const Twine &Name) {
unittests/Support/ErrorTest.cpp
  932     using ErrorInfo<TestDebugError, StringError >::ErrorInfo; // inherit constructors
  933     TestDebugError(const Twine &S) : ErrorInfo(S, test_error_code::unspecified) {}
unittests/Support/FileCheckTest.cpp
   56 static void expectUndefError(const Twine &ExpectedUndefVarName, Error Err) {
unittests/Support/FileCollectorTest.cpp
   42   ScopedDir(const Twine &Name, bool Unique = false) {
   69   ScopedLink(const Twine &To, const Twine &From) {
   69   ScopedLink(const Twine &To, const Twine &From) {
   86   ScopedFile(const Twine &Name) {
unittests/Support/Path.cpp
 1315 static void createFileWithData(const Twine &Path, bool ShouldExistBefore,
 1326 static void verifyFileContents(const Twine &Path, StringRef Contents) {
unittests/Support/SourceMgrTest.cpp
   40                     const Twine &Msg, ArrayRef<SMRange> Ranges,
unittests/Support/VirtualFileSystemTest.cpp
   34   getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator,
   56   ErrorOr<vfs::Status> status(const Twine &Path) override {
   63   openFileForRead(const Twine &Path) override {
   72   std::error_code setCurrentWorkingDirectory(const Twine &Path) override {
   77   std::error_code getRealPath(const Twine &Path,
  105                 const Twine &_Path)
  131   vfs::directory_iterator dir_begin(const Twine &Dir,
  141   const_iterator findEntry(const Twine &Path) const {
  173   std::error_code setCurrentWorkingDirectory(const Twine &Path) override {
  416   ScopedDir(const Twine &Name, bool Unique = false) {
  443   ScopedLink(const Twine &To, const Twine &From) {
  443   ScopedLink(const Twine &To, const Twine &From) {
  460   ScopedFile(const Twine &Path, StringRef Contents) {
usr/include/c++/7.4.0/bits/alloc_traits.h
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
  475 	{ __a.construct(__p, std::forward<_Args>(__args)...); }
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   73     forward(typename std::remove_reference<_Tp>::type& __t) noexcept
   83     constexpr _Tp&&
   84     forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
usr/include/c++/7.4.0/bits/shared_ptr.h
  343 		   _Args&&... __args)
  344 	: __shared_ptr<_Tp>(__tag, __a, std::forward<_Args>(__args)...)
  688     allocate_shared(const _Alloc& __a, _Args&&... __args)
  691 			     std::forward<_Args>(__args)...);
  703     make_shared(_Args&&... __args)
  707 				       std::forward<_Args>(__args)...);
usr/include/c++/7.4.0/bits/shared_ptr_base.h
 1317 		     _Args&&... __args)
 1328 			      std::forward<_Args>(__args)...);
usr/include/c++/7.4.0/bits/std_function.h
   67     : std::binary_function<_T1, _T2, _Res> { };
  299       _M_invoke(const _Any_data& __functor, _ArgTypes&&... __args)
  302 	    std::forward<_ArgTypes>(__args)...);
  314       _M_invoke(const _Any_data& __functor, _ArgTypes&&... __args)
  317 	    std::forward<_ArgTypes>(__args)...);
  390     : public _Maybe_unary_or_binary_function<_Res, _ArgTypes...>,
  595       _Res operator()(_ArgTypes... __args) const;
  628       using _Invoker_type = _Res (*)(const _Any_data&, _ArgTypes&&...);
  689 	typedef _Function_handler<_Res(_ArgTypes...), _Functor> _My_handler;
  706       return _M_invoker(_M_functor, std::forward<_ArgTypes>(__args)...);
usr/include/c++/7.4.0/bits/stl_function.h
  124       typedef _Arg2 	second_argument_type;
usr/include/c++/7.4.0/bits/stl_vector.h
  962 	emplace_back(_Args&&... __args);
 1483 	_M_realloc_insert(iterator __position, _Args&&... __args);
usr/include/c++/7.4.0/bits/unique_ptr.h
  824     make_unique(_Args&&... __args)
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/ext/new_allocator.h
  135 	construct(_Up* __p, _Args&&... __args)
  136 	{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1629     { typedef _Tp   type; };
 1633     { typedef _Tp   type; };
 1659     { typedef _Tp&&   type; };
 1664     : public __add_rvalue_reference_helper<_Tp>
 2104     { typedef typename remove_cv<_Up>::type __type; };
 2118       typedef typename remove_reference<_Tp>::type __remove_type;
 2253     inline typename add_rvalue_reference<_Tp>::type
 2428       std::declval<_Fn>()(std::declval<_Args>()...)
 2439       typedef decltype(_S_test<_Functor, _ArgTypes...>(0)) type;
 2452 	_Functor, _ArgTypes...
 2458     : public __invoke_result<_Functor, _ArgTypes...>
utils/TableGen/CodeGenDAGPatterns.cpp
 2677 void TreePattern::error(const Twine &Msg) {
utils/TableGen/CodeGenDAGPatterns.h
  964   void error(const Twine &Msg);
utils/TableGen/DFAEmitter.cpp
  320   Twine Ty = "TypeOf_" + A;
utils/TableGen/GlobalISelEmitter.cpp
  299 static Error failedImport(const Twine &Reason) {
utils/TableGen/IntrinsicEmitter.cpp
  523       OS << "0x" << Twine::utohexstr(FixedEncodings[i]) << ", ";
utils/TableGen/RegisterBankEmitter.cpp
  171     const Twine Kind,
utils/unittest/googletest/include/gtest/gtest-message.h
  116   inline Message& operator <<(const T& val) {
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h
   35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
   35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
   37   return StreamSwitch<T>::printable(V);
   54   const T& V;
   55   friend std::ostream &operator<<(std::ostream &S, const RawStreamProxy<T> &V) {
   69   static const RawStreamProxy<T> printable(const T &V) { return {V}; }
   69   static const RawStreamProxy<T> printable(const T &V) { return {V}; }