Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶
File holds a single parsed file and associated data.
func (*File) Check ¶
func (f *File) Check()
check type-checks the package. The package must be OK to proceed.
func (*File) ErrorLocation ¶
func (*File) Valid ¶
Valid checks that the go constructs used in the file, f, are valid in the subset of go used in simd translation
The go subset allows funcs that are passed parameters of basic types or slices and arrays of basic types and return int, bool, or nothing In a func only simd var declarations are allowed and they must be at the beginning of the func. The func must be of the form
{simd var declarations} {var assignments} {for loop} (optional) {var assignments} {return}
Click to show internal directories.
Click to hide internal directories.