/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | RegionInfo.h | 56 class RegionNode { 58 RegionNode(const RegionNode &); 60 const RegionNode &operator=(const RegionNode &); 88 inline RegionNode(Region* Parent, BasicBlock* Entry, bool isSubRegion = 0) 128 inline raw_ostream &operator<<(raw_ostream &OS, const RegionNode &Node); 131 inline BasicBlock* RegionNode::getNodeAs<BasicBlock>() const { 137 inline Region* RegionNode::getNodeAs<Region>() const { 139 return reinterpret_cast<Region*>(const_cast<RegionNode*>(this)); 204 class Region : public RegionNode { 224 typedef std::map<BasicBlock*, RegionNode*> BBNodeMapT; [all …]
|
D | RegionIterator.h | 69 RegionNode* getISucc(BasicBlock* BB) const { in getISucc() 70 RegionNode *succ; in getISucc() 318 RegionNodeGraphTraits(RegionNode); 319 RegionNodeGraphTraits(const RegionNode); 321 RegionGraphTraits(Region, RegionNode); 322 RegionGraphTraits(const Region, const RegionNode); 325 : public GraphTraits<FlatIt<RegionNode*> > {
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | RegionPrinter.cpp | 36 struct DOTGraphTraits<RegionNode*> : public DefaultDOTGraphTraits { 41 std::string getNodeLabel(RegionNode *Node, RegionNode *Graph) { in getNodeLabel() 59 struct DOTGraphTraits<RegionInfo*> : public DOTGraphTraits<RegionNode*> { 62 : DOTGraphTraits<RegionNode*>(isSimple) {} in DOTGraphTraits() 68 std::string getNodeLabel(RegionNode *Node, RegionInfo *G) { in getNodeLabel() 69 return DOTGraphTraits<RegionNode*>::getNodeLabel(Node, in getNodeLabel() 73 std::string getEdgeAttributes(RegionNode *srcNode, in getEdgeAttributes() 76 RegionNode *destNode = *CI; in getEdgeAttributes()
|
D | RegionInfo.cpp | 58 : RegionNode(Parent, Entry, 1), RI(RInfo), DT(dt), exit(Exit) {} in Region() 301 RegionNode* Region::getBBNode(BasicBlock *BB) const { in getBBNode() 309 RegionNode *NewNode = new RegionNode(const_cast<Region*>(this), BB); in getBBNode() 314 RegionNode* Region::getNode(BasicBlock *BB) const { in getNode()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | RegionPrinter.cpp | 39 struct DOTGraphTraits<RegionNode*> : public DefaultDOTGraphTraits { 44 std::string getNodeLabel(RegionNode *Node, RegionNode *Graph) { in getNodeLabel() 62 struct DOTGraphTraits<RegionInfo *> : public DOTGraphTraits<RegionNode *> { 65 : DOTGraphTraits<RegionNode*>(isSimple) {} in DOTGraphTraits() 69 std::string getNodeLabel(RegionNode *Node, RegionInfo *G) { in getNodeLabel() 70 return DOTGraphTraits<RegionNode *>::getNodeLabel( in getNodeLabel() 71 Node, reinterpret_cast<RegionNode *>(G->getTopLevelRegion())); in getNodeLabel() 74 std::string getEdgeAttributes(RegionNode *srcNode, in getEdgeAttributes() 77 RegionNode *destNode = *CI; in getEdgeAttributes()
|
/external/llvm/lib/Analysis/ |
D | RegionPrinter.cpp | 39 struct DOTGraphTraits<RegionNode*> : public DefaultDOTGraphTraits { 44 std::string getNodeLabel(RegionNode *Node, RegionNode *Graph) { in getNodeLabel() 62 struct DOTGraphTraits<RegionInfo *> : public DOTGraphTraits<RegionNode *> { 65 : DOTGraphTraits<RegionNode*>(isSimple) {} in DOTGraphTraits() 69 std::string getNodeLabel(RegionNode *Node, RegionInfo *G) { in getNodeLabel() 70 return DOTGraphTraits<RegionNode *>::getNodeLabel( in getNodeLabel() 71 Node, reinterpret_cast<RegionNode *>(G->getTopLevelRegion())); in getNodeLabel() 74 std::string getEdgeAttributes(RegionNode *srcNode, in getEdgeAttributes() 77 RegionNode *destNode = *CI; in getEdgeAttributes()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | StructurizeCFG.cpp | 69 using RNVector = SmallVector<RegionNode *, 8>; 190 SmallVector<RegionNode *, 8> Order; 203 RegionNode *PrevNode; 207 Loop *getAdjustedLoop(RegionNode *RN); 208 unsigned getAdjustedLoopDepth(RegionNode *RN); 210 void analyzeLoops(RegionNode *N); 216 void gatherPredicates(RegionNode *N); 230 void changeExit(RegionNode *Node, BasicBlock *NewExit, 241 bool dominatesPredicates(BasicBlock *BB, RegionNode *Node); 243 bool isPredictableTrue(RegionNode *Node); [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | StructurizeCFG.cpp | 36 typedef SmallVector<RegionNode*, 8> RNVector; 192 RegionNode *PrevNode; 196 void analyzeLoops(RegionNode *N); 202 void gatherPredicates(RegionNode *N); 216 void changeExit(RegionNode *Node, BasicBlock *NewExit, 227 bool dominatesPredicates(BasicBlock *BB, RegionNode *Node); 229 bool isPredictableTrue(RegionNode *Node); 311 for (RegionNode *RN : TempOrder) { in orderNodes() 359 void StructurizeCFG::analyzeLoops(RegionNode *N) { in analyzeLoops() 429 void StructurizeCFG::gatherPredicates(RegionNode *N) { in gatherPredicates() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | RegionIterator.h | 314 RegionNodeGraphTraits(RegionNode, BasicBlock, Region); 315 RegionNodeGraphTraits(const RegionNode, BasicBlock, Region); 317 RegionGraphTraits(Region, RegionNode); 318 RegionGraphTraits(const Region, const RegionNode); 321 : public GraphTraits<FlatIt<RegionNode*>> {
|
D | RegionInfo.h | 71 class RegionNode; variable 91 using RegionNodeT = RegionNode; 884 class RegionNode : public RegionNodeBase<RegionTraits<Function>> { 886 inline RegionNode(Region *Parent, BasicBlock *Entry, bool isSubRegion = false) 890 return this == reinterpret_cast<const RegionNode *>(&RN); 900 bool operator==(const RegionNode &RN) const { 901 return &RN == reinterpret_cast<const RegionNode *>(this);
|
/external/llvm/include/llvm/Analysis/ |
D | RegionIterator.h | 305 RegionNodeGraphTraits(RegionNode, BasicBlock, Region); 306 RegionNodeGraphTraits(const RegionNode, BasicBlock, Region); 308 RegionGraphTraits(Region, RegionNode); 309 RegionGraphTraits(const Region, const RegionNode); 312 : public GraphTraits<FlatIt<RegionNode*> > {
|
D | RegionInfo.h | 73 class RegionNode; variable 83 typedef RegionNode RegionNodeT; 845 class RegionNode : public RegionNodeBase<RegionTraits<Function>> { 847 inline RegionNode(Region *Parent, BasicBlock *Entry, bool isSubRegion = false) 851 return this == reinterpret_cast<const RegionNode *>(&RN); 861 bool operator==(const RegionNode &RN) const { 862 return &RN == reinterpret_cast<const RegionNode *>(this);
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | CodeExtractor.h | 27 class RegionNode; variable 82 CodeExtractor(DominatorTree &DT, const RegionNode &RN,
|
/external/llvm/lib/Transforms/Utils/ |
D | CodeExtractor.cpp | 112 buildExtractionBlockSet(const RegionNode &RN) { in buildExtractionBlockSet() 135 CodeExtractor::CodeExtractor(DominatorTree &DT, const RegionNode &RN, in CodeExtractor()
|