79{
80
82
86
87 ConstraintNode* node =
_consG->getConstraintNode(nodeId);
89 {
92 offset = gepCGEdge->getConstantFieldIdx();
93 else
95 NodeID dstId = (*eit)->getDstID();
98 }
99
102
104 {
107 _revS.push(backNodeId);
108 ConstraintNode* backNode =
_consG->getConstraintNode(backNodeId);
110 {
113 s32_t _l =
_D[nodeId] +_w -
_D[backNodeId];
115 for (auto cNodeId : _C)
116 _consG->getConstraintNode(cNodeId)->strides.set(_l);
117 }
120 {
123 for (auto cNodeId : _C)
124 _consG->getConstraintNode(cNodeId)->strides.set(_l);
125 }
126 _C.insert(backNodeId);
127 }
128
129 while (!_revS.empty())
130 {
131 NodeID backedId = _revS.top();
133 _revS.pop();
134 }
135
137}
void setVisited(NodeID nId)
NodeBS strides
For stride-based field representation.
iterator directOutEdgeEnd()
ConstraintEdge::ConstraintEdgeSetTy::const_iterator const_iterator
iterator directOutEdgeBegin()
Iterators.
APOffset getConstantFieldIdx() const
Get location set of the gep edge.
LLVM_NODISCARD std::enable_if_t<!is_simple_type< Y >::value, typename cast_retty< X, const Y >::ret_type > dyn_cast(const Y &Val)