<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Llvm on Yu-Cheng's Notes</title><link>https://linkingmon.github.io/blog/tags/llvm/</link><description>Recent content in Llvm on Yu-Cheng's Notes</description><generator>Hugo -- 0.166.0</generator><language>en-us</language><lastBuildDate>Mon, 05 Jan 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://linkingmon.github.io/blog/tags/llvm/index.xml" rel="self" type="application/rss+xml"/><item><title>HLS &amp; LLVM</title><link>https://linkingmon.github.io/blog/dialog/hls-llvm/</link><pubDate>Mon, 05 Jan 2026 00:00:00 +0000</pubDate><guid>https://linkingmon.github.io/blog/dialog/hls-llvm/</guid><description>&lt;p&gt;Last few days I learned that the C++ translation to IR requires AST (abstract syntax tree), and it seems to me that this is much the same as the HLS.&lt;/p&gt;
&lt;p&gt;From HLS (high leve synthesis) tool, you input a C++ code and output a RTL, usualy verilog code, which is a hardware descriptoin language.&lt;/p&gt;
&lt;p&gt;I learned HLS and used tools before, for FPGA mapping we use Vivado HLS, or called Vitis now (original owned by Xilinx, which is aquired by AMD). I think if we can leverage the same technique, perhaps we can do the same techqiue and map arbitary C++ code to RTL.&lt;/p&gt;</description></item><item><title>Clangd &amp; LLVM</title><link>https://linkingmon.github.io/blog/dialog/clangd/</link><pubDate>Sat, 03 Jan 2026 00:00:00 +0000</pubDate><guid>https://linkingmon.github.io/blog/dialog/clangd/</guid><description>&lt;p&gt;Recently I saw YT streaming for C++ compiling, and find that many people are using alngd for building C++, and I&amp;rsquo;m curious about what is the difference for clangd and gcc compiler, since during my work with CAD tools, we always use gcc for compiling.&lt;/p&gt;
&lt;p&gt;After discussion with AI, they are a old style (gcc) and new style (clangd). Old style does not mean that they are worse. Here is a table for the comparison:&lt;/p&gt;</description></item></channel></rss>