MCPcopy Create free account

hub / github.com/daadaada/turingas / functions

Functions58 in github.com/daadaada/turingas

↓ 12 callersFunctionGetP
(value, shift)
turingas/grammar.py:76
↓ 11 callersFunctionGetI
(value, shift, mask=0xffffffff)
turingas/grammar.py:88
↓ 11 callersFunctionGetR
(value, shift)
turingas/grammar.py:98
↓ 6 callersMethodPackHeader
(self)
turingas/ELF.py:93
↓ 5 callersFunctionGetC
(value, shift)
turingas/grammar.py:113
↓ 3 callersFunctionGetF
(value, shift)
turingas/grammar.py:92
↓ 3 callersFunctionProcessAsmLine
(line, line_num)
turingas/grammar.py:711
↓ 3 callersFunctionmagicgu
(nmax, d)
turingas/include/helper.py:4
↓ 2 callersFunctionGetParameterConstant
(var_name, var_dict, bank, base, offset=0)
turingas/turas.py:295
↓ 2 callersMethodPackEntry
(self)
turingas/ELF.py:117
↓ 1 callersMethodCollectSyms
(self, kernel, name, consts)
turingas/cubin.py:202
↓ 1 callersFunctionExpandCode
(file, include=None)
turingas/turas.py:354
↓ 1 callersFunctionExpandInline
(file, include=None)
turingas/turas.py:368
↓ 1 callersFunctionGenCode
asm_line: Result of ProcessAsmLine dict = {line_num, pred, predNot, predReg, space, op, rest, ctrl} 128 bits in total: First 64 bit
turingas/grammar.py:745
↓ 1 callersFunctionGenReuse
(captured_dict)
turingas/grammar.py:701
↓ 1 callersMethodGenerateNvConst0
(self, section, name, params)
turingas/cubin.py:151
↓ 1 callersMethodGenerateNvConst3
(self, section, consts)
turingas/cubin.py:163
↓ 1 callersMethodGenerateNvInfo
(self, section, name)
turingas/cubin.py:81
↓ 1 callersMethodGenerateNvInfoName
params = {[nameof each param], [sizeof each param]}
turingas/cubin.py:111
↓ 1 callersMethodGenerateNvSmem
(self, kernel, section, name, smem_size)
turingas/cubin.py:175
↓ 1 callersMethodGenerateSymTab
(self, name)
turingas/cubin.py:297
↓ 1 callersMethodGenerateText
(self, kernel, section, name)
turingas/cubin.py:185
↓ 1 callersFunctionGetSmemSize
(file)
turingas/turas.py:44
↓ 1 callersMethodInit
Header information. Set flags/info for shstrtab/strtab/symtab. Init all programs.
turingas/cubin.py:38
↓ 1 callersFunctionReadCtrl
(ctrl, gram)
turingas/grammar.py:683
↓ 1 callersFunctionReplaceRegParamConstMap
(file, reg_map, param_dict, const_dict)
turingas/turas.py:308
↓ 1 callersFunctionReplaceVar
(match, regs, params, consts)
turingas/turas.py:315
↓ 1 callersFunctionSetConstsMap
<CONSTS> CONST_A, 8 CONST_B, 8 </CONSTS>
turingas/turas.py:260
↓ 1 callersFunctionSetParameterMap
<PARAMS> input, 8 output, 8 </PARAMS>
turingas/turas.py:224
↓ 1 callersFunctionSetRegisterMap
(file)
turingas/turas.py:167
↓ 1 callersFunctionStripSpace
(file)
turingas/turas.py:5
↓ 1 callersMethodUpdateOffset
1. sh_offset 2. start of section headers 3. start of program headers 4. header idx of shstrtab
turingas/cubin.py:309
↓ 1 callersMethodUpdateShstrtab
(self)
turingas/cubin.py:270
↓ 1 callersMethodUpdateStrtab
(self)
turingas/cubin.py:281
↓ 1 callersMethodWrite
Write data to file. Order: 1. Header. 2. shstrtab, strtab, symtab, .nv.info. 3. info_secs, const_secs, text_secs, smem_
turingas/cubin.py:464
↓ 1 callersMethodadd_kernel
For each kernel: 1. Create sections and update index 2. Create symbols and update index 3. Add .text.{name} 4. Add .nv.sh
turingas/cubin.py:348
↓ 1 callersFunctionassemble
return { RegCnt => $regCnt, BarCnt => $barCnt, ExitOffsets => \@exitOffsets, CTAIDOffsets => \@ctaidOffsets,
turingas/turas.py:13
↓ 1 callersFunctionextract
(file_path, fun)
tools/disasm.py:44
↓ 1 callersFunctionmain
()
turingas/main.py:5
↓ 1 callersFunctionparseCtrl
(sline)
tools/disasm.py:11
↓ 1 callersFunctionprocessSassLines
(fline, sline, labels)
tools/disasm.py:26
MethodPackHeader
(self)
turingas/ELF.py:35
MethodPackHeader
(self)
turingas/ELF.py:56
FunctionReplaceCode
(matchobj)
turingas/turas.py:362
FunctionReplaceInteriorConst
(match)
turingas/turas.py:347
Method__init__
(self)
turingas/ELF.py:5
Method__init__
(self, type_, flags)
turingas/ELF.py:41
Method__init__
(self)
turingas/ELF.py:62
Method__init__
(self)
turingas/ELF.py:103
Method__init__
(self, arch=70)
turingas/cubin.py:8
Functiondivc_u32
dst = src : uint / divisor; src / divisor = src * M >> sh;
turingas/include/helper.py:15
Functiondivmodc_u32
divmodc_u32(dividend, c_divisor, quotient, remainder)
turingas/include/helper.py:27
Functiondivmodc_u32_old
divmodc_u32(dividend, c_divisor, quotient, remainder)
turingas/include/helper.py:49
Methodto_binary
Write data to binary stream
turingas/cubin.py:450
Methodunpack_binary
(self, data)
turingas/ELF.py:19
Methodunpack_binary
(self, data)
turingas/ELF.py:51
Methodunpack_binary
(self, data)
turingas/ELF.py:78
Methodunpack_binary
(self, data)
turingas/ELF.py:113