Lines Matching defs:GN
214 friend raw_ostream &operator<< (raw_ostream &OS, const GepNode &GN);
217 raw_ostream &operator<< (raw_ostream &OS, const GepNode &GN) {
220 if (GN.Flags & GepNode::Root) {
224 if (GN.Flags & GepNode::Internal) {
230 if (GN.Flags & GepNode::Used) {
235 if (GN.Flags & GepNode::InBounds) {
240 if (GN.Flags & GepNode::Pointer) {
246 if (GN.Flags & GepNode::Root)
247 OS << "BaseVal:" << GN.BaseVal->getName() << '(' << GN.BaseVal << ')';
249 OS << "Parent:" << GN.Parent;
252 if (ConstantInt *CI = dyn_cast<ConstantInt>(GN.Idx))
254 else if (GN.Idx->hasName())
255 OS << GN.Idx->getName();
257 OS << "<anon> =" << *GN.Idx;
260 if (GN.PTy->isStructTy()) {
261 StructType *STy = cast<StructType>(GN.PTy);
263 OS << GN.PTy->getStructName();
268 OS << *GN.PTy;