Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFGraph.cpp403 assert(NodeAttrs::type(Attrs) == NodeAttrs::Ref); in getRegRef()
404 if (NodeAttrs::flags(Attrs) & NodeAttrs::PhiRef) in getRegRef()
413 assert(NodeAttrs::type(Attrs) == NodeAttrs::Ref); in setRegRef()
414 assert(NodeAttrs::flags(Attrs) & NodeAttrs::PhiRef); in setRegRef()
421 assert(NodeAttrs::type(Attrs) == NodeAttrs::Ref); in setRegRef()
422 assert(!(NodeAttrs::flags(Attrs) & NodeAttrs::PhiRef)); in setRegRef()
832 Phi PA = newNode(NodeAttrs::Code | NodeAttrs::Phi); in newPhi()
838 Stmt SA = newNode(NodeAttrs::Code | NodeAttrs::Stmt); in newStmt()
845 Block BA = newNode(NodeAttrs::Code | NodeAttrs::Block); in newBlock()
852 Func FA = newNode(NodeAttrs::Code | NodeAttrs::Func); in newFunc()
[all …]
H A DRDFLiveness.cpp117 if (RefA.Addr->getFlags() & NodeAttrs::Undef) in getAllReachingDefs()
141 if (TA.Addr->getFlags() & NodeAttrs::PhiRef) in getAllReachingDefs()
160 if (IA.Addr->getKind() == NodeAttrs::Stmt) in getAllReachingDefs()
162 assert(IA.Addr->getKind() == NodeAttrs::Phi); in getAllReachingDefs()
269 bool IsPhi = DFG.IsCode<NodeAttrs::Phi>(TA); in getAllReachingDefs()
296 return DA.Addr->getFlags() & NodeAttrs::Dead; in getAllReachingDefs()
490 if (!DFG.IsRef<NodeAttrs::Def>(R)) in computePhiInfo()
512 if ((F & (NodeAttrs::Undef | NodeAttrs::PhiRef)) == 0) { in computePhiInfo()
529 if (!(Flags & NodeAttrs::PhiRef)) in computePhiInfo()
1128 if (IA.Addr->getKind() != NodeAttrs::Stmt) in traverse()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRDFGraph.h266 struct NodeAttrs { struct
559 assert(!(getFlags() & NodeAttrs::PhiRef)); in getOp()
573 assert(getType() == NodeAttrs::Ref); in isUse()
574 return getKind() == NodeAttrs::Use; in isUse()
578 assert(getType() == NodeAttrs::Ref); in isDef()
579 return getKind() == NodeAttrs::Def; in isDef()
603 assert(getFlags() & NodeAttrs::PhiRef); in getPredecessor()
607 assert(getFlags() & NodeAttrs::PhiRef); in setPredecessor()
827 BA.Addr->getKind() == NodeAttrs::Def; in IsDef()
842 return (Flags & NodeAttrs::Preserving) && !(Flags & NodeAttrs::Undef); in IsPreservingDef()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DRDFDeadCode.cpp85 if (!DFG.IsCode<NodeAttrs::Stmt>(IA)) in scanInstr()
163 if (DFG.IsCode<NodeAttrs::Stmt>(IA)) in collect()
191 if (Type == NodeAttrs::Ref) { in erase()
198 if (Kind == NodeAttrs::Stmt || Kind == NodeAttrs::Phi) { in erase()
211 if (KindA == NodeAttrs::Use && KindB == NodeAttrs::Def) in erase()
213 if (KindA == NodeAttrs::Def && KindB == NodeAttrs::Use) in erase()
234 if (!DFG.IsCode<NodeAttrs::Stmt>(IA)) in erase()
H A DRDFCopy.cpp110 if (DFG.IsCode<NodeAttrs::Stmt>(IA)) { in scanBlock()
200 if ((F & NodeAttrs::PhiRef) || (F & NodeAttrs::Fixed)) in run()
206 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.cpp166 for (auto TA : BA.Addr->members_if(DFG.IsCode<NodeAttrs::Stmt>, DFG)) { in run()
218 if (!getDFG().IsCode<NodeAttrs::Stmt>(IA)) in rewrite()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp372 if (Use.Addr->getFlags() & NodeAttrs::PhiRef) { // phi node in getGadgetGraph()
393 assert(!(Use.Addr->getFlags() & NodeAttrs::PhiRef)); in getGadgetGraph()
423 if (Def.Addr->getAttrs() & NodeAttrs::Dead) in getGadgetGraph()
453 MachineInstr *Source = SourceDef.Addr->getFlags() & NodeAttrs::PhiRef in getGadgetGraph()
479 BA.Addr->members_if(DataFlowGraph::IsCode<NodeAttrs::Stmt>, DFG)) { in getGadgetGraph()