Home
last modified time | relevance | path

Searched refs:BlockT (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLoopInfoImpl.h33 template <class BlockT, class LoopT>
34 void LoopBase<BlockT, LoopT>::getExitingBlocks( in getExitingBlocks()
35 SmallVectorImpl<BlockT *> &ExitingBlocks) const { in getExitingBlocks()
38 for (auto *Succ : children<BlockT *>(BB)) in getExitingBlocks()
48 template <class BlockT, class LoopT>
49 BlockT *LoopBase<BlockT, LoopT>::getExitingBlock() const { in getExitingBlock()
51 SmallVector<BlockT *, 8> ExitingBlocks; in getExitingBlock()
61 template <class BlockT, class LoopT>
62 void LoopBase<BlockT, LoopT>::getExitBlocks( in getExitBlocks()
63 SmallVectorImpl<BlockT *> &ExitBlocks) const { in getExitBlocks()
[all …]
DDominanceFrontierImpl.h34 template <class BlockT>
37 using DomTreeNodeT = DomTreeNodeBase<BlockT>;
39 DFCalculateWorkObject(BlockT *B, BlockT *P, const DomTreeNodeT *N, in DFCalculateWorkObject()
43 BlockT *currentBB;
44 BlockT *parentBB;
49 template <class BlockT, bool IsPostDom>
50 void DominanceFrontierBase<BlockT, IsPostDom>::removeBlock(BlockT *BB) { in removeBlock()
57 template <class BlockT, bool IsPostDom>
58 void DominanceFrontierBase<BlockT, IsPostDom>::addToFrontier(iterator I, in addToFrontier()
59 BlockT *Node) { in addToFrontier()
[all …]
DRegionInfo.h88 using BlockT = BasicBlock;
122 using BlockT = typename Tr::BlockT;
136 PointerIntPair<BlockT *, 1, bool> entry;
151 inline RegionNodeBase(RegionT *Parent, BlockT *Entry,
175 inline BlockT *getEntry() const { return entry.getPointer(); }
259 using BlockT = typename Tr::BlockT;
268 using BlockTraits = GraphTraits<BlockT *>;
269 using InvBlockTraits = GraphTraits<Inverse<BlockT *>>;
279 BlockT *exit;
286 using BBNodeMapT = std::map<BlockT *, std::unique_ptr<RegionNodeT>>;
[all …]
DDominanceFrontier.h40 template <class BlockT, bool IsPostDom>
43 using DomSetType = std::set<BlockT *>; // Dom set for a bb
44 using DomSetMapType = std::map<BlockT *, DomSetType>; // Dom set map
47 using BlockTraits = GraphTraits<BlockT *>;
51 SmallVector<BlockT *, IsPostDom ? 4 : 1> Roots;
60 const SmallVectorImpl<BlockT *> &getRoots() const { return Roots; } in getRoots()
62 BlockT *getRoot() const { in getRoot()
84 iterator find(BlockT *B) { return Frontiers.find(B); } in find()
85 const_iterator find(BlockT *B) const { return Frontiers.find(B); } in find()
87 iterator addBasicBlock(BlockT *BB, const DomSetType &frontier) { in addBasicBlock()
[all …]
DRegionInfoImpl.h44 RegionBase<Tr>::RegionBase(BlockT *Entry, BlockT *Exit, in RegionBase()
57 void RegionBase<Tr>::replaceEntry(BlockT *BB) { in replaceEntry()
62 void RegionBase<Tr>::replaceExit(BlockT *BB) { in replaceExit()
68 void RegionBase<Tr>::replaceEntryRecursive(BlockT *NewEntry) { in replaceEntryRecursive()
70 BlockT *OldEntry = getEntry(); in replaceEntryRecursive()
86 void RegionBase<Tr>::replaceExitRecursive(BlockT *NewExit) { in replaceExitRecursive()
88 BlockT *OldExit = getExit(); in replaceExitRecursive()
104 bool RegionBase<Tr>::contains(const BlockT *B) const { in contains()
105 BlockT *BB = const_cast<BlockT *>(B); in contains()
110 BlockT *entry = getEntry(), *exit = getExit(); in contains()
[all …]
DLoopInfo.h74 template <class BlockT, class LoopT> class LoopBase {
80 std::vector<BlockT *> Blocks;
82 SmallPtrSet<const BlockT *, 8> DenseBlockSet;
89 LoopBase(const LoopBase<BlockT, LoopT> &) = delete;
90 const LoopBase<BlockT, LoopT> &
91 operator=(const LoopBase<BlockT, LoopT> &) = delete;
105 BlockT *getHeader() const { return getBlocks().front(); } in getHeader()
125 bool contains(const BlockT *BB) const { in contains()
154 ArrayRef<BlockT *> getBlocks() const { in getBlocks()
158 typedef typename ArrayRef<BlockT *>::const_iterator block_iterator;
[all …]
DRegionIterator.h38 template <class NodeRef, class BlockT, class RegionT>
42 using BlockTraits = GraphTraits<BlockT *>;
82 NodeRef getISucc(BlockT *BB) const { in getISucc()
90 inline BlockT* getRegionSucc() const { in getRegionSucc()
96 inline bool isExit(BlockT* BB) const { in isExit()
101 using Self = RNSuccIterator<NodeRef, BlockT, RegionT>;
133 BlockT *BB = isRegionMode() ? getRegionSucc() : *BItor;
165 template <class NodeRef, class BlockT, class RegionT>
166 class RNSuccIterator<FlatIt<NodeRef>, BlockT, RegionT>
169 using BlockTraits = GraphTraits<BlockT *>;
[all …]
DBlockFrequencyInfoImpl.h544 template <class BlockT> struct TypeMap {};
546 using BlockT = BasicBlock;
553 using BlockT = MachineBasicBlock;
567 template <class BlockT> std::string getBlockName(const BlockT *BB) {
844 using BlockT = typename bfi_detail::TypeMap<BT>::BlockT;
850 using Successor = GraphTraits<const BlockT *>;
851 using Predecessor = GraphTraits<Inverse<const BlockT *>>;
858 std::vector<const BlockT *> RPOT;
859 DenseMap<const BlockT *, BlockNode> Nodes;
861 using rpot_iterator = typename std::vector<const BlockT *>::const_iterator;
[all …]
DBlockFrequencyInfo.h31 template <class BlockT> class BlockFrequencyInfoImpl;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DCFG.h135 template <class InstructionT, class BlockT>
137 : public iterator_facade_base<SuccIterator<InstructionT, BlockT>,
138 std::random_access_iterator_tag, BlockT, int,
139 BlockT *, BlockT *> {
142 using pointer = BlockT *;
143 using reference = BlockT *;
148 using Self = SuccIterator<InstructionT, BlockT>;
201 inline BlockT *operator*() const { return Inst->getSuccessor(Idx); }
204 inline BlockT *operator->() const { return operator*(); }
234 inline BlockT *getSource() { in getSource()
/third_party/skia/src/core/
DSkBlockAllocator.h694 using BlockT = typename std::conditional<Const, const Block, Block>::type;
705 BlockT* operator*() const { return fBlock; }
715 Item(BlockT* block) { this->advance(block); } in Item()
717 void advance(BlockT* block) { in advance()
728 BlockT* fBlock;
730 BlockT* fNext;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DSizeOpts.h66 template<typename AdapterT, typename BlockT, typename BFIT>
67 bool shouldOptimizeForSizeImpl(const BlockT *BB, ProfileSummaryInfo *PSI, in shouldOptimizeForSizeImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineBlockFrequencyInfo.h24 template <class BlockT> class BlockFrequencyInfoImpl;
DMachineRegionInfo.h32 using BlockT = MachineBasicBlock;