llvm-ir
llvm-ir copied to clipboard
LLVM IR in natural Rust data structures
This pull requests continues the work of @langston-barrett in #34 . I have taken into account the concerns you expressed in that pull request and rebased it to the current...
Will fix #31. @cdisselkoen Let me know if you like where this is headed and I'll implement the missing cases for structs, and add alignment + storage size (`llvm::getABITypeAlign` and...
I noticed your note about being open to contributions for .ll file generation. I'm interested in working on this feature - it would enable some useful capabilities. If you're still...
It would be very nice to have support for the ThinLTO Summary section. I have not seen that data inside a parsed module yet. LLVM specifies this [section](https://llvm.org/docs/LangRef.html#id1906), which contains...
I tried running the tests via `cargo test --features=llvm-15`, and was getting a SIGILL termination. I tracked it down to what seems to be a bug in the LLVM C...
This seems like a great tool. I look forward to giving it go! And thus my post. Despite the documentation already in place that touches on how to align LLVM...
Hi, I got the following code ```rust #[no_mangle] fn foo() -> i32 { let a = 41 + 42; return a; } fn main() { println!("The magic number {}", foo());...
I have an analysis that could make use of information about the sizes of types, in particular, what LLVM calls `DataLayout::getTypeAllocSize`. LLVM has a whole variety of methods that calculate...
This would allow dropping the llvm dependency and avoid the problem of things not being reflected in the c bindings.