Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFGraph.cpp55 uint16_t Kind = NodeAttrs::kind(Attrs); in operator <<()
56 uint16_t Flags = NodeAttrs::flags(Attrs); in operator <<()
57 switch (NodeAttrs::type(Attrs)) { in operator <<()
58 case NodeAttrs::Code: in operator <<()
60 case NodeAttrs::Func: in operator <<()
63 case NodeAttrs::Block: in operator <<()
66 case NodeAttrs::Stmt: in operator <<()
69 case NodeAttrs::Phi: in operator <<()
77 case NodeAttrs::Ref: in operator <<()
78 if (Flags & NodeAttrs::Undef) in operator <<()
[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()
176 bool IsPhi = TA.Addr->getFlags() & NodeAttrs::PhiRef; in getAllReachingDefs()
190 bool StmtA = OA.Addr->getKind() == NodeAttrs::Stmt; in getAllReachingDefs()
191 bool StmtB = OB.Addr->getKind() == NodeAttrs::Stmt; in getAllReachingDefs()
262 return TA.Addr->getKind() == NodeAttrs::Def && Defs.count(TA.Id); in getAllReachingDefs()
269 bool IsPhi = DFG.IsCode<NodeAttrs::Phi>(TA); in getAllReachingDefs()
289 if (!FullChain || !(Flags & NodeAttrs::PhiRef)) in getAllReachingDefs()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRDFGraph.h266 struct NodeAttrs { struct
492 uint16_t getType() const { return NodeAttrs::type(Attrs); } in getType()
493 uint16_t getKind() const { return NodeAttrs::kind(Attrs); } in getKind()
494 uint16_t getFlags() const { return NodeAttrs::flags(Attrs); } in getFlags()
499 void setFlags(uint16_t F) { setAttrs(NodeAttrs::set_flags(getAttrs(), F)); } in setFlags()
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()
[all …]
/freebsd/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.cpp184 if (UA.Addr->getFlags() & NodeAttrs::PhiRef) in canRemoveAddasl()
194 if ((OffsetRegDN.Addr->getFlags() & NodeAttrs::PhiRef) && in canRemoveAddasl()
265 if (UA.Addr->getFlags() & NodeAttrs::PhiRef) { in getAllRealUses()
308 if (UA.Addr->getFlags() & NodeAttrs::PhiRef) in isSafeToExtLR()
327 if ((LRExtRegDN.Addr->getFlags() & NodeAttrs::PhiRef) && in isSafeToExtLR()
470 assert(!(UseN.Addr->getFlags() & NodeAttrs::PhiRef) && in processAddUses()
695 assert(!(UseUN.Addr->getFlags() & NodeAttrs::PhiRef) && in changeAddAsl()
770 if (!DFG->IsCode<NodeAttrs::Stmt>(IA)) in processBlock()
824 assert(!(UseN.Addr->getFlags() & NodeAttrs::PhiRef) && in processBlock()
H A DHexagonRDFOpt.cpp169 for (auto TA : BA.Addr->members_if(DFG.IsCode<NodeAttrs::Stmt>, DFG)) { in run()
221 if (!getDFG().IsCode<NodeAttrs::Stmt>(IA)) in rewrite()
/freebsd/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()
452 MachineInstr *Source = SourceDef.Addr->getFlags() & NodeAttrs::PhiRef in getGadgetGraph()
478 BA.Addr->members_if(DataFlowGraph::IsCode<NodeAttrs::Stmt>, DFG)) { in getGadgetGraph()