Home
last modified time | relevance | path

Searched refs:namer (Results 1 – 25 of 40) sorted by relevance

12

/external/tensorflow/tensorflow/python/autograph/pyct/
Dnaming_test.py28 namer = naming.Namer({})
29 self.assertEqual('temp', namer.new_symbol('temp', set()))
30 self.assertItemsEqual(('temp',), namer.generated_names)
33 namer = naming.Namer({})
34 self.assertEqual('temp', namer.new_symbol('temp', set()))
35 self.assertEqual('temp_1', namer.new_symbol('temp', set()))
36 self.assertItemsEqual(('temp', 'temp_1'), namer.generated_names)
39 namer = naming.Namer({'temp': 1})
41 self.assertEqual('temp_1', namer.new_symbol('temp', set()))
43 self.assertEqual('temp_3', namer.new_symbol('temp', set(('temp_2',))))
[all …]
Dtranspiler.py169 namer, argument
177 inner_factory_name = namer.new_symbol(inner_factory_name, ())
178 outer_factory_name = namer.new_symbol(outer_factory_name, ())
352 namer = naming.Namer(namespace)
353 new_name = namer.new_symbol(self.get_transformed_name(node), ())
360 context = transformer.Context(entity_info, namer, user_context)
491 nodes, ctx.namer, future_features=ctx.info.future_features)
Dtransformer.py55 def __init__(self, info, namer, user_context): argument
57 self.namer = namer
/external/tensorflow/tensorflow/python/autograph/converters/
Dcontrol_flow_deprecated_py2.py250 self.ctx.namer.new_symbol(s.ssf(), body_scope.referenced)
253 self.ctx.namer.new_symbol(s.ssf(), orelse_scope.referenced)
263 cond_var_name = self.ctx.namer.new_symbol('cond', body_scope.referenced)
264 body_name = self.ctx.namer.new_symbol('if_true', body_scope.referenced)
265 orelse_name = self.ctx.namer.new_symbol('if_false', orelse_scope.referenced)
267 state_getter_name = self.ctx.namer.new_symbol('get_state', all_referenced)
268 state_setter_name = self.ctx.namer.new_symbol('set_state', all_referenced)
410 state_getter_name = self.ctx.namer.new_symbol('get_state', reserved_symbols)
411 state_setter_name = self.ctx.namer.new_symbol('set_state', reserved_symbols)
447 test_name=self.ctx.namer.new_symbol('loop_test', reserved_symbols),
[all …]
Dcontrol_flow.py218 state_getter_name = self.ctx.namer.new_symbol('get_state', reserved)
219 state_setter_name = self.ctx.namer.new_symbol('set_state', reserved)
248 body_name=self.ctx.namer.new_symbol('if_body', reserved),
250 orelse_name=self.ctx.namer.new_symbol('else_body', reserved),
273 state_getter_name = self.ctx.namer.new_symbol('get_state', reserved)
274 state_setter_name = self.ctx.namer.new_symbol('set_state', reserved)
299 body_name=self.ctx.namer.new_symbol('loop_body', reserved),
307 test_name=self.ctx.namer.new_symbol('loop_test', reserved),
325 state_getter_name = self.ctx.namer.new_symbol('get_state', reserved)
326 state_setter_name = self.ctx.namer.new_symbol('set_state', reserved)
[all …]
Dfunctions.py63 function_context_name = self.ctx.namer.new_symbol('lscope',
85 function_context_name = self.ctx.namer.new_symbol('fscope',
Dbreak_statements.py78 break_var = self.ctx.namer.new_symbol('break_', scope.referenced)
124 break_var = self.ctx.namer.new_symbol('break_', scope.referenced)
Dreturn_statements.py347 do_return_var_name = self.ctx.namer.new_symbol('do_return',
349 retval_var_name = self.ctx.namer.new_symbol('retval_', scope.referenced)
Dcontinue_statements.py103 continue_var = self.ctx.namer.new_symbol('continue_', scope.referenced)
/external/llvm-project/llvm/test/CodeGen/MIR/X86/
Dmir-canon-hash-bb.mir1 # RUN: llc -run-pass mir-namer -x mir -verify-machineinstrs %s -o - | FileCheck %s
3 # RUN: llc -run-pass mir-namer -mir-vreg-namer-use-stable-hash -x mir -verify-machineinstrs %s -o …
4 # RUN: llc -run-pass mir-canonicalizer -mir-vreg-namer-use-stable-hash -x mir -verify-machineinstr…
Dmir-namer-hash-frameindex.mir2 # RUN: llc -mtriple x86_64-linux-gnu -run-pass mir-canonicalizer -mir-vreg-namer-use-stable-hash -v…
Dmircanon-flags.mir2 # RUN: llc -march=x86-64 -run-pass mir-canonicalizer -mir-vreg-namer-use-stable-hash -verify-machin…
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dreaching_fndefs_test.py45 namer = naming.Namer({})
46 ctx = transformer.Context(entity_info, namer, None)
/external/llvm-project/llvm/test/CodeGen/MIR/AArch64/
Dmirnamer.mir1 # RUN: llc -x mir -mtriple aarch64-apple-ios -run-pass mir-namer -mir-vreg-namer-use-stable-hash -v…
Dmir-canon-constant-pool-hash.mir2 # RUN: llc -o - -run-pass mir-canonicalizer -mir-vreg-namer-use-stable-hash -verify-machineinstrs %…
Dmir-canon-jump-table.mir2 # RUN: llc -run-pass mir-canonicalizer -mir-vreg-namer-use-stable-hash -verify-machineinstrs -mtrip…
Daddrspace-memoperands.mir3 # RUN: llc -mtriple=aarch64-none-linux-gnu -run-pass mir-canonicalizer -mir-vreg-namer-use-stable-h…
DmirCanonCopyCopyProp.mir2 # RUN: llc -mtriple=arm64-apple-ios11.0.0 -o - -verify-machineinstrs -mir-vreg-namer-use-stable-has…
/external/llvm-project/llvm/test/CodeGen/MIR/Generic/
DCFPImmMIRCanonHash.mir2 # RUN: llc -run-pass mir-canonicalizer -mir-vreg-namer-use-stable-hash -verify-machineinstrs -o - %…
/external/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/
Dparse-order-reserved-regs.mir3 # RUN: llc -march=amdgcn -run-pass mir-canonicalizer -mir-vreg-namer-use-stable-hash -verify-machi…
Dmircanon-memoperands.mir2 # RUN: llc -march=amdgcn -mcpu=tahiti -run-pass mir-canonicalizer -mir-vreg-namer-use-stable-hash -…
Dmir-canon-multi.mir2 # RUN: llc -o - -march=amdgcn -run-pass mir-canonicalizer -mir-vreg-namer-use-stable-hash -verify…
/external/tensorflow/tensorflow/python/tf_program/
Dmlir_gen.py221 self.ctx.namer.new_symbol(node.name, []),
419 namer = naming.Namer({})
421 ctx = transformer.Context(entity_info, namer, None)
/external/python/cpython2/Lib/
Dtempfile.py185 namer = _RandomNameSequence()
194 name = namer.next()
/external/python/cpython3/Lib/test/
Dtest_logging.py5072 def namer(name): function
5076 rh.namer = namer
5080 self.assertLogFile(namer(self.fn + ".1"))
5082 self.assertLogFile(namer(self.fn + ".2"))
5083 self.assertFalse(os.path.exists(namer(self.fn + ".3")))
5088 def namer(self, name): member in RotatingFileHandlerTest.test_namer_rotator_inheritance.HandlerWithNamerAndRotator
5097 self.assertEqual(rh.namer(self.fn), self.fn + ".test")
5101 self.assertLogFile(rh.namer(self.fn + ".1") + ".rotated")
5102 self.assertFalse(os.path.exists(rh.namer(self.fn + ".1")))
5107 def namer(name): function
[all …]

12