Home
last modified time | relevance | path

Searched refs:BlockNode (Results 1 – 19 of 19) 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h187 struct BlockNode {
192 BlockNode() = default;
193 BlockNode(IndexType Index) : Index(Index) {}
195 bool operator==(const BlockNode &X) const { return Index == X.Index; }
196 bool operator!=(const BlockNode &X) const { return Index != X.Index; }
197 bool operator<=(const BlockNode &X) const { return Index <= X.Index; }
198 bool operator>=(const BlockNode &X) const { return Index >= X.Index; }
199 bool operator<(const BlockNode &X) const { return Index < X.Index; }
200 bool operator>(const BlockNode &X) const { return Index > X.Index; }
220 using ExitMap = SmallVector<std::pair<BlockNode, BlockMass>, 4>;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp69 using BlockNode = BlockFrequencyInfoImplBase::BlockNode; typedef
124 void Distribution::add(const BlockNode &Node, uint64_t Amount, in add()
180 using HashTable = DenseMap<BlockNode::IndexType, Weight>; in combineWeightsByHashing()
293 const BlockNode &Pred, in addToDist()
294 const BlockNode &Succ, in addToDist()
299 auto isLoopHeader = [&OuterLoop](const BlockNode &Node) { in addToDist()
303 BlockNode Resolved = Working[Succ.Index].getResolvedNode(); in addToDist()
405 for (const BlockNode &M : Loop.Nodes) { in packageLoop()
415 const DitheringDistributer &D, const BlockNode &T, in debugAssign()
426 void BlockFrequencyInfoImplBase::distributeMass(const BlockNode &Source, in distributeMass()
[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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DRDFGraph.h627 struct BlockNode : public CodeNode { struct
640 NodeAddr<BlockNode*> findBlock(const MachineBasicBlock *BB, argument
642 NodeAddr<BlockNode*> getEntryBlock(const DataFlowGraph &G);
769 NodeAddr<BlockNode*> findBlock(MachineBasicBlock *BB) const { in findBlock()
828 RegisterRef RR, NodeAddr<BlockNode*> PredB,
834 NodeAddr<PhiNode*> newPhi(NodeAddr<BlockNode*> Owner);
835 NodeAddr<StmtNode*> newStmt(NodeAddr<BlockNode*> Owner,
837 NodeAddr<BlockNode*> newBlock(NodeAddr<FuncNode*> Owner,
848 void buildStmt(NodeAddr<BlockNode*> BA, MachineInstr &In);
849 void recordDefsForDF(BlockRefsMap &PhiM, NodeAddr<BlockNode*> BA);
[all …]
DRDFGraph.cpp280 const Print<NodeAddr<BlockNode*>> &P) { in operator <<()
318 OS << PrintNode<BlockNode*>(I, P.G) << '\n'; in operator <<()
565 void BlockNode::addPhi(NodeAddr<PhiNode*> PA, const DataFlowGraph &G) { in addPhi()
595 NodeAddr<BlockNode*> FuncNode::findBlock(const MachineBasicBlock *BB, in findBlock()
598 return NodeAddr<BlockNode*>(NA).Addr->getCode() == BB; in findBlock()
603 return NodeAddr<BlockNode*>(); in findBlock()
607 NodeAddr<BlockNode*> FuncNode::getEntryBlock(const DataFlowGraph &G) { in getEntryBlock()
833 RegisterRef RR, NodeAddr<BlockNode*> PredB, uint16_t Flags) { in newPhiUse()
856 NodeAddr<PhiNode*> DataFlowGraph::newPhi(NodeAddr<BlockNode*> Owner) { in newPhi()
862 NodeAddr<StmtNode*> DataFlowGraph::newStmt(NodeAddr<BlockNode*> Owner, in newStmt()
[all …]
DRDFDeadCode.cpp128 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) in collect()
157 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) { in collect()
232 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); in erase()
DRDFLiveness.cpp176 NodeAddr<BlockNode*> BA = PA.Addr->getOwner(DFG); in getAllReachingDefs()
326 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); in getNearestAliasedRef()
365 BA = NodeAddr<BlockNode*>(); in getNearestAliasedRef()
433 for (NodeAddr<BlockNode*> BA : Blocks) { in computePhiInfo()
688 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) { in computeLiveIns()
726 for (NodeAddr<BlockNode*> BA : Blocks) { in computeLiveIns()
744 for (NodeAddr<BlockNode*> BA : Blocks) { in computeLiveIns()
770 auto PrA = DFG.addr<BlockNode*>(PUA.Addr->getPredecessor()); in computeLiveIns()
1004 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); in traverse()
1038 NodeAddr<BlockNode*> BTA = ITA.Addr->getOwner(DFG); in traverse()
DHexagonOptAddrMode.cpp91 bool processBlock(NodeAddr<BlockNode *> BA);
684 bool HexagonOptAddrMode::processBlock(NodeAddr<BlockNode *> BA) { in processBlock()
801 for (NodeAddr<BlockNode *> BA : FA.Addr->members(*DFG)) in runOnMachineFunction()
DRDFCopy.cpp71 NodeAddr<BlockNode*> BA = DFG.findBlock(B); in scanBlock()
DHexagonRDFOpt.cpp163 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) { in run()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp1070 using BlockNode = BlockFrequencyInfoImplBase::BlockNode; in calculateNewCallTerminatorWeights() typedef
1081 BlockNode ExitNode(i); in calculateNewCallTerminatorWeights()
/external/javaparser/
Dchangelog.md617 * Added the methods getEndLine and getEndColumn to the Node class (works only in the BlockNode)