similar to: [LLVMdev] the called function equal NULL

Displaying 20 results from an estimated 500 matches similar to: "[LLVMdev] the called function equal NULL"

2010 Nov 30
0
[LLVMdev] the called function equal NULL
On Nov 29, 2010, at 5:22 PM, huwei8717 wrote: > Hi, > > I have a llvm-pass in hand written by other people. There are following statements that I couldn't understand: > > -------------------------------program---------------------------------------------------- > ... > if (isa<CallInst>(inst) || isa<InvokeInst>(inst)) { > const CallSite cs(inst);
2010 Nov 30
1
[LLVMdev] the definitions of internal functions and external functions
Hi, I have a llvm pass in hand written by other people. There are following statements that I couldn't understand: -------------------------------program---------------------------------------------------- ... // Calls to internal functions. if (!F->isDeclaration()) { DOUT << " internal call" << opcode << ": " << name <<
2010 Sep 10
1
[LLVMdev] I have llvm, poolalloc, and llvm-gcc to be installed
If I have llvm, poolalloc, and llvm-gcc to be installed, what's the order of installation? 2010-09-10 Daneill -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100910/568fb887/attachment.html>
2010 Oct 14
1
[LLVMdev] the latency of opcode
Does anyBody know how to know the latency of every opcode in llvm-IR? Thank you for your time! 2010-10-14 huwei8717 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101014/a9c4b540/attachment.html>
2008 Jun 09
1
Basic Question on Keys/Values
As a java programmer, I'm having issue conceptualizing the following use case: Given an value, passed into a function, how do I pull out the lookup? Ie. A list of keys (key1, key2, key3) A list of values (val1,val2,val3) I want to write a function (or is there something built in?) such that Callit <- (thekey) { (magic happens here) Return value } Any ideas? Thanks a bunch!
2005 Sep 21
2
cdecl and stdcall
Hi, I'm trying to load a dynamic link library and it seems to work (is.loaded -> TRUE). When I run the function, which calls the .Fortran subroutine, R crashes! I'v tried the same in S-Plus 2000 and it worked. Therefore I suppose that the dll has been compiled with the stdcall calling convention (and not cdecl). But the problem is that I don't have access to the source code,
2012 Sep 19
3
[LLVMdev] newbie question on getelementptr
Hi All, I'm new to LLVM and I'm having a coding problem. I'm creating a GlobalVariable that contains a StructType that contains a Function. The function returns i32 and takes two i32's. Here is my code: GlobalVariable* retrieved = module->getGlobalVariable("myGV"); ... Constant* result = ConstantExpr::getGetElementPtr(retrieved, indices); How do I get my Function
2010 Sep 10
1
[LLVMdev] I have llvm, poolalloc, and llvm-gcc to be installed
If I have llvm, poolalloc, and llvm-gcc to be installed, what's the order of installation? Could some help me? Thank you very much! Best Regards 2010-09-10 Daneill -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100910/fd6d3fd6/attachment.html>
2004 Jun 08
2
Recoding a multiple response question into a series of 1, 0 variables
Hello R folks. 1) The question that generated the data, which I call Qx: Which of the following 5 items have you performed in the past month? (multipe response) 2) How the data is coded in my current dataframe: The first item that a person selected is coded under a field called Qxfirst; the second selected under Qxsecond, etc. For the first Person, the NAs mean that that person only selected
2010 Sep 09
1
[LLVMdev] no llvm-gcc and llvm-g++ in the directory of bin
My problem is there is no llvm-gcc and llvm-g++ in the directory of bin when I have installed llvm and llvm-gcc. I was following the instruction of http://llvm.org/releases/2.6/docs/GettingStarted.html, however when I finished installing the llvm and llvm-gcc successfully, the bin dir contains no llvm-gcc and llvm-g++, but contain gcc and g++. The following is files in the directory of bin:
2010 Jun 14
4
Unable to pickup an extension, trying everything
Hello list, I try to pick up a ringing extension but nothing works. To be clear, I'm trying to pick up extension 10. [Jun 14 17:37:34] -- Executing [**10 at from-TESTCORP:4] Pickup("SIP/testcorp3-00000041", "10 at 123456") in new stack [Jun 14 17:37:34] NOTICE[16555]: app_directed_pickup.c:159 pickup_exec: No target channel found for 10. [Jun 14 17:37:34] --
2010 Sep 09
2
[LLVMdev] install llvm-tv on ubuntu
Does anybody install llvm-tv on ubuntu9.04? please share how to do it. Thanks very much! My problem is as followed: I follow the instruction of README in source of llvm-tv. First, I installe wxWidgets and graphviz, and then download the source of llvm from http://llvm.org/svn/llvm-project/llvm/trunk and download poolalloc from http://llvm.org/svn/llvm-project/poolalloc/trunk. Second, I compile
2006 Oct 31
2
[LLVMdev] callinst vs. invokeinst
What is the difference between a CallInst and an InvokeInst in LLVM? Is an InvokeInst a CallInst that can throw an exception? Thanks, Ryan
2015 Mar 25
2
[LLVMdev] Instruction::mayThrow not handling invoke's?
While improving ADCE, i notice that for declare i32 @strlen(i8*) readnone define i32 @test() { ; invoke of pure function should not be deleted! invoke i32 @strlen( i8* null ) readnone to label %Cont unwind label %Other ; <i32>:1 [#uses=0] Cont: ; preds = %0 ret i32 0 Other: ; preds = %0 %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
2018 May 17
2
RFC: Removing TerminatorInst, simplifying calls
On Thu, May 17, 2018 at 10:32 AM Xinliang David Li <xinliangli at gmail.com> wrote: > > > On Thu, May 17, 2018 at 2:03 AM, Chandler Carruth via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Going to keep this RFC short and to the point: >> >> TerminatorInst doesn't pull its weight in the type system. There is >> essentially a single
2018 May 17
15
RFC: Removing TerminatorInst, simplifying calls
Going to keep this RFC short and to the point: TerminatorInst doesn't pull its weight in the type system. There is essentially a single relevant API -- iterating successors. There is no other interesting aspect shared -- the interface itself just dispatches to specific instructions to be implemented. On the flip side, CallInst and InvokeInst have *massive* amounts of code shared and struggle
2018 May 17
0
RFC: Removing TerminatorInst, simplifying calls
On Thu, May 17, 2018 at 1:24 PM, Chandler Carruth <chandlerc at gmail.com> wrote: > On Thu, May 17, 2018 at 10:32 AM Xinliang David Li <xinliangli at gmail.com> > wrote: > >> >> >> On Thu, May 17, 2018 at 2:03 AM, Chandler Carruth via llvm-dev < >> llvm-dev at lists.llvm.org> wrote: >> >>> Going to keep this RFC short and to the
2007 Aug 27
2
[LLVMdev] NOTICE: Updating InvokeInst
I'm about to commit my changes to update the InvokeInst constructors to work like CallInst. Untill I get all of the llvm-gcc changes in, there will be a small window where llvm-gcc won't build. This shouldn't take more than 15-20 minutes depending on how fast subversion is. -Dave
2013 Oct 21
1
[LLVMdev] creating InvokeInst without branch locations
Is it okay to pass null values to the destinations of InvokeInst::Create? I checked the code and it looks like it'd be okay, but the Create method doesn't make them optional, so I'm uncertain. Perhaps a specific Create function without destinations can be added to make it clear that it's okay (of course assuming you eventually call setNormal/UnwindDest). -- edA-qa mort-ora-y --
2007 Aug 27
0
[LLVMdev] NOTICE: Updating InvokeInst
On Mon, 27 Aug 2007, David Greene wrote: > I'm about to commit my changes to update the InvokeInst constructors to work > like CallInst. Untill I get all of the llvm-gcc changes in, there will be a > small window where llvm-gcc won't build. This shouldn't take more than > 15-20 minutes depending on how fast subversion is. svn has atomic commits: can you commit both at