/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/ |
H A D | RenamingAction.h | 52 std::string NewName); 59 RenameOccurrences(const NamedDecl *ND, std::string NewName) in RenameOccurrences() argument 60 : ND(ND), NewName(std::move(NewName)) {} in RenameOccurrences() 66 std::string NewName; variable 95 const SourceManager &SM, const SymbolName &NewName);
|
H A D | USRLocFinder.h | 39 llvm::StringRef NewName, Decl *TranslationUnitDecl);
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
H A D | RenamingAction.cpp | 67 SourceRange SelectionRange, std::string NewName) { in initiate() argument 74 std::move(NewName)); in initiate() 85 SymbolName Name(NewName); in createSourceReplacements() 146 const SourceManager &SM, const SymbolName &NewName) { in createRenameReplacements() argument 151 assert(NewName.getNamePieces().size() == Ranges.size() && in createRenameReplacements() 157 NewName.getNamePieces()[Range.index()]); in createRenameReplacements() 204 void HandleOneRename(ASTContext &Context, const std::string &NewName, in HandleOneRename() argument 222 SymbolName NewNameRef(NewName); in HandleOneRename()
|
/freebsd/sys/contrib/dev/acpica/components/disassembler/ |
H A D | dmnames.c | 189 char NewName[4]; in AcpiDmDumpName() local 194 *ACPI_CAST_PTR (UINT32, &NewName[0]) = Name; in AcpiDmDumpName() 198 AcpiUtRepairName (NewName); in AcpiDmDumpName() 205 if (NewName[i] == '_') in AcpiDmDumpName() 219 AcpiOsPrintf ("%c", NewName[i]); in AcpiDmDumpName()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ElimAvailExtern.cpp | 71 auto NewName = OrigName + ".__uniq" + getUniqueModuleId(&M); in convertToLocalCopy() local 72 F.setName(NewName); in convertToLocalCopy() 74 SP->replaceLinkageName(MDString::get(F.getParent()->getContext(), NewName)); in convertToLocalCopy()
|
H A D | ThinLTOBitcodeWriter.cpp | 69 std::string NewName = (Name + ModuleId).str(); in promoteInternals() local 73 RenamedComdats.try_emplace(C, ExportM.getOrInsertComdat(NewName)); in promoteInternals() 75 ExportGV.setName(NewName); in promoteInternals() 80 ImportGV->setName(NewName); in promoteInternals() 88 ".lto_set_conditional " + OldName + "," + NewName + "\n"; in promoteInternals() 116 std::string NewName = (Twine(LocalToGlobal.size()) + ModuleId).str(); in promoteTypeIds() local 117 GlobalMD = MDString::get(M.getContext(), NewName); in promoteTypeIds()
|
H A D | SampleProfile.cpp | 2169 StringRef NewName = FunctionSamples::getCanonicalFnName(*F); in runOnModule() local 2170 if (OrigName != NewName && !NewName.empty()) { in runOnModule() 2171 auto r = SymbolMap.emplace(FunctionId(NewName), F); in runOnModule() 2178 OrigName = NewName; in runOnModule()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Timer.h | 207 void setName(StringRef NewName, StringRef NewDescription) { in setName() argument 208 Name.assign(NewName.begin(), NewName.end()); in setName()
|
H A D | VirtualFileSystem.h | 80 static Status copyWithNewName(const Status &In, const Twine &NewName); 82 const Twine &NewName);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TensorSpec.h | 94 TensorSpec(const std::string &NewName, const TensorSpec &Other) in TensorSpec() argument 95 : TensorSpec(NewName, Other.Port, Other.Type, Other.ElementSize, in TensorSpec()
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | RecordStreamer.cpp | 208 SmallString<128> NewName; in flushSymverDirectives() 214 (Split.first + Separator + Split.second).toStringRef(NewName); in flushSymverDirectives() 213 SmallString<128> NewName; flushSymverDirectives() local
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCContext.cpp | 295 SmallString<128> NewName; in createRenamableSymbol() local 296 Name.toVector(NewName); in createRenamableSymbol() 297 size_t NameLen = NewName.size(); in createRenamableSymbol() 299 MCSymbolTableEntry &NameEntry = getSymbolTableEntry(NewName.str()); in createRenamableSymbol() 304 NewName.resize(NameLen); in createRenamableSymbol() 305 raw_svector_ostream(NewName) << NameEntry.second.NextUniqueID++; in createRenamableSymbol() 306 EntryPtr = &getSymbolTableEntry(NewName.str()); in createRenamableSymbol()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/ |
H A D | llvm-profdata.cpp | 1138 StringRef NewName = Name.drop_front(PrefixPos); in adjustInstrProfile() local 1140 if (NewName.size() == 0) { in adjustInstrProfile() 1145 size_t PostfixPos = NewName.find(FunctionSamples::UniqSuffix); in adjustInstrProfile() 1154 NewName = NewName.substr(0, PostfixPos); in adjustInstrProfile() 1159 NewName.str() + getUniqueInternalLinkagePostfix(FName); in adjustInstrProfile() 1160 NewName = StringRef(NStr); in adjustInstrProfile() 1161 StaticFuncMap[NewName] = Name; in adjustInstrProfile() 1166 if (!StaticFuncMap.contains(NewName)) { in adjustInstrProfile() 1167 StaticFuncMap[NewName] = Name; in adjustInstrProfile() 1169 StaticFuncMap[NewName] = DuplicateNameStr; in adjustInstrProfile() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Module.cpp | 516 std::string NewName; in getUniqueIntrinsicName() local 518 NewName = Encode(Count); in getUniqueIntrinsicName() 519 GlobalValue *F = getNamedValue(NewName); in getUniqueIntrinsicName() 541 return NewName; in getUniqueIntrinsicName()
|
H A D | Value.cpp | 318 void Value::setNameImpl(const Twine &NewName) { in setNameImpl() argument 328 if (NewName.isTriviallyEmpty() && !hasName()) in setNameImpl() 332 StringRef NameRef = NeedNewName ? NewName.toStringRef(NameData) : ""; in setNameImpl() 377 void Value::setName(const Twine &NewName) { in setName() argument 378 setNameImpl(NewName); in setName()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
H A D | ObjcopyOptions.cpp | 207 SR.NewName = NameAndFlags[0]; in parseRenameSectionValue() 388 StringRef NewName = Pair.second.trim(); in addSymbolsToRenameFromFile() local 389 if (NewName.empty()) in addSymbolsToRenameFromFile() 393 SymbolsToRename.insert({Pair.first, NewName}); in addSymbolsToRenameFromFile() 936 SR.NewName.str().c_str(), SR.OriginalName.str().c_str(), in parseObjcopyOptions() 937 SR.NewName.str().c_str()); in parseObjcopyOptions() 939 if (Config.SetSectionFlags.count(SR.NewName)) in parseObjcopyOptions() 941 if (Config.SetSectionType.count(SR.NewName)) in parseObjcopyOptions()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | X86InstrMappingEmitter.cpp | 362 std::string NewName = ("V" + Name).str(); in emitSSE2AVXTable() local 363 auto *AVXRec = Records.getDef(NewName); in emitSSE2AVXTable()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
H A D | Patterns.h | 267 InstructionOperand withNewName(StringRef NewName) const { in withNewName() argument 269 Result.Name = NewName; in withNewName()
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | InstrProf.cpp | 270 std::string NewName = std::string(Name); in getPGOFuncName() local 277 NewName = NewName.insert(0, "<unknown>:"); in getPGOFuncName() 279 NewName = NewName.insert(0, FileName.str() + ":"); in getPGOFuncName() 281 return NewName; in getPGOFuncName()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjCopy/ |
H A D | CommonConfig.h | 71 StringRef NewName; member
|
/freebsd/contrib/llvm-project/clang/lib/Support/ |
H A D | RISCVVIntrinsicUtils.cpp | 976 StringRef NewName, StringRef Suffix, StringRef NewOverloadedName, in RVVIntrinsic() argument 988 BuiltinName = NewName.str(); in RVVIntrinsic() 991 OverloadedName = NewName.split("_").first.str(); in RVVIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ModuleSummaryIndex.h | 1760 SmallString<256> NewName(Name); 1761 NewName += ".llvm."; 1762 NewName += Suffix; 1763 return std::string(NewName);
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TGParser.cpp | 115 Init *NewName = BinOpInit::getStrConcat( in QualifyName() local 118 NewName = BinOpInit::getStrConcat(NewName, Name); in QualifyName() 120 if (BinOpInit *BinOp = dyn_cast<BinOpInit>(NewName)) in QualifyName() 121 NewName = BinOp->Fold(&CurRec); in QualifyName() 122 return NewName; in QualifyName() 544 Init *NewName = nullptr; in addDefOne() local 552 NewName = Records.getNewAnonymousName(); in addDefOne() 555 Rec->resolveReferences(NewName); in addDefOne()
|
H A D | Record.cpp | 2795 void Record::setName(Init *NewName) { in setName() argument 2796 Name = NewName; in setName() 2841 Init *NewName = Name->resolveReferences(R); in resolveReferences() local 2842 if (NewName != OldName) { in resolveReferences() 2844 setName(NewName); in resolveReferences() 2883 void Record::resolveReferences(Init *NewName) { in resolveReferences() argument 2885 R.setName(NewName); in resolveReferences()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | VirtualFileSystem.cpp | 81 Status Status::copyWithNewName(const Status &In, const Twine &NewName) { in copyWithNewName() argument 82 return Status(NewName, In.getUniqueID(), In.getLastModificationTime(), in copyWithNewName() 87 Status Status::copyWithNewName(const file_status &In, const Twine &NewName) { in copyWithNewName() argument 88 return Status(NewName, In.getUniqueID(), In.getLastModificationTime(), in copyWithNewName() 197 RealFile(file_t RawFD, StringRef NewName, StringRef NewRealPathName) in RealFile() argument 198 : FD(RawFD), S(NewName, {}, {}, {}, {}, {}, in RealFile()
|