search for: tree_node

Displaying 20 results from an estimated 43 matches for "tree_node".

2004 May 05
0
[LLVMdev] Testing LLVM on OS X
...st=' %struct.sequence_stack' WARNING: Type conflict between types named 'struct.function'. Src=' %struct.function'. Dest=' %struct.function' WARNING: Found global types that are not compatible: %struct.rtx_def* (%struct.increment_operator*, %union.tree_node*)* %bc_expand_increment void (%struct.increment_operator*, %union.tree_node*)* %bc_expand_increment WARNING: Found global types that are not compatible: int (...)* %bc_xstrdup sbyte* (sbyte*)* %bc_xstrdup WARNING: Found global types that are not compatible:...
2012 Jun 22
1
[LLVMdev] Compile error of latest Dragonegg on Ubuntu with GCC 4.5
Yest. thanks. I just resolved this error by installing MPFR, MPC and GMP(by the way, these are not listed as prerequisites in the website.). But other errors come: /home/xxx/llvm/tools/dragonegg/src/TypeConversion.cpp: In function > ‘llvm::FunctionType* ConvertArgListToFnType(tree_node*, > llvm::ArrayRef<tree_node*>, tree_node*, bool, llvm::CallingConv::ID&, > llvm::AttrListPtr&)’: > /home/xxx/llvm/tools/dragonegg/src/TypeConversion.cpp:731:31: error: no > matching function for call to > ‘llvm::AttrListPtr::get(llvm::SmallVector<llvm::AttributeWith...
2004 May 04
6
[LLVMdev] Testing LLVM on OS X
On Tue, 4 May 2004, Chris Lattner wrote: > I suspect that a large reason that LLVM does worst than a native C > compiler with the CBE+GCC is that LLVM generates very low-level C code, > and I'm not convinced that GCC is doing a very good job (ie, without > syntactic loops). Yup, this is EXACTLY what is going on. I took this very simple C function: int Array[1000]; void test(int
2004 May 05
2
[LLVMdev] Testing LLVM on OS X
...ck' > WARNING: Type conflict between types named 'struct.function'. > Src=' %struct.function'. > Dest=' %struct.function' > WARNING: Found global types that are not compatible: > %struct.rtx_def* (%struct.increment_operator*, > %union.tree_node*)* %bc_expand_increment > void (%struct.increment_operator*, %union.tree_node*)* > %bc_expand_increment > WARNING: Found global types that are not compatible: > int (...)* %bc_xstrdup > sbyte* (sbyte*)* %bc_xstrdup > WARNING: Found global types that a...
2016 Jul 22
2
HEAD compilation causes gcc internal error
...function: /llvm-clang-trunk/src/lib/Transforms/Utils/SimplifyCFG.cpp:2547:22: internal compiler error: Segmentation fault return Operator::getOpcode(&I) == Instruction::BitCast && ^ 0x8a11bf crash_signal ../../../src/lnx64/gcc/toplev.c:332 0x59d41e lookup_base(tree_node*, tree_node*, int, base_kind*, int) ../../../src/lnx64/gcc/cp/search.c:199 0x5a968b finish_qualified_id_expr(tree_node*, tree_node*, bool, bool, bool, bool) ../../../src/lnx64/gcc/cp/semantics.c:1786 0x5aa19c finish_id_expression(tree_node*, tree_node*, tree_node*, cp_id_kind*, bool, bool, bool*, b...
2012 Jun 22
0
[LLVMdev] Compile error of latest Dragonegg on Ubuntu with GCC 4.5
>> /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/plugin/include/real.h:27:18: >> fatal error: mpfr.h: No such file or directory > > I did some search but found few relevant results. > Any idea what's going on? Do you have MPFR installed? -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
2007 Nov 07
3
[LLVMdev] RFC: llvm-convert.cpp Patch
...--- gcc/llvm-internal.h (revision 43658) +++ gcc/llvm-internal.h (working copy) @@ -375,7 +375,7 @@ /// expression that fits into an LLVM scalar value, the result is returned. If /// the result is an aggregate, it is stored into the location specified by /// DestLoc. - Value *Emit(tree_node *exp, Value *DestLoc); + Value *Emit(tree_node *exp, Value *DestLoc, unsigned Alignment = 0); /// EmitLV - Convert the specified l-value tree node to LLVM code, returning /// the address of the result. @@ -512,7 +512,7 @@ // Expressions. void EmitINTEGER_CST_Aggregate(tree_no...
2012 Jun 22
2
[LLVMdev] Compile error of latest Dragonegg on Ubuntu with GCC 4.5
Hi, When I tried to compile Dragonegg using the SVN trunk code, I encountered failure with error message: In file included from > /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/plugin/include/rtl.h:28:0, > from /home/xxx/llvm/dragonegg/src/Convert.cpp:63: > /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/plugin/include/real.h:27:18: > fatal error: mpfr.h: No such
2007 Nov 07
0
[LLVMdev] RFC: llvm-convert.cpp Patch
On Nov 6, 2007, at 5:45 PM, Bill Wendling wrote: > Hi all, > > This patch is to fix a problem on PPC64 where an unaligned memcpy is > generated. The testcase is this: > > $ cat testcase.c > void Qux() { > char Bar[11] = {0}; > } > > What happens is that we produce LLVM code like this: > > call void @llvm.memcpy.i64( i8* %event_list2, i8* getelementptr ([11
2010 May 24
2
[LLVMdev] linker errors when trying to link llvm-gcc
...#39;: /home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-gcc-4.2-2.7.source-objtree/gcc/../../llvm-gcc-4.2-2.7.source/gcc/llvm-convert.cpp:142: undefined reference to `get_pointer_alignment' libbackend.a(llvm-convert.o): In function `TreeToLLVM::EmitBuiltinDwarfSPColumn(tree_node*, llvm::Value*&)': /home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-gcc-4.2-2.7.source-objtree/gcc/../../llvm-gcc-4.2-2.7.source/gcc/llvm-convert.cpp:6318: undefined reference to `validate_arglist' libbackend.a(llvm-convert.o): In function `TreeToLLVM::EmitBui...
2007 Nov 07
7
[LLVMdev] RFC: llvm-convert.cpp Patch
Hi all, This patch is to fix a problem on PPC64 where an unaligned memcpy is generated. The testcase is this: $ cat testcase.c void Qux() { char Bar[11] = {0}; } What happens is that we produce LLVM code like this: call void @llvm.memcpy.i64( i8* %event_list2, i8* getelementptr ([11 x i8]* @C.103.30698, i32 0, i32 0), i64 11, i32 8 ) Notice that it has an 8-byte alignment. However, the Bar
2013 Aug 03
0
[LLVMdev] Errors building dragonegg 3.3 in Fedora rawhide
...n file included from /builddir/build/BUILD/dragonegg-3.3.src/include/dragonegg/ABI.h:30:0, from /builddir/build/BUILD/dragonegg-3.3.src/src/Convert.cpp:24: /builddir/build/BUILD/dragonegg-3.3.src/include/arm/dragonegg/Target.h:54:18: error: 'Type' has not been declared tree_node *, Type *Ty, CallingConv::ID, std::vector<Type *> &); ^ /builddir/build/BUILD/dragonegg-3.3.src/include/arm/dragonegg/Target.h:54:28: error: 'CallingConv' has not been declared tree_node *, Type *Ty, CallingConv::ID, std::vector<Type *> &);...
2008 May 09
3
[LLVMdev] llvm gcc 4.0 not compiling
...3: ../../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: error:...
2009 Nov 05
5
[LLVMdev] llvm-gcc-4.2-2.6 build failed,
.../../llvm-gcc-4.2/gcc/llvm-backend.cpp:874: error: ‘getInt8PtrTy’ is not a member of ‘llvm::Type’ ../../llvm-gcc-4.2/gcc/llvm-backend.cpp:893: error: ‘getInt8PtrTy’ is not a 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...
2006 Mar 06
2
[LLVMdev] Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
...-4/gcc/llvm-convert.cpp:344: warning: statement with no effect ../../2006-03-02-llvm-gcc-4/gcc/llvm-convert.cpp: At global scope: ../../2006-03-02-llvm-gcc-4/gcc/llvm-convert.cpp:1305: error: parse error before `__attribute__' ../../2006-03-02-llvm-gcc-4/gcc/llvm-convert.cpp: In function `tree_node* StripLLVMTranslationFn(...)': ../../2006-03-02-llvm-gcc-4/gcc/llvm-convert.cpp:1312: error: `I' undeclared (first use this function) ../../2006-03-02-llvm-gcc-4/gcc/llvm-convert.cpp:1312: error: (Each undeclared identifier is reported only once for each function it appears in.) .....
2010 Jan 07
1
[LLVMdev] "Value has wrong type!" on Bool:4 bitfield
...the attached test case (which is g++.dg/expr/bitfield4.C from the GCC 4.2 testsuite) I get: $ cc1plus bitfield4.ii -emit-llvm-bc -o bitfield4.o -quiet cc1plus: /home/foad/svn/antix/toolchain/branches/w/foad/2757llvm26/toolchain/llvm/llvm-gcc/gcc/llvm-convert.cpp:999: llvm::Value* TreeToLLVM::Emit(tree_node*, const MemRef*): Assertion `(Result == 0 || (((enum tree_code) (((exp)->common.type))->common.code) == VOID_TYPE) || isa<VectorType>(ConvertType(((exp)->common.type))) || Result->getType() == ConvertType(((exp)->common.type))) && "Value has wrong type!"'...
2006 Mar 07
0
[LLVMdev] Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
...4/gcc/llvm-convert.cpp:1305: error: parse error > before `__attribute__' Can you send me the preprocessed .i file for this file? To work around the above error, just remove "ATTRIBUTE_UNUSED" from that line. > ../../2006-03-02-llvm-gcc-4/gcc/llvm-convert.cpp: In function `tree_node* > StripLLVMTranslationFn(...)': > ../../2006-03-02-llvm-gcc-4/gcc/llvm-convert.cpp:1312: error: `I' undeclared > (first use this function) > ../../2006-03-02-llvm-gcc-4/gcc/llvm-convert.cpp:1312: error: (Each > undeclared > identifier is reported only once for each...
2008 Mar 25
2
[LLVMdev] llvm-gcc 4.2 assertion failed on linux x86_64
...decnumber -I/home/chandlerc/code/compilers/llvm/include -I/home/chandlerc/code/compilers/build/llvm/include -DL_powitf2 -c /home/chandlerc/code/compilers/llvm-gcc/gcc/libgcc2.c -o libgcc/./_powitf2.o cc1: /home/chandlerc/code/compilers/llvm-gcc/gcc/llvm-types.cpp:81: const llvm::Type* llvm_set_type(tree_node*, const llvm::Type*): Assertion `(!(__extension__ ({ const tree __t = (Tr); if (tree_code_type[(int) (((enum tree_code) (__t)->common.code))] != (tcc_type)) tree_class_check_failed (__t, (tcc_type), "/home/chandlerc/code/compilers/llvm-gcc/gcc/llvm-types.cpp", 81, __FUNCTION__); __t; }...
2012 Oct 15
3
[LLVMdev] Dragonegg build broken?
...trunk. clang version 3.2 (trunk 165928) (llvm/trunk 165925) Target: x86_64-unknown-linux-gnu Thread model: posix >>>>> Compiling TypeConversion.cpp /local/home/anitha/dragonegg/src/TypeConversion.cpp: In function âllvm::FunctionType* ConvertArgListToFnType(tree, llvm::ArrayRef<tree_node*>, tree, bool, llvm::CallingConv::ID&, llvm::AttrListPtr&)â: /local/home/anitha/dragonegg/src/TypeConversion.cpp:690:3: error: no matching function for call to âllvm::Attributes::Attributes(llvm::Attributes::AttrVal)â /local/home/anitha/dragonegg/src/TypeConversion.cpp:690:3: note: candi...
2008 May 09
0
[LLVMdev] llvm gcc 4.0 not compiling
...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/Funct...