Load and store in LLVM RISCV

Hello everyone, I wanted to add certain instructions or intrinsics in RISCV LLVM such that I am able to load and store values to a custom register. I am a beginner and was wondering if I could get general guidance on where I should start and where I could look into.
Thank you