Home
last modified time | relevance | path

Searched refs:tree_num (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/quality/
DCompletionModelCodegen.py79 def tree(t, tree_num, node_num): argument
93 label = "t%d_n%d" % (tree_num, node_num)
97 code.append(node(t, label=label, next_label="t%d" % (tree_num + 1)))
101 t['else'], tree_num=tree_num, node_num=node_num+1)
104 true_label = "t%d_n%d" % (tree_num, true_node_num)
107 t['then'], tree_num=tree_num, node_num=true_node_num)
200 tree_num = 0
202 …code += "LLVM_ATTRIBUTE_NOINLINE float EvaluateTree%d(const %s& E) {\n" % (tree_num, cpp_class.nam…
205 tree(tree_json, tree_num=tree_num, node_num=0)[0]) + "\n"
207 tree_num += 1
[all …]