Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Analysis/
DLoopInfoImpl.h33 template<class BlockT, class LoopT>
34 void LoopBase<BlockT, LoopT>::
35 getExitingBlocks(SmallVectorImpl<BlockT *> &ExitingBlocks) const { in getExitingBlocks()
36 typedef GraphTraits<BlockT*> BlockTraits; in getExitingBlocks()
50 template<class BlockT, class LoopT>
51 BlockT *LoopBase<BlockT, LoopT>::getExitingBlock() const { in getExitingBlock()
52 SmallVector<BlockT*, 8> ExitingBlocks; in getExitingBlock()
62 template<class BlockT, class LoopT>
63 void LoopBase<BlockT, LoopT>::
64 getExitBlocks(SmallVectorImpl<BlockT*> &ExitBlocks) const { in getExitBlocks()
[all …]
DDominanceFrontierImpl.h28 template <class BlockT>
31 typedef DomTreeNodeBase<BlockT> DomTreeNodeT;
33 DFCalculateWorkObject(BlockT *B, BlockT *P, const DomTreeNodeT *N, in DFCalculateWorkObject()
36 BlockT *currentBB;
37 BlockT *parentBB;
42 template <class BlockT>
43 void DominanceFrontierBase<BlockT>::removeBlock(BlockT *BB) { in removeBlock()
50 template <class BlockT>
51 void DominanceFrontierBase<BlockT>::addToFrontier(iterator I, in addToFrontier()
52 BlockT *Node) { in addToFrontier()
[all …]
DRegionInfo.h81 typedef BasicBlock BlockT;
115 typedef typename Tr::BlockT BlockT;
132 PointerIntPair<BlockT *, 1, bool> entry;
147 inline RegionNodeBase(RegionT *Parent, BlockT *Entry,
168 inline BlockT *getEntry() const { return entry.getPointer(); }
250 typedef typename Tr::BlockT BlockT;
259 typedef GraphTraits<BlockT *> BlockTraits;
260 typedef GraphTraits<Inverse<BlockT *>> InvBlockTraits;
274 BlockT *exit;
281 typedef std::map<BlockT *, RegionNodeT *> BBNodeMapT;
[all …]
DDominanceFrontier.h32 template <class BlockT>
35 typedef std::set<BlockT *> DomSetType; // Dom set for a bb
36 typedef std::map<BlockT *, DomSetType> DomSetMapType; // Dom set map
39 typedef GraphTraits<BlockT *> BlockTraits;
42 std::vector<BlockT *> Roots;
52 inline const std::vector<BlockT *> &getRoots() const { in getRoots()
56 BlockT *getRoot() const { in getRoot()
78 iterator find(BlockT *B) { return Frontiers.find(B); } in find()
79 const_iterator find(BlockT *B) const { return Frontiers.find(B); } in find()
81 iterator addBasicBlock(BlockT *BB, const DomSetType &frontier) { in addBasicBlock()
[all …]
DLoopInfo.h67 template<class BlockT, class LoopT>
74 std::vector<BlockT*> Blocks;
76 SmallPtrSet<const BlockT*, 8> DenseBlockSet;
81 LoopBase(const LoopBase<BlockT, LoopT> &) = delete;
82 const LoopBase<BlockT, LoopT>&
83 operator=(const LoopBase<BlockT, LoopT> &) = delete;
102 BlockT *getHeader() const { return Blocks.front(); } in getHeader()
116 bool contains(const BlockT *BB) const { in contains()
139 const std::vector<BlockT*> &getBlocks() const { return Blocks; } in getBlocks()
140 typedef typename std::vector<BlockT*>::const_iterator block_iterator;
[all …]
DRegionInfoImpl.h34 RegionBase<Tr>::RegionBase(BlockT *Entry, BlockT *Exit, in RegionBase()
53 void RegionBase<Tr>::replaceEntry(BlockT *BB) { in replaceEntry()
58 void RegionBase<Tr>::replaceExit(BlockT *BB) { in replaceExit()
64 void RegionBase<Tr>::replaceEntryRecursive(BlockT *NewEntry) { in replaceEntryRecursive()
66 BlockT *OldEntry = getEntry(); in replaceEntryRecursive()
83 void RegionBase<Tr>::replaceExitRecursive(BlockT *NewExit) { in replaceExitRecursive()
85 BlockT *OldExit = getExit(); in replaceExitRecursive()
102 bool RegionBase<Tr>::contains(const BlockT *B) const { in contains()
103 BlockT *BB = const_cast<BlockT *>(B); in contains()
108 BlockT *entry = getEntry(), *exit = getExit(); in contains()
[all …]
DRegionIterator.h33 template<class NodeType, class BlockT, class RegionT>
38 typedef GraphTraits<BlockT*> BlockTraits;
72 NodeType* getISucc(BlockT* BB) const { in getISucc()
80 inline BlockT* getRegionSucc() const { in getRegionSucc()
86 inline bool isExit(BlockT* BB) const { in isExit()
90 typedef RNSuccIterator<NodeType, BlockT, RegionT> Self;
124 BlockT *BB = isRegionMode() ? getRegionSucc() : *BItor;
157 template<class NodeType, class BlockT, class RegionT>
158 class RNSuccIterator<FlatIt<NodeType>, BlockT, RegionT>
161 typedef GraphTraits<BlockT*> BlockTraits;
[all …]
DBlockFrequencyInfoImpl.h504 template <class BlockT> struct TypeMap {};
506 typedef BasicBlock BlockT;
513 typedef MachineBasicBlock BlockT;
527 template <class BlockT> std::string getBlockName(const BlockT *BB) {
795 typedef typename bfi_detail::TypeMap<BT>::BlockT BlockT;
805 typedef GraphTraits<const BlockT *> Successor;
806 typedef GraphTraits<Inverse<const BlockT *>> Predecessor;
813 std::vector<const BlockT *> RPOT;
814 DenseMap<const BlockT *, BlockNode> Nodes;
816 typedef typename std::vector<const BlockT *>::const_iterator rpot_iterator;
[all …]
DBlockFrequencyInfo.h27 template <class BlockT> class BlockFrequencyInfoImpl;
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DBlockFrequencyImpl.h41 template<class BlockT, class FunctionT, class BlockProbInfoT>
44 DenseMap<BlockT *, BlockFrequency> Freqs;
50 typedef GraphTraits< Inverse<BlockT *> > GT;
68 void setBlockFreq(BlockT *BB, BlockFrequency Freq) { in setBlockFreq()
75 BlockFrequency getEdgeFreq(BlockT *Src, BlockT *Dst) const { in getEdgeFreq()
82 void incBlockFreq(BlockT *BB, BlockFrequency Freq) { in incBlockFreq()
90 void divBlockFreq(BlockT *BB, BranchProbability Prob) { in divBlockFreq()
106 std::vector<BlockT *> POT;
109 DenseMap<BlockT *, unsigned> RPO;
112 DenseMap<BlockT *, uint32_t> CycleProb;
[all …]
DLoopInfo.h67 template<class BlockT, class LoopT>
74 std::vector<BlockT*> Blocks;
77 LoopBase(const LoopBase<BlockT, LoopT> &);
79 const LoopBase<BlockT, LoopT>&operator=(const LoopBase<BlockT, LoopT> &);
98 BlockT *getHeader() const { return Blocks.front(); } in getHeader()
112 bool contains(const BlockT *BB) const { in contains()
133 const std::vector<BlockT*> &getBlocks() const { return Blocks; } in getBlocks()
134 typedef typename std::vector<BlockT*>::const_iterator block_iterator;
146 bool isLoopExiting(const BlockT *BB) const { in isLoopExiting()
147 typedef GraphTraits<BlockT*> BlockTraits; in isLoopExiting()
[all …]
DBlockFrequencyInfo.h24 template<class BlockT, class FunctionT, class BranchProbInfoT>
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILCFGStructurizer.cpp222 template <class BlockT, class InstrT, class RegiT>
225 BlockT *landBlk;
276 typedef typename FuncGTraits::NodeType BlockT; typedef in llvmCFGStruct::CFGStructurizer
277 typedef GraphTraits<BlockT *> BlockGTraits;
278 typedef GraphTraits<Inverse<BlockT *> > InvBlockGTraits;
280 typedef typename BlockT::iterator InstrIterator;
284 typedef std::map<BlockT *, BlockInfo *> BlockInfoMap;
288 typedef LandInformation<BlockT, InstrT, RegiT> LoopLandInfo;
291 typedef SmallVector<BlockT *, 32> BlockTSmallerVector;
304 void reversePredicateSetter(typename BlockT::iterator);
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineBlockFrequencyInfo.h24 template<class BlockT, class FunctionT, class BranchProbInfoT>
/external/llvm/include/llvm/CodeGen/
DMachineBlockFrequencyInfo.h26 template <class BlockT> class BlockFrequencyInfoImpl;
DMachineRegionInfo.h33 typedef MachineBasicBlock BlockT;
/external/v8/src/parsing/
Dparser-base.h185 typedef typename Types::Block BlockT; typedef
643 BlockT init_block;
644 BlockT inner_block;
1201 BlockT ParseVariableDeclarations(VariableDeclarationContext var_context,
1242 BlockT ParseBlock(ZoneList<const AstRawString*>* labels, bool* ok);
3511 typename ParserBase<Impl>::BlockT ParserBase<Impl>::ParseVariableDeclarations( in ParseVariableDeclarations()
3527 BlockT init_block = impl()->NullBlock(); in ParseVariableDeclarations()
4130 BlockT block = factory()->NewBlock(nullptr, 8, true, kNoSourcePosition); in ParseAsyncFunctionBody()
4346 BlockT block = ParseBlock(nullptr, CHECK_OK); in ParseDoExpression()
4541 BlockT result = in ParseStatement()
[all …]