Searched refs:NodeAttrs (Results 1 – 7 of 7) sorted by relevance
52 uint16_t Kind = NodeAttrs::kind(Attrs); in operator <<()53 uint16_t Flags = NodeAttrs::flags(Attrs); in operator <<()54 switch (NodeAttrs::type(Attrs)) { in operator <<()55 case NodeAttrs::Code: in operator <<()57 case NodeAttrs::Func: OS << 'f'; break; in operator <<()58 case NodeAttrs::Block: OS << 'b'; break; in operator <<()59 case NodeAttrs::Stmt: OS << 's'; break; in operator <<()60 case NodeAttrs::Phi: OS << 'p'; break; in operator <<()64 case NodeAttrs::Ref: in operator <<()65 if (Flags & NodeAttrs::Preserving) in operator <<()[all …]
228 struct NodeAttrs { struct417 uint16_t getType() const { return NodeAttrs::type(Attrs); } in getType()418 uint16_t getKind() const { return NodeAttrs::kind(Attrs); } in getKind()419 uint16_t getFlags() const { return NodeAttrs::flags(Attrs); } in getFlags()424 void setFlags(uint16_t F) { setAttrs(NodeAttrs::set_flags(getAttrs(), F)); } in setFlags()480 assert(!(getFlags() & NodeAttrs::PhiRef)); in getOp()498 assert(getType() == NodeAttrs::Ref); in isUse()499 return getKind() == NodeAttrs::Use; in isUse()502 assert(getType() == NodeAttrs::Ref); in isDef()503 return getKind() == NodeAttrs::Def; in isDef()[all …]
108 if (TA.Addr->getFlags() & NodeAttrs::PhiRef) in getAllReachingDefs()114 if (!(Flags & NodeAttrs::Preserving)) in getAllReachingDefs()129 bool IsPhi = TA.Addr->getFlags() & NodeAttrs::PhiRef; in getAllReachingDefs()138 if (IA.Addr->getKind() == NodeAttrs::Stmt) in getAllReachingDefs()140 assert(IA.Addr->getKind() == NodeAttrs::Phi); in getAllReachingDefs()154 bool StmtA = OA.Addr->getKind() == NodeAttrs::Stmt; in getAllReachingDefs()155 bool StmtB = OB.Addr->getKind() == NodeAttrs::Stmt; in getAllReachingDefs()196 return TA.Addr->getKind() == NodeAttrs::Def && in getAllReachingDefs()203 bool IsPhi = DFG.IsCode<NodeAttrs::Phi>(TA); in getAllReachingDefs()223 if (!FullChain || !(Flags & NodeAttrs::PhiRef)) in getAllReachingDefs()[all …]
73 if (!DFG.IsCode<NodeAttrs::Stmt>(IA)) in scanInstr()151 if (DFG.IsCode<NodeAttrs::Stmt>(IA)) in collect()179 if (Type == NodeAttrs::Ref) { in erase()186 if (Kind == NodeAttrs::Stmt || Kind == NodeAttrs::Phi) { in erase()200 if (KindA == NodeAttrs::Use && KindB == NodeAttrs::Def) in erase()202 if (KindA == NodeAttrs::Def && KindB == NodeAttrs::Use) in erase()223 if (!DFG.IsCode<NodeAttrs::Stmt>(IA)) in erase()
123 if (DFG.IsCode<NodeAttrs::Stmt>(IA)) { in scanBlock()198 if ((F & NodeAttrs::PhiRef) || (F & NodeAttrs::Fixed)) in run()204 assert(DFG.IsCode<NodeAttrs::Stmt>(IA)); in run()
161 if ((UA.Addr->getFlags() & NodeAttrs::PhiRef) || in canRemoveAddasl()168 if ((OffsetRegDN.Addr->getFlags() & NodeAttrs::PhiRef) && in canRemoveAddasl()229 if (UA.Addr->getFlags() & NodeAttrs::PhiRef) { in getAllRealUses()435 assert(!(UseUN.Addr->getFlags() & NodeAttrs::PhiRef) && in changeAddAsl()510 if (!DFG->IsCode<NodeAttrs::Stmt>(IA)) in processBlock()546 assert(!(UseN.Addr->getFlags() & NodeAttrs::PhiRef) && in processBlock()
148 for (auto TA : BA.Addr->members_if(DFG.IsCode<NodeAttrs::Stmt>, DFG)) { in run()202 if (!getDFG().IsCode<NodeAttrs::Stmt>(IA)) in rewrite()