/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/ |
H A D | RenamingAction.h | 53 std::string NewName); 60 RenameOccurrences(const NamedDecl *ND, std::string NewName) argument 61 : ND(ND), NewName(std::move(NewName)) {} 67 std::string NewName; member in class:clang::tooling::final 96 const SourceManager &SM, const SymbolName &NewName);
|
H A D | USRLocFinder.h | 33 /// \param NewName The new name to replace old symbol name. 39 llvm::StringRef NewName, Decl *TranslationUnitDecl);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
H A D | RenamingAction.cpp | 67 SourceRange SelectionRange, std::string NewName) { 74 std::move(NewName)); 85 SymbolName Name(NewName); 146 const SourceManager &SM, const SymbolName &NewName) { 151 assert(NewName.getNamePieces().size() == Ranges.size() && 157 NewName.getNamePieces()[Range.index()]); 203 void HandleOneRename(ASTContext &Context, const std::string &NewName, argument 221 SymbolName NewNameRef(NewName); 66 initiate(RefactoringRuleContext &Context, SourceRange SelectionRange, std::string NewName) argument 145 createRenameReplacements(const SymbolOccurrences &Occurrences, const SourceManager &SM, const SymbolName &NewName) argument
|
H A D | USRLocFinder.cpp | 173 // Determine whether the prefix qualifiers of the NewName should be ignored. 176 // For example, if it is true and NewName is "a::b::foo", then the symbol 512 llvm::StringRef NewName, Decl *TranslationUnitDecl) { 534 std::string ReplacedName = NewName.str(); 536 // Get the name without prefix qualifiers from NewName. 537 size_t LastColonPos = NewName.find_last_of(':'); 539 ReplacedName = NewName.substr(LastColonPos + 1); 547 NewName.startswith("::") ? NewName.str() 548 : ("::" + NewName) 511 createRenameAtomicChanges(llvm::ArrayRef<std::string> USRs, llvm::StringRef NewName, Decl *TranslationUnitDecl) argument [all...] |
/freebsd-11-stable/sys/contrib/dev/acpica/components/disassembler/ |
H A D | dmnames.c | 189 char NewName[4]; local 194 *ACPI_CAST_PTR (UINT32, &NewName[0]) = Name; 198 AcpiUtRepairName (NewName); 205 if (NewName[i] == '_') 219 AcpiOsPrintf ("%c", NewName[i]);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Core/ |
H A D | Lookup.cpp | 84 StringRef NewName, 92 return HadLeadingColonColon ? NewName : NewName.substr(2); 96 // from NewName if it has an identical prefix. 99 if (NewName.startswith(NS)) 100 return NewName.substr(NS.size()); 83 getBestNamespaceSubstr(const DeclContext *DeclA, StringRef NewName, bool HadLeadingColonColon) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Globals.cpp | 146 std::string NewName = Name; local 153 NewName = NewName.insert(0, "<unknown>:"); 155 NewName = NewName.insert(0, FileName.str() + ":"); 157 return NewName;
|
H A D | Value.cpp | 224 void Value::setNameImpl(const Twine &NewName) { argument 230 if (NewName.isTriviallyEmpty() && !hasName()) 234 StringRef NameRef = NewName.toStringRef(NameData); 286 void Value::setName(const Twine &NewName) { argument 287 setNameImpl(NewName);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Timer.h | 204 void setName(StringRef NewName, StringRef NewDescription) { argument 205 Name.assign(NewName.begin(), NewName.end());
|
H A D | VirtualFileSystem.h | 67 static Status copyWithNewName(const Status &In, const Twine &NewName); 69 const Twine &NewName);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ThinLTOBitcodeWriter.cpp | 57 std::string NewName = (Name + ModuleId).str(); local 61 RenamedComdats.try_emplace(C, ExportM.getOrInsertComdat(NewName)); 63 ExportGV.setName(NewName); 68 ImportGV->setName(NewName); 96 std::string NewName = (Twine(LocalToGlobal.size()) + ModuleId).str(); 97 GlobalMD = MDString::get(M.getContext(), NewName);
|
H A D | ArgumentPromotion.cpp | 456 std::string NewName = I->getName(); local 458 NewName += "." + utostr(Operands[i]); 460 NewName += ".val"; 461 TheArg->setName(NewName);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | RecordStreamer.cpp | 212 SmallString<128> NewName; local 218 (Split.first + Separator + Split.second).toStringRef(NewName);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPropagateAttributes.cpp | 276 std::string NewName = NewF->getName(); local 278 F.setName(NewName);
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
H A D | CopyConfig.cpp | 183 SR.NewName = NameAndFlags[0]; 377 StringRef NewName = Pair.second.trim(); local 378 if (NewName.empty()) 382 SymbolsToRename.insert({Pair.first, NewName}); 613 SR.NewName.str().c_str()); 614 if (Config.SetSectionFlags.count(SR.NewName)) 618 SR.NewName.str().c_str(), SR.OriginalName.str().c_str(), 619 SR.NewName.str().c_str());
|
H A D | CopyConfig.h | 77 StringRef NewName; member in struct:llvm::objcopy::SectionRename
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | CompileOnDemandLayer.h | 634 std::string NewName = SrcM.getName(); local 636 NewName += "."; 637 NewName += F->getName(); 640 auto M = std::make_unique<Module>(NewName, SrcM.getContext());
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCContext.cpp | 190 SmallString<128> NewName = Name; local 195 NewName.resize(Name.size()); 196 raw_svector_ostream(NewName) << NextUniqueID++; 198 auto NameEntry = UsedNames.insert(std::make_pair(NewName, true));
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ModuleSummaryIndex.h | 1263 SmallString<256> NewName(Name); 1264 NewName += ".llvm."; 1265 NewName += utostr((uint64_t(ModHash[0]) << 32) | 1267 return NewName.str();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | CommandLine.cpp | 330 void updateArgStr(Option *O, StringRef NewName, SubCommand *SC) { argument 332 if (!Sub.OptionsMap.insert(std::make_pair(NewName, O)).second) { 340 void updateArgStr(Option *O, StringRef NewName) { argument 342 updateArgStr(O, NewName, &*TopLevelSubCommand); 346 updateArgStr(O, NewName, SC); 349 updateArgStr(O, NewName, SC);
|
H A D | VirtualFileSystem.cpp | 77 Status Status::copyWithNewName(const Status &In, const Twine &NewName) { argument 78 return Status(NewName, In.getUniqueID(), In.getLastModificationTime(), 83 Status Status::copyWithNewName(const file_status &In, const Twine &NewName) { argument 84 return Status(NewName, In.getUniqueID(), In.getLastModificationTime(), 179 RealFile(file_t RawFD, StringRef NewName, StringRef NewRealPathName) argument 180 : FD(RawFD), S(NewName, {}, {}, {}, {}, {},
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TGParser.cpp | 116 Init *NewName = local 118 NewName = BinOpInit::getStrConcat(NewName, Name); 122 NewName = BinOpInit::getStrConcat(Prefix, NewName); 125 if (BinOpInit *BinOp = dyn_cast<BinOpInit>(NewName)) 126 NewName = BinOp->Fold(&CurRec); 127 return NewName;
|
H A D | Record.cpp | 2090 void Record::setName(Init *NewName) { 2091 Name = NewName; 2139 Init *NewName = Name->resolveReferences(R); 2140 if (NewName != OldName) { 2142 setName(NewName);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | BasicBlockUtils.cpp | 722 std::string NewName = std::string(Suffix) + ".split-lp"; local 724 SplitLandingPadPredecessors(BB, Preds, Suffix, NewName.c_str(), NewBBs, DT,
|
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/ |
H A D | NeonEmitter.cpp | 1184 std::string NewName = "rev" + utostr(I); 1187 Variable NewV(V.getType(), NewName + VariablePostfix); 1228 std::string NewName = "s" + utostr(I); 1229 Variable V2(V.getType(), NewName + VariablePostfix);
|