Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlanPredicator.cpp189 ReversePostOrderTraversal<VPBlockBase *> RPOT(EntryBlock); in predicateRegionRec() local
194 for (VPBlockBase *Block : make_range(RPOT.begin(), RPOT.end())) { in predicateRegionRec()
208 ReversePostOrderTraversal<VPBlockBase *> RPOT(Region->getEntry()); in linearizeRegionRec() local
211 for (VPBlockBase *CurrBlock : make_range(RPOT.begin(), RPOT.end())) { in linearizeRegionRec()
DVPlanTransforms.cpp25 ReversePostOrderTraversal<VPBlockBase *> RPOT(TopRegion->getEntry()); in VPInstructionsToVPRecipes() local
30 for (VPBlockBase *Base : RPOT) { in VPInstructionsToVPRecipes()
38 for (VPBlockBase *Base : RPOT) { in VPInstructionsToVPRecipes()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DVPlanPredicator.cpp189 ReversePostOrderTraversal<VPBlockBase *> RPOT(EntryBlock); in predicateRegionRec() local
194 for (VPBlockBase *Block : make_range(RPOT.begin(), RPOT.end())) { in predicateRegionRec()
208 ReversePostOrderTraversal<VPBlockBase *> RPOT(Region->getEntry()); in linearizeRegionRec() local
211 for (VPBlockBase *CurrBlock : make_range(RPOT.begin(), RPOT.end())) { in linearizeRegionRec()
DVPlanTransforms.cpp25 ReversePostOrderTraversal<VPBlockBase *> RPOT(TopRegion->getEntry()); in VPInstructionsToVPRecipes() local
30 for (VPBlockBase *Base : RPOT) { in VPInstructionsToVPRecipes()
39 for (VPBlockBase *Base : RPOT) { in VPInstructionsToVPRecipes()
DVPlan.cpp395 ReversePostOrderTraversal<VPBlockBase *> RPOT(Entry); in execute() local
399 for (VPBlockBase *Block : RPOT) { in execute()
432 for (VPBlockBase *Block : RPOT) { in execute()
1080 ReversePostOrderTraversal<VPBlockBase *> RPOT(Region->getEntry()); in visitRegion() local
1081 for (VPBlockBase *Base : RPOT) { in visitRegion()
1143 ReversePostOrderTraversal<const VPBlockBase *> RPOT(Region->getEntry()); in assignSlots() local
1144 for (const VPBlockBase *Block : RPOT) in assignSlots()
1172 ReversePostOrderTraversal<const VPBlockBase *> RPOT(Plan.getEntry()); in assignSlots() local
1173 for (const VPBlockBase *Block : RPOT) in assignSlots()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLoopTraversal.cpp29 ReversePostOrderTraversal<MachineBasicBlock *> RPOT(Entry); in traverse() local
32 for (MachineBasicBlock *MBB : RPOT) { in traverse()
66 for (MachineBasicBlock *MBB : RPOT) { in traverse()
DMIRNamerPass.cpp61 ReversePostOrderTraversal<MachineBasicBlock *> RPOT(&*MF.begin()); in runOnMachineFunction() local
62 for (auto &MBB : RPOT) in runOnMachineFunction()
/external/llvm-project/llvm/lib/CodeGen/
DLoopTraversal.cpp29 ReversePostOrderTraversal<MachineBasicBlock *> RPOT(Entry); in traverse() local
32 for (MachineBasicBlock *MBB : RPOT) { in traverse()
66 for (MachineBasicBlock *MBB : RPOT) { in traverse()
DMIRNamerPass.cpp61 ReversePostOrderTraversal<MachineBasicBlock *> RPOT(&*MF.begin()); in runOnMachineFunction() local
62 for (auto &MBB : RPOT) in runOnMachineFunction()
/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-10.0/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h858 std::vector<const BlockT *> RPOT;
863 rpot_iterator rpot_begin() const { return RPOT.begin(); }
864 rpot_iterator rpot_end() const { return RPOT.end(); }
874 assert(Node.Index < RPOT.size());
875 return RPOT[Node.Index];
1030 RPOT.clear();
1065 RPOT.reserve(F->size());
1066 std::copy(po_begin(Entry), po_end(Entry), std::back_inserter(RPOT));
1067 std::reverse(RPOT.begin(), RPOT.end());
1069 assert(RPOT.size() - 1 <= BlockNode::getMaxIndex() &&
[all …]
/external/llvm-project/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h870 std::vector<const BlockT *> RPOT;
875 rpot_iterator rpot_begin() const { return RPOT.begin(); }
876 rpot_iterator rpot_end() const { return RPOT.end(); }
887 assert(Node.Index < RPOT.size());
888 return RPOT[Node.Index];
1082 RPOT.clear();
1126 RPOT.reserve(F->size());
1127 std::copy(po_begin(Entry), po_end(Entry), std::back_inserter(RPOT));
1128 std::reverse(RPOT.begin(), RPOT.end());
1130 assert(RPOT.size() - 1 <= BlockNode::getMaxIndex() &&
[all …]
/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-10.0/llvm/lib/Transforms/Scalar/
DLoopInstSimplify.cpp78 LoopBlocksRPO RPOT(&L); in simplifyLoopInst() local
79 RPOT.perform(&LI); in simplifyLoopInst()
86 for (BasicBlock *BB : RPOT) { in simplifyLoopInst()
DLowerConstantIntrinsics.cpp91 ReversePostOrderTraversal<Function *> RPOT(&F); in lowerConstantIntrinsics() local
92 for (BasicBlock *BB : RPOT) { in lowerConstantIntrinsics()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopInstSimplify.cpp78 LoopBlocksRPO RPOT(&L); in simplifyLoopInst() local
79 RPOT.perform(&LI); in simplifyLoopInst()
86 for (BasicBlock *BB : RPOT) { in simplifyLoopInst()
DLowerConstantIntrinsics.cpp93 ReversePostOrderTraversal<Function *> RPOT(&F); in lowerConstantIntrinsics() local
94 for (BasicBlock *BB : RPOT) { in lowerConstantIntrinsics()
/external/llvm-project/clang/lib/Analysis/
DCallGraph.cpp223 llvm::ReversePostOrderTraversal<const CallGraph *> RPOT(this); in print() local
225 I = RPOT.begin(), E = RPOT.end(); I != E; ++I) { in print()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DReassociate.h100 void BuildRankMap(Function &F, ReversePostOrderTraversal<Function *> &RPOT);
128 void BuildPairMap(ReversePostOrderTraversal<Function *> &RPOT);
/external/llvm-project/llvm/include/llvm/Transforms/Scalar/
DReassociate.h100 void BuildRankMap(Function &F, ReversePostOrderTraversal<Function *> &RPOT);
128 void BuildPairMap(ReversePostOrderTraversal<Function *> &RPOT);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIPreAllocateWWMRegs.cpp186 ReversePostOrderTraversal<MachineFunction*> RPOT(&MF); in runOnMachineFunction() local
188 for (MachineBasicBlock *MBB : RPOT) { in runOnMachineFunction()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIPreAllocateWWMRegs.cpp185 ReversePostOrderTraversal<MachineFunction*> RPOT(&MF); in runOnMachineFunction() local
187 for (MachineBasicBlock *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()
/external/llvm-project/llvm/lib/Target/AArch64/
DSVEIntrinsicOpts.cpp227 ReversePostOrderTraversal<BasicBlock *> RPOT(Root); in optimizeFunctions() local
228 for (auto *BB : RPOT) in optimizeFunctions()
/external/llvm-project/llvm/lib/Target/X86/
DX86WinEHState.cpp652 ReversePostOrderTraversal<Function *> RPOT(&F); in addStateStores() local
662 for (BasicBlock *BB : RPOT) { in addStateStores()
712 for (BasicBlock *BB : RPOT) { in addStateStores()
724 for (BasicBlock *BB : RPOT) { in addStateStores()
753 for (BasicBlock *BB : RPOT) { in addStateStores()

1234