Home
last modified time | relevance | path

Searched refs:NodeList (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DParentMapContext.cpp55 matchParents(const DynTypedNodeList &NodeList,
295 match(const DynTypedNodeList &NodeList, in match()
297 if (const auto *TypedNode = NodeList[0].get<T>()) { in match()
304 [TypedNode](bool, DynTypedNodeList NodeList, auto... TupleTail) { in match() argument
305 return std::make_tuple(true, NodeList, TypedNode, TupleTail...); in match()
311 return std::tuple_cat(std::make_tuple(false, NodeList), in match()
318 match(const DynTypedNodeList &NodeList, in match()
320 if (const auto *TypedNode = NodeList[0].get<T>()) { in match()
324 return std::make_tuple(true, NodeList, TypedNode); in match()
326 return std::make_tuple(false, NodeList, nullptr); in match()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDDG.cpp134 : DDGNode(NodeKind::PiBlock), NodeList(List) { in PiBlockDDGNode()
135 assert(!NodeList.empty() && "pi-block node constructed with an empty list."); in PiBlockDDGNode()
139 : DDGNode(N), NodeList(N.NodeList) { in PiBlockDDGNode()
140 assert(getKind() == NodeKind::PiBlock && !NodeList.empty() && in PiBlockDDGNode()
145 : DDGNode(std::move(N)), NodeList(std::move(N.NodeList)) { in PiBlockDDGNode()
146 assert(getKind() == NodeKind::PiBlock && !NodeList.empty() && in PiBlockDDGNode()
150 PiBlockDDGNode::~PiBlockDDGNode() { NodeList.clear(); } in ~PiBlockDDGNode()
H A DBlockFrequencyInfoImpl.cpp693 LoopData::NodeList &Headers, LoopData::NodeList &Others) { in findIrreducibleHeaders()
765 LoopData::NodeList Headers; in createIrreducibleLoop()
766 LoopData::NodeList Others; in createIrreducibleLoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptAddrMode.cpp102 const NodeList &UNodeList);
104 bool analyzeUses(unsigned DefR, const NodeList &UNodeList,
108 const NodeList &UNodeList);
110 unsigned LRExtReg, const NodeList &UNodeList);
111 void getAllRealUses(NodeAddr<StmtNode *> SN, NodeList &UNodeList);
112 bool allValidCandidates(NodeAddr<StmtNode *> SA, NodeList &UNodeList);
169 const NodeList &UNodeList) { in canRemoveAddasl()
231 NodeList &UNodeList) { in allValidCandidates()
263 NodeList &UNodeList) { in getAllRealUses()
304 const NodeList &UNodeList) { in isSafeToExtLR()
[all …]
H A DHexagonRDFOpt.cpp198 NodeList Refs = IA.Addr->members(DFG); in removeOperand()
254 NodeList Defs; in rewrite()
H A DRDFDeadCode.cpp187 NodeList DRNs, DINs; in erase()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFLiveness.cpp104 NodeList Liveness::getAllReachingDefs(RegisterRef RefRR, in getAllReachingDefs()
108 NodeList RDefs; // Return value. in getAllReachingDefs()
270 NodeList Ds; in getAllReachingDefs()
324 NodeList RDs = getAllReachingDefs(RefRR, RefA, false, true, DefRRs); in getAllReachingDefsRecImpl()
360 NodeList Ins = BA.Addr->members(DFG); in getNearestAliasedRef()
374 NodeList Refs = I.Addr->members(DFG); in getNearestAliasedRef()
463 NodeList Phis; in computePhiInfo()
465 NodeList Blocks = FA.Addr->members(DFG); in computePhiInfo()
482 NodeList PhiRefs = PhiA.Addr->members(DFG); in computePhiInfo()
600 NodeList Ds = getAllReachingDefs(UR, PUA, true, false, NoRegs); in computePhiInfo()
[all …]
H A DRDFGraph.cpp174 raw_ostream &operator<<(raw_ostream &OS, const Print<NodeList> &P) { in operator <<()
197 PrintListV(const NodeList &L, const DataFlowGraph &G) : List(L), G(G) {} in PrintListV()
200 const NodeList &List;
519 NodeList CodeNode::members(const DataFlowGraph &G) const { in members()
571 NodeList Ms = members_if(EqBB, G); in findBlock()
910 NodeList Blocks = TheFunc.Addr->members(*this); in build()
945 NodeList Preds; in build()
1058 NodeList Rel = getRelatedRefs(IA, DA); in pushClobbers()
1106 NodeList Rel = getRelatedRefs(IA, DA); in pushDefs()
1138 NodeList DataFlowGraph::getRelatedRefs(Instr IA, Ref RA) const { in getRelatedRefs()
[all …]
H A DCodeGenPrepare.cpp3920 SmallVector<PHINode *, 32> NodeList; member in __anon1d600f580f11::PhiNodeSet
3938 if (NodeMap.insert(std::make_pair(Ptr, NodeList.size())).second) { in insert()
3939 NodeList.push_back(Ptr); in insert()
3959 NodeList.clear(); in clear()
3972 iterator end() { return PhiNodeSetIterator(this, NodeList.size()); } in end()
3987 while (CurrentIndex < NodeList.size()) { in SkipRemovedElements()
3988 auto it = NodeMap.find(NodeList[CurrentIndex]); in SkipRemovedElements()
4002 assert(CurrentIndex < Set->NodeList.size() && in operator *()
4004 return Set->NodeList[CurrentIndex]; in operator *()
4008 assert(CurrentIndex < Set->NodeList.size() && in operator ++()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRDFLiveness.h66 NodeList getAllReachingDefs(RegisterRef RefRR, NodeAddr<RefNode *> RefA,
70 NodeList getAllReachingDefs(NodeAddr<RefNode *> RefA) {
75 NodeList getAllReachingDefs(RegisterRef RefRR, NodeAddr<RefNode *> RefA) {
H A DRDFGraph.h550 using NodeList = SmallVector<Node, 4>; variable
624 NodeList members(const DataFlowGraph &G) const;
626 NodeList members_if(Predicate P, const DataFlowGraph &G) const;
797 NodeList getRelatedRefs(Instr IA, Ref RA) const;
947 NodeList CodeNode::members_if(Predicate P, const DataFlowGraph &G) const { in members_if()
948 NodeList MM; in members_if()
981 raw_ostream &operator<<(raw_ostream &OS, const Print<NodeList> &P);
/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DMicrosoftDemangle.cpp38 struct NodeList { struct
40 NodeList *Next = nullptr; argument
1608 static NodeArrayNode *nodeListToNodeArray(ArenaAllocator &Arena, NodeList *Head, in nodeListToNodeArray()
1623 NodeList *Head = Arena.alloc<NodeList>(); in demangleNameScopeChain()
1630 NodeList *NewHead = Arena.alloc<NodeList>(); in demangleNameScopeChain()
2209 NodeList *Head = Arena.alloc<NodeList>(); in demangleArrayType()
2210 NodeList *Tail = Head; in demangleArrayType()
2221 Tail->Next = Arena.alloc<NodeList>(); in demangleArrayType()
2248 NodeList *Head = Arena.alloc<NodeList>(); in demangleFunctionParameterList()
2249 NodeList **Current = &Head; in demangleFunctionParameterList()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDDG.h185 NodeList = std::move(N.NodeList);
191 assert(!NodeList.empty() && "Node list is empty."); in getNodes()
192 return NodeList; in getNodes()
206 PiNodeList NodeList;
H A DBlockFrequencyInfoImpl.h223 using NodeList = SmallVector<BlockNode, 4>; member
230 NodeList Nodes; ///< Header and the members of the loop.
265 NodeList::const_iterator members_begin() const { in members_begin()
269 NodeList::const_iterator members_end() const { return Nodes.end(); } in members_end()
270 iterator_range<NodeList::const_iterator> members() const { in members()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h114 using NodeList = SmallVector<NodeState, 16>; variable
115 using node_iterator = NodeList::const_iterator;
121 NodeList Stack;
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp470 NodeList Defs = ArgPhi.Addr->members_if(DataFlowGraph::IsDef, DFG); in getGadgetGraph()
482 NodeList Defs = SA.Addr->members_if(DataFlowGraph::IsDef, DFG); in getGadgetGraph()