Home
last modified time | relevance | path

Searched refs:BlockNode (Results 1 – 8 of 8) sorted by relevance

/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h172 struct BlockNode {
176 bool operator==(const BlockNode &X) const { return Index == X.Index; }
177 bool operator!=(const BlockNode &X) const { return Index != X.Index; }
178 bool operator<=(const BlockNode &X) const { return Index <= X.Index; }
179 bool operator>=(const BlockNode &X) const { return Index >= X.Index; }
180 bool operator<(const BlockNode &X) const { return Index < X.Index; }
181 bool operator>(const BlockNode &X) const { return Index > X.Index; }
183 BlockNode() : Index(UINT32_MAX) {}
184 BlockNode(IndexType Index) : Index(Index) {}
201 typedef SmallVector<std::pair<BlockNode, BlockMass>, 4> ExitMap;
[all …]
/external/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp48 typedef BlockFrequencyInfoImplBase::BlockNode BlockNode; typedef
103 void Distribution::add(const BlockNode &Node, uint64_t Amount, in add()
159 typedef DenseMap<BlockNode::IndexType, Weight> HashTable; in combineWeightsByHashing()
268 const BlockNode &Pred, in addToDist()
269 const BlockNode &Succ, in addToDist()
274 auto isLoopHeader = [&OuterLoop](const BlockNode &Node) { in addToDist()
278 BlockNode Resolved = Working[Succ.Index].getResolvedNode(); in addToDist()
379 for (const BlockNode &M : Loop.Nodes) { in packageLoop()
389 const DitheringDistributer &D, const BlockNode &T, in debugAssign()
400 void BlockFrequencyInfoImplBase::distributeMass(const BlockNode &Source, in distributeMass()
[all …]
/external/llvm/lib/Target/Hexagon/
DRDFGraph.h580 struct BlockNode : public CodeNode { struct
591 NodeAddr<BlockNode*> findBlock(const MachineBasicBlock *BB, argument
593 NodeAddr<BlockNode*> getEntryBlock(const DataFlowGraph &G);
746 RegisterRef RR, NodeAddr<BlockNode*> PredB,
752 NodeAddr<PhiNode*> newPhi(NodeAddr<BlockNode*> Owner);
753 NodeAddr<StmtNode*> newStmt(NodeAddr<BlockNode*> Owner,
755 NodeAddr<BlockNode*> newBlock(NodeAddr<FuncNode*> Owner,
766 void buildStmt(NodeAddr<BlockNode*> BA, MachineInstr &In);
767 void buildBlockRefs(NodeAddr<BlockNode*> BA, BlockRefsMap &RefM);
769 NodeAddr<BlockNode*> BA);
[all …]
DRDFGraph.cpp236 const Print<NodeAddr<BlockNode*>> &P) { in operator <<()
274 OS << PrintNode<BlockNode*>(I, P.G) << '\n'; in operator <<()
516 void BlockNode::addPhi(NodeAddr<PhiNode*> PA, const DataFlowGraph &G) { in addPhi()
546 NodeAddr<BlockNode*> FuncNode::findBlock(const MachineBasicBlock *BB, in findBlock()
549 return NodeAddr<BlockNode*>(NA).Addr->getCode() == BB; in findBlock()
554 return NodeAddr<BlockNode*>(); in findBlock()
558 NodeAddr<BlockNode*> FuncNode::getEntryBlock(const DataFlowGraph &G) { in getEntryBlock()
878 RegisterRef RR, NodeAddr<BlockNode*> PredB, uint16_t Flags) { in newPhiUse()
901 NodeAddr<PhiNode*> DataFlowGraph::newPhi(NodeAddr<BlockNode*> Owner) { in newPhi()
907 NodeAddr<StmtNode*> DataFlowGraph::newStmt(NodeAddr<BlockNode*> Owner, in newStmt()
[all …]
DRDFDeadCode.cpp117 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) in collect()
146 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) { in collect()
221 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); in erase()
DRDFLiveness.cpp142 NodeAddr<BlockNode*> BA = PA.Addr->getOwner(DFG); in getAllReachingDefs()
330 for (NodeAddr<BlockNode*> BA : Blocks) { in computePhiInfo()
530 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) { in computeLiveIns()
568 for (NodeAddr<BlockNode*> BA : Blocks) { in computeLiveIns()
586 for (NodeAddr<BlockNode*> BA : Blocks) { in computeLiveIns()
601 auto PrA = DFG.addr<BlockNode*>(UA.Addr->getPredecessor()); in computeLiveIns()
843 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); in traverse()
873 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); in traverse()
DHexagonOptAddrMode.cpp77 bool processBlock(NodeAddr<BlockNode *> BA);
506 bool HexagonOptAddrMode::processBlock(NodeAddr<BlockNode *> BA) { in processBlock()
641 for (NodeAddr<BlockNode *> BA : FA.Addr->members(*DFG)) in runOnMachineFunction()
DHexagonRDFOpt.cpp147 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) { in run()