Home
last modified time | relevance | path

Searched refs:NodeType (Results 1 – 25 of 79) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDirectedGraph.h28 template <class NodeType, class EdgeType> class DGEdge {
32 explicit DGEdge(NodeType &N) : TargetNode(N) {} in DGEdge()
33 explicit DGEdge(const DGEdge<NodeType, EdgeType> &E) in DGEdge() argument
35 DGEdge<NodeType, EdgeType> &operator=(const DGEdge<NodeType, EdgeType> &E) {
48 const NodeType &getTargetNode() const { return TargetNode; } in getTargetNode()
49 NodeType &getTargetNode() { in getTargetNode()
50 return const_cast<NodeType &>( in getTargetNode()
51 static_cast<const DGEdge<NodeType, EdgeType> &>(*this).getTargetNode()); in getTargetNode()
55 void setTargetNode(const NodeType &N) { TargetNode = N; } in setTargetNode()
68 NodeType &TargetNode;
[all …]
H A DSCCIterator.h254 using NodeType = typename GT::NodeType; variable
256 using NodesType = std::vector<NodeType *>;
296 std::unordered_map<NodeType *, NodeInfo> NodeInfoMap;
350 std::queue<NodeType *> Queue; in scc_member_iterator()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDependenceGraphBuilder.h37 using NodeType = typename GraphType::NodeType;
42 using NodeListType = SmallVector<NodeType *, 4>;
114 virtual NodeType &createRootNode() = 0;
117 virtual NodeType &createFineGrainedNode(Instruction &I) = 0;
121 virtual NodeType &createPiBlock(const NodeListType &L) = 0;
124 virtual EdgeType &createDefUseEdge(NodeType &Src, NodeType &Tgt) = 0;
127 virtual EdgeType &createMemoryEdge(NodeType &Src, NodeType &Tgt) = 0;
130 virtual EdgeType &createRootedEdge(NodeType &Src, NodeType &Tgt) = 0;
134 virtual const NodeListType &getNodesInPiBlock(const NodeType &N) = 0;
140 virtual void destroyNode(NodeType &N) { delete &N; } in destroyNode()
[all …]
H A DDDG.h256 template <typename NodeType> class DependenceGraphInfo {
272 NodeType &getRoot() const { in getRoot()
281 bool getDependencies(const NodeType &Src, const NodeType &Dst,
287 std::string getDependenceString(const NodeType &Src,
288 const NodeType &Dst) const;
301 NodeType *Root = nullptr;
312 using NodeType = DDGNode;
325 const PiBlockDDGNode *getPiBlock(const NodeType &N) const;
331 bool addNode(NodeType &N);
334 using PiBlockMapType = DenseMap<const NodeType *, const PiBlockDDGNode *>;
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangSyntaxEmitter.cpp51 for (NodeType &N : AllTypes) { in Hierarchy()
52 sort(N.Derived, [](const NodeType *L, const NodeType *R) { in Hierarchy()
62 struct NodeType { struct in __anon412cf98b0111::Hierarchy
64 const NodeType *Base = nullptr; argument
65 std::vector<const NodeType *> Derived; argument
69 NodeType &get(StringRef Name = "Node") { in get()
76 void visit(function_ref<void(const NodeType &)> CB, in visit()
77 const NodeType *Start = nullptr) { in visit()
81 for (const NodeType *D : Start->Derived) in visit()
101 std::deque<NodeType> AllTypes;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceGraphBuilder.cpp81 df_iterator_default_set<const NodeType *, 4> Visited; in createAndConnectRootNode()
125 llvm::sort(NL, [&](NodeType *LHS, NodeType *RHS) { in createPiBlocks()
129 NodeType &PiNode = createPiBlock(NL); in createPiBlocks()
134 SmallPtrSet<NodeType *, 4> NodesInSCC(llvm::from_range, NL); in createPiBlocks()
138 for (NodeType *N : Graph) { in createPiBlocks()
162 auto createEdgeOfKind = [this](NodeType &Src, NodeType &Dst, in createPiBlocks()
179 auto reconnectEdges = [&](NodeType *Src, NodeType *Dst, NodeType *New, in createPiBlocks()
211 for (NodeType *SCCNode : NL) { in createPiBlocks()
229 for (NodeType *N : Graph) { in createDefUseEdges()
236 SmallPtrSet<NodeType *, 4> VisitedTargets; in createDefUseEdges()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DSyntax.td37 // Defs derived from NodeType correspond to syntax tree node types.
38 // NodeType is also a syntax constraint: one node of this type.
39 class NodeType : Syntax {
40 // The NodeType that this node is derived from in the Node class hierarchy.
41 NodeType base = ?;
48 class External<NodeType base_> : NodeType { let base = base_; }
60 class Alternatives<NodeType base_ = Tree> : NodeType { let base = base_; }
64 class Unconstrained<NodeType base_ = Tree> : NodeType { let base = base_; }
79 class Sequence<NodeType base_ = Tree> : NodeType {
81 // Children must be Role or have a default role derived from the NodeType.
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h234 template <typename NodeType> \
236 : public ::clang::ast_matchers::internal::MatcherInterface<NodeType> { \
238 bool matches(const NodeType &Node, \
250 template <typename NodeType> \
251 bool internal::matcher_##DefineMatcher##Matcher<NodeType>::matches( \
252 const NodeType &Node, \
273 template <typename NodeType, typename ParamT> \
275 : public ::clang::ast_matchers::internal::MatcherInterface<NodeType> { \
280 bool matches(const NodeType &Node, \
300 template <typename NodeType, typename ParamT> \
[all …]
H A DASTMatchersInternal.h2016 template <typename NodeType>
2018 equivalentBinaryOperator(const NodeType &Node) {
2097 template <typename NodeType>
2099 equivalentUnaryOperator(const NodeType &Node) {
2141 template <typename NodeType> inline const Expr *getLHS(const NodeType &Node) {
2151 template <typename NodeType> inline const Expr *getRHS(const NodeType &Node) {
2161 template <typename NodeType>
2162 inline const Expr *getSubExpr(const NodeType &Node) {
H A DASTMatchers.h5802 const Stmt *const Statement = internal::GetBodyMatcher<NodeType>::get(Node); in AST_POLYMORPHIC_MATCHER_P()
5846 const CompoundStmt *CS = CompoundStmtMatcher<NodeType>::get(Node); in AST_POLYMORPHIC_MATCHER_P()
5905 return internal::ValueEqualsMatcher<NodeType, ParamT>(Value)
5914 return internal::ValueEqualsMatcher<NodeType, ParamT>(Value)
5924 return internal::ValueEqualsMatcher<NodeType, ParamT>(Value)
6053 return internal::VariadicDynCastAllOfMatcher<Stmt, NodeType>()( in AST_POLYMORPHIC_MATCHER_P()
6074 return internal::VariadicDynCastAllOfMatcher<Stmt, NodeType>()( in AST_POLYMORPHIC_MATCHER_P2()
6116 internal::GetSourceExpressionMatcher<NodeType>::get(Node); in AST_POLYMORPHIC_MATCHER_P()
6141 const QualType NodeType = Node.getTypeAsWritten(); in AST_MATCHER_P() local
6142 return InnerMatcher.matches(NodeType, Finder, Builder); in AST_MATCHER_P()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCallGraph.h241 using NodeType = clang::CallGraphNode;
243 using ChildIteratorType = NodeType::iterator;
245 static NodeType *getEntryNode(clang::CallGraphNode *CGN) { return CGN; }
246 static ChildIteratorType child_begin(NodeType *N) { return N->begin(); }
247 static ChildIteratorType child_end(NodeType *N) { return N->end(); }
251 using NodeType = const clang::CallGraphNode;
253 using ChildIteratorType = NodeType::const_iterator;
255 static NodeType *getEntryNode(const clang::CallGraphNode *CGN) { return CGN; }
256 static ChildIteratorType child_begin(NodeType *N) { return N->begin();}
257 static ChildIteratorType child_end(NodeType *N) { return N->end(); }
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugSuppression.cpp40 template <class NodeType> inline SourceRange getRange(const NodeType *Node) { in getRange()
103 template <class NodeType> bool VisitAttributedNode(NodeType *Node) { in VisitAttributedNode()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp165 ISD::NodeType AluOperator = static_cast<ISD::NodeType>(Addr.getOpcode()); in selectAddrRiSpls()
210 static AluCode isdToLanaiAluCode(ISD::NodeType Node_type) { in isdToLanaiAluCode()
251 ISD::NodeType AluOperator = static_cast<ISD::NodeType>(Addr.getOpcode()); in selectAddrRr()
H A DLanaiAluCode.h
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h41 enum NodeType { enum
1578 LLVM_ABI NodeType getInverseMinMaxOpcode(unsigned MinMaxOpc);
1582 LLVM_ABI NodeType getVecReduceBaseOpcode(unsigned VecReduceOpcode);
1669 LLVM_ABI NodeType getExtForLoadExtType(bool IsFP, LoadExtType);
H A DSelectionDAGNodes.h504 int32_t NodeType;
692 unsigned getOpcode() const { return (unsigned)NodeType; }
696 bool isTargetOpcode() const { return NodeType >= ISD::BUILTIN_OP_END; }
700 return NodeType == ISD::UNDEF || NodeType == ISD::POISON;
705 return NodeType == ISD::ADD || NodeType == ISD::PTRADD;
713 switch (NodeType) {
729 switch (NodeType) {
745 bool isMachineOpcode() const { return NodeType < 0; }
752 return ~NodeType;
1204 : NodeType(Opc), ValueList(VTs.VTs), NumValues(VTs.NumVTs),
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h217 using NodeType = ProfiledCallGraphNode;
219 using EdgeType = NodeType::edge;
220 using ChildIteratorType = NodeType::const_iterator;
/freebsd/contrib/kyua/model/
H A Dmetadata.cpp321 template< class NodeType >
322 typename NodeType::value_type&
326 return tree.lookup_rw< NodeType >(key); in lookup_rw()
344 template< class NodeType >
347 const typename NodeType::value_type& value) in set()
350 tree.set< NodeType >(key, value); in set()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanDominatorTree.h28 using NodeType = VPBlockBase;
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DDAGISelMatcher.cpp359 MVT::SimpleValueType NodeType = getOpcode().getKnownType(CT->getResNo()); in isContradictoryImpl() local
360 if (NodeType != MVT::Other) in isContradictoryImpl()
361 return TypesAreContradictory(NodeType, CT->getType()); in isContradictoryImpl()
/freebsd/sys/contrib/edk2/Include/Protocol/
H A DDevicePathUtilities.h149 IN UINT8 NodeType,
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.h25 enum NodeType : unsigned { enum
267 ISD::NodeType getExtendForAtomicOps() const override { in getExtendForAtomicOps()
271 ISD::NodeType getExtendForAtomicCmpSwapArg() const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblySelectionDAGInfo.cpp22 switch (static_cast<WebAssemblyISD::NodeType>(Opcode)) { in isTargetMemoryOpcode()
/freebsd/lib/libefivar/
H A Duefi-dputil.c793 IN UINT8 NodeType, in CreateDeviceNode() argument
809 DevicePath->Type = NodeType; in CreateDeviceNode()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.h24 enum NodeType : unsigned { enum
212 ISD::NodeType getExtendForAtomicOps() const override { in getExtendForAtomicOps()

1234