LLVM front-end

Hi,
I'm new in LLVM project, I want to understand how to write a LLVM
front-end for my simple OOP language (not implemented yet) using
c/c++.
I think I have to write a lexer ,parser , semantic analyzer ,then code
generator to LLVM IR, am I right ?
Should I generate C language code then pass it to clang or what ? Any
advices to make my language high performance one?

Sorry for questions that might seen silly, but I really confused
(after a lot googling).
I wish you can help me to start in the right way.

Thanks.

Hi Ahmed,

The Kaleidoscope tutorial might be of use to you: LLVM Tutorial: Table of Contents — LLVM 16.0.0git documentation

Cheers,
  Roel