Home
last modified time | relevance | path

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

1234

/external/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
/external/tensorflow/tensorflow/core/graph/
Dtestlib.cc61 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "_Send") in Send()
78 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "_Recv") in Recv()
91 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Const") in Constant()
108 return HostConstant(g, tensor, g->NewName("n")); in HostConstant()
122 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Variable") in Var()
141 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Assign") in Assign()
152 TF_CHECK_OK(NodeBuilder(g->NewName("n"), reduce, g->op_registry()) in Reduce()
162 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Quantize") in QuantizeToUINT8()
174 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "MatMul") in Matmul()
185 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "BatchMatMul") in BatchMatmul()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DValueSymbolTable.cpp58 ValueName &NewName = vmap.GetOrCreateValue(UniqueName); in reinsertValue() local
59 if (NewName.getValue() == 0) { in reinsertValue()
61 NewName.setValue(V); in reinsertValue()
62 V->Name = &NewName; in reinsertValue()
97 ValueName &NewName = vmap.GetOrCreateValue(UniqueName); in createValueName() local
98 if (NewName.getValue() == 0) { in createValueName()
100 NewName.setValue(V); in createValueName()
102 return &NewName; in createValueName()
/external/clang/lib/Tooling/Core/
DLookup.cpp50 StringRef NewName, in getBestNamespaceSubstr() argument
58 return HadLeadingColonColon ? NewName : NewName.substr(2); in getBestNamespaceSubstr()
65 if (NewName.startswith(NS)) in getBestNamespaceSubstr()
66 return NewName.substr(NS.size()); in getBestNamespaceSubstr()
/external/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 …]
/external/llvm/lib/IR/
DGlobals.cpp112 std::string NewName = Name; in getGlobalIdentifier() local
119 NewName = NewName.insert(0, "<unknown>:"); in getGlobalIdentifier()
121 NewName = NewName.insert(0, FileName.str() + ":"); in getGlobalIdentifier()
123 return NewName; in getGlobalIdentifier()
/external/swiftshader/third_party/LLVM/lib/MC/
DMCContext.cpp90 SmallString<128> NewName = Name; in CreateSymbol() local
92 NewName.resize(Name.size()); in CreateSymbol()
93 raw_svector_ostream(NewName) << NextUniqueID++; in CreateSymbol()
94 NameEntry = &UsedNames.GetOrCreateValue(NewName); in CreateSymbol()
/external/tensorflow/tensorflow/core/kernels/
Dunique_op_test.cc73 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Unique") in BM_Unique_INT32()
93 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Unique") in BM_Unique_INT32_Repeat()
130 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Unique") in BM_Unique_STRING()
Dparameterized_truncated_normal_op_test.cc45 NodeBuilder(g->NewName("truncatednormal"), "ParameterizedTruncatedNormal") in PTruncatedNormal()
72 NodeBuilder(g->NewName("truncatednormal"), "ParameterizedTruncatedNormal") in PTruncatedNormal2SD()
99 NodeBuilder(g->NewName("truncatednormal"), "ParameterizedTruncatedNormal") in PTruncatedNormalOneTail()
Dspacetobatch_benchmark_test.cc40 TF_CHECK_OK(NodeBuilder(g->NewName("n"), op_name) in ConstructSpaceToBatchGraph()
48 TF_CHECK_OK(NodeBuilder(g->NewName("n"), op_name) in ConstructSpaceToBatchGraph()
/external/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()
/external/llvm/include/llvm/IR/
DModuleSummaryIndex.h449 SmallString<256> NewName(Name); in getGlobalNameForLocal()
450 NewName += ".llvm."; in getGlobalNameForLocal()
451 NewName += utohexstr(ModHash[0]); // Take the first 32 bits in getGlobalNameForLocal()
452 return NewName.str(); in getGlobalNameForLocal()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy.cpp622 std::string NewName; in MakeLegalFunctionName() local
627 NewName = Name; in MakeLegalFunctionName()
630 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
631 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
637 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
638 char old_c = NewName.at(pos); in MakeLegalFunctionName()
641 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
644 return NewName; in MakeLegalFunctionName()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp620 std::string NewName; in MakeLegalFunctionName() local
625 NewName = Name; in MakeLegalFunctionName()
628 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
629 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
635 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
636 char old_c = NewName.at(pos); in MakeLegalFunctionName()
639 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
642 return NewName; in MakeLegalFunctionName()
/external/tensorflow/tensorflow/compiler/jit/
Dbuild_xla_launch_ops_pass.cc42 def.set_name(graph->NewName(nodename)); in BuildLaunchNode()
85 graph->NewName(node->name()), node->type_string(), node->def().attr(), in ReplaceNodeWithXlaLaunch()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy.cpp643 std::string NewName; in MakeLegalFunctionName() local
648 NewName = Name; in MakeLegalFunctionName()
651 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
652 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
658 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
659 char old_c = NewName.at(pos); in MakeLegalFunctionName()
662 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
665 return NewName; in MakeLegalFunctionName()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp662 std::string NewName; in MakeLegalFunctionName() local
667 NewName = Name; in MakeLegalFunctionName()
670 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
671 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
677 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
678 char old_c = NewName.at(pos); in MakeLegalFunctionName()
681 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
684 return NewName; in MakeLegalFunctionName()
/external/clang/test/Modules/Inputs/oldname/
Dmodule.map1 module NewName {
/external/llvm/lib/MC/
DMCContext.cpp182 SmallString<128> NewName = Name; in createSymbol() local
187 NewName.resize(Name.size()); in createSymbol()
188 raw_svector_ostream(NewName) << NextUniqueID++; in createSymbol()
190 auto NameEntry = UsedNames.insert(std::make_pair(NewName, true)); in createSymbol()
/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/lexical_preservation_samples/
DAnnotationDeclaration_Example1_expected.java.txt3 @interface NewName {
/external/clang/test/Modules/
Drenamed.m1 @import NewName;
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h431 std::string NewName = SrcM.getName(); in emitPartition() local
433 NewName += "."; in emitPartition()
434 NewName += F->getName(); in emitPartition()
437 auto M = llvm::make_unique<Module>(NewName, SrcM.getContext()); in emitPartition()

1234