Displaying 2 results from an estimated 2 matches for "srcvalueoffset".
2009 Feb 11
0
[LLVMdev] new warnings, I think
new warnings, I think
lib/CodeGen/SelectionDAG/DAGCombiner.cpp: In member function
‘llvm::SDValue<unnamed>::DAGCombiner::FindBetterChain(llvm::SDNode*,
llvm::SDValue)’:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp:6006: warning:
‘SrcValueOffset’ may be used uninitialized in this function
lib/CodeGen/SelectionDAG/DAGCombiner.cpp:6006: note: ‘SrcValueOffset’
was declared here
lib/CodeGen/SelectionDAG/DAGCombiner.cpp:6005: warning: ‘SrcValue’ may
be used uninitialized in this function
lib/CodeGen/SelectionDAG/DAGCombiner.cpp:6005: note:...
2006 Dec 19
3
[LLVMdev] alias-aware scheduling
...t;(Base) ||
+ isa<GlobalAddressSDNode>(Base);
+ }
+
+ /* FIXME: copied from DAGCombiner.cpp */
+ /// isAlias - Return true if there is any possibility that the two addresses
+ /// overlap.
+ bool isAlias(SDOperand Ptr1, int64_t Size1,
+ const Value *SrcValue1, int SrcValueOffset1,
+ SDOperand Ptr2, int64_t Size2,
+ const Value *SrcValue2, int SrcValueOffset2)
+ {
+ // If they are the same then they must be aliases.
+ if (Ptr1 == Ptr2) return true;
+
+ // Gather base node and offset information.
+ SDOperand Base1, Base2;
+ int64...