LLVM
10.0.0
lib
Transforms
Vectorize
VPlanDominatorTree.h
Go to the documentation of this file.
1
//===-- VPlanDominatorTree.h ------------------------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
///
9
/// \file
10
/// This file implements dominator tree analysis for a single level of a VPlan's
11
/// H-CFG.
12
///
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_TRANSFORMS_VECTORIZE_VPLANDOMINATORTREE_H
16
#define LLVM_TRANSFORMS_VECTORIZE_VPLANDOMINATORTREE_H
17
18
#include "
VPlan.h
"
19
#include "
llvm/ADT/GraphTraits.h
"
20
#include "
llvm/IR/Dominators.h
"
21
22
namespace
llvm
{
23
24
/// Template specialization of the standard LLVM dominator tree utility for
25
/// VPBlockBases.
26
using
VPDominatorTree
=
DomTreeBase<VPBlockBase>
;
27
28
using
VPDomTreeNode
=
DomTreeNodeBase<VPBlockBase>
;
29
30
/// Template specializations of GraphTraits for VPDomTreeNode.
31
template
<>
32
struct
GraphTraits
<
VPDomTreeNode
*>
33
:
public
DomTreeGraphTraitsBase<VPDomTreeNode, VPDomTreeNode::iterator>
{};
34
35
template
<>
36
struct
GraphTraits
<
const
VPDomTreeNode
*>
37
:
public
DomTreeGraphTraitsBase
<
const
VPDomTreeNode
,
38
VPDomTreeNode::const_iterator
> {};
39
}
// namespace llvm
40
#endif // LLVM_TRANSFORMS_VECTORIZE_VPLANDOMINATORTREE_H
llvm::DomTreeNodeBase< VPBlockBase >::const_iterator
typename std::vector< DomTreeNodeBase *>::const_iterator const_iterator
Definition:
GenericDomTree.h:74
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:23
llvm::GraphTraits
Definition:
GraphTraits.h:35
llvm::VPDomTreeNode
DomTreeNodeBase< VPBlockBase > VPDomTreeNode
Definition:
VPlanDominatorTree.h:28
GraphTraits.h
Dominators.h
llvm::DomTreeNodeBase< VPBlockBase >
llvm::DominatorTreeBase
Core dominator tree base class.
Definition:
LoopInfo.h:66
VPlan.h
This file contains the declarations of the Vectorization Plan base classes:
llvm::DomTreeGraphTraitsBase< VPDomTreeNode, VPDomTreeNode::iterator >
const
aarch64 promote const
Definition:
AArch64PromoteConstant.cpp:232
Generated on Tue Mar 24 2020 13:15:40 for LLVM by
1.8.13