Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified docs/slides_structure.pdf
Binary file not shown.
45 changes: 22 additions & 23 deletions docs/slides_structure.tex
Original file line number Diff line number Diff line change
Expand Up @@ -33,32 +33,31 @@
\begin{frame}{Vue d'ensemble du pipeline}
\centering
\begin{tikzpicture}[
node distance=10mm,
box/.style={draw, rounded corners, fill=cBox, minimum height=12mm,
minimum width=26mm, align=center, font=\small},
arr/.style={-{Stealth[length=3mm]}, thick}
fut/.style={box, fill=white, densely dashed},
arr/.style={-{Stealth[length=3mm]}, thick},
lbl/.style={font=\scriptsize, inner sep=2pt}
]
\node[box] (asm) {Assembleur\\x86-64 (1 BB)};
\node[box, right=of asm] (graph) {Graphe de\\flot de données};
\node[box, right=of graph] (enc) {Encodeur\\GNN};
\node[box, right=of enc] (rep) {Représentations\\\emph{sens} / \emph{temporalité}};

\draw[arr] (asm) -- (graph);
\draw[arr] (graph) -- (enc);
\draw[arr] (enc) -- (rep);

% --- boucle de superoptimisation (sens retour) ---
\node[box, below=14mm of rep, fill=white] (pred) {Prédicteur\\(modèle du monde)};
\node[box, left=of pred, fill=white] (gopt) {Repr.\\optimisée};
\node[box, left=of gopt, fill=white, densely dashed] (dec) {(Décodeur\\\texttt{to\_asm})};
\node[box, left=of dec, fill=white] (asmopt) {Asm\\optimisé};

\draw[arr] (rep.south) -- (pred.north);
\draw[arr] (pred) -- (gopt);
\draw[arr] (gopt) -- (dec);
\draw[arr] (dec) -- (asmopt);
\draw[arr] (asmopt.north) -- (asm.south);
\end{tikzpicture}
% --- ligne 1 (gauche → droite) ---
\node[box] (asm) {Assembleur\\x86-64 (1 BB)};
\node[box, right=14mm of asm] (emb) {Embedder};
\node[box, right=14mm of emb] (enc) {Encodeur\\GNN};

% --- ligne 2 (droite → gauche, alignée sous ligne 1) ---
\node[box, below=18mm of enc] (pred) {Prédicteur};
\node[fut, below=18mm of emb] (dec) {(Décodeur\\\texttt{to\_asm})};
\node[box, below=18mm of asm] (opt) {Asm optimisé};

% --- flèches ligne 1 ---
\draw[arr] (asm) -- node[lbl, above]{$x$ : instr.} (emb);
\draw[arr] (emb) -- node[lbl, above]{$G=(V,E)$} (enc);
% virage encodeur → prédicteur
\draw[arr] (enc) -- node[lbl, right]{$s$ : repr.} (pred);
% --- flèches ligne 2 (droite → gauche) ---
\draw[arr] (pred) -- node[lbl, above]{$\hat{s}_{O3}$} (dec);
\draw[arr] (dec) -- node[lbl, above]{$\hat{x}_{O3}$} (opt);
\end{tikzpicture}%

\vspace{4mm}
\footnotesize
Expand Down