Home
last modified time | relevance | path

Searched refs:NodeAttrs (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRDFGraph.cpp407 assert(NodeAttrs::type(Attrs) == NodeAttrs::Ref); in getRegRef()
408 if (NodeAttrs::flags(Attrs) & NodeAttrs::PhiRef) in getRegRef()
417 assert(NodeAttrs::type(Attrs) == NodeAttrs::Ref); in setRegRef()
418 assert(NodeAttrs::flags(Attrs) & NodeAttrs::PhiRef); in setRegRef()
425 assert(NodeAttrs::type(Attrs) == NodeAttrs::Ref); in setRegRef()
426 assert(!(NodeAttrs::flags(Attrs) & NodeAttrs::PhiRef)); in setRegRef()
838 NodeAddr<PhiNode*> PA = newNode(NodeAttrs::Code | NodeAttrs::Phi); in newPhi()
909 uint16_t PhiFlags = NodeAttrs::PhiRef | NodeAttrs::Preserving; in build()
1305 uint16_t Flags = NodeAttrs::Clobbering | NodeAttrs::Fixed | in buildStmt()
1474 uint16_t PhiFlags = NodeAttrs::PhiRef | NodeAttrs::Preserving; in buildPhis()
[all …]
H A DRDFLiveness.cpp120 if (RefA.Addr->getFlags() & NodeAttrs::Undef) in getAllReachingDefs()
144 if (TA.Addr->getFlags() & NodeAttrs::PhiRef) in getAllReachingDefs()
163 if (IA.Addr->getKind() == NodeAttrs::Stmt) in getAllReachingDefs()
165 assert(IA.Addr->getKind() == NodeAttrs::Phi); in getAllReachingDefs()
265 return TA.Addr->getKind() == NodeAttrs::Def && in getAllReachingDefs()
273 bool IsPhi = DFG.IsCode<NodeAttrs::Phi>(TA); in getAllReachingDefs()
300 return DA.Addr->getFlags() & NodeAttrs::Dead; in getAllReachingDefs()
492 if (!DFG.IsRef<NodeAttrs::Def>(R)) in computePhiInfo()
514 if ((F & (NodeAttrs::Undef | NodeAttrs::PhiRef)) == 0) { in computePhiInfo()
531 if (!(Flags & NodeAttrs::PhiRef)) in computePhiInfo()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DRDFGraph.h264 struct NodeAttrs { struct
521 assert(!(getFlags() & NodeAttrs::PhiRef)); in getOp()
543 assert(getType() == NodeAttrs::Ref); in isUse()
544 return getKind() == NodeAttrs::Use; in isUse()
548 assert(getType() == NodeAttrs::Ref); in isDef()
549 return getKind() == NodeAttrs::Def; in isDef()
581 assert(getFlags() & NodeAttrs::PhiRef); in getPredecessor()
585 assert(getFlags() & NodeAttrs::PhiRef); in setPredecessor()
809 return (Flags & NodeAttrs::Preserving) && !(Flags & NodeAttrs::Undef); in IsPreservingDef()
823 uint16_t Flags = NodeAttrs::PhiRef);
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DRDFDeadCode.cpp84 if (!DFG.IsCode<NodeAttrs::Stmt>(IA)) in scanInstr()
162 if (DFG.IsCode<NodeAttrs::Stmt>(IA)) in collect()
190 if (Type == NodeAttrs::Ref) { in erase()
197 if (Kind == NodeAttrs::Stmt || Kind == NodeAttrs::Phi) { in erase()
210 if (KindA == NodeAttrs::Use && KindB == NodeAttrs::Def) in erase()
212 if (KindA == NodeAttrs::Def && KindB == NodeAttrs::Use) in erase()
233 if (!DFG.IsCode<NodeAttrs::Stmt>(IA)) in erase()
H A DRDFCopy.cpp73 if (DFG.IsCode<NodeAttrs::Stmt>(IA)) { in scanBlock()
92 if (RA.Addr->getKind() == NodeAttrs::Def) in getLocalReachingDef()
94 assert(RA.Addr->getKind() == NodeAttrs::Use); in getLocalReachingDef()
159 if ((F & NodeAttrs::PhiRef) || (F & NodeAttrs::Fixed)) in run()
165 assert(DFG.IsCode<NodeAttrs::Stmt>(IA)); in run()
H A DHexagonOptAddrMode.cpp182 if (UA.Addr->getFlags() & NodeAttrs::PhiRef) in canRemoveAddasl()
192 if ((OffsetRegDN.Addr->getFlags() & NodeAttrs::PhiRef) && in canRemoveAddasl()
263 if (UA.Addr->getFlags() & NodeAttrs::PhiRef) { in getAllRealUses()
306 if (UA.Addr->getFlags() & NodeAttrs::PhiRef) in isSafeToExtLR()
325 if ((LRExtRegDN.Addr->getFlags() & NodeAttrs::PhiRef) && in isSafeToExtLR()
468 assert(!(UseN.Addr->getFlags() & NodeAttrs::PhiRef) && in processAddUses()
693 assert(!(UseUN.Addr->getFlags() & NodeAttrs::PhiRef) && in changeAddAsl()
768 if (!DFG->IsCode<NodeAttrs::Stmt>(IA)) in processBlock()
822 assert(!(UseN.Addr->getFlags() & NodeAttrs::PhiRef) && in processBlock()
H A DHexagonRDFOpt.cpp164 for (auto TA : BA.Addr->members_if(DFG.IsCode<NodeAttrs::Stmt>, DFG)) { in run()
216 if (!getDFG().IsCode<NodeAttrs::Stmt>(IA)) in rewrite()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp374 if (Use.Addr->getFlags() & NodeAttrs::PhiRef) { // phi node in getGadgetGraph()
395 assert(!(Use.Addr->getFlags() & NodeAttrs::PhiRef)); in getGadgetGraph()
425 if (Def.Addr->getAttrs() & NodeAttrs::Dead) in getGadgetGraph()
455 MachineInstr *Source = SourceDef.Addr->getFlags() & NodeAttrs::PhiRef in getGadgetGraph()
481 BA.Addr->members_if(DataFlowGraph::IsCode<NodeAttrs::Stmt>, DFG)) { in getGadgetGraph()