Home
last modified time | relevance | path

Searched refs:RPOT (Results 1 – 25 of 45) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DLoopTraversal.cpp30 ReversePostOrderTraversal<MachineBasicBlock *> RPOT(Entry); in traverse() local
33 for (MachineBasicBlock *MBB : RPOT) { in traverse()
67 for (MachineBasicBlock *MBB : RPOT) { in traverse()
DShrinkWrap.cpp463 ReversePostOrderTraversal<MachineBasicBlock *> RPOT(&*MF.begin()); in runOnMachineFunction() local
464 if (containsIrreducibleCFG<MachineBasicBlock *>(RPOT, *MLI)) { in runOnMachineFunction()
DLiveDebugValues.cpp739 ReversePostOrderTraversal<MachineFunction *> RPOT(&MF); in ExtendRanges() local
741 for (auto RI = RPOT.begin(), RE = RPOT.end(); RI != RE; ++RI) { in ExtendRanges()
/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h813 std::vector<const BlockT *> RPOT;
818 rpot_iterator rpot_begin() const { return RPOT.begin(); }
819 rpot_iterator rpot_end() const { return RPOT.end(); }
829 assert(Node.Index < RPOT.size());
830 return RPOT[Node.Index];
966 RPOT.clear();
1000 RPOT.reserve(F->size());
1001 std::copy(po_begin(Entry), po_end(Entry), std::back_inserter(RPOT));
1002 std::reverse(RPOT.begin(), RPOT.end());
1004 assert(RPOT.size() - 1 <= BlockNode::getMaxIndex() &&
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h861 std::vector<const BlockT *> RPOT;
866 rpot_iterator rpot_begin() const { return RPOT.begin(); }
867 rpot_iterator rpot_end() const { return RPOT.end(); }
877 assert(Node.Index < RPOT.size());
878 return RPOT[Node.Index];
1029 RPOT.clear();
1064 RPOT.reserve(F->size());
1065 std::copy(po_begin(Entry), po_end(Entry), std::back_inserter(RPOT));
1066 std::reverse(RPOT.begin(), RPOT.end());
1068 assert(RPOT.size() - 1 <= BlockNode::getMaxIndex() &&
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopInstSimplify.cpp76 LoopBlocksRPO RPOT(&L); in simplifyLoopInst() local
77 RPOT.perform(&LI); in simplifyLoopInst()
81 for (BasicBlock *BB : RPOT) { in simplifyLoopInst()
DStructurizeCFG.cpp329 ReversePostOrderTraversal<Region*> RPOT(ParentRegion); in orderNodes() local
335 for (RegionNode *RN : RPOT) { in orderNodes()
342 for (auto I = RPOT.begin(), E = RPOT.end(); I != E; ++I) { in orderNodes()
DReassociate.cpp166 ReversePostOrderTraversal<Function*> &RPOT) { in BuildRankMap() argument
177 for (BasicBlock *BB : RPOT) { in BuildRankMap()
2256 ReassociatePass::BuildPairMap(ReversePostOrderTraversal<Function *> &RPOT) { in BuildPairMap() argument
2258 for (BasicBlock *BI : RPOT) { in BuildPairMap()
2315 ReversePostOrderTraversal<Function *> RPOT(&F); in run() local
2318 BuildRankMap(F, RPOT); in run()
2329 BuildPairMap(RPOT); in run()
2334 for (BasicBlock *BI : RPOT) { in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DVPlanHCFGTransforms.cpp26 ReversePostOrderTraversal<VPBlockBase *> RPOT(TopRegion->getEntry()); in VPInstructionsToVPRecipes() local
27 for (VPBlockBase *Base : RPOT) { in VPInstructionsToVPRecipes()
DVPlan.cpp192 ReversePostOrderTraversal<VPBlockBase *> RPOT(Entry); in execute() local
196 for (VPBlockBase *Block : RPOT) { in execute()
213 for (VPBlockBase *Block : RPOT) { in execute()
/external/clang/lib/Analysis/
DCallGraph.cpp168 llvm::ReversePostOrderTraversal<const clang::CallGraph*> RPOT(this); in print() local
170 I = RPOT.begin(), E = RPOT.end(); I != E; ++I) { in print()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DReassociate.h94 void BuildRankMap(Function &F, ReversePostOrderTraversal<Function *> &RPOT);
120 void BuildPairMap(ReversePostOrderTraversal<Function *> &RPOT);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DLegalizer.cpp88 ReversePostOrderTraversal<MachineFunction *> RPOT(&MF); in runOnMachineFunction() local
92 for (auto *MBB : RPOT) { in runOnMachineFunction()
/external/llvm/lib/CodeGen/
DExecutionDepsFix.cpp764 ReversePostOrderTraversal<MachineBasicBlock*> RPOT(Entry); in runOnMachineFunction() local
767 MBBI = RPOT.begin(), MBBE = RPOT.end(); MBBI != MBBE; ++MBBI) { in runOnMachineFunction()
791 MBBI = RPOT.begin(), MBBE = RPOT.end(); MBBI != MBBE; ++MBBI) { in runOnMachineFunction()
DLiveDebugValues.cpp454 ReversePostOrderTraversal<MachineFunction *> RPOT(&MF); in ExtendRanges() local
456 for (auto RI = RPOT.begin(), RE = RPOT.end(); RI != RE; ++RI) { in ExtendRanges()
DShrinkWrap.cpp406 ReversePostOrderTraversal<const MachineBasicBlock *> RPOT(Entry); in isIrreducibleCFG() local
408 for (const MachineBasicBlock *MBB : RPOT) { in isIrreducibleCFG()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp659 ReversePostOrderTraversal<Function *> RPOT(&F); in addStateStores() local
669 for (BasicBlock *BB : RPOT) { in addStateStores()
719 for (BasicBlock *BB : RPOT) { in addStateStores()
731 for (BasicBlock *BB : RPOT) { in addStateStores()
760 for (BasicBlock *BB : RPOT) { in addStateStores()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86WinEHState.cpp667 ReversePostOrderTraversal<Function *> RPOT(&F); in addStateStores() local
677 for (BasicBlock *BB : RPOT) { in addStateStores()
727 for (BasicBlock *BB : RPOT) { in addStateStores()
739 for (BasicBlock *BB : RPOT) { in addStateStores()
768 for (BasicBlock *BB : RPOT) { in addStateStores()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DSafepointIRVerifier.cpp134 ReversePostOrderTraversal<const Function *> RPOT(&F); in processFunction() local
135 for (const BasicBlock *BB : RPOT) { in processFunction()
571 ReversePostOrderTraversal<const Function *> RPOT(&Tracker.F); in verifyFunction() local
572 for (const BasicBlock *BB : RPOT) { in verifyFunction()
/external/llvm/include/llvm/Transforms/Scalar/
DReassociate.h68 void BuildRankMap(Function &F, ReversePostOrderTraversal<Function *> &RPOT);
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp474 llvm::ReversePostOrderTraversal<clang::CallGraph*> RPOT(&CG); in HandleDeclsCallGraph() local
476 I = RPOT.begin(), E = RPOT.end(); I != E; ++I) { in HandleDeclsCallGraph()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp518 LoopBlocksRPO RPOT(L); in convertToCTRLoop() local
519 RPOT.perform(LI); in convertToCTRLoop()
520 if (containsIrreducibleCFG<const BasicBlock *>(RPOT, *LI)) in convertToCTRLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIWholeQuadMode.cpp318 ReversePostOrderTraversal<MachineFunction *> RPOT(&MF); in scanInstructions() local
319 for (auto BI = RPOT.begin(), BE = RPOT.end(); BI != BE; ++BI) { in scanInstructions()
DSIInsertWaitcnts.cpp1878 ReversePostOrderTraversal<MachineFunction *> RPOT(&MF); in runOnMachineFunction() local
1881 I = RPOT.begin(), in runOnMachineFunction()
1882 E = RPOT.end(), J = RPOT.begin(); in runOnMachineFunction()
1933 X = RPOT.begin(), in runOnMachineFunction()
1934 Y = RPOT.end(); in runOnMachineFunction()
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp302 ReversePostOrderTraversal<Region*> RPOT(ParentRegion); in orderNodes() local
303 TempOrder.append(RPOT.begin(), RPOT.end()); in orderNodes()

12