search for: valuehandlebase

Displaying 20 results from an estimated 24 matches for "valuehandlebase".

2010 May 29
1
[LLVMdev] Assertion when loading bitcode
...when loading bitcode files. The assertion looks >> like this : >are you not able to use a more recent version of LLVM like LLVM-2.7? I tried out LLVM-2.7. It also triggers an assertion. This time it is : lli: /home/Virement/llvm/llvm-2.7/lib/VMCore/Value.cpp:394: void llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**): Assertion `VP == Next->VP && "Added to wrong list?"' failed. 0 lli 0x00658c30 Stack dump: 0. Program arguments: /arm-linux-llvm-2.7/bin/lli -march=arm /twofuncs.bc Aborted Thanks -------------- next part --...
2010 Mar 19
2
[LLVMdev] Use of blockadress() crashes llc in some cases
...eMapInfo<llvm::MMIAddrLabelMap::AddrLabelSymEntry> >::operator[](llvm::AssertingVH<llvm::BasicBlock> const&) + 31 4 llc 0x000000000099f5d0 llvm::MMIAddrLabelMap::UpdateForRAUWBlock(llvm::BasicBlock*, llvm::BasicBlock*) + 64 5 llc 0x0000000000c10c9a llvm::ValueHandleBase::ValueIsRAUWd(llvm::Value*, llvm::Value*) + 442 6 llc 0x0000000000c11115 llvm::Value::uncheckedReplaceAllUsesWith(llvm::Value*) + 261 7 llc 0x0000000000ac86da llvm::MergeBasicBlockIntoOnlyPred(llvm::BasicBlock*, llvm::Pass*) + 186 8 llc 0x0000000000a8780f 9 l...
2010 May 30
0
[LLVMdev] Assertion when loading bitcode
...ssertion looks >>> like this : > >>are you not able to use a more recent version of LLVM like LLVM-2.7? > > > I tried out LLVM-2.7. It also triggers an assertion. This time it is : > lli: /home/Virement/llvm/llvm-2.7/lib/VMCore/Value.cpp:394: void > llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**): > Assertion `VP == Next->VP && "Added to wrong list?"' failed. > 0 lli 0x00658c30 > Stack dump: > 0. Program arguments: /arm-linux-llvm-2.7/bin/lli -march=arm > /twofuncs.bc > Aborted > Thank...
2012 Jan 12
3
[LLVMdev] 'opt' Aborted "While deleting: void %"
...2.9/lib/VMCore/Value.cpp:569! 0 libLLVM-2.9.so 0xf6ef856b 1 libLLVM-2.9.so 0xf6ef82f8 2 0xf7782400 __kernel_sigreturn + 0 3 libc.so.6 0xf57d4d52 abort + 386 4 libLLVM-2.9.so 0xf6ee40d4 llvm::SmallVector<char, 64u>::~SmallVector() + 0 5 libLLVM-2.9.so 0xf6a5ce2e llvm::ValueHandleBase::ValueIsDeleted(llvm::Value*) + 662 6 libLLVM-2.9.so 0xf6a5b1ec llvm::Value::~Value() + 58 7 libLLVM-2.9.so 0xf66ee041 llvm::User::~User() + 93 8 libLLVM-2.9.so 0xf6a00d89 llvm::Instruction::~Instruction() + 121 9 libLLVM-2.9.so 0xf6a0351f llvm::CallInst::~CallInst() + 57 10 libLLVM-2.9.so 0xf6...
2012 Jan 12
0
[LLVMdev] 'opt' Aborted "While deleting: void %"
...bLLVM-2.9.so 0xf6ef856b > 1 libLLVM-2.9.so 0xf6ef82f8 > 2 0xf7782400 __kernel_sigreturn + 0 > 3 libc.so.6 0xf57d4d52 abort + 386 > 4 libLLVM-2.9.so 0xf6ee40d4 llvm::SmallVector<char, 64u>::~SmallVector() + > 0 > 5 libLLVM-2.9.so 0xf6a5ce2e > llvm::ValueHandleBase::ValueIsDeleted(llvm::Value*) + 662 > 6 libLLVM-2.9.so 0xf6a5b1ec llvm::Value::~Value() + 58 > 7 libLLVM-2.9.so 0xf66ee041 llvm::User::~User() + 93 > 8 libLLVM-2.9.so 0xf6a00d89 llvm::Instruction::~Instruction() + 121 > 9 libLLVM-2.9.so 0xf6a0351f llvm::CallInst::~CallInst() + 57 &g...
2016 Feb 09
2
LoopIdiomRegognize vs Preserved
...libpthread.so.0 0x00007f1909a70340 4 libc.so.6 0x00007f1908c98cc9 gsignal + 57 5 libc.so.6 0x00007f1908c9c0d8 abort + 328 6 opt 0x000000000170cddd llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) + 461 7 opt 0x000000000137bd3b llvm::ValueHandleBase::ValueIsDeleted(llvm::Value*) + 1051 8 opt 0x000000000137b5db llvm::Value::~Value() + 43 9 opt 0x0000000001322319 llvm::CallInst::~CallInst() + 9 10 opt 0x000000000131e676 llvm::Instruction::eraseFromParent() + 86 11 opt 0x00000000015e8d14 12 opt...
2015 Jul 13
2
[LLVMdev] Problem with InsertPointGuard ABI?
...Point(B.GetInsertPoint()), -> 198 DbgLoc(B.getCurrentDebugLocation()) {} 199 200 ~InsertPointGuard() { 201 Builder.restoreIP(InsertPoint(Block, Point)); (lldb) p *this (llvm::IRBuilderBase::InsertPointGuard) $6 = { Builder = 0x00007fff5fbf4440 Block = { llvm::ValueHandleBase = { PrevPair = (Value = 4337803886) Next = 0x000000010615b0a8 V = 0x000000010615b170 } } Point = { NodePtr = 0x000000010615b140 } DbgLoc = { Loc = { Ref = { MD = 0x000000010324444b } } } } (lldb) n Process 1498 stopped * thread #1: tid...
2012 Jan 25
2
[LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass
...:AliasSetTracker::deleteValue (this=0x823ab58, PtrVal=0x8147000) at /x/grwright/llvm/llvm-2.9/lib/Analysis/AliasSetTracker.cpp:505 #6 0xf6c47ae6 in llvm::AliasSetTracker::ASTCallbackVH::deleted (this=0x8233ce8) at /x/grwright/llvm/llvm-2.9/lib/Analysis/AliasSetTracker.cpp:619 #7 0xf72b9d2f in llvm::ValueHandleBase::ValueIsDeleted (V=0x8147000) at /x/grwright/llvm/llvm-2.9/lib/VMCore/Value.cpp:557 #8 0xf72b81ec in ~Value (this=0x8147000, __in_chrg=<value optimized out>) at /x/grwright/llvm/llvm-2.9/lib/VMCore/Value.cpp:60 #9 0xf6f4b041 in ~User (this=0x8147000, __in_chrg=<value optimized out&g...
2012 Jan 13
1
[LLVMdev] 'opt' Aborted "While deleting: void %"
...ibLLVM-2.9.so 0xf6ef82f8 >> 2 0xf7782400 __kernel_sigreturn + 0 >> 3 libc.so.6 0xf57d4d52 abort + 386 >> 4 libLLVM-2.9.so 0xf6ee40d4 llvm::SmallVector<char, 64u>::~SmallVector() >> + >> 0 >> 5 libLLVM-2.9.so 0xf6a5ce2e >> llvm::ValueHandleBase::ValueIsDeleted(llvm::Value*) + 662 >> 6 libLLVM-2.9.so 0xf6a5b1ec llvm::Value::~Value() + 58 >> 7 libLLVM-2.9.so 0xf66ee041 llvm::User::~User() + 93 >> 8 libLLVM-2.9.so 0xf6a00d89 llvm::Instruction::~Instruction() + 121 >> 9 libLLVM-2.9.so 0xf6a0351f llvm::CallInst::~Ca...
2012 Jan 25
1
[LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass
...; PtrVal=0x8147000) at >> /x/grwright/llvm/llvm-2.9/lib/Analysis/AliasSetTracker.cpp:505 #6 >> 0xf6c47ae6 in llvm::AliasSetTracker::ASTCallbackVH::deleted >> (this=0x8233ce8) at >> /x/grwright/llvm/llvm-2.9/lib/Analysis/AliasSetTracker.cpp:619 #7 >> 0xf72b9d2f in llvm::ValueHandleBase::ValueIsDeleted (V=0x8147000) at >> /x/grwright/llvm/llvm-2.9/lib/VMCore/Value.cpp:557 #8 0xf72b81ec in >> ~Value >> (this=0x8147000, __in_chrg=<value optimized >> >> out>) >> >> at /x/grwright/llvm/llvm-2.9/lib/VMCore/Value.cpp:60 #9 0xf6f4b041...
2012 Jan 25
0
[LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass
...(this=0x823ab58, > PtrVal=0x8147000) at > /x/grwright/llvm/llvm-2.9/lib/Analysis/AliasSetTracker.cpp:505 #6 > 0xf6c47ae6 in llvm::AliasSetTracker::ASTCallbackVH::deleted > (this=0x8233ce8) at > /x/grwright/llvm/llvm-2.9/lib/Analysis/AliasSetTracker.cpp:619 #7 > 0xf72b9d2f in llvm::ValueHandleBase::ValueIsDeleted (V=0x8147000) at > /x/grwright/llvm/llvm-2.9/lib/VMCore/Value.cpp:557 #8 0xf72b81ec in ~Value > (this=0x8147000, __in_chrg=<value optimized > > out>) > > at /x/grwright/llvm/llvm-2.9/lib/VMCore/Value.cpp:60 #9 0xf6f4b041 in > ~User (this=0x8147000, __...
2016 Feb 10
2
LoopIdiomRegognize vs Preserved
...0x00007f1908c98cc9 gsignal + 57 >> 5 libc.so.6 0x00007f1908c9c0d8 abort + 328 >> 6 opt 0x000000000170cddd >> llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) >> + 461 >> 7 opt 0x000000000137bd3b >> llvm::ValueHandleBase::ValueIsDeleted(llvm::Value*) + 1051 >> 8 opt 0x000000000137b5db llvm::Value::~Value() + 43 >> 9 opt 0x0000000001322319 llvm::CallInst::~CallInst() + 9 >> 10 opt 0x000000000131e676 >> llvm::Instruction::eraseFromParent() + 86 >> 11...
2012 Jan 23
1
[LLVMdev] Assertion `AA && "AA didn't call InitializeAliasAnalysis in its run method!"' failed.
...liasSetTracker::deleteValue (this=0x823ab58, PtrVal=0x8147000) at /x/grwright/llvm/llvm-2.9/lib/Analysis/AliasSetTracker.cpp:505 #6 0xf6c47ae6 in llvm::AliasSetTracker::ASTCallbackVH::deleted (this=0x8233ce8) at /x/grwright/llvm/llvm-2.9/lib/Analysis/AliasSetTracker.cpp:619 #7 0xf72b9d2f in llvm::ValueHandleBase::ValueIsDeleted (V=0x8147000) at /x/grwright/llvm/llvm-2.9/lib/VMCore/Value.cpp:557 #8 0xf72b81ec in ~Value (this=0x8147000, __in_chrg=<value optimized out>) at /x/grwright/llvm/llvm-2.9/lib/VMCore/Value.cpp:60 #9 0xf6f4b041 in ~User (this=0x8147000, __in_chrg=<value optimized out>) a...
2012 Feb 03
3
[LLVMdev] How can I see what opt tries to delete at the end of a pass?
...2.9/lib/VMCore/Value.cpp:569! 0 libLLVM-2.9.so 0x569fa56b 1 libLLVM-2.9.so 0x569fa2f8 2 0x55573400 __kernel_sigreturn + 0 3 libc.so.6 0x57422d52 abort + 386 4 libLLVM-2.9.so 0x569e60d4 llvm::SmallVector<char, 64u>::~SmallVector() + 0 5 libLLVM-2.9.so 0x5655ee2e llvm::ValueHandleBase::ValueIsDeleted(llvm::Value*) + 662 6 libLLVM-2.9.so 0x5655d1ec llvm::Value::~Value() + 58 7 libLLVM-2.9.so 0x561f0041 llvm::User::~User() + 93 8 libLLVM-2.9.so 0x56502d89 llvm::Instruction::~Instruction() + 121 9 libLLVM-2.9.so 0x5650551f llvm::CallInst::~CallInst() + 57 10 libLLVM-2.9.so 0x56...
2012 Apr 21
0
[LLVMdev] Remove function from module
It also occurs on several (different) test cases. I have founded that assershion rises in void ValueHandleBase::ValueIsDeleted(Value *V); Code from function: // All callbacks, weak references, and assertingVHs should be dropped by now. if (V->HasValueHandle) { #ifndef NDEBUG // Only in +Asserts mode... dbgs() << "While deleting: " << *V->getType() << " %...
2013 Jul 14
0
[LLVMdev] Analysis of polly-detect overhead in oggenc
On Sun, Jul 14, 2013 at 10:17 AM, Star Tan <tanmx_star at yeah.net> wrote: > Hi Sebastian, > > Yes, you have pointed an important reason. If we comment this source code > you have listed, then the compile-time overhead for oggenc*8.ll can be > reduced from 40.5261 ( 51.2%) to 20.3100 ( 35.7%). > > I just sent another mail to explain why polly-detect pass leads to >
2012 Aug 31
0
[LLVMdev] Function inline pass core dump when removing a function
...000aa93e6 in llvm::llvm_unreachable_internal ( msg=0xcce748 "An asserting value handle still pointed to this value!", file=0xccde18 "/home/xchen/llvm/lib/VMCore/Value.cpp", line=620) at /home/xchen/llvm/lib/Support/ErrorHandling.cpp:98 #3 0x0000000000a6d369 in llvm::ValueHandleBase::ValueIsDeleted (V=0x10f7050) at /home/xchen/llvm/lib/VMCore/Value.cpp:619 #4 0x0000000000a6e631 in llvm::Value::~Value (this=0x10f7050, __in_chrg=<value optimized out>) at /home/xchen/llvm/lib/VMCore/Value.cpp:59 #5 0x00000000009401fd in llvm::BasicBlock::~BasicBlock (this=0x10f705...
2016 Feb 08
2
LoopIdiomRegognize vs Preserved
Hi, I'm having problems with the LoopIdiomRegognizer crashing on me with An asserting value handle still pointed to this value! UNREACHABLE executed at ../lib/IR/Value.cpp:695! If I remove AU.addPreserved<LoopInfoWrapperPass>(); or AU.addPreserved<AAResultsWrapperPass>(); everything goes well. The C-code triggering this is void foo(int a[10][10]) { int i, j,
2012 Apr 21
4
[LLVMdev] Remove function from module
Thanks, but I replaceAllUsesWith() - works well, but I still get bug in eraseFromParent(): While deleting: i32 (%class.B*, i32)* %_ZN1B1xEi An asserting value handle still pointed to this value! UNREACHABLE executed at /Users/neonomaly/LLVM/LLVM/lib/VMCore/Value.cpp:561! Yours sincerely, Kadysev Mikhail 21.04.2012, в 23:45, Nick Lewycky написал(а): > Михаил wrote: >> How correctly
2010 Mar 15
3
[LLVMdev] LLVM tries to remove labels used in blockaddress()
...thread.so.0 0x00002b24f70db0f0 # 3 libc.so.6 0x00002b24f7ed2435 gsignal + 53 # 4 libc.so.6 0x00002b24f7ed3c40 abort + 384 # 5 llc 0x0000000000c488f4 llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) + 356 # 6 llc 0x0000000000c0eb49 llvm::ValueHandleBase::ValueIsDeleted(llvm::Value*) + 1721 # 7 llc 0x0000000000c0f9cd llvm::Value::~Value() + 749 # 8 llc 0x0000000000b870a5 llvm::BasicBlock::~BasicBlock() + 421 # 9 llc 0x0000000000a2eaaf # 10 llc 0x0000000000bfb0a6 llvm::FPPassManager::runOnFunction(l...