Home
last modified time | relevance | path

Searched refs:NewName (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
H A DRenamingAction.h52 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 DUSRLocFinder.h39 llvm::StringRef NewName, Decl *TranslationUnitDecl);
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DRenamingAction.cpp67 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 Ddmnames.c189 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 DElimAvailExtern.cpp71 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 DThinLTOBitcodeWriter.cpp69 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 DSampleProfile.cpp2169 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 DTimer.h207 void setName(StringRef NewName, StringRef NewDescription) { in setName() argument
208 Name.assign(NewName.begin(), NewName.end()); in setName()
H A DVirtualFileSystem.h80 static Status copyWithNewName(const Status &In, const Twine &NewName);
82 const Twine &NewName);
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTensorSpec.h94 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 DRecordStreamer.cpp208 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 DMCContext.cpp295 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 Dllvm-profdata.cpp1138 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 DModule.cpp516 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 DValue.cpp318 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 DObjcopyOptions.cpp207 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 DX86InstrMappingEmitter.cpp362 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 DPatterns.h267 InstructionOperand withNewName(StringRef NewName) const { in withNewName() argument
269 Result.Name = NewName; in withNewName()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp270 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 DCommonConfig.h71 StringRef NewName; member
/freebsd/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp976 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 DModuleSummaryIndex.h1760 SmallString<256> NewName(Name);
1761 NewName += ".llvm.";
1762 NewName += Suffix;
1763 return std::string(NewName);
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp115 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 DRecord.cpp2795 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 DVirtualFileSystem.cpp81 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()

12