Searched refs:RegionNode (Results 1 - 7 of 7) sorted by relevance

/external/llvm/include/llvm/Analysis/
H A DRegionInfo.h61 /// selected for SubRegions just one RegionNode containing the subregion is
66 /// @brief A RegionNode represents a subregion or a BasicBlock that is part of a
68 class RegionNode { class in namespace:llvm
69 RegionNode(const RegionNode &) LLVM_DELETED_FUNCTION;
70 const RegionNode &operator=(const RegionNode &) LLVM_DELETED_FUNCTION;
74 /// BasicBlock RegionNode, then entry is just the basic block, that this
75 /// RegionNode represents. Otherwise it is the entry of this (Sub)RegionNode
98 inline RegionNode(Region* Parent, BasicBlock* Entry, bool isSubRegion = 0) function in class:llvm::RegionNode
[all...]
H A DRegionIterator.h23 /// @brief Hierarchical RegionNode successor iterator.
25 /// This iterator iterates over all successors of a RegionNode.
27 /// For a BasicBlock RegionNode it skips all BasicBlocks that are not part of
29 /// RegionNode representing the subregion is returned.
31 /// For a subregion RegionNode there is just one successor. The RegionNode
68 // RegionNode or a subregion RegionNode.
69 RegionNode* getISucc(BasicBlock* BB) const {
70 RegionNode *suc
[all...]
/external/llvm/lib/Analysis/
H A DRegionPrinter.cpp36 struct DOTGraphTraits<RegionNode*> : public DefaultDOTGraphTraits {
41 std::string getNodeLabel(RegionNode *Node, RegionNode *Graph) {
59 struct DOTGraphTraits<RegionInfo*> : public DOTGraphTraits<RegionNode*> {
62 : DOTGraphTraits<RegionNode*>(isSimple) {}
68 std::string getNodeLabel(RegionNode *Node, RegionInfo *G) {
69 return DOTGraphTraits<RegionNode*>::getNodeLabel(Node,
73 std::string getEdgeAttributes(RegionNode *srcNode,
76 RegionNode *destNode = *CI;
H A DRegionInfo.cpp56 : RegionNode(Parent, Entry, 1), RI(RInfo), DT(dt), exit(Exit) {}
311 RegionNode* Region::getBBNode(BasicBlock *BB) const {
319 RegionNode *NewNode = new RegionNode(const_cast<Region*>(this), BB);
324 RegionNode* Region::getNode(BasicBlock *BB) const {
/external/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h27 class RegionNode;
82 CodeExtractor(DominatorTree &DT, const RegionNode &RN,
/external/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp31 typedef SmallVector<RegionNode*, 8> RNVector;
183 RegionNode *PrevNode;
187 void analyzeLoops(RegionNode *N);
193 void gatherPredicates(RegionNode *N);
207 void changeExit(RegionNode *Node, BasicBlock *NewExit,
218 bool dominatesPredicates(BasicBlock *BB, RegionNode *Node);
220 bool isPredictableTrue(RegionNode *Node);
283 const std::vector<RegionNode *> &Nodes = *I;
289 void StructurizeCFG::analyzeLoops(RegionNode *N) {
362 void StructurizeCFG::gatherPredicates(RegionNode *
[all...]
/external/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp110 /// \brief Helper to call buildExtractionBlockSet with a RegionNode.
112 buildExtractionBlockSet(const RegionNode &RN) {
135 CodeExtractor::CodeExtractor(DominatorTree &DT, const RegionNode &RN,

Completed in 764 milliseconds