search for: tima0900

Displaying 3 results from an estimated 3 matches for "tima0900".

2014 Jan 28
2
[LLVMdev] Load Instruction that changes value of two registers
Hello, I'm writing a backend for an architecture that only has LOAD Instructions that first copy the old value of the target register in another register and after that load the provided value into the register. Example of an addition: load a, reg1; // -> copies old value of reg1 in reg2 and loads value from a into reg1 load b, reg1; // -> copies old value of reg1 in reg2 and loads
2014 Oct 22
2
[LLVMdev] Fetching the functions in C files
...t the same error that I received while using llvm-extract on a .c file (not .bc or .ll). Do I have to include other things in the command ? I mean generating a function.ll without anything as header, Module ID, etc might be wrong. right ? -Amir On Tue, Oct 21, 2014 at 7:51 PM, Markus Timpl <tima0900 at googlemail.com> wrote: > You can use llvm-dis to turn .bc files into .ll files. > Am 22.10.2014 01:44 schrieb "Amir H. Ashouri" < > amirhossein.ashouri at gmail.com>: > > Thanks for the answer John. >> >> I checked the llvm-extract and it works, but...
2014 Oct 21
2
[LLVMdev] Fetching the functions in C files
Thanks for the answer John. I checked the llvm-extract and it works, but my concern is if the output of the extract could be saved as .ll instead of .bc. Sort of human-readable format so that I can parse it. Otherwise, it is better to parse the foo.ll file right away instead of using the extract tool. Please correct me if I am wrong. Thanks, -Amir On Tue, Oct 21, 2014 at 7:02 PM, John