Home
last modified time | relevance | path

Searched refs:RegionInfo (Results 1 – 25 of 33) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DRegionPrinter.cpp62 struct DOTGraphTraits<RegionInfo *> : public DOTGraphTraits<RegionNode *> {
67 static std::string getGraphName(const RegionInfo *) { return "Region Graph"; } in getGraphName()
69 std::string getNodeLabel(RegionNode *Node, RegionInfo *G) { in getNodeLabel()
75 GraphTraits<RegionInfo *>::ChildIteratorType CI, in getEdgeAttributes()
76 RegionInfo *G) { in getEdgeAttributes()
102 static void printRegionCluster(const Region &R, GraphWriter<RegionInfo *> &GW, in printRegionCluster()
123 const RegionInfo &RI = *static_cast<const RegionInfo*>(R.getRegionInfo()); in printRegionCluster()
134 static void addCustomGraphFeatures(const RegionInfo *G, in addCustomGraphFeatures()
135 GraphWriter<RegionInfo *> &GW) { in addCustomGraphFeatures()
146 static RegionInfo *getGraph(RegionInfoPass *RIP) { in getGraph()
[all …]
DRegionInfo.cpp50 cl::location(RegionInfo::printStyle),
65 RegionInfo* RI, in Region()
77 RegionInfo::RegionInfo() = default;
79 RegionInfo::~RegionInfo() = default;
81 bool RegionInfo::invalidate(Function &F, const PreservedAnalyses &PA, in invalidate()
90 void RegionInfo::updateStatistics(Region *R) { in updateStatistics()
98 void RegionInfo::recalculate(Function &F, DominatorTree *DT_, in recalculate()
111 void RegionInfo::view() { viewRegion(this); } in view()
113 void RegionInfo::viewOnly() { viewRegionOnly(this); } in viewOnly()
190 RegionInfo RegionInfoAnalysis::run(Function &F, FunctionAnalysisManager &AM) { in run()
[all …]
DCMakeLists.txt72 RegionInfo.cpp
/external/llvm/lib/Analysis/
DRegionPrinter.cpp62 struct DOTGraphTraits<RegionInfo *> : public DOTGraphTraits<RegionNode *> {
67 static std::string getGraphName(const RegionInfo *) { return "Region Graph"; } in getGraphName()
69 std::string getNodeLabel(RegionNode *Node, RegionInfo *G) { in getNodeLabel()
75 GraphTraits<RegionInfo *>::ChildIteratorType CI, in getEdgeAttributes()
76 RegionInfo *G) { in getEdgeAttributes()
102 static void printRegionCluster(const Region &R, GraphWriter<RegionInfo *> &GW, in printRegionCluster()
123 const RegionInfo &RI = *static_cast<const RegionInfo*>(R.getRegionInfo()); in printRegionCluster()
134 static void addCustomGraphFeatures(const RegionInfo *G, in addCustomGraphFeatures()
135 GraphWriter<RegionInfo *> &GW) { in addCustomGraphFeatures()
146 static RegionInfo *getGraph(RegionInfoPass *RIP) { in getGraph()
[all …]
DRegionInfo.cpp49 cl::location(RegionInfo::printStyle),
66 RegionInfo* RI, in Region()
78 RegionInfo::RegionInfo() : in RegionInfo() function in RegionInfo
83 RegionInfo::~RegionInfo() { in ~RegionInfo()
87 void RegionInfo::updateStatistics(Region *R) { in updateStatistics()
95 void RegionInfo::recalculate(Function &F, DominatorTree *DT_, in recalculate()
108 void RegionInfo::view() { viewRegion(this); } in view()
110 void RegionInfo::viewOnly() { viewRegionOnly(this); } in viewOnly()
187 RegionInfo RegionInfoAnalysis::run(Function &F, AnalysisManager<Function> &AM) { in run()
188 RegionInfo RI; in run()
DCMakeLists.txt65 RegionInfo.cpp
/external/swiftshader/third_party/LLVM/lib/Analysis/
DRegionPrinter.cpp59 struct DOTGraphTraits<RegionInfo*> : public DOTGraphTraits<RegionNode*> {
64 static std::string getGraphName(RegionInfo *DT) { in getGraphName()
68 std::string getNodeLabel(RegionNode *Node, RegionInfo *G) { in getNodeLabel()
74 GraphTraits<RegionInfo*>::ChildIteratorType CI, RegionInfo *RI) { in getEdgeAttributes()
101 static void printRegionCluster(const Region *R, GraphWriter<RegionInfo*> &GW, in printRegionCluster()
122 RegionInfo *RI = R->getRegionInfo(); in printRegionCluster()
136 static void addCustomGraphFeatures(const RegionInfo* RI, in addCustomGraphFeatures()
137 GraphWriter<RegionInfo*> &GW) { in addCustomGraphFeatures()
148 : public DOTGraphTraitsViewer<RegionInfo, false> {
150 RegionViewer() : DOTGraphTraitsViewer<RegionInfo, false>("reg", ID){ in RegionViewer()
[all …]
DRegionInfo.cpp56 Region::Region(BasicBlock *Entry, BasicBlock *Exit, RegionInfo* RInfo, in Region()
467 bool RegionInfo::isCommonDomFrontier(BasicBlock *BB, BasicBlock *entry, in isCommonDomFrontier()
477 bool RegionInfo::isRegion(BasicBlock *entry, BasicBlock *exit) const { in isRegion()
517 void RegionInfo::insertShortCut(BasicBlock *entry, BasicBlock *exit, in insertShortCut()
535 DomTreeNode* RegionInfo::getNextPostDom(DomTreeNode* N, in getNextPostDom()
545 bool RegionInfo::isTrivialRegion(BasicBlock *entry, BasicBlock *exit) const { in isTrivialRegion()
556 void RegionInfo::updateStatistics(Region *R) { in updateStatistics()
563 Region *RegionInfo::createRegion(BasicBlock *entry, BasicBlock *exit) { in createRegion()
582 void RegionInfo::findRegionsWithEntry(BasicBlock *entry, BBtoBBMap *ShortCut) { in findRegionsWithEntry()
622 void RegionInfo::scanForRegions(Function &F, BBtoBBMap *ShortCut) { in scanForRegions()
[all …]
DRegionPass.cpp47 Info.addRequired<RegionInfo>(); in getAnalysisUsage()
54 RI = &getAnalysis<RegionInfo>(); in runOnFunction()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DRegionInfo.h39 class RegionInfo; variable
205 friend class RegionInfo; variable
212 RegionInfo* RI;
251 Region(BasicBlock *Entry, BasicBlock *Exit, RegionInfo* RI,
335 RegionInfo *getRegionInfo() const { in getRegionInfo()
524 class RegionInfo : public FunctionPass {
530 RegionInfo(const RegionInfo &);
532 const RegionInfo &operator=(const RegionInfo &);
595 explicit RegionInfo();
597 ~RegionInfo();
DRegionIterator.h324 template <> struct GraphTraits<RegionInfo*>
329 static NodeType *getEntryNode(RegionInfo *RI) {
332 static nodes_iterator nodes_begin(RegionInfo* RI) {
335 static nodes_iterator nodes_end(RegionInfo *RI) {
DRegionPass.h86 RegionInfo *RI;
/external/llvm/include/llvm/Analysis/
DRegionInfo.h74 class RegionInfo; variable
84 typedef RegionInfo RegionInfoT;
668 friend class RegionInfo;
857 Region(BasicBlock *Entry, BasicBlock *Exit, RegionInfo *RI, DominatorTree *DT,
866 class RegionInfo : public RegionInfoBase<RegionTraits<Function>> {
870 explicit RegionInfo();
872 ~RegionInfo() override;
874 RegionInfo(RegionInfo &&Arg)
876 RegionInfo &operator=(RegionInfo &&RHS) {
902 RegionInfo RI;
[all …]
DRegionPrinter.h21 class RegionInfo; variable
36 void viewRegion(llvm::RegionInfo *RI);
56 void viewRegionOnly(llvm::RegionInfo *RI);
DRegionIterator.h311 template <> struct GraphTraits<RegionInfo*>
316 static NodeType *getEntryNode(RegionInfo *RI) {
319 static nodes_iterator nodes_begin(RegionInfo* RI) {
322 static nodes_iterator nodes_end(RegionInfo *RI) {
328 : public GraphTraits<RegionInfo *> {
333 return GraphTraits<RegionInfo*>::getEntryNode(&RI->getRegionInfo());
336 return GraphTraits<RegionInfo*>::nodes_begin(&RI->getRegionInfo());
339 return GraphTraits<RegionInfo*>::nodes_end(&RI->getRegionInfo());
DRegionPass.h88 RegionInfo *RI;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DRegionInfo.h69 class RegionInfo; variable
92 using RegionInfoT = RegionInfo;
678 friend class RegionInfo;
896 Region(BasicBlock *Entry, BasicBlock *Exit, RegionInfo *RI, DominatorTree *DT,
905 class RegionInfo : public RegionInfoBase<RegionTraits<Function>> {
909 explicit RegionInfo();
911 RegionInfo(RegionInfo &&Arg) : Base(std::move(static_cast<Base &>(Arg))) {
915 RegionInfo &operator=(RegionInfo &&RHS) {
921 ~RegionInfo() override;
948 RegionInfo RI;
[all …]
DRegionPrinter.h21 class RegionInfo; variable
36 void viewRegion(llvm::RegionInfo *RI);
56 void viewRegionOnly(llvm::RegionInfo *RI);
DRegionIterator.h320 template <> struct GraphTraits<RegionInfo*>
326 static NodeRef getEntryNode(RegionInfo *RI) {
330 static nodes_iterator nodes_begin(RegionInfo* RI) {
334 static nodes_iterator nodes_end(RegionInfo *RI) {
340 : public GraphTraits<RegionInfo *> {
346 return GraphTraits<RegionInfo*>::getEntryNode(&RI->getRegionInfo());
350 return GraphTraits<RegionInfo*>::nodes_begin(&RI->getRegionInfo());
354 return GraphTraits<RegionInfo*>::nodes_end(&RI->getRegionInfo());
DRegionPass.h93 RegionInfo *RI;
/external/skqp/src/gpu/ops/
DGrRegionOp.cpp57 RegionInfo& info = fRegions.push_back(); in RegionOp()
77 const RegionInfo& info = fRegions[i]; in dumpInfo()
154 struct RegionInfo { struct in __anon68cab2480111::RegionOp
161 SkSTArray<1, RegionInfo, true> fRegions;
/external/skia/src/gpu/ops/
DGrRegionOp.cpp59 RegionInfo& info = fRegions.push_back(); in RegionOp()
79 const RegionInfo& info = fRegions[i]; in dumpInfo()
160 struct RegionInfo { struct in __anon10c75f910111::RegionOp
167 SkSTArray<1, RegionInfo, true> fRegions;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp991 for (FunctionOutliningMultiRegionInfo::OutlineRegionInfo RegionInfo : in FunctionCloner() local
994 for (BasicBlock *BB : RegionInfo.Region) { in FunctionCloner()
997 BasicBlock *NewEntryBlock = cast<BasicBlock>(VMap[RegionInfo.EntryBlock]); in FunctionCloner()
998 BasicBlock *NewExitBlock = cast<BasicBlock>(VMap[RegionInfo.ExitBlock]); in FunctionCloner()
1000 if (RegionInfo.ReturnBlock) in FunctionCloner()
1001 NewReturnBlock = cast<BasicBlock>(VMap[RegionInfo.ReturnBlock]); in FunctionCloner()
1115 for (FunctionOutliningMultiRegionInfo::OutlineRegionInfo RegionInfo : in doMultiRegionFunctionOutlining() local
1117 int CurrentOutlinedRegionCost = ComputeRegionCost(RegionInfo.Region); in doMultiRegionFunctionOutlining()
1119 CodeExtractor CE(RegionInfo.Region, &DT, /*AggregateArgs*/ false, in doMultiRegionFunctionOutlining()
1155 &RegionInfo.Region.front()->front()) in doMultiRegionFunctionOutlining()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h356 RegionInfo *region = GetRegionInfo(class_id); in AllocateBatch()
365 RegionInfo *region = GetRegionInfo(class_id); in DeallocateBatch()
394 RegionInfo *region = GetRegionInfo(class_id); in GetBlockBegin()
433 RegionInfo *region = GetRegionInfo(class_id); in PrintStats()
442 RegionInfo *region = GetRegionInfo(class_id); in PrintStats()
471 RegionInfo *region = GetRegionInfo(class_id); in ForEachChunk()
484 return RoundUpTo(sizeof(RegionInfo) * kNumClassesRounded, in AdditionalSize()
511 struct RegionInfo { struct
520 COMPILER_CHECK(sizeof(RegionInfo) >= kCacheLineSize); argument
522 RegionInfo *GetRegionInfo(uptr class_id) { in GetRegionInfo()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineCFGStructurizer.cpp470 initializeMRT(MachineFunction &MF, const MachineRegionInfo *RegionInfo,
474 const MachineRegionInfo *RegionInfo,
624 MRT::initializeMRT(MachineFunction &MF, const MachineRegionInfo *RegionInfo, in initializeMRT() argument
637 const MachineRegionInfo *RegionInfo, in buildMRT() argument
641 MachineRegion *TopLevelRegion = RegionInfo->getTopLevelRegion(); in buildMRT()
647 MachineBasicBlock *Exit = initializeMRT(MF, RegionInfo, RegionMap); in buildMRT()
651 RegionMap[RegionInfo->getRegionFor(Exit)]->addChild(ExitMRT); in buildMRT()
664 MachineRegion *Region = RegionInfo->getRegionFor(MBB); in buildMRT()

12