| /llvm-project-15.0.7/mlir/test/lib/IR/ |
| H A D | TestSymbolUses.cpp | 114 StringAttr newName = nestedOp->getAttrOfType<StringAttr>("sym.new_name"); in runOnOperation() local 115 if (!newName) in runOnOperation() 117 symbolUsers.replaceAllUsesWith(nestedOp, newName); in runOnOperation() 118 SymbolTable::setSymbolName(nestedOp, newName); in runOnOperation()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Transforms/ |
| H A D | ExternalNameConversion.cpp | 91 auto newName = mangleExternalName(result); in matchAndRewrite() local 92 op.setSymrefAttr(mlir::SymbolRefAttr::get(op.getContext(), newName)); in matchAndRewrite() 93 SymbolTable::setSymbolName(op, newName); in matchAndRewrite() 110 auto newName = in matchAndRewrite() local 113 newName); in matchAndRewrite()
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | ClangTypeNodesEmitter.cpp | 147 auto setMacroName = [&](StringRef newName) { in emitNodeInvocations() argument 152 + macroName + "\" and \"" + newName + "\""); in emitNodeInvocations() 153 macroName = newName; in emitNodeInvocations()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Attributes.cpp | 38 void NamedAttribute::setName(StringAttr newName) { in setName() argument 40 name = newName; in setName()
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | property-ns-returns-not-retained-attr.m | 5 @property (nonatomic, retain) id newName __attribute__((ns_returns_not_retained)) ; 15 @synthesize newName;
|
| H A D | arc.m | 646 @property (nonatomic, retain) id newName __attribute__((ns_returns_not_retained)) ; 656 @synthesize newName;
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/ |
| H A D | OverlappingReplacementsTest.cpp | 68 virtual std::string newName(StringRef OldName) = 0; 77 std::string NewName = newName(VD->getName()); in check() 120 std::string newName(StringRef OldName) override { in newName() function in clang::tidy::test::__anonc052bcba0111::StartsWithPotaCheck 130 std::string newName(StringRef OldName) override { in newName() function in clang::tidy::test::__anonc052bcba0111::EndsWithTatoCheck
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | MetaRenamer.cpp | 89 const char *newName() { in newName() function 179 (Twine("struct.") + renamer.newName()).toStringRef(NameStorage)); in MetaRename() 196 F.setName(renamer.newName()); in MetaRename()
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Operator.cpp | 714 auto skip = [&](StringRef newName) { in getGetterOrSetterNames() argument 715 bool shouldSkip = newName == "getAttributeNames" || in getGetterOrSetterNames() 716 newName == "getAttributes" || newName == "getOperation"; in getGetterOrSetterNames() 717 if (newName == "getOperands") { in getGetterOrSetterNames() 724 if (newName == "getRegions") { in getGetterOrSetterNames() 729 if (newName == "getType") { in getGetterOrSetterNames() 741 "Skipping generation of prefixed accessor `" + newName + in getGetterOrSetterNames()
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | OutputSegment.cpp | 170 auto newName = config->segmentRenameMap.find(name); in maybeRenameSegment() local 171 if (newName != config->segmentRenameMap.end()) in maybeRenameSegment() 172 return newName->second; in maybeRenameSegment()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/test/ |
| H A D | rename.test | 31 …ms":{"textDocument":{"uri":"test:///foo.cpp"},"position":{"line":0,"character":2},"newName":"bar"}} 39 …ms":{"textDocument":{"uri":"test:///foo.cpp"},"position":{"line":0,"character":5},"newName":"bar"}}
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | Relocations.cpp | 616 if (const Symbol *s = map.lookup(newName)) in getAlternativeSpelling() 620 if (const Symbol *s = symtab->find(newName)) in getAlternativeSpelling() 635 newName[i] = c; in getAlternativeSpelling() 636 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling() 643 newName = std::string(name); in getAlternativeSpelling() 645 newName[i] = c; in getAlternativeSpelling() 646 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling() 653 newName[i] = name[i + 1]; in getAlternativeSpelling() 654 newName[i + 1] = name[i]; in getAlternativeSpelling() 655 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling() [all …]
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | SymbolTable.cpp | 285 std::string newName = ("_" + baseName).str(); in loadMinGWSymbols() local 287 if (newName != origName && (l = find(newName)) != nullptr) { in loadMinGWSymbols() 297 warn("Resolving " + origName + " by linking to " + newName); in loadMinGWSymbols() 299 log("Resolving " + origName + " by linking to " + newName); in loadMinGWSymbols()
|
| /llvm-project-15.0.7/mlir/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 171 auto newName = makePackedFunctionName(func.getName()); in packFunctionArguments() local 172 auto funcCst = module->getOrInsertFunction(newName, newType); in packFunctionArguments()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | PlistDiagnostics.cpp | 782 StringRef newName = CI->first; in FlushDiagnosticsImpl() local 783 if (newName != lastName) { in FlushDiagnosticsImpl() 787 lastName = newName; in FlushDiagnosticsImpl()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Attributes.h | 169 void setName(StringAttr newName);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlan.h | 450 void setName(const Twine &newName) { Name = newName.str(); } in setName() argument 2611 void setName(const Twine &newName) { Name = newName.str(); }
|
| /llvm-project-15.0.7/mlir/test/CAPI/ |
| H A D | ir.c | 1949 MlirAttribute newName = mlirSymbolTableInsert(symbolTable, duplicateNameOp); in testSymbolTable() local 1950 MlirStringRef newNameStr = mlirStringAttrGetValue(newName); in testSymbolTable() 1955 if (!mlirAttributeEqual(updatedName, newName)) in testSymbolTable()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Protocol.h | 1342 std::string newName; member
|
| H A D | Protocol.cpp | 1073 O.map("position", R.position) && O.map("newName", R.newName); in fromJSON()
|
| H A D | ClangdLSPServer.cpp | 826 Server->rename(File, Params.position, Params.newName, Opts.Rename, in onRename()
|
| /llvm-project-15.0.7/mlir/lib/Bindings/Python/ |
| H A D | IRCore.cpp | 1565 py::str newName = py::str("_") + origName; in createRawSubclass() local 1566 return parentMetaclass(newName, py::make_tuple(userClass), attributes); in createRawSubclass()
|