Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceMangling.cpp41 ManglerVector NewName(OldName.size() * 2); in incrementSubstitutions() local
67 NewName[NewPos++] = OldName[OldPos++]; // 'S' in incrementSubstitutions()
70 assert(NewName[NewPos - 1] == 'S'); in incrementSubstitutions()
76 NewName[NewPos++] = (Length ? '1' : '0'); in incrementSubstitutions()
78 NewName[NewPos++] = '0'; in incrementSubstitutions()
101 NewName[NewPos + Offset] = Ch; in incrementSubstitutions()
109 NewName[NewPos] = OldName[OldPos]; in incrementSubstitutions()
111 assert(NewName[NewPos] == '\0'); in incrementSubstitutions()
112 OldName = NewName; in incrementSubstitutions()
136 ManglerVector NewName(BufLen); in mangleName() local
[all …]
DIceCfgNode.h45 void setName(const std::string &NewName) { in setName() argument
46 if (NewName.empty()) in setName()
48 Name = NodeString::createWithString(Func, NewName); in setName()
DIceTimerTree.h69 void setName(const std::string &NewName) { Name = NewName; } in setName() argument
DIceGlobalInits.h65 void setName(GlobalContext *Ctx, const std::string &NewName) { in setName() argument
66 Name = Ctx->getGlobalString(getSuppressMangling() ? NewName in setName()
67 : mangleName(NewName)); in setName()
69 void setName(GlobalString NewName) { Name = NewName; } in setName() argument
DIceOperand.h696 virtual void setName(const Cfg *Func, const std::string &NewName) { in setName() argument
697 if (NewName.empty()) in setName()
699 Name = VariableString::createWithString(Func, NewName); in setName()
906 void setName(const Cfg *Func, const std::string &NewName) override { in setName() argument
907 Variable::setName(Func, NewName); in setName()
972 void setName(const Cfg *Func, const std::string &NewName) override { in setName() argument
973 Variable::setName(Func, NewName); in setName()
DIceAssembler.h328 void setFunctionName(GlobalString NewName) { FunctionName = NewName; } in setFunctionName() argument
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DTestUtil.h54 #define LegacyRegAliases(NewName, Name64, Name32, Name16, Name8) \ argument
55 static constexpr GPRRegister Encoded_GPR_##NewName() { \
58 static constexpr GPRRegister Encoded_GPR_##NewName##q() { \
61 static constexpr GPRRegister Encoded_GPR_##NewName##d() { \
64 static constexpr GPRRegister Encoded_GPR_##NewName##w() { \
67 static constexpr GPRRegister Encoded_GPR_##NewName##l() { \
70 static constexpr ByteRegister Encoded_Bytereg_##NewName() { \
760 #define LegacyRegAccessors(NewName, Name64, Name32, Name16, Name8) \ argument
761 static_assert(Encoded_GPR_##NewName() == Encoded_GPR_##Name64(), \
763 uint64_t NewName() const { \
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DGlobals.cpp146 std::string NewName = Name; in getGlobalIdentifier() local
153 NewName = NewName.insert(0, "<unknown>:"); in getGlobalIdentifier()
155 NewName = NewName.insert(0, FileName.str() + ":"); in getGlobalIdentifier()
157 return NewName; in getGlobalIdentifier()
DValue.cpp224 void Value::setNameImpl(const Twine &NewName) { in setNameImpl() argument
230 if (NewName.isTriviallyEmpty() && !hasName()) in setNameImpl()
234 StringRef NameRef = NewName.toStringRef(NameData); in setNameImpl()
286 void Value::setName(const Twine &NewName) { in setName() argument
287 setNameImpl(NewName); in setName()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTimer.h204 void setName(StringRef NewName, StringRef NewDescription) { in setName() argument
205 Name.assign(NewName.begin(), NewName.end()); in setName()
DVirtualFileSystem.h67 static Status copyWithNewName(const Status &In, const Twine &NewName);
69 const Twine &NewName);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DTimer.h199 void setName(StringRef NewName, StringRef NewDescription) { in setName() argument
200 Name.assign(NewName.begin(), NewName.end()); in setName()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp57 std::string NewName = (Name + ModuleId).str(); in promoteInternals() local
61 RenamedComdats.try_emplace(C, ExportM.getOrInsertComdat(NewName)); in promoteInternals()
63 ExportGV.setName(NewName); in promoteInternals()
68 ImportGV->setName(NewName); in promoteInternals()
96 std::string NewName = (Twine(LocalToGlobal.size()) + ModuleId).str(); in promoteTypeIds() local
97 GlobalMD = MDString::get(M.getContext(), NewName); in promoteTypeIds()
DArgumentPromotion.cpp456 std::string NewName = I->getName(); in doPromotion() local
458 NewName += "." + utostr(Operands[i]); in doPromotion()
460 NewName += ".val"; in doPromotion()
461 TheArg->setName(NewName); in doPromotion()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/model/
Dlite_graph.h67 if (name.empty()) name = NewName();
85 …std::string NewName(std::string prefix = "output_") { return prefix + std::to_string(graph_->name_…
Dlite_graph.cc96 if (node_name.empty()) node_name = NewName(); in Emit()
107 if (node_name.empty()) node_name = NewName(); in Op()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DRecordStreamer.cpp212 SmallString<128> NewName; in flushSymverDirectives() local
218 (Split.first + Separator + Split.second).toStringRef(NewName); in flushSymverDirectives()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPropagateAttributes.cpp276 std::string NewName = NewF->getName(); in cloneWithFeatures() local
278 F.setName(NewName); in cloneWithFeatures()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCContext.cpp190 SmallString<128> NewName = Name; in createSymbol() local
195 NewName.resize(Name.size()); in createSymbol()
196 raw_svector_ostream(NewName) << NextUniqueID++; in createSymbol()
198 auto NameEntry = UsedNames.insert(std::make_pair(NewName, true)); in createSymbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h634 std::string NewName = SrcM.getName(); in emitPartition() local
636 NewName += "."; in emitPartition()
637 NewName += F->getName(); in emitPartition()
640 auto M = std::make_unique<Module>(NewName, SrcM.getContext()); in emitPartition()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DModuleSummaryIndex.h1263 SmallString<256> NewName(Name);
1264 NewName += ".llvm.";
1265 NewName += utostr((uint64_t(ModHash[0]) << 32) |
1267 return NewName.str();
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DCommandLine.cpp266 void updateArgStr(Option *O, StringRef NewName, SubCommand *SC) { in updateArgStr() argument
268 if (!Sub.OptionsMap.insert(std::make_pair(NewName, O)).second) { in updateArgStr()
276 void updateArgStr(Option *O, StringRef NewName) { in updateArgStr() argument
278 updateArgStr(O, NewName, &*TopLevelSubCommand); in updateArgStr()
281 updateArgStr(O, NewName, SC); in updateArgStr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DVirtualFileSystem.cpp77 Status Status::copyWithNewName(const Status &In, const Twine &NewName) { in copyWithNewName() argument
78 return Status(NewName, In.getUniqueID(), In.getLastModificationTime(), in copyWithNewName()
83 Status Status::copyWithNewName(const file_status &In, const Twine &NewName) { in copyWithNewName() argument
84 return Status(NewName, In.getUniqueID(), In.getLastModificationTime(), in copyWithNewName()
179 RealFile(file_t RawFD, StringRef NewName, StringRef NewRealPathName) in RealFile() argument
180 : FD(RawFD), S(NewName, {}, {}, {}, {}, {}, in RealFile()
DCommandLine.cpp330 void updateArgStr(Option *O, StringRef NewName, SubCommand *SC) { in updateArgStr() argument
332 if (!Sub.OptionsMap.insert(std::make_pair(NewName, O)).second) { in updateArgStr()
340 void updateArgStr(Option *O, StringRef NewName) { in updateArgStr() argument
342 updateArgStr(O, NewName, &*TopLevelSubCommand); in updateArgStr()
346 updateArgStr(O, NewName, SC); in updateArgStr()
349 updateArgStr(O, NewName, SC); in updateArgStr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGParser.cpp116 Init *NewName = in QualifyName() local
118 NewName = BinOpInit::getStrConcat(NewName, Name); in QualifyName()
122 NewName = BinOpInit::getStrConcat(Prefix, NewName); in QualifyName()
125 if (BinOpInit *BinOp = dyn_cast<BinOpInit>(NewName)) in QualifyName()
126 NewName = BinOp->Fold(&CurRec); in QualifyName()
127 return NewName; in QualifyName()

12