Displaying 3 results from an estimated 3 matches for "llvm_92hlcj".
2009 Jun 07
0
[LLVMdev] llvmc for PIC16
...o a.out
> 3. -Wo <options> - pass optimizations to the llvm-ld
> 4. mcc16 -Wl <options> - pass options to native linker.
> 5. mcc16 -Wa <options> - pass options to native assembler.
$ mcc16 -dry-run -Wo,-opt1 -Wllc,-opt2 -Wa,-opt3 -Wl,-opt4 foo.c
clang-cc foo.c -o /tmp/llvm_92HLCj/foo.bc
llvm-ld -opt1 /tmp/llvm_92HLCj/foo.bc -o /tmp/llvm_92HLCj/tmp.bc
llc -opt2 -f /tmp/llvm_92HLCj/tmp.bc -o /tmp/llvm_92HLCj/tmp.s
native-as -opt3 /tmp/llvm_92HLCj/tmp.s -o /tmp/llvm_92HLCj/tmp.o
native-ld -opt4 /tmp/llvm_92HLCj/tmp.o -o a.out
> $ mcc16 -S foo.c
$ mcc16 -dry-run -S f...
2009 Jun 05
4
[LLVMdev] llvmc for PIC16
> I'll be happy to answer any further questions you may have, feel free to e-mail
> me directly (though right now our mail server is down)
>
The salient features that we want to have in the driver are:
1. llvm-ld will be used as "The Optimizer".
2. If the user has specified to generate the final executable, then
llvm-ld should run on all the .bc files generated by clang
2009 Jun 15
3
[LLVMdev] llvmc for PIC16
...t;options> - pass optimizations to the llvm-ld
> > 4. mcc16 -Wl <options> - pass options to native linker.
> > 5. mcc16 -Wa <options> - pass options to native assembler.
>
> $ mcc16 -dry-run -Wo,-opt1 -Wllc,-opt2 -Wa,-opt3 -Wl,-opt4 foo.c
> clang-cc foo.c -o /tmp/llvm_92HLCj/foo.bc
> llvm-ld -opt1 /tmp/llvm_92HLCj/foo.bc -o /tmp/llvm_92HLCj/tmp.bc
> llc -opt2 -f /tmp/llvm_92HLCj/tmp.bc -o /tmp/llvm_92HLCj/tmp.s
> native-as -opt3 /tmp/llvm_92HLCj/tmp.s -o /tmp/llvm_92HLCj/tmp.o
> native-ld -opt4 /tmp/llvm_92HLCj/tmp.o -o a.out
>
> > $ mcc16 -S foo.c...