search for: xiaoyaollvm

Displaying 14 results from an estimated 14 matches for "xiaoyaollvm".

2012 Aug 20
1
[LLVMdev] llmv3.0 CBackend convert IR to IR error
...wn away >for being "buggy" and "unmaintained". > >Several months ago there was a similar question, and it was solved. >Please see the patch attached here: >http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-March/047989.html > >Best, >- D. > >2012/8/18 xiaoyaollvm <xiaoyaollvm at 126.com>: >> In llvm3.0,I use the llc to convert the IR to C code, >> But the code lack key words like "struct", Who can tell me how to modify the >> CBackend, 3Q ^-^ >> >> >> >> _____________________________________________...
2012 Aug 18
0
[LLVMdev] llmv3.0 CBackend convert IR to IR error
...ote: as of v3.1, C backend has been thrown away for being "buggy" and "unmaintained". Several months ago there was a similar question, and it was solved. Please see the patch attached here: http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-March/047989.html Best, - D. 2012/8/18 xiaoyaollvm <xiaoyaollvm at 126.com>: > In llvm3.0,I use the llc to convert the IR to C code, > But the code lack key words like "struct", Who can tell me how to modify the > CBackend, 3Q ^-^ > > > > _______________________________________________ > LLVM Developers mail...
2012 Aug 18
2
[LLVMdev] llmv3.0 CBackend convert IR to IR error
In llvm3.0,I use the llc to convert the IR to C code, But the code lack key words like "struct", Who can tell me how to modify the CBackend, 3Q ^-^ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120818/ee901cb1/attachment.html>
2013 May 03
2
[LLVMdev] How to convert the .s file(assemble) to .ll (IR)
Hi all, I have the file which is assemble, I want to convert it to IR. Are there some tools to do this in LLVM? Thanks, Yao -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130503/d7fd4741/attachment.html>
2013 Apr 07
1
[LLVMdev] How to get the Instruction where one function use the global variable.
Hi, all I try to get the Instructions where one function use the global variable. for (llvm::Module::global_iterator gvar_iter = M.global_begin(); gvar_iter != M.global_end(); gvar_iter++) { llvm::GlobalVariable *gvar = &*gvar_iter; llvm::errs() << "const global var: " << gvar->getName() << "\n"; for (
2013 Mar 28
1
[LLVMdev] How can a pass obtain the path of input file?
Hi all I write a pass, which will link two module together, Is there some method that I can obtain the path of the input file? If so, I can get the module by the path of the input. Or Is there some method that I can obtain the two modules of the input file by opt? Thanks, yaoxiao -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Apr 27
2
[LLVMdev] How to build the 32bit version of llvm in the ubuntu 64bit
Hi, all: I want to build the 32bit version of llvm in the ubuntu 64bit, need I add some parameter? Thanks yao -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130427/cff0539d/attachment.html>
2013 Dec 13
1
[LLVMdev] llvm Negative Testing
Hi, all I am interesting about the negative testing in the llvm. Is there some test about how to use the negative in the llvm? Thanks, Candy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131213/7cd9ab22/attachment.html>
2015 Mar 27
2
[LLVMdev] Use the IR information to Modify the AST?
Hi,guys: I am interested to use the IR information to modify the AST of the source code But I am not sure whether the LLVM support or not. Thanks, yao -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150327/e56f19a4/attachment.html>
2013 Mar 29
1
[LLVMdev] How to use the llvm::Linker?
Hi,All this one pass that will use the Linker namespace { // Hello2 - The second implementation with getAnalysisUsage implemented. llvm::StringRef programNametest(""); struct Hello2 : public ModulePass { static char ID; // Pass identification, replacement for typeid Hello2() : ModulePass(ID) {} virtual bool runOnModule(llvm::Module &M){ llvm::Linker
2018 Apr 10
1
How to get the case value from Machine Instruction
Thanks for your help. Is there possible I can get the realily case value form the MI? For the case in https://bugs.llvm.org/show_bug.cgi?id=34902. as follows. ############################# * GCC v7.1 generated assembly ############################# ** Options: -Os -marm -march=armv7-a foo: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 sub
2013 Mar 08
0
[LLVMdev] How to use dropAllReferences in dropAllReferences
Hi all. I want to know how the dropAllReferences() is used in the FunctionPass MoudlePass and so on. If I want to delete the node about function in Module, I can use it ,am i right? Thanks for your help. yao. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130308/d3f9294b/attachment.html>
2015 Mar 05
2
[LLVMdev] Use the IR information to modify the AST
Hi,guys: I am try to get some information from the IR, such as Function type, Function arguments, I want to save then to the data structure which defined by myself, and I want use the data structure to modify the AST. But I know ,the IR was produced by the AST, I am not sure my thought is wright or not. If so, with API or function in the LLVM I will used? or some linkage or demo that I can learn
2015 Jul 24
0
[LLVMdev] sepertate the code by the macro
Hi,guys: I am interesting to separate the code by the clang . such as: void a() { ... } #ifdef Test void b() { } #endif void c() { .... } Is there some method for me to get the code in the region of TEST ? Thanks, Yao. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150724/2c1435fa/attachment.html>