I am writing an LLVM Function pass. I would like to call Loop Pass on each of Loops in the function. However I am not able to call a Loop Pass from Function Pass. When I add addRequired for required ...

I know that frontend (such as llvm-clang or llvm-gcc ) has also done some optimizations from native code to IR level.
But what's optimizations that frontend has done ? Is there a list or a document I ...

I know that an AST generated by the parser is used to generate IR in the frontend.
I am wondering how AST to be parsed and then transformed to IR (prob assembly or bitcode),
AST is a tree, what are ...

I have been trying to integrate ffmpeg in xcode5.
The step [here][1]
[1]: FFMPEG integration on iphone/ ipad project says that cc parameter needs to be gcc in iphoneOs.platform.
But I could not find ...

I've compiled Wireshark into LLVM then I proceeded to link against some libraries which I also compiled into LLVM.
The libraries I linked were libwsutil, libz and libpcap. However KLEE still gives me ...

I am trying to cross compile Jansson for iOS (armv7) from my machine (x86_64). I have learned that with xcode 5, apple has removed llvm-gcc and thus, armv7-apple-darwin-gcc can't be found. The result ...

I've been playing around with the asm macro in C to directly call some assembly instructions on OS X Mavericks to get a stack pointer address (from %rsp) and I've found really strange behaviour (at ...

My development stack has been completely turned upside down since I've done the Apple last update of March 11, 2014, and I try to fix it bit by bit. Right now I'm stuck with the following error when I ...

I'm trying to compile one of the boost::program_options examples, http://svn.boost.org/svn/boost/trunk/libs/program_options/example/first.cpp, using gcc 4.8 (installed via MacPorts). However, I keep ...

I am working on LLVM, and want to generate the files according to specific target architecure e.g-z80. I have downloaded z80 source code and clang. I used --target in clang command to specify z80 but ...

I've installed xcode 5 and noticed that gcc compiler is deprecated. Assuming that I don't want to switch to Apple LLVM 5.0, here come my questions:
Is it possible to use iOS7 SDK and still compile in ...

Have wasted almost full 4 days trying to compile this package. It compiles fine in OSX 10.6, but gives Undefined reference errors when I try to compile it on a linux (Kubuntu 10.04, 3.8.0.27 kernel) ...

Is it possible to run a gcc optimization pass on any code and in the end obtain llvm IR? I want to use dead store elimination available in gcc. I am aware that llvm also has this pass but it is not as ...