Lines Matching defs:GN
215 friend raw_ostream &operator<< (raw_ostream &OS, const GepNode &GN);
218 raw_ostream &operator<< (raw_ostream &OS, const GepNode &GN) {
221 if (GN.Flags & GepNode::Root) {
225 if (GN.Flags & GepNode::Internal) {
231 if (GN.Flags & GepNode::Used) {
236 if (GN.Flags & GepNode::InBounds) {
241 if (GN.Flags & GepNode::Pointer) {
247 if (GN.Flags & GepNode::Root)
248 OS << "BaseVal:" << GN.BaseVal->getName() << '(' << GN.BaseVal << ')';
250 OS << "Parent:" << GN.Parent;
253 if (ConstantInt *CI = dyn_cast<ConstantInt>(GN.Idx))
255 else if (GN.Idx->hasName())
256 OS << GN.Idx->getName();
258 OS << "<anon> =" << *GN.Idx;
261 if (GN.PTy->isStructTy()) {
262 StructType *STy = cast<StructType>(GN.PTy);
264 OS << GN.PTy->getStructName();
269 OS << *GN.PTy;