Home
last modified time | relevance | path

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

1234

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDirectedGraph.h34 DGEdge<NodeType, EdgeType> &operator=(const DGEdge<NodeType, EdgeType> &E) {
48 NodeType &getTargetNode() { in getTargetNode()
49 return const_cast<NodeType &>( in getTargetNode()
67 NodeType &TargetNode;
85 DGNode<NodeType, EdgeType> &operator=(const DGNode<NodeType, EdgeType> &N) {
89 DGNode<NodeType, EdgeType> &operator=(const DGNode<NodeType, EdgeType> &&N) {
96 friend bool operator==(const NodeType &M, const NodeType &N) {
99 friend bool operator!=(const NodeType &M, const NodeType &N) {
151 NodeType &getDerived() { return *static_cast<NodeType *>(this); } in getDerived()
216 bool addNode(NodeType &N) { in addNode()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDependenceGraphBuilder.h36 using NodeType = typename GraphType::NodeType;
41 using NodeListType = SmallVector<NodeType *, 4>;
113 virtual NodeType &createRootNode() = 0;
123 virtual EdgeType &createDefUseEdge(NodeType &Src, NodeType &Tgt) = 0;
126 virtual EdgeType &createMemoryEdge(NodeType &Src, NodeType &Tgt) = 0;
129 virtual EdgeType &createRootedEdge(NodeType &Src, NodeType &Tgt) = 0;
139 virtual void destroyNode(NodeType &N) { delete &N; } in destroyNode()
150 virtual bool areNodesMergeable(const NodeType &A,
155 virtual void mergeNodes(NodeType &A, NodeType &B) = 0;
165 size_t getOrdinal(NodeType &N) { in getOrdinal()
[all …]
H A DDDG.h281 NodeType &getRoot() const { in getRoot()
290 bool getDependencies(const NodeType &Src, const NodeType &Dst,
296 std::string getDependenceString(const NodeType &Src,
310 NodeType *Root = nullptr;
321 using NodeType = DDGNode;
340 bool addNode(NodeType &N);
450 template <typename NodeType>
451 bool DependenceGraphInfo<NodeType>::getDependencies( in getDependencies()
452 const NodeType &Src, const NodeType &Dst, DependenceList &Deps) const { in getDependencies()
472 template <typename NodeType>
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceGraphBuilder.cpp124 llvm::sort(NL, [&](NodeType *LHS, NodeType *RHS) { in createPiBlocks()
137 for (NodeType *N : Graph) { in createPiBlocks()
161 auto createEdgeOfKind = [this](NodeType &Src, NodeType &Dst, in createPiBlocks()
178 auto reconnectEdges = [&](NodeType *Src, NodeType *Dst, NodeType *New, in createPiBlocks()
210 for (NodeType *SCCNode : NL) { in createPiBlocks()
228 for (NodeType *N : Graph) { in createDefUseEdges()
309 auto createConfusedEdges = [&](NodeType &Src, NodeType &Dst) { in createMemoryDependencyEdges()
322 auto createForwardEdge = [&](NodeType &Src, NodeType &Dst) { in createMemoryDependencyEdges()
330 auto createBackwardEdge = [&](NodeType &Src, NodeType &Dst) { in createMemoryDependencyEdges()
393 for (NodeType *N : Graph) { in simplify()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DClangSyntaxEmitter.cpp50 for (NodeType &N : AllTypes) { in Hierarchy()
51 llvm::sort(N.Derived, [](const NodeType *L, const NodeType *R) { in Hierarchy()
61 struct NodeType { struct in __anon24d26e3f0111::Hierarchy
63 const NodeType *Base = nullptr; argument
64 std::vector<const NodeType *> Derived; argument
100 std::deque<NodeType> AllTypes;
104 const Hierarchy::NodeType &firstConcrete(const Hierarchy::NodeType &N) { in firstConcrete()
107 const Hierarchy::NodeType &lastConcrete(const Hierarchy::NodeType &N) { in lastConcrete()
116 NodeType = "Leaf"; in SyntaxConstraint()
118 NodeType = R.getName().str(); in SyntaxConstraint()
[all …]
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h232 template <typename NodeType> \
234 : public ::clang::ast_matchers::internal::MatcherInterface<NodeType> { \
236 bool matches(const NodeType &Node, \
248 template <typename NodeType> \
249 bool internal::matcher_##DefineMatcher##Matcher<NodeType>::matches( \
250 const NodeType &Node, \
271 template <typename NodeType, typename ParamT> \
273 : public ::clang::ast_matchers::internal::MatcherInterface<NodeType> { \
278 bool matches(const NodeType &Node, \
298 template <typename NodeType, typename ParamT> \
[all …]
H A DASTMatchersInternal.h2003 template <typename NodeType>
2005 equivalentBinaryOperator(const NodeType &Node) {
2084 template <typename NodeType>
2086 equivalentUnaryOperator(const NodeType &Node) {
2128 template <typename NodeType> inline const Expr *getLHS(const NodeType &Node) {
2138 template <typename NodeType> inline const Expr *getRHS(const NodeType &Node) {
2148 template <typename NodeType>
2149 inline const Expr *getSubExpr(const NodeType &Node) {
H A DASTMatchers.h5346 const CompoundStmt *CS = CompoundStmtMatcher<NodeType>::get(Node); in AST_POLYMORPHIC_MATCHER_P()
5405 return internal::ValueEqualsMatcher<NodeType, ParamT>(Value)
5414 return internal::ValueEqualsMatcher<NodeType, ParamT>(Value)
5424 return internal::ValueEqualsMatcher<NodeType, ParamT>(Value)
5541 return internal::VariadicDynCastAllOfMatcher<Stmt, NodeType>()( in AST_POLYMORPHIC_MATCHER_P()
5561 return internal::VariadicDynCastAllOfMatcher<Stmt, NodeType>()( in AST_POLYMORPHIC_MATCHER_P2()
5603 internal::GetSourceExpressionMatcher<NodeType>::get(Node); in AST_POLYMORPHIC_MATCHER_P()
5628 const QualType NodeType = Node.getTypeAsWritten(); in AST_MATCHER_P() local
5629 return InnerMatcher.matches(NodeType, Finder, Builder); in AST_MATCHER_P()
6360 template <typename NodeType>
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/
H A DCallGraph.h244 using NodeType = clang::CallGraphNode;
246 using ChildIteratorType = NodeType::iterator;
248 static NodeType *getEntryNode(clang::CallGraphNode *CGN) { return CGN; }
249 static ChildIteratorType child_begin(NodeType *N) { return N->begin(); }
250 static ChildIteratorType child_end(NodeType *N) { return N->end(); }
254 using NodeType = const clang::CallGraphNode;
256 using ChildIteratorType = NodeType::const_iterator;
259 static ChildIteratorType child_begin(NodeType *N) { return N->begin();}
260 static ChildIteratorType child_end(NodeType *N) { return N->end(); }
265 static NodeType *getEntryNode(clang::CallGraph *CGN) {
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp168 ISD::NodeType AluOperator = static_cast<ISD::NodeType>(Addr.getOpcode()); in selectAddrRiSpls()
223 ISD::NodeType AluOperator = static_cast<ISD::NodeType>(Addr.getOpcode()); in selectAddrRr()
H A DLanaiAluCode.h118 inline static AluCode isdToLanaiAluCode(ISD::NodeType Node_type) { in isdToLanaiAluCode()
/freebsd-13.1/contrib/kyua/model/
H A Dmetadata.cpp314 template< class NodeType >
315 typename NodeType::value_type&
319 return tree.lookup_rw< NodeType >(key); in lookup_rw()
337 template< class NodeType >
340 const typename NodeType::value_type& value) in set()
343 tree.set< NodeType >(key, value); in set()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h40 enum NodeType { enum
1265 NodeType getVecReduceBaseOpcode(unsigned VecReduceOpcode);
1339 NodeType getExtForLoadExtType(bool IsFP, LoadExtType);
H A DSelectionDAGNodes.h458 int16_t NodeType;
633 return NodeType >= ISD::FIRST_TARGET_STRICTFP_OPCODE;
640 return NodeType >= ISD::FIRST_TARGET_MEMORY_OPCODE;
644 bool isUndef() const { return NodeType == ISD::UNDEF; }
652 return (NodeType == ISD::INTRINSIC_W_CHAIN ||
653 NodeType == ISD::INTRINSIC_VOID) &&
659 switch (NodeType) {
673 bool isMachineOpcode() const { return NodeType < 0; }
680 return ~NodeType;
1057 : NodeType(Opc), ValueList(VTs.VTs), NumValues(VTs.NumVTs),
[all …]
/freebsd-13.1/lib/libefivar/
H A Duefi-dputil.c431 IN UINT8 NodeType, in CreateDeviceNode() argument
447 DevicePath->Type = NodeType; in CreateDeviceNode()
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcher.cpp365 MVT::SimpleValueType NodeType = getOpcode().getKnownType(CT->getResNo()); in isContradictoryImpl() local
366 if (NodeType != MVT::Other) in isContradictoryImpl()
367 return TypesAreContradictory(NodeType, CT->getType()); in isContradictoryImpl()
/freebsd-13.1/sys/contrib/edk2/Include/Protocol/
H A DDevicePathUtilities.h150 IN UINT8 NodeType,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.h24 enum NodeType : unsigned { enum
101 ISD::NodeType getExtendForAtomicOps() const override { in getExtendForAtomicOps()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCISelLowering.h29 enum NodeType : unsigned { enum
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h26 enum NodeType : unsigned { enum
395 ISD::NodeType getExtendForAtomicOps() const override { in getExtendForAtomicOps()
399 ISD::NodeType getExtendForAtomicCmpSwapArg() const override { in getExtendForAtomicCmpSwapArg()
/freebsd-13.1/sys/contrib/edk2/Include/Library/
H A DDevicePathLib.h412 IN UINT8 NodeType,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h25 enum NodeType : unsigned { enum
582 ISD::NodeType getExtendForAtomicOps() const override { in getExtendForAtomicOps()
585 ISD::NodeType getExtendForAtomicCmpSwapArg() const override { in getExtendForAtomicCmpSwapArg()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h24 enum NodeType : unsigned { enum
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.h57 enum NodeType : unsigned { enum
281 ISD::NodeType) const override;
313 ISD::NodeType getExtendForAtomicOps() const override { in getExtendForAtomicOps()

1234