search for: make_decl_llvm

Displaying 11 results from an estimated 11 matches for "make_decl_llvm".

2006 Sep 01
3
[LLVMdev] gfortran: patch, question
...let you worry about the markers. [snip] > This is crashing because make_decl_rtl is an RTL backend specific > function. I haven't looked at the callsite but you probably want > something like this: > > #ifndef ENABLE_LLVM > make_decl_rtl (olddecl); > #else > make_decl_llvm (olddecl); > #endif > > make_decl_rtl is also sometimes called implicitly by "DECL_RTL". Any uses > of DECL_RTL need to be replaced with DECL_LLVM. If you have questions on > a particular use, I'd be happy to help. OK, that makes sense. I should have been able to fig...
2006 Sep 01
0
[LLVMdev] gfortran: patch, question
...out of bounds>, const_p=true) at > ../../src/gcc/fortran/f95-lang.c:733 This is crashing because make_decl_rtl is an RTL backend specific function. I haven't looked at the callsite but you probably want something like this: #ifndef ENABLE_LLVM make_decl_rtl (olddecl); #else make_decl_llvm (olddecl); #endif make_decl_rtl is also sometimes called implicitly by "DECL_RTL". Any uses of DECL_RTL need to be replaced with DECL_LLVM. If you have questions on a particular use, I'd be happy to help. -Chris -- http://nondot.org/sabre/ http://llvm.org/
2006 Sep 01
2
[LLVMdev] gfortran: patch, question
Hi, I have a first quick patch and a question. The patch links f951 with g++ when LLVM is enabled. It's at the end of this email. I wanted to know if I should submit patches with comments around them like the "APPLE LOCAL LLVM" ones that mark the LLVM-only changes to the tree. I'd like to make it as easy as possible to apply these, so let me know any rules I should be following.
2008 May 09
3
[LLVMdev] llvm gcc 4.0 not compiling
...m-backend.cpp:23: ../../llvm-gcc-4.0/gcc/llvm-internal.h:40:38: error: llvm/Support/LLVMBuilder.h: No such file or directory ../../llvm-gcc-4.0/gcc/llvm-internal.h:259: error: ‘LLVMBuilder’ does not name a type /home/local/lefever/llvm/080509/llvm_optimized/include/llvm/User.h: In function ‘void make_decl_llvm(tree_node*)’: /home/local/lefever/llvm/080509/llvm_optimized/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private ../../llvm-gcc-4.0/gcc/llvm-backend.cpp:1015: error: within this context /home/local/lefever/llvm/080509/llvm_optimized/include/llvm/Function.h:113...
2006 Aug 26
1
[LLVMdev] undeclared variable in llvm-gcc
The variable reg_number is undeclared in make_decl_llvm. The attached patch fixes it. Best Regards, Rafael -------------- next part -------------- A non-text attachment was scrubbed... Name: reg_number.patch Type: text/x-patch Size: 554 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060826/6175eda2/attachment....
2008 May 09
0
[LLVMdev] llvm gcc 4.0 not compiling
..../llvm-gcc-4.0/gcc/llvm-internal.h:40:38: error: > llvm/Support/LLVMBuilder.h: No such file or directory > ../../llvm-gcc-4.0/gcc/llvm-internal.h:259: error: ‘LLVMBuilder’ does > not name a type > /home/local/lefever/llvm/080509/llvm_optimized/include/llvm/User.h: In > function ‘void make_decl_llvm(tree_node*)’: > /home/local/lefever/llvm/080509/llvm_optimized/include/llvm/User.h:28: > error: ‘static void* llvm::User::operator new(size_t)’ is private > ../../llvm-gcc-4.0/gcc/llvm-backend.cpp:1015: error: within this context > /home/local/lefever/llvm/080509/llvm_optimized/include/...
2007 Sep 22
4
[LLVMdev] RFC: Patch
Hi all, I have a patch that would potentially help Objective-C 2. In the "make_decl_llvm()" in llvm-backend.cpp, there is code to search through the already generated global variables. Objective-C goes through this code twice with the same identifier. The first time, is to create meta-data for a "property". The second time is to add a reference to that property into the...
2009 Nov 05
5
[LLVMdev] llvm-gcc-4.2-2.6 build failed,
...member of ‘llvm::Type’ ../../llvm-gcc-4.2/gcc/llvm-backend.cpp: In function ‘void AddAnnotateAttrsToGlobal(llvm::GlobalValue*, tree_node*)’: ../../llvm-gcc-4.2/gcc/llvm-backend.cpp:1171: error: ‘getInt8PtrTy’ is not a member of ‘llvm::Type’ ../../llvm-gcc-4.2/gcc/llvm-backend.cpp: In function ‘void make_decl_llvm(tree_node*)’: ../../llvm-gcc-4.2/gcc/llvm-backend.cpp:1635: error: ‘const class llvm::Type’ has no member named ‘isVoidTy’ make[3]: *** [llvm-backend.o] Error 1 make[3]: Leaving directory `/home/ts/llvm/llvm-gcc-4.2-obj/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/hom...
2007 Sep 22
0
[LLVMdev] RFC: Patch
On Sep 21, 2007, at 5:11 PM, Bill Wendling wrote: > > My question is, is this liable to break something else down the line? > Should it be modified to call the getNamedGlobal method only if it's > an Objective-C property? Is this even the correct method for an > Objective-C property? There is a bigger question here. One invariant that is useful is that there is only a
2009 Nov 06
1
[LLVMdev] llvm-gcc-4.2-2.6 build failed,
...member of ‘llvm::Type’ ../../llvm-gcc-4.2/gcc/llvm-backend.cpp: In function ‘void AddAnnotateAttrsToGlobal(llvm::GlobalValue*, tree_node*)’: ../../llvm-gcc-4.2/gcc/llvm-backend.cpp:1171: error: ‘getInt8PtrTy’ is not a member of ‘llvm::Type’ ../../llvm-gcc-4.2/gcc/llvm-backend.cpp: In function ‘void make_decl_llvm(tree_node*)’: ../../llvm-gcc-4.2/gcc/llvm-backend.cpp:1635: error: ‘const class llvm::Type’ has no member named ‘isVoidTy’ make[3]: *** [llvm-backend.o] Error 1 make[3]: Leaving directory `/home/ts/llvm/llvm-gcc-4.2-obj/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/hom...
2007 Apr 30
1
[LLVMdev] llvm-gcc build broken
...lvm-backend.cpp:765: error: incomplete type `llvm::ConstantInt' used in nested name specifier /projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:768: error: incomplete type `llvm::ConstantInt' used in nested name specifier /projects/compiler/llvm-gcc/gcc/llvm-backend.cpp: In function `void make_decl_llvm(tree_node*)': /projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:850: error: invalid use of undefined type `struct llvm::Module' /projects/compiler/llvm-gcc/gcc/llvm-internal.h:45: error: forward declaration of `struct llvm::Module' /projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:855:...