search for: intrinsicinst

Displaying 20 results from an estimated 115 matches for "intrinsicinst".

2006 Apr 07
3
[LLVMdev] CVS Broken?
I just updated from CVS, and after doing a clean rebuild I get this error: /Users/bocchino/llvm-checkin/src/include/llvm/IntrinsicInst.h: In static member function 'static bool llvm::DbgInfoIntrinsic::classof (const llvm::IntrinsicInst*)': /Users/bocchino/llvm-checkin/src/include/llvm/IntrinsicInst.h:77: error: 'dbg_declare' is not a member of 'llvm::Intrinsic' /Users/bocchino/llvm-checkin/src/include/...
2006 Apr 07
0
[LLVMdev] CVS Broken?
...7 Apr 2006, Robert L. Bocchino Jr. wrote: > I just updated from CVS, and after doing a clean rebuild I get this error: Are you sure that no conflicts prevented updating from going smoothly? How are you building (srcdir ==/!= objdir)? -Chris > /Users/bocchino/llvm-checkin/src/include/llvm/IntrinsicInst.h: In static > member function 'static bool llvm::DbgInfoIntrinsic::classof(const > llvm::IntrinsicInst*)': > /Users/bocchino/llvm-checkin/src/include/llvm/IntrinsicInst.h:77: error: > 'dbg_declare' is not a member of 'llvm::Intrinsic' > /Users/bocchino/llv...
2015 Jan 31
2
[LLVMdev] debug info for llvm::IntrinsicInst ???
When trying to display and do anything with a variable of type IntrinsicInst, gdb thinks that it's an incomplete type and kind find any member functions or even display the class. (gdb) list 1337 1332 1333 // Finish off the call including any return values. 1334 return finishCall(CLI, RetVT, NumBytes); 1335 } 1336 1337 bool MipsFastISel::fastLowerInt...
2006 Apr 07
2
[LLVMdev] CVS Broken?
...> I just updated from CVS, and after doing a clean rebuild I get >> this error: > > Are you sure that no conflicts prevented updating from going > smoothly? How are you building (srcdir ==/!= objdir)? > > -Chris > >> /Users/bocchino/llvm-checkin/src/include/llvm/IntrinsicInst.h: In >> static member function 'static bool llvm::DbgInfoIntrinsic::classof >> (const llvm::IntrinsicInst*)': >> /Users/bocchino/llvm-checkin/src/include/llvm/IntrinsicInst.h:77: >> error: 'dbg_declare' is not a member of 'llvm::Intrinsic' >&...
2015 Jan 31
2
[LLVMdev] debug info for llvm::IntrinsicInst ???
Ok. I'm basically just following the model of the other fast-isel ports. On 01/30/2015 09:12 PM, David Blaikie wrote: > (I'm assuming you're building LLVM with clang, in this case?) > > Looks like IntrinsicInst is one of those "lies" in LLVM that works via > type punning that's undefined behavior in C++, so it's code that > should be fixed anyway. > > In any case, the reason this produces the debugging experience you're > seeing is that LLVM (& GCC, for that mat...
2015 Jan 31
0
[LLVMdev] debug info for llvm::IntrinsicInst ???
(I'm assuming you're building LLVM with clang, in this case?) Looks like IntrinsicInst is one of those "lies" in LLVM that works via type punning that's undefined behavior in C++, so it's code that should be fixed anyway. In any case, the reason this produces the debugging experience you're seeing is that LLVM (& GCC, for that matter) assumes that if your c...
2015 Jan 31
0
[LLVMdev] debug info for llvm::IntrinsicInst ???
...the virtual dtor (or some other virtual function - even an explicit anchor as we have in some other places) and defining it out of line. > > > On 01/30/2015 09:12 PM, David Blaikie wrote: > > (I'm assuming you're building LLVM with clang, in this case?) > > Looks like IntrinsicInst is one of those "lies" in LLVM that works via > type punning that's undefined behavior in C++, so it's code that should be > fixed anyway. > > In any case, the reason this produces the debugging experience you're > seeing is that LLVM (& GCC, for that matter...
2006 Apr 07
2
[LLVMdev] CVS Broken?
...rebuild I get this error: > >> > >> Are you sure that no conflicts prevented updating from going smoothly? How > >> are you building (srcdir ==/!= objdir)? > >> > >> -Chris > >> > >>> /Users/bocchino/llvm-checkin/src/include/llvm/IntrinsicInst.h: In static > >>> member function 'static bool llvm::DbgInfoIntrinsic::classof(const > >>> llvm::IntrinsicInst*)': > >>> /Users/bocchino/llvm-checkin/src/include/llvm/IntrinsicInst.h:77: error: > >>> 'dbg_declare' is not a member o...
2006 Apr 07
0
[LLVMdev] CVS Broken?
...from CVS, and after doing a clean rebuild I get this error: >> >> Are you sure that no conflicts prevented updating from going smoothly? How >> are you building (srcdir ==/!= objdir)? >> >> -Chris >> >>> /Users/bocchino/llvm-checkin/src/include/llvm/IntrinsicInst.h: In static >>> member function 'static bool llvm::DbgInfoIntrinsic::classof(const >>> llvm::IntrinsicInst*)': >>> /Users/bocchino/llvm-checkin/src/include/llvm/IntrinsicInst.h:77: error: >>> 'dbg_declare' is not a member of 'llvm::Intrins...
2006 Apr 07
0
[LLVMdev] CVS Broken?
...t;> >>>> Are you sure that no conflicts prevented updating from going >>>> smoothly? How >>>> are you building (srcdir ==/!= objdir)? >>>> >>>> -Chris >>>> >>>>> /Users/bocchino/llvm-checkin/src/include/llvm/IntrinsicInst.h: >>>>> In static >>>>> member function 'static bool llvm::DbgInfoIntrinsic::classof(const >>>>> llvm::IntrinsicInst*)': >>>>> /Users/bocchino/llvm-checkin/src/include/llvm/IntrinsicInst.h: >>>>> 77: error: >&...
2009 Aug 22
2
[LLVMdev] PR4174
...yExecute returns false for PHI nodes because it >>> isn't really clear what to do in that case... here, it's safe, so >>> isSafeToSpeculativelyExecute || isa<PHINode> is probably best. >> >> Another two "hacks" are needed: for BranchInst and for IntrinsicInst. >> >> Patch attached. > > IntrinsicInst isn't necessarily safe... Without IntrinsicInst we break test/Transforms/LoopIndexSplit/ SplitValue-2007-08-24-dbg.ll. -Jakub
2015 Jan 17
2
[LLVMdev] How to test isDereferenceablePointer?
...ib/IR/Value.cpp b/lib/IR/Value.cpp index 5f7e258..aa701d5 100644 --- a/lib/IR/Value.cpp +++ b/lib/IR/Value.cpp @@ -23,8 +23,10 @@ #include "llvm/IR/GetElementPtrTypeIterator.h" #include "llvm/IR/InstrTypes.h" #include "llvm/IR/Instructions.h" +#include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/Module.h" #include "llvm/IR/Operator.h" +#include "llvm/IR/Statepoint.h" #include "llvm/IR/ValueHandle.h" #include "llvm/IR/ValueSymbolTable.h" #include "llvm/Support/Debug.h" @@ -570,6 +572,13 @@ static bool...
2009 Aug 22
2
[LLVMdev] PR4174
...;>>>> isn't really clear what to do in that case... here, it's safe, so >>>>> isSafeToSpeculativelyExecute || isa<PHINode> is probably best. >>>> >>>> Another two "hacks" are needed: for BranchInst and for >>>> IntrinsicInst. >>>> >>>> Patch attached. >>> >>> IntrinsicInst isn't necessarily safe... >> >> >> Without IntrinsicInst we break >> test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll. > > Checking for isa<DbgInfoIntrinsic>...
2014 Jun 16
3
[LLVMdev] Attaching range metadata to IntrinsicInst
Hi, The range metadata can only be attached to LoadInst for now. I am considering extending its usage to IntrinsicInst so that the frontend can annotate the range of the return value of an intrinsic call. e.g., %a = call i32 @llvm.xxx(), !range !0 !0 = metadata !{ i32 0, i23 1024 } The motivation behind this extension is some optimizations we are working on for CUDA programs. Some special registers in CUDA (e.g.,...
2006 Apr 07
2
[LLVMdev] CVS Broken?
...> I just updated from CVS, and after doing a clean rebuild I get >> this error: > > Are you sure that no conflicts prevented updating from going > smoothly? How are you building (srcdir ==/!= objdir)? > > -Chris > >> /Users/bocchino/llvm-checkin/src/include/llvm/IntrinsicInst.h: In >> static member function 'static bool llvm::DbgInfoIntrinsic::classof >> (const llvm::IntrinsicInst*)': >> /Users/bocchino/llvm-checkin/src/include/llvm/IntrinsicInst.h:77: >> error: 'dbg_declare' is not a member of 'llvm::Intrinsic' >&...
2009 Aug 22
0
[LLVMdev] PR4174
...false for PHI nodes because it >>>> isn't really clear what to do in that case... here, it's safe, so >>>> isSafeToSpeculativelyExecute || isa<PHINode> is probably best. >>> >>> Another two "hacks" are needed: for BranchInst and for IntrinsicInst. >>> >>> Patch attached. >> >> IntrinsicInst isn't necessarily safe... > > > Without IntrinsicInst we break > test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll. Checking for isa<DbgInfoIntrinsic> is safe. -Eli
2008 Dec 05
3
[LLVMdev] Build errors on trunk for about a week now.
On Fri, Dec 5, 2008 at 1:58 PM, OvermindDL1 <overminddl1 at gmail.com> wrote: > On Fri, Dec 5, 2008 at 1:57 PM, OvermindDL1 <overminddl1 at gmail.com> wrote: >> On Fri, Dec 5, 2008 at 1:52 PM, OvermindDL1 <overminddl1 at gmail.com> wrote: >>> / * snip */ >> >> Actually, rebuilding it makes "debug tblgen" fail with the errors at >> the
2009 Aug 21
1
[LLVMdev] PR4174
...). > > isSafeToSpeculativelyExecute returns false for PHI nodes because it > isn't really clear what to do in that case... here, it's safe, so > isSafeToSpeculativelyExecute || isa<PHINode> is probably best. Another two "hacks" are needed: for BranchInst and for IntrinsicInst. Patch attached. Regards -- Jakub Staszak -------------- next part -------------- A non-text attachment was scrubbed... Name: pr4174-2.patch Type: application/octet-stream Size: 2940 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090821/0d23ec2b/attachm...
2014 Nov 05
3
[LLVMdev] How to lower the intrinsic function 'llvm.objectsize'?
...lowered to a constant representing the size of the object concerned". I'm attempting to lower this intrinsic function to a constant in a pass. Below is the code snippet that I wrote: for (BasicBlock::iterator i = b.begin(), ie = b.end(); (i != ie) && (block_split == false);) { IntrinsicInst *ii = dyn_cast<IntrinsicInst>(&*i); ++i; if(ii) { switch (ii->getIntrinsicID()) { case Intrinsic::objectsize: { IRBuilder<> builder(ii->getParent(), ii); Value *op1 = ii->getArgOperand(0); //i8* uint64_t bit_size = op1->getType()->getPointerElementType()...
2009 Aug 22
0
[LLVMdev] PR4174
...>>>>>> isn't really clear what to do in that case... here, it's safe, so >>>>>> isSafeToSpeculativelyExecute || isa<PHINode> is probably best. >>>>> >>>>> Another two "hacks" are needed: for BranchInst and for IntrinsicInst. >>>>> >>>>> Patch attached. >>>> >>>> IntrinsicInst isn't necessarily safe... >>> >>> >>> Without IntrinsicInst we break >>> test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll. >> >>...