摘要: LLVM IR中惯用的IntegerType主要是: Int8Ty Int16Ty Int32Ty Int64Ty 但是,今天注意到了一个有意思的API: static IntegerType * getIntNTy (LLVMContext &C, unsigned N) 从而,我们可以定义任意长 阅读全文
posted @ 2021-02-03 22:23 bjchan9an 阅读(392) 评论(0) 推荐(0)
摘要: 前言 消除对LLVM GEP指令的恐惧!它其实也很简单。 挖坑TODO References [1] https://www.llvm.org/docs/GetElementPtr.html [2] https://stackoverflow.com/questions/53960500/llvm- 阅读全文
posted @ 2021-02-03 11:30 bjchan9an 阅读(309) 评论(0) 推荐(0)