Home
last modified time | relevance | path

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

12345

/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.cc38 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "_Send") in Send()
55 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "_Recv") in Recv()
68 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Const") in Constant()
85 return HostConstant(g, tensor, g->NewName("n")); in HostConstant()
99 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Variable") in Var()
118 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Assign") in Assign()
128 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Cumsum") in Cumsum()
140 TF_CHECK_OK(NodeBuilder(g->NewName("n"), reduce, g->op_registry()) in Reduce()
150 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Quantize") in QuantizeToUINT8()
162 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "MatMul") in Matmul()
[all …]
Dgradients.cc70 read_def.set_name(g->NewName("Read")); in AddZerosLike()
79 ndef.set_name(g->NewName(kNodeLabel)); in AddZerosLike()
89 ndef.set_name(g->NewName(kNodeLabel)); in AddZerosLike()
107 ndef.set_name(g->NewName(kNodeLabel)); in AddSymGrad()
310 ndef.set_name(graph_->NewName(kNodeLabel)); in SumGradients()
/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/tensorflow/tensorflow/core/common_runtime/
Dlower_while_op.cc120 string NewName(const string& infix);
162 cond_call_builder_(NewName("cond"), cond_fn_name, graph->op_registry(), in LowerWhileHelper()
164 body_call_builder_(NewName("body"), body_fn_name, graph->op_registry(), in LowerWhileHelper()
198 TF_RETURN_IF_ERROR(NodeBuilder(NewName("enter"), "Enter", in CreateEnterNodes()
217 TF_RETURN_IF_ERROR(NodeBuilder(NewName("LoopControlInputs"), "NoOp", in CreateEnterNodes()
233 NodeBuilder(NewName("merge"), "Merge", graph_->op_registry(), in CreateMergeNodes()
253 TF_RETURN_IF_ERROR(NodeBuilder(NewName("LoopCond"), "LoopCond", in CreateCondFuncCallNode()
274 TF_RETURN_IF_ERROR(NodeBuilder(NewName(op_name), op_type, in CreateSwitchNodes()
303 TF_RETURN_IF_ERROR(NodeBuilder(NewName("loop_body_control"), op_type, in CreateBodyFuncCallNode()
317 TF_RETURN_IF_ERROR(NodeBuilder(NewName("exit"), "Exit", in CreateExitNodes()
[all …]
Dlower_if_op.cc64 string NewName(const string& infix);
110 then_call_builder_(NewName("then"), then_fn_name, graph->op_registry(), in CondBuilder()
112 else_call_builder_(NewName("else"), else_fn_name, graph->op_registry(), in CondBuilder()
123 TF_RETURN_IF_ERROR(NodeBuilder(NewName("switch_pred"), "Switch", in CreatePivotNodes()
130 TF_RETURN_IF_ERROR(NodeBuilder(NewName("pivot_f"), "Identity", in CreatePivotNodes()
135 TF_RETURN_IF_ERROR(NodeBuilder(NewName("pivot_t"), "Identity", in CreatePivotNodes()
143 string CondBuilder::NewName(const string& infix) { in NewName() function in tensorflow::__anon2655e6fa0111::CondBuilder
144 return graph_->NewName(strings::StrCat(name_, "/", infix)); in NewName()
159 TF_RETURN_IF_ERROR(NodeBuilder(NewName(src->name()), "Switch", in AddInput()
201 NodeBuilder(graph_->NewName("output"), "Merge", graph_->op_registry(), in AddOutputs()
[all …]
/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-7.0/llvm/lib/IR/
DGlobals.cpp137 std::string NewName = Name; in getGlobalIdentifier() local
144 NewName = NewName.insert(0, "<unknown>:"); in getGlobalIdentifier()
146 NewName = NewName.insert(0, FileName.str() + ":"); in getGlobalIdentifier()
148 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()
Dmkl_conv_ops_test.cc130 TF_CHECK_OK(NodeBuilder(graph->NewName("conv_2d"), "Conv2D") in DefaultConv2D()
154 TF_CHECK_OK(NodeBuilder(graph->NewName("mkl_conv_2d"), "_MklConv2D") in MklConv2D()
184 NodeBuilder(graph->NewName("conv_2d_bwd_input"), "Conv2DBackpropInput") in DefaultConv2DBwdInput()
213 TF_CHECK_OK(NodeBuilder(graph->NewName("conv_2d_bwd_input"), in MklConv2DBwdInput()
247 NodeBuilder(graph->NewName("conv_2d_bwd_filter"), "Conv2DBackpropFilter") in DefaultConv2DBwdFilter()
277 TF_CHECK_OK(NodeBuilder(graph->NewName("conv_2d_bwd_filter"), in MklConv2DBwdFilter()
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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp56 std::string NewName = (Name + ModuleId).str(); in promoteInternals() local
60 RenamedComdats.try_emplace(C, ExportM.getOrInsertComdat(NewName)); in promoteInternals()
62 ExportGV.setName(NewName); in promoteInternals()
67 ImportGV->setName(NewName); in promoteInternals()
95 std::string NewName = (Twine(LocalToGlobal.size()) + ModuleId).str(); in promoteTypeIds() local
96 GlobalMD = MDString::get(M.getContext(), NewName); in promoteTypeIds()
/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/swiftshader/third_party/llvm-7.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()
/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/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/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.0/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()

12345