Displaying 20 results from an estimated 66 matches for "iplist".
Did you mean:
iolist
2009 Jan 16
1
[LLVMdev] Problem using ilist container
...rt --------------
/usr/local/llvm/src/include/llvm/ADT/ilist.h: In static member function 'static NodeTy* llvm::ilist_nextprev_traits<NodeTy>::getPrev(NodeTy*) [with NodeTy = llvm::Instruction*]':
/usr/local/llvm/src/include/llvm/ADT/ilist.h:268: instantiated from 'NodeTy* llvm::iplist<NodeTy, Traits>::getTail() [with NodeTy = llvm::Instruction*, Traits = llvm::ilist_traits<llvm::Instruction*>]'
/usr/local/llvm/src/include/llvm/ADT/ilist.h:306: instantiated from 'llvm::iplist<NodeTy, Traits>::~iplist() [with NodeTy = llvm::Instruction*, Traits = llvm::...
2012 Jan 12
3
[LLVMdev] 'opt' Aborted "While deleting: void %"
...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 0xf68d9671
llvm::ilist_node_traits<llvm::Instruction>::deleteNode(llvm::Instruction*)
+ 30
11 libLLVM-2.9.so 0xf68d8c80 llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction>
>::erase(llvm::ilist_iterator<llvm::Instruction>) + 48
12 libLLVM-2.9.so 0xf696ac37 llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction>
>::erase(llvm::ilist_iterator<llvm::Instruction>,
ll...
2012 Jan 12
0
[LLVMdev] 'opt' Aborted "While deleting: void %"
...LLVM-2.9.so 0xf6a00d89 llvm::Instruction::~Instruction() + 121
> 9 libLLVM-2.9.so 0xf6a0351f llvm::CallInst::~CallInst() + 57
> 10 libLLVM-2.9.so 0xf68d9671
> llvm::ilist_node_traits<llvm::Instruction>::deleteNode(llvm::Instruction*)
> + 30
> 11 libLLVM-2.9.so 0xf68d8c80 llvm::iplist<llvm::Instruction,
> llvm::ilist_traits<llvm::Instruction>
>> ::erase(llvm::ilist_iterator<llvm::Instruction>) + 48
> 12 libLLVM-2.9.so 0xf696ac37 llvm::iplist<llvm::Instruction,
> llvm::ilist_traits<llvm::Instruction>
>> ::erase(llvm::ilist_iterator<...
2015 Oct 08
5
ilist/iplist are broken (maybe I'll fix them?)
...r247937, r247944, and r247978 caused a UBSan
failure to start firing on our Green Dragon bots, and after an IRC
conversation between David and Nick and Mehdi, we added a blacklist:
--
$echo "src:$WORKSPACE/llvm/include/llvm/CodeGen/MachineFunction.h" >> sanitize.blacklist
--
ilist/iplist is a pretty strange list, and the more I dig into it (to
fix the UB) the more broken I think it is.
I want to change a few things about it, but it'll be somewhat
intrusive (pun not really intended), so I want to get some buy-in before
really diving in. I've CC'ed the people in the IRC...
2015 Oct 20
2
ilist/iplist are broken (maybe I'll fix them?)
...iring on our Green Dragon bots, and after an IRC
> > conversation between David and Nick and Mehdi, we added a blacklist:
> > --
> > $echo "src:$WORKSPACE/llvm/include/llvm/CodeGen/MachineFunction.h" >>
> sanitize.blacklist
> > --
> >
> > ilist/iplist is a pretty strange list, and the more I dig into it (to
> > fix the UB) the more broken I think it is.
> >
> > I want to change a few things about it, but it'll be somewhat
> > intrusive (pun not really intended), so I want to get some buy-in before
> > really div...
2011 Feb 28
3
[LLVMdev] Extending FunctionType
...then clone the body of the old main() function into the new
> main() function.
I don't think a full clone is necessary, since he wants to replace the
function. He only needs to create the new function and splice in the
body of the old one.
Gabriel: look at Function::getBasicBlockList() and
iplist<>::splice(iterator, iplist). Something like
Function *NewF = Function::Create(NewFnType, OldF->getLinkage());
NewF->getBasicBlockList().splice(NewF->begin(), OldF->getBasicBlockList());
NewF->takeName(OldF);
OldF->eraseFromParent();
is probably what you're lookin...
2012 Jan 25
2
[LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass
...PtrInst (this=0x8147000, __in_chrg=<value
optimized out>) at
/x/grwright/llvm/llvm-2.9/include/llvm/Instructions.h:285 #12 0xf7136671 in
llvm::ilist_node_traits<llvm::Instruction>::deleteNode (V=0x8147000) at
/x/grwright/llvm/llvm-2.9/include/llvm/ADT/ilist.h:112 #13 0xf7135c80 in
llvm::iplist<llvm::Instruction, llvm::ilist_traits<llvm::Instruction>
>::erase (this=0x8145d14,
where=...)
at /x/grwright/llvm/llvm-2.9/include/llvm/ADT/ilist.h:463 #14
0xf71c7c37 in llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction> >::erase (this=0x8145d14,...
2016 Aug 25
2
InstList insert depreciated?
...uded from
/home/shehbaz/project/llvm/include/llvm/IR/BasicBlock.h:18:0,
from /home/shehbaz/project/llvm/include/llvm/IR/Function.h:25,
from /home/shehbaz/project/plugin/FSlice.cpp:7:
/home/shehbaz/project/llvm/include/llvm/ADT/ilist.h:461:12: note:
candidate: llvm::iplist<NodeTy, Traits>::iterator llvm::iplist<NodeTy,
Traits>:
:insert(llvm::iplist<NodeTy, Traits>::iterator, NodeTy*) [with NodeTy
= llvm::Instruction; Traits =
llvm::SymbolTableListTraits<llvm::Instruction
>; llvm::iplist<NodeTy, Traits>::iterator = llvm::ilist_iterator<...
2004 Jul 11
2
[LLVMdev] Adding type qualifies or property
...td::allocator<llvm::Use> >::~vector [in-charge]()+0x19)[0x82972fd]
analyze(llvm::User::~User [not-in-charge]()+0x1e)[0x8295b8c]
analyze(llvm::GlobalValue::~GlobalValue [not-in-charge]()+0x1a)[0x83ba8c0]
analyze(llvm::Function::~Function [in-charge deleting]()+0xb4)[0x8374768]
analyze(llvm::iplist<llvm::Function, llvm::ilist_traits<llvm::Function> >::erase(llvm::ilist_iterator<llvm::Function>)+0x38)[0x8288ba2]
analyze(llvm::iplist<llvm::Function, llvm::ilist_traits<llvm::Function> >::erase(llvm::ilist_iterator<llvm::Function>, llvm::ilist_iterator<llvm:...
2012 Jan 13
1
[LLVMdev] 'opt' Aborted "While deleting: void %"
...89 llvm::Instruction::~Instruction() + 121
>> 9 libLLVM-2.9.so 0xf6a0351f llvm::CallInst::~CallInst() + 57
>> 10 libLLVM-2.9.so 0xf68d9671
>>
llvm::ilist_node_traits<llvm::Instruction>::deleteNode(llvm::Instruction*)
>> + 30
>> 11 libLLVM-2.9.so 0xf68d8c80 llvm::iplist<llvm::Instruction,
>> llvm::ilist_traits<llvm::Instruction>
>>> ::erase(llvm::ilist_iterator<llvm::Instruction>) + 48
>> 12 libLLVM-2.9.so 0xf696ac37 llvm::iplist<llvm::Instruction,
>> llvm::ilist_traits<llvm::Instruction>
>>> ::erase(llvm...
2012 Jan 25
1
[LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass
...optimized out>) at
>> /x/grwright/llvm/llvm-2.9/include/llvm/Instructions.h:285 #12 0xf7136671
>> in
>> llvm::ilist_node_traits<llvm::Instruction>::deleteNode (V=0x8147000) at
>> /x/grwright/llvm/llvm-2.9/include/llvm/ADT/ilist.h:112 #13 0xf7135c80 in
>> llvm::iplist<llvm::Instruction, llvm::ilist_traits<llvm::Instruction>
>>> ::erase (this=0x8145d14,
>>
>> where=...)
>>
>> at /x/grwright/llvm/llvm-2.9/include/llvm/ADT/ilist.h:463 #14
>> 0xf71c7c37 in llvm::iplist<llvm::Instruction,
>> llvm::ilist_tr...
2012 Jan 25
0
[LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass
...__in_chrg=<value
> optimized out>) at
> /x/grwright/llvm/llvm-2.9/include/llvm/Instructions.h:285 #12 0xf7136671 in
> llvm::ilist_node_traits<llvm::Instruction>::deleteNode (V=0x8147000) at
> /x/grwright/llvm/llvm-2.9/include/llvm/ADT/ilist.h:112 #13 0xf7135c80 in
> llvm::iplist<llvm::Instruction, llvm::ilist_traits<llvm::Instruction>
>> ::erase (this=0x8145d14,
>
> where=...)
>
> at /x/grwright/llvm/llvm-2.9/include/llvm/ADT/ilist.h:463 #14
> 0xf71c7c37 in llvm::iplist<llvm::Instruction,
> llvm::ilist_traits<llvm::Instruction>...
2012 Jan 23
1
[LLVMdev] Assertion `AA && "AA didn't call InitializeAliasAnalysis in its run method!"' failed.
...PtrInst (this=0x8147000, __in_chrg=<value
optimized out>) at
/x/grwright/llvm/llvm-2.9/include/llvm/Instructions.h:285
#12 0xf7136671 in llvm::ilist_node_traits<llvm::Instruction>::deleteNode
(V=0x8147000) at /x/grwright/llvm/llvm-2.9/include/llvm/ADT/ilist.h:112
#13 0xf7135c80 in llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction> >::erase (this=0x8145d14, where=...)
at /x/grwright/llvm/llvm-2.9/include/llvm/ADT/ilist.h:463
#14 0xf71c7c37 in llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction> >::erase (this=0x8145d14, first=......
2015 Oct 21
3
ilist/iplist are broken (maybe I'll fix them?)
...Dragon bots, and after an IRC
>> > conversation between David and Nick and Mehdi, we added a blacklist:
>> > --
>> > $echo "src:$WORKSPACE/llvm/include/llvm/CodeGen/MachineFunction.h" >> sanitize.blacklist
>> > --
>> >
>> > ilist/iplist is a pretty strange list, and the more I dig into it (to
>> > fix the UB) the more broken I think it is.
>> >
>> > I want to change a few things about it, but it'll be somewhat
>> > intrusive (pun not really intended), so I want to get some buy-in before
>...
2012 Feb 03
3
[LLVMdev] How can I see what opt tries to delete at the end of a pass?
...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 0x563db671
llvm::ilist_node_traits<llvm::Instruction>::deleteNode(llvm::Instruction*)
+ 30
11 libLLVM-2.9.so 0x563dac80 llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction>
>::erase(llvm::ilist_iterator<llvm::Instruction>) + 48
12 libLLVM-2.9.so 0x5646cc37 llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction>
>::erase(llvm::ilist_iterator<llvm::Instruction>,
ll...
2004 May 02
1
[LLVMdev] hoisting problem.
...//the last Instruction of that block (which is a branch)
Instruction* I2 = I->clone();
I2->setName("Billy");
I->replaceAllUsesWith(I2);
I->getParent()->getInstList().remove(I);
//we want to insert before the
//branch at the end
iplist<Instruction> preheaderInsts =
L->getLoopPreheader()->getInstList();
iplist<Instruction>::iterator i = preheaderInsts.end();
i--;
preheaderInsts.insert(i, I2);
//I->getParent()->getInstList().remove(I);
DEBUG(std::cerr << "H...
2011 Feb 28
2
[LLVMdev] Extending FunctionType
...function didn't have any arguments. But for a general function
it'd be easy enough to call replaceAllUsesWith() on each old argument,
since there's no need to worry about preserving the integrity of the
old function.
>> Gabriel: look at Function::getBasicBlockList() and
>> iplist<>::splice(iterator, iplist). Something like
>> Function *NewF = Function::Create(NewFnType, OldF->getLinkage());
>> NewF->getBasicBlockList().splice(NewF->begin(),
>> OldF->getBasicBlockList());
>> NewF->takeName(OldF);
>> OldF->eraseFro...
2004 Jul 12
0
[LLVMdev] Adding type qualifies or property
...m::Use> >::~vector [in-charge]()+0x19)[0x82972fd]
> analyze(llvm::User::~User [not-in-charge]()+0x1e)[0x8295b8c]
> analyze(llvm::GlobalValue::~GlobalValue [not-in-charge]()+0x1a)[0x83ba8c0]
> analyze(llvm::Function::~Function [in-charge deleting]()+0xb4)[0x8374768]
> analyze(llvm::iplist<llvm::Function, llvm::ilist_traits<llvm::Function> >::erase(llvm::ilist_iterator<llvm::Function>)+0x38)[0x8288ba2]
> analyze(llvm::iplist<llvm::Function, llvm::ilist_traits<llvm::Function> >::erase(llvm::ilist_iterator<llvm::Function>, llvm::ilist_iterator<...
2016 Feb 24
2
Heap problems with 3.8.0rc2 in combination with vs2015 sp1
...C++
ConsoleEngine.exe!llvm::User::operator delete(void * Usr) Line 195 C++
ConsoleEngine.exe!llvm::Function::`scalar deleting destructor'(unsigned
int) C++
ConsoleEngine.exe!llvm::ilist_node_traits<llvm::Function>::deleteNode(llvm::Function
* V) Line 160 C++
ConsoleEngine.exe!llvm::iplist<llvm::Function,llvm::SymbolTableListTraits<llvm::Function>
>::erase(llvm::ilist_iterator<llvm::Function> where) Line 519 C++
ConsoleEngine.exe!llvm::iplist<llvm::Function,llvm::SymbolTableListTraits<llvm::Function>
>::erase(llvm::ilist_iterator<llvm::Function>...
2011 Feb 28
0
[LLVMdev] Extending FunctionType
...ld function
can be removed afterward if desired.
I'm not sure if the code below would work. I don't see a mechanism that
updates instructions that use the old function's arguments to use the
new function's arguments.
> Gabriel: look at Function::getBasicBlockList() and
> iplist<>::splice(iterator, iplist). Something like
> Function *NewF = Function::Create(NewFnType, OldF->getLinkage());
> NewF->getBasicBlockList().splice(NewF->begin(), OldF->getBasicBlockList());
> NewF->takeName(OldF);
> OldF->eraseFromParent();
> is pr...