search for: deletevalu

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

Did you mean: deletevalue
2015 Jul 01
4
[LLVMdev] AliasAnalysis update interface - a tale of sorrow and woe
Greetings folks, As I'm working on refactoring the AA interfaces in LLVM to prepare for the new pass manager, I keep hitting issues. Some of the complexity that is hitting this stems from the update API, which consists of three virtual functions: deleteValue(Value *V) copyValue(Value *From, Value *To) addEscapingUse(Use &U) These interfaces are *very* rarely called. Here are the only passes that ever bother to use these: - MemoryDependenceAnalysis.cpp - BasicBlockUtils.cpp - LoopSimplify.cpp - MergedLoadStoreMotion.cpp - GVN.cpp That's it. T...
2012 Jan 25
2
[LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass
...*__GI___assert_fail (assertion=0xf78ef62c "AA && \"AA didn't call InitializeAliasAnalysis in its run method!\"", file=0xf78ef5f0 "/x/grwright/llvm/llvm-2.9/lib/Analysis/AliasAnalysis.cpp", line=59, function=0xf78f0e40 "virtual void llvm::AliasAnalysis::deleteValue(llvm::Value*)") at assert.c:81 #4 0xf6c37686 in llvm::AliasAnalysis::deleteValue (this=0x81848d0, V=0x8147000) at /x/grwright/llvm/llvm-2.9/lib/Analysis/AliasAnalysis.cpp:59 #5 0xf6c47153 in llvm::AliasSetTracker::deleteValue (this=0x823ab58, PtrVal=0x8147000) at /x/grwright/llvm/llvm-...
2015 Jul 02
2
[LLVMdev] AliasAnalysis update interface - a tale of sorrow and woe
...gt; As I'm working on refactoring the AA interfaces in LLVM to prepare > > for the new pass manager, I keep hitting issues. Some of the > > complexity that is hitting this stems from the update API, which > > consists of three virtual functions: > > > > > > deleteValue(Value *V) > > copyValue(Value *From, Value *To) > > addEscapingUse(Use &U) > > > > > > These interfaces are *very* rarely called. Here are the only passes > > that ever bother to use these: > > - MemoryDependenceAnalysis.cpp > > - BasicBlockUti...
2012 Jan 25
1
[LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass
...ef62c "AA&& \"AA didn't call >> InitializeAliasAnalysis in its run method!\"", file=0xf78ef5f0 >> "/x/grwright/llvm/llvm-2.9/lib/Analysis/AliasAnalysis.cpp", line=59, >> function=0xf78f0e40 "virtual void >> llvm::AliasAnalysis::deleteValue(llvm::Value*)") at assert.c:81 #4 >> 0xf6c37686 in llvm::AliasAnalysis::deleteValue (this=0x81848d0, >> V=0x8147000) at >> >> /x/grwright/llvm/llvm-2.9/lib/Analysis/AliasAnalysis.cpp:59 >> >> #5 0xf6c47153 in llvm::AliasSetTracker::deleteValue (this=0x...
2012 Jan 25
0
[LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass
...(assertion=0xf78ef62c "AA&& \"AA didn't call > InitializeAliasAnalysis in its run method!\"", file=0xf78ef5f0 > "/x/grwright/llvm/llvm-2.9/lib/Analysis/AliasAnalysis.cpp", line=59, > function=0xf78f0e40 "virtual void > llvm::AliasAnalysis::deleteValue(llvm::Value*)") at assert.c:81 #4 > 0xf6c37686 in llvm::AliasAnalysis::deleteValue (this=0x81848d0, > V=0x8147000) at > > /x/grwright/llvm/llvm-2.9/lib/Analysis/AliasAnalysis.cpp:59 > > #5 0xf6c47153 in llvm::AliasSetTracker::deleteValue (this=0x823ab58, > PtrVal=0x8...
2012 Jan 23
1
[LLVMdev] Assertion `AA && "AA didn't call InitializeAliasAnalysis in its run method!"' failed.
...___assert_fail (assertion=0xf78ef62c "AA && \"AA didn't call InitializeAliasAnalysis in its run method!\"", file=0xf78ef5f0 "/x/grwright/llvm/llvm-2.9/lib/Analysis/AliasAnalysis.cpp", line=59, function=0xf78f0e40 "virtual void llvm::AliasAnalysis::deleteValue(llvm::Value*)") at assert.c:81 #4 0xf6c37686 in llvm::AliasAnalysis::deleteValue (this=0x81848d0, V=0x8147000) at /x/grwright/llvm/llvm-2.9/lib/Analysis/AliasAnalysis.cpp:59 #5 0xf6c47153 in llvm::AliasSetTracker::deleteValue (this=0x823ab58, PtrVal=0x8147000) at /x/grwright/llvm/llvm-2.9/l...
2008 Oct 06
0
[LLVMdev] mem2reg optimization
On Saturday 04 October 2008 17:05, Chris Lattner wrote: > Looking more closely at the approach, I infer that the (logical in > hindsight) issue are cases where mem2reg scans a BB to see the > relative ordering of two instructions. For example, the single store Correct. > case. I could imagine that if you saw lots of single store allocas in > the middle of a large BB that
2008 Oct 20
3
[LLVMdev] mem2reg optimization
...= UseBlock->end(); I != E; ) { if (LoadInst *LI = dyn_cast<LoadInst>(I++)) { if (LI->getOperand(0) == AI) { LI->replaceAllUsesWith(OnlyStore->getOperand(0)); if (AST && isa<PointerType>(LI->getType())) AST->deleteValue(LI); LI->eraseFromParent(); } } } I suppose we could resctrict the map to containing only load and store instructions but if you've got a block with a lot of memory instructions I'm not sure it will be much faster, especially with the second loop. The art...
2018 May 03
3
RFC: virtual-like methods via LLVM-style RTTI
Hello, In an effort to help LLVM-style projects save memory, I’ve been toying with some macros that provide an alternative to C++ vtables that use LLVM-style RTTI design patterns instead. Is this something that LLVM or sub-projects think is worth pursuing? Or are the macros below too ugly/problematic? Feedback would be appreciated. Thanks, Dave //===- llvm/Support/VTable.h - LLVM-style
2008 Oct 04
5
[LLVMdev] mem2reg optimization
On Oct 4, 2008, at 2:51 PM, Chris Lattner wrote: >>> I like your approach of using the use lists but I'm not sure the >>> ordering >>> is guaranteed. If it is, your approach is superior. >> >> I got my patch updated to work with TOT. Here it is. Comments >> welcome. > > Hi Dave, > > Great. I'd like to get this in, but would
2015 Dec 03
3
Function attributes for LibFunc and its impact on GlobalsAA
----- Original Message ----- > From: "James Molloy via llvm-dev" <llvm-dev at lists.llvm.org> > To: "Vaivaswatha Nagaraj" <vn at compilertree.com> > Cc: "LLVM Dev" <llvm-dev at lists.llvm.org> > Sent: Thursday, December 3, 2015 4:41:46 AM > Subject: Re: [llvm-dev] Function attributes for LibFunc and its impact on GlobalsAA > >