CBackend

The C module contains two writers, CWriter and OmpWriter, which produces C and OpenMP code

Note

This backend is widely used on llCoMP.

Files

This module has some members in order to store some source code files:

class Backends.C.Files.FileTypes.C_FileType

A file type to store C source code

importMacros(line_list)

Get the preprocessor macros from a given string and store it on the file.

Currently supported macros are:

#include <[A-Za-Z0-9.]+>
#include "[A-Za-Z0-9.]+"
pretty_print(text)

Return a pretty representation of the file

Parameters:text – The original text to be pretty printed
class Backends.C.Files.FileTypes.H_FileType

A file type to store headers of C source code

importMacros(line_list)

Get the preprocessor macros from a given string and store it on the file.

Currently supported macros are:

#include <[A-Za-Z0-9.]+>
#include "[A-Za-Z0-9.]+"
pretty_print(text)

Return a pretty representation of the file

Table Of Contents

Previous topic

Dot Backend

Next topic

CUDA Backend

This Page