Displaying 5 results from an estimated 5 matches for "instdep".
Did you mean:
inside
2016 Dec 28
1
Help for DeadStoreElimination cross-block dependence
...,
I am working on a project that requires LLVM DeadStoreElimination
However, when I look through the code in Transforms/Scalar/DeadStoreElimination.cpp, I see the following:
// Ignore any store where we can't find a local dependence.
// FIXME: cross-block DSE would be fun. :)
if (!InstDep.isDef() && !InstDep.isClobber())
continue;
I have two questions on this code:I have two questions on this code:
1. What is a clobber?
2. Does the local dependence mean that the dependence should reside in the same basic bloWhat does the comment (FIXME: cross-block DSE would be fun)...
2009 Nov 04
5
[LLVMdev] DeadStoreElimination: do better without TargetData
...Transforms/Scalar/DeadStoreElimination.cpp (working copy)
> @@ -117,10 +117,12 @@
>
> // If this is a store-store dependence, then the previous store
> is dead so
> // long as this store is at least as big as it.
> - if (StoreInst *DepStore = dyn_cast<StoreInst>(InstDep.getInst()))
> - if (TD &&
> - TD->getTypeStoreSize(DepStore->getOperand(0)->getType()) <=
> - TD->getTypeStoreSize(SI->getOperand(0)->getType())) {
> + if (StoreInst *DepStore = dyn_cast<StoreInst>(InstDep.getInst
> ())) {...
2009 Nov 04
0
[LLVMdev] DeadStoreElimination: do better without TargetData
Re-posting with better-looking code.
Hans Wennborg wrote:
> The attached patch makes DeadStoreElimination able to remove stores in
> store-store dependencies when the operand types are equal, even if there
> is no TargetData available.
>
> / Hans
>
>
> ------------------------------------------------------------------------
>
>
2009 Nov 04
2
[LLVMdev] DeadStoreElimination: do better without TargetData
The attached patch makes DeadStoreElimination able to remove stores in
store-store dependencies when the operand types are equal, even if there
is no TargetData available.
/ Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DeadStoreElimination.patch
Type: text/x-patch
Size: 812 bytes
Desc: not available
URL:
2009 Nov 04
0
[LLVMdev] DeadStoreElimination: do better without TargetData
...eElimination.cpp (working copy)
>> @@ -117,10 +117,12 @@
>>
>> // If this is a store-store dependence, then the previous store is
>> dead so
>> // long as this store is at least as big as it.
>> - if (StoreInst *DepStore = dyn_cast<StoreInst>(InstDep.getInst()))
>> - if (TD &&
>> - TD->getTypeStoreSize(DepStore->getOperand(0)->getType()) <=
>> - TD->getTypeStoreSize(SI->getOperand(0)->getType())) {
>> + if (StoreInst *DepStore = dyn_cast<StoreInst>(InstDep.getI...