search for: langhook

Displaying 12 results from an estimated 12 matches for "langhook".

Did you mean: langhooks
2007 Jan 11
3
[LLVMdev] Ada support for llvm-gcc4
...that assume a C-like front-end (C, C++ or ObjC): calls are made to decl_constant_value, iasm_build_bracket and similar routines that mostly aren't defined by the Ada, fortran and java front-ends. However two of the calls, to c_common_type_for_mode and pushdecl, could equivalently be made to a langhook. This patch switches these to langhook calls. 2-stubs.diff This adds a new file that provides dummy implementations for all the routines mentioned in (1) that can't be turned into langhook calls. Putting these in one place means that Ada, java and fortran can be made to compile by simply li...
2007 Jan 11
0
[LLVMdev] Ada support for llvm-gcc4
...; front-end (C, C++ or ObjC): calls are made to decl_constant_value, > iasm_build_bracket and similar routines that mostly aren't defined > by the Ada, fortran and java front-ends. However two of the calls, > to c_common_type_for_mode and pushdecl, could equivalently be made > to a langhook. This patch switches these to langhook calls. > > 2-stubs.diff > This adds a new file that provides dummy implementations > for all the routines mentioned in (1) that can't be turned into > langhook calls. Putting these in one place means that Ada, java > and fortran can be...
2008 Jul 30
0
[LLVMdev] llvm-gcc fortran bootstrap broken
...nd.cpp =================================================================== --- gcc-4.2.llvm.orig/gcc/llvm-backend.cpp 2008-07-30 21:17:36.000000000 +0200 +++ gcc-4.2.llvm/gcc/llvm-backend.cpp 2008-07-30 21:24:42.000000000 +0200 @@ -70,12 +70,14 @@ #include "tree-inline.h" #include "langhooks.h" #include "cgraph.h" -#include "c-common.h" } // Non-zero if bytecode from PCH is successfully read. int flag_llvm_pch_read; +// Non-zero if libcalls should not be simplified. +int flag_no_simplify_libcalls; + // Global state for the LLVM backend. Module *TheMo...
2008 Jul 30
4
[LLVMdev] llvm-gcc fortran bootstrap broken
On Jul 30, 2008, at 11:39 AM, Duncan Sands wrote: > On Wednesday 30 July 2008 18:13:27 Duncan Sands wrote: >> On x86-64 linux, in stage 2, I get: >> >> c++ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict- >> prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno- >> variadic-macros -Wno-overlength-strings -Wold-style-definition - >>
2008 Jul 30
1
[LLVMdev] llvm-gcc fortran bootstrap broken
...===================================== > --- gcc-4.2.llvm.orig/gcc/llvm-backend.cpp 2008-07-30 > 21:17:36.000000000 +0200 > +++ gcc-4.2.llvm/gcc/llvm-backend.cpp 2008-07-30 21:24:42.000000000 > +0200 > @@ -70,12 +70,14 @@ > #include "tree-inline.h" > #include "langhooks.h" > #include "cgraph.h" > -#include "c-common.h" > } > > // Non-zero if bytecode from PCH is successfully read. > int flag_llvm_pch_read; > > +// Non-zero if libcalls should not be simplified. > +int flag_no_simplify_libcalls; > + > // Glo...
2004 Apr 30
0
[LLVMdev] Testing LLVM on OS X
...and I don't know objective C very well in any case. :) Fortran, Java, and Ada support has not been tried at all, and are likely to be more work than objc. If you are familiar with GCC, adding support for the other GCC front-ends is not very difficult. It basically amounts to implementing the langhooks that are used to expand the language-specific tree nodes into the appropriate LLVM code. Of all of them, having G77 would be particularly nice, because it would allow us to run the rest of SpecFP, though f2c might be another option if it works very well (I've never tried it before). Long-ter...
2015 Apr 16
2
[LLVMdev] Compile SPEC2006 with clang-3.2, multi definition errors.
...expmed.bc expr.bc final.bc flow.bc fold-const.bc function.bc gcse.bc genrtl.bc ggc-common.bc global.bc graph.bc haifa-sched.bc hash.bc hashtable.bc hooks.bc ifcvt.bc insn-attrtab.bc insn-emit.bc insn-extract.bc insn-opinit.bc insn-output.bc insn-peep.bc insn-recog.bc integrate.bc intl.bc jump.bc langhooks.bc lcm .bc lists.bc local-alloc.bc loop.bc obstack.bc optabs.bc params.bc predict.bc print-rtl.bc print-tree.bc profile.bc real.bc recog.bc reg-stack.bc regclass.bc regmove.bc regrename.bc reload.bc reload1.bc reorg.bc resource.bc rtl.bc rtlanal.bc rtl-error.bc sbitmap.bc sched-deps.bc sched-ebb....
2004 Apr 30
3
[LLVMdev] Testing LLVM on OS X
> > There are two problems with this: 1) there is no JIT for PPC yet, so > LLVM will use the interpreter (which is intolerably slow and has other > issues). 2) Spec compiles the executables in one place and them moves > them to another, but it only copies the shell script and not the > bytecode file, so you get that error message. > > The normal solution to this problem
2006 Jul 10
1
[LLVMdev] enabling Debian x86_64 for llvm 1.7
...o explow.o loop-iv.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o genrtl.o ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-modes.o insn-extract.o insn-opinit.o insn-output.o insn-peep.o insn-recog.o integrate.o intl.o jump.o langhooks.o lcm.o lists.o local-alloc.o loop.o modulo-sched.o optabs.o options.o opts.o params.o postreload.o postreload-gcse.o predict.o insn-preds.o pointer-set.o postreload.o print-rtl.o print-tree.o profile.o value-prof.o var-tracking.o real.o recog.o reg-stack.o regclass.o regmove.o regrename.o reload....
2007 Apr 27
2
[LLVMdev] Boostrap Failure -- Expected Differences?
....o differs ./haifa-sched.o differs ./i386.o differs ./ifcvt.o differs ./insn-attrtab.o differs ./insn-emit.o differs ./insn-extract.o differs ./insn-output.o differs ./insn-preds.o differs ./insn-recog.o differs ./integrate.o differs ./jump.o differs ./lambda-code.o differs ./lambda-mat.o differs ./langhooks.o differs ./lcm.o differs ./local-alloc.o differs ./loop-doloop.o differs ./loop-init.o differs ./loop-invariant.o differs ./loop-iv.o differs ./loop.o differs ./loop-unroll.o differs ./loop-unswitch.o differs ./modulo-sched.o differs ./optabs.o differs ./opts.o differs ./params.o differs ./passes...
2011 Aug 06
2
[LLVMdev] llvm-gcc near tip causing crash in /usr/bin/ld due to memory corruption on linux x86_64
...p; ln -s libgcc_s.so.1 ./libgcc_s.so < ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -shared -nodefaultlibs -Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc/./libgcc.map -o ./libgcc_s.so.1.tmp libgcc/./_muldi3_s.o libgcc/./_negdi2_s.o l lambda-code.o langhooks.o libbackend.a libgcc.mk libgcc_s.so.1 lists.o llvm-convert.o llvm-linker-hack.o local-alloc.o loop-invariant.o loop-unswitch.o lambda-mat.o lcm.o libgcc/ libgcc_eh.a libgcc_s.so.1.tmp llvm-ab...
2007 Apr 30
0
[LLVMdev] Boostrap Failure -- Expected Differences?
...fcvt.o differs > ./insn-attrtab.o differs > ./insn-emit.o differs > ./insn-extract.o differs > ./insn-output.o differs > ./insn-preds.o differs > ./insn-recog.o differs > ./integrate.o differs > ./jump.o differs > ./lambda-code.o differs > ./lambda-mat.o differs > ./langhooks.o differs > ./lcm.o differs > ./local-alloc.o differs > ./loop-doloop.o differs > ./loop-init.o differs > ./loop-invariant.o differs > ./loop-iv.o differs > ./loop.o differs > ./loop-unroll.o differs > ./loop-unswitch.o differs > ./modulo-sched.o differs > ./optabs...