search for: _znam

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

Did you mean: _znaj
2013 Jan 14
2
[LLVMdev] linking standard c++ functions @_Znam and @_Znwm
...eated by llc, my linker cannot locate the following functions. I know that these are standard c++ library functions but g++ cannot locate them. Now my question is that where are these functions defined and how can I link them with my object files, and actually what do they do? declare noalias i8* @_Znam(i64) declare noalias i8* @_Znwm(i64) the emitted error messages are as follows: undefined reference to `operator new[](unsigned long)' undefined reference to `operator new(unsigned long)' We are reaching the deadline of the project but I haven't found any solution for this problem....
2013 Jan 14
0
[LLVMdev] linking standard c++ functions @_Znam and @_Znwm
...are using to link? Ciao, Duncan. I know that these are standard c++ > library functions but g++ cannot locate them. Now my question is that where are > these functions defined and how can I link them with my object files, and > actually what do they do? > > |declare noalias i8* @_Znam(i64) > > declare noalias i8* @_Znwm(i64) > > the emitted error messages are as follows: > > undefined reference to `operator new[](unsigned long)' > > undefined reference to `operator new(unsigned long)' > > We are reaching the deadline of the project but I hav...
2013 Jan 09
2
[LLVMdev] linking llvm libraries with bitcode files
I'm developing an llvm-based compiler and when I try to generate executable file the following error occurs: ./bin/llvmcode.s:35: undefined reference to `operator new[](unsigned long)' Note that in the generated IR, the function '@_Znam' is called which is located in one of llvm libraries. So, I should have linked the generated assembly file with that library. Here is the code I used to do that: llvm-as ./bin/llvmcode.ll llc ./bin/llvmcode.bc g++ -g ./bin/llvmcode.s \`llvm-config --cppflags --ldflags --libs core jit native\`...
2013 Jan 09
0
[LLVMdev] linking llvm libraries with bitcode files
...gmail.com> wrote: > I'm developing an llvm-based compiler and when I try to generate > executable file the following error occurs: > > ./bin/llvmcode.s:35: undefined reference to `operator new[](unsigned > long)' > > Note that in the generated IR, the function '@_Znam' is called which is > located in one of llvm libraries. So, I should have linked the generated > assembly file with that library. That operator is defined in the C++ standard library. You probably don't want to be linking the output of your compiler with LLVM libraries, they'd be...
2010 Jun 18
1
[LLVMdev] Is there any general way to figure out dynamically allocated points?
...? Does the front-end provide any hint(s) to the middle-end to facilitate to do so? Particularly, can I distinguish the call arising from the new-expression from various calls if I use llvm-g++ as the front-end? PS: Under llvm-g++, a new expression is translate into this function call: call i8* @_Znam(..) Best, Xiaolong
2015 Jul 24
0
[LLVMdev] SIMD for sdiv <2 x i64>
...then4 %S25_D = zext <2 x i32> %splatLDS17_D.splat to <2 x i64> %umul_with_overflow.i.iS26_D = shl <2 x i64> %S25_D, <i64 3, i64 3> %extumul_with_overflow.i.iS26_D = extractelement <2 x i64> %umul_with_overflow.i.iS26_D, i32 1 %call5.i.i = tail call noalias i8* @_Znam(i64 %extumul_with_overflow.i.iS26_D) #22 %splatCallS27_D.splatinsert = insertelement <2 x i8*> undef, i8* %call5.i.i, i32 0 %splatCallS27_D.splat = shufflevector <2 x i8*> %splatCallS27_D.splatinsert, <2 x i8*> undef, <2 x i32> zeroinitializer %bitcastS28_D = bitcast &...
2015 Jul 24
1
[LLVMdev] SIMD for sdiv <2 x i64>
...<2 x i32> %splatLDS17_D.splat to <2 x i64> > %umul_with_overflow.i.iS26_D = shl <2 x i64> %S25_D, <i64 3, i64 3> > %extumul_with_overflow.i.iS26_D = extractelement <2 x i64> > %umul_with_overflow.i.iS26_D, i32 1 > %call5.i.i = tail call noalias i8* @_Znam(i64 > %extumul_with_overflow.i.iS26_D) #22 > %splatCallS27_D.splatinsert = insertelement <2 x i8*> undef, i8* > %call5.i.i, i32 0 > %splatCallS27_D.splat = shufflevector <2 x i8*> > %splatCallS27_D.splatinsert, <2 x i8*> undef, <2 x i32> zeroinitializer...
2015 Jul 24
2
[LLVMdev] SIMD for sdiv <2 x i64>
On 07/24/2015 03:42 AM, Benjamin Kramer wrote: >> On 24.07.2015, at 08:06, zhi chen <zchenhn at gmail.com> wrote: >> >> It seems that that it's hard to vectorize int64 in LLVM. For example, LLVM 3.4 generates very complicated code for the following IR. I am running on a Haswell processor. Is it because there is no alternative AVX/2 instructions for int64? The same thing
2017 Jan 23
2
undefined symbols during linking LLDB 4.0 RC1
...0000 DO *UND* 0000000000000001 Base _ZSt7nothrow 0000000000000000 DF *UND* 0000000000000197 GLIBC_2.2.5 memmove 0000000000000000 DF *UND* 000000000000058e Base _ZNSt3__16__sortIRNS_6__lessImmEEPmEEvT0_S5_T_ 0000000000000000 DF *UND* 0000000000000005 Base _Znam 0000000000000000 DF *UND* 0000000000000125 GLIBC_2.2.5 getgrgid 0000000000000000 DF *UND* 0000000000000025 GLIBC_2.2.5 access 0000000000000000 DO *UND* 0000000000000008 Base stdscr 0000000000000000 DF *UND* 0000000000000005 Base _ZdaPv 0000000000000000 DF...
2017 Jan 19
2
undefined symbols during linking LLDB 4.0 RC1
Hello, I update my building scripts to build LLVM 4.0 RC1 (with clang, lldb, libc++, libc++abi, lld) on CentOS 6 and I got a lot of undefined symbols during linking LLDB. I'm using clang-3.9 and this configuration: -DLLVM_TARGETS_TO_BUILD="X86" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++
2013 Oct 15
0
[LLVMdev] [llvm-commits] r192750 - Enable MI Sched for x86.
...w >> +; CHECK: cwtl >> >> ; ATOM-LABEL: test2: >> -; ATOM: movnew >> -; ATOM: movswl >> +; ATOM: cmovnew >> +; ATOM: cwtl >> } >> >> declare i1 @return_false() >> @@ -256,8 +256,8 @@ entry: >> %call = tail call noalias i8* @_Znam(i64 %D) nounwind noredzone >> ret i8* %call >> ; CHECK-LABEL: test12: >> -; CHECK: movq $-1, %[[R:r..]] >> ; CHECK: mulq >> +; CHECK: movq $-1, %[[R:r..]] >> ; CHECK: cmovnoq %rax, %[[R]] >> ; CHECK: jmp __Znam >> >> >> Modifie...