/external/llvm/include/llvm/IR/ |
D | CFG.h | 91 inline pred_iterator pred_begin(BasicBlock *BB) { return pred_iterator(BB); } in pred_begin() 92 inline const_pred_iterator pred_begin(const BasicBlock *BB) { in pred_begin() 95 inline pred_iterator pred_end(BasicBlock *BB) { return pred_iterator(BB, true);} in pred_end() 96 inline const_pred_iterator pred_end(const BasicBlock *BB) { in pred_end() 99 inline bool pred_empty(const BasicBlock *BB) { in pred_empty() 102 inline pred_range predecessors(BasicBlock *BB) { in predecessors() 105 inline pred_const_range predecessors(const BasicBlock *BB) { in predecessors() 120 inline succ_iterator succ_begin(BasicBlock *BB) { in succ_begin() 123 inline succ_const_iterator succ_begin(const BasicBlock *BB) { in succ_begin() 126 inline succ_iterator succ_end(BasicBlock *BB) { in succ_end() [all …]
|
D | PredIteratorCache.h | 43 BasicBlock **GetPreds(BasicBlock *BB) { in GetPreds() 58 unsigned GetNumPreds(BasicBlock *BB) { in GetNumPreds() 64 size_t size(BasicBlock *BB) { return GetNumPreds(BB); } in size() 65 ArrayRef<BasicBlock *> get(BasicBlock *BB) { in get()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | LoopIterator.h | 85 bool hasPreorder(BasicBlock *BB) const { return PostNumbers.count(BB); } in hasPreorder() 88 bool hasPostorder(BasicBlock *BB) const { in hasPostorder() 94 unsigned getPostorder(BasicBlock *BB) const { in getPostorder() 102 unsigned getRPO(BasicBlock *BB) const { in getRPO() 144 bool visitPreorder(BasicBlock *BB) { in visitPreorder() 153 void finishPostorder(BasicBlock *BB) { in finishPostorder() 165 bool count(BasicBlock *BB) const { in count() 172 bool insert(BasicBlock *BB) { in insert()
|
D | BlockFrequencyImpl.h | 54 std::string getBlockName(BasicBlock *BB) const { in getBlockName() 62 if (const BasicBlock *BB = MBB->getBasicBlock()) in getBlockName() local 68 void setBlockFreq(BlockT *BB, BlockFrequency Freq) { in setBlockFreq() 82 void incBlockFreq(BlockT *BB, BlockFrequency Freq) { in incBlockFreq() 90 void divBlockFreq(BlockT *BB, BranchProbability Prob) { in divBlockFreq() 124 rpot_iterator rpot_at(BlockT *BB) { in rpot_at() 137 bool isReachable(BlockT *BB) { in isReachable() 155 BlockT *getSingleBlockPred(BlockT *BB) { in getSingleBlockPred() 172 void doBlock(BlockT *BB, BlockT *LoopHead, in doBlock() 228 BlockT *BB = *I; in doLoop() local [all …]
|
D | LoopInfo.h | 112 bool contains(const BlockT *BB) const { in contains() 146 bool isLoopExiting(const BlockT *BB) const { in isLoopExiting() 388 void addBlockEntry(BlockT *BB) { in addBlockEntry() 395 void moveToHeader(BlockT *BB) { in moveToHeader() 410 void removeBlockFromLoop(BlockT *BB) { in removeBlockFromLoop() 426 BlockT *BB = *I; in verifyLoop() local 503 BlockT *BB = getBlocks()[i]; variable 517 explicit LoopBase(BlockT *BB) : ParentLoop(0) { in LoopBase() 631 explicit Loop(BasicBlock *BB) : LoopBase<BasicBlock, Loop>(BB) {} in Loop() 673 LoopT *getLoopFor(const BlockT *BB) const { in getLoopFor() [all …]
|
D | RegionIterator.h | 69 RegionNode* getISucc(BasicBlock* BB) const { in getISucc() 83 inline bool isExit(BasicBlock* BB) const { in isExit() 122 BasicBlock* BB = isRegionMode() ? getRegionSucc() : *BItor; variable 209 BasicBlock* BB = *Itor; variable
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | CFG.h | 80 inline pred_iterator pred_begin(BasicBlock *BB) { return pred_iterator(BB); } in pred_begin() 81 inline const_pred_iterator pred_begin(const BasicBlock *BB) { in pred_begin() 84 inline pred_iterator pred_end(BasicBlock *BB) { return pred_iterator(BB, true);} in pred_end() 85 inline const_pred_iterator pred_end(const BasicBlock *BB) { in pred_end() 220 inline succ_iterator succ_begin(BasicBlock *BB) { in succ_begin() 223 inline succ_const_iterator succ_begin(const BasicBlock *BB) { in succ_begin() 226 inline succ_iterator succ_end(BasicBlock *BB) { in succ_end() 229 inline succ_const_iterator succ_end(const BasicBlock *BB) { in succ_end()
|
D | PredIteratorCache.h | 42 BasicBlock **GetPreds(BasicBlock *BB) { in GetPreds() 56 unsigned GetNumPreds(BasicBlock *BB) { in GetNumPreds()
|
/external/llvm/include/llvm/Analysis/ |
D | LoopIterator.h | 84 bool hasPreorder(BasicBlock *BB) const { return PostNumbers.count(BB); } in hasPreorder() 87 bool hasPostorder(BasicBlock *BB) const { in hasPostorder() 93 unsigned getPostorder(BasicBlock *BB) const { in getPostorder() 101 unsigned getRPO(BasicBlock *BB) const { in getRPO() 153 bool visitPreorder(BasicBlock *BB) { in visitPreorder() 162 void finishPostorder(BasicBlock *BB) { in finishPostorder() 175 finishPostorder(BasicBlock *BB) { in finishPostorder()
|
D | RegionInfoImpl.h | 53 void RegionBase<Tr>::replaceEntry(BlockT *BB) { in replaceEntry() 58 void RegionBase<Tr>::replaceExit(BlockT *BB) { in replaceExit() 103 BlockT *BB = const_cast<BlockT *>(B); in contains() local 154 BlockT *BB) const { in outermostLoopInRegion() 236 void RegionBase<Tr>::verifyBBInRegion(BlockT *BB) const { in verifyBBInRegion() 262 void RegionBase<Tr>::verifyWalk(BlockT *BB, std::set<BlockT *> *visited) const { in verifyWalk() 323 typename Tr::RegionT *RegionBase<Tr>::getSubRegionNode(BlockT *BB) const { in getSubRegionNode() 343 typename Tr::RegionNodeT *RegionBase<Tr>::getBBNode(BlockT *BB) const { in getBBNode() 358 typename Tr::RegionNodeT *RegionBase<Tr>::getNode(BlockT *BB) const { in getNode() 394 BlockT *BB = (*I)->template getNodeAs<BlockT>(); in addSubRegion() local [all …]
|
D | LoopInfo.h | 116 bool contains(const BlockT *BB) const { in contains() 160 bool isLoopExiting(const BlockT *BB) const { in isLoopExiting() 286 void addBlockEntry(BlockT *BB) { in addBlockEntry() 303 void moveToHeader(BlockT *BB) { in moveToHeader() 318 void removeBlockFromLoop(BlockT *BB) { in removeBlockFromLoop() 336 explicit LoopBase(BlockT *BB) : ParentLoop(nullptr) { in LoopBase() 471 explicit Loop(BasicBlock *BB) : LoopBase<BasicBlock, Loop>(BB) {} in Loop() 536 LoopT *getLoopFor(const BlockT *BB) const { return BBMap.lookup(BB); } in getLoopFor() 545 unsigned getLoopDepth(const BlockT *BB) const { in getLoopDepth() 551 bool isLoopHeader(const BlockT *BB) const { in isLoopHeader() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineLoopInfo.h | 87 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor() 99 inline unsigned getLoopDepth(const MachineBasicBlock *BB) const { in getLoopDepth() 104 inline bool isLoopHeader(MachineBasicBlock *BB) const { in isLoopHeader() 124 inline void changeLoopFor(MachineBasicBlock *BB, MachineLoop *L) { in changeLoopFor() 143 void removeBlock(MachineBasicBlock *BB) { in removeBlock()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineLoopInfo.h | 92 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor() 102 inline unsigned getLoopDepth(const MachineBasicBlock *BB) const { in getLoopDepth() 107 inline bool isLoopHeader(const MachineBasicBlock *BB) const { in isLoopHeader() 125 inline void changeLoopFor(MachineBasicBlock *BB, MachineLoop *L) { in changeLoopFor() 143 void removeBlock(MachineBasicBlock *BB) { in removeBlock()
|
D | MachineInstrBuilder.h | 258 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, in BuildMI() 274 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, in BuildMI() 284 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, MachineInstr &I, in BuildMI() 294 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, MachineInstr *I, in BuildMI() 303 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, in BuildMI() 313 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, in BuildMI() 323 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, MachineInstr &I, in BuildMI() 333 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, MachineInstr *I, in BuildMI() 341 inline MachineInstrBuilder BuildMI(MachineBasicBlock *BB, const DebugLoc &DL, in BuildMI() 349 inline MachineInstrBuilder BuildMI(MachineBasicBlock *BB, const DebugLoc &DL, in BuildMI() [all …]
|
/external/llvm/lib/CodeGen/ |
D | MachineSSAUpdater.cpp | 69 void MachineSSAUpdater::AddAvailableValue(MachineBasicBlock *BB, unsigned V) { in AddAvailableValue() 75 unsigned MachineSSAUpdater::GetValueAtEndOfBlock(MachineBasicBlock *BB) { in GetValueAtEndOfBlock() 80 unsigned LookForIdenticalPHI(MachineBasicBlock *BB, in LookForIdenticalPHI() 114 MachineBasicBlock *BB, MachineBasicBlock::iterator I, in InsertNewDef() 141 unsigned MachineSSAUpdater::GetValueInMiddleOfBlock(MachineBasicBlock *BB) { in GetValueInMiddleOfBlock() 245 static BlkSucc_iterator BlkSucc_begin(BlkT *BB) { return BB->succ_begin(); } in BlkSucc_begin() 246 static BlkSucc_iterator BlkSucc_end(BlkT *BB) { return BB->succ_end(); } in BlkSucc_end() 275 static void FindPredecessorBlocks(MachineBasicBlock *BB, in FindPredecessorBlocks() 284 static unsigned GetUndefVal(MachineBasicBlock *BB, in GetUndefVal() 296 static unsigned CreateEmptyPHI(MachineBasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | UnifyFunctionExitNodes.cpp | 74 BasicBlock *BB = *I; in runOnFunction() local 92 BasicBlock *BB = *I; in runOnFunction() local 130 BasicBlock *BB = *I; in runOnFunction() local
|
D | SSAUpdater.cpp | 64 void SSAUpdater::AddAvailableValue(BasicBlock *BB, Value *V) { in AddAvailableValue() 91 Value *SSAUpdater::GetValueAtEndOfBlock(BasicBlock *BB) { in GetValueAtEndOfBlock() 115 Value *SSAUpdater::GetValueInMiddleOfBlock(BasicBlock *BB) { in GetValueInMiddleOfBlock() 266 static BlkSucc_iterator BlkSucc_begin(BlkT *BB) { return succ_begin(BB); } in BlkSucc_begin() 267 static BlkSucc_iterator BlkSucc_end(BlkT *BB) { return succ_end(BB); } in BlkSucc_end() 277 static void FindPredecessorBlocks(BasicBlock *BB, in FindPredecessorBlocks() 293 static Value *GetUndefVal(BasicBlock *BB, SSAUpdater *Updater) { in GetUndefVal() 299 static Value *CreateEmptyPHI(BasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI() 346 Value *SSAUpdater::GetValueAtEndOfBlockInternal(BasicBlock *BB) { in GetValueAtEndOfBlockInternal() 397 BasicBlock *BB = User->getParent(); in run() local
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | MachineSSAUpdater.cpp | 68 void MachineSSAUpdater::AddAvailableValue(MachineBasicBlock *BB, unsigned V) { in AddAvailableValue() 74 unsigned MachineSSAUpdater::GetValueAtEndOfBlock(MachineBasicBlock *BB) { in GetValueAtEndOfBlock() 79 unsigned LookForIdenticalPHI(MachineBasicBlock *BB, in LookForIdenticalPHI() 113 MachineBasicBlock *BB, MachineBasicBlock::iterator I, in InsertNewDef() 140 unsigned MachineSSAUpdater::GetValueInMiddleOfBlock(MachineBasicBlock *BB) { in GetValueInMiddleOfBlock() 280 static BlkSucc_iterator BlkSucc_begin(BlkT *BB) { return BB->succ_begin(); } in BlkSucc_begin() 281 static BlkSucc_iterator BlkSucc_end(BlkT *BB) { return BB->succ_end(); } in BlkSucc_end() 291 static void FindPredecessorBlocks(MachineBasicBlock *BB, in FindPredecessorBlocks() 300 static unsigned GetUndefVal(MachineBasicBlock *BB, in GetUndefVal() 312 static unsigned CreateEmptyPHI(MachineBasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI() [all …]
|
/external/llvm/lib/Analysis/ |
D | CFG.cpp | 29 const BasicBlock *BB = &F.getEntryBlock(); in FindFunctionBackedges() local 72 unsigned llvm::GetSuccessorNumber(const BasicBlock *BB, in GetSuccessorNumber() 113 static const Loop *getOutermostLoop(const LoopInfo *LI, const BasicBlock *BB) { in getOutermostLoop() 143 BasicBlock *BB = Worklist.pop_back_val(); in isPotentiallyReachableFromMany() local 199 BasicBlock *BB = const_cast<BasicBlock *>(A->getParent()); in isPotentiallyReachable() local
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | CFGMST.h | 75 BBInfo &getBBInfo(const BasicBlock *BB) const { in getBBInfo() 87 const BasicBlock *BB = &(F.getEntryBlock()); in buildEdges() local 100 for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) { in buildEdges() local 170 const BasicBlock *BB = BI.first; in dumpEdges() local
|
/external/llvm/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 58 void SSAUpdater::AddAvailableValue(BasicBlock *BB, Value *V) { in AddAvailableValue() 81 Value *SSAUpdater::GetValueAtEndOfBlock(BasicBlock *BB) { in GetValueAtEndOfBlock() 86 Value *SSAUpdater::GetValueInMiddleOfBlock(BasicBlock *BB) { in GetValueInMiddleOfBlock() 216 static BlkSucc_iterator BlkSucc_begin(BlkT *BB) { return succ_begin(BB); } in BlkSucc_begin() 217 static BlkSucc_iterator BlkSucc_end(BlkT *BB) { return succ_end(BB); } in BlkSucc_end() 244 static void FindPredecessorBlocks(BasicBlock *BB, in FindPredecessorBlocks() 259 static Value *GetUndefVal(BasicBlock *BB, SSAUpdater *Updater) { in GetUndefVal() 265 static Value *CreateEmptyPHI(BasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI() 311 Value *SSAUpdater::GetValueAtEndOfBlockInternal(BasicBlock *BB) { in GetValueAtEndOfBlockInternal() 359 BasicBlock *BB = User->getParent(); in run() local
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ProfileInfo.cpp | 60 ProfileInfoT<Function,BasicBlock>::getExecutionCount(const BasicBlock *BB) { in getExecutionCount() 168 setExecutionCount(const BasicBlock *BB, double w) { in setExecutionCount() 193 addExecutionCount(const BasicBlock *BB, double w) { in addExecutionCount() 202 void ProfileInfoT<Function,BasicBlock>::removeBlock(const BasicBlock *BB) { in removeBlock() 240 const BasicBlock *BB = 0; in GetPath() local 294 const BasicBlock *BB = GetPath(newedge.second,oldedge.second,P,GetPathToExit | GetPathToDest); in divertFlow() local 441 void ProfileInfoT<Function,BasicBlock>::splitBlock(const BasicBlock *BB, in splitBlock() 505 CalculateMissingEdge(const BasicBlock *BB, Edge &removed, in CalculateMissingEdge() 582 bool ProfileInfoT<Function,BasicBlock>::EstimateMissingEdges(const BasicBlock *BB) { in EstimateMissingEdges() 675 const BasicBlock *BB = &(F->getEntryBlock()); in repair() local [all …]
|
/external/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 34 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local 64 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local 94 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local 124 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local 155 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local 185 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local 215 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local 245 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SimplifyCFGPass.cpp | 65 BasicBlock *BB = I->getParent(); in ChangeToUnreachable() local 92 BasicBlock *BB = II->getParent(); in ChangeToCall() local 109 static bool MarkAliveBlocks(BasicBlock *BB, in MarkAliveBlocks() 189 for (Function::iterator BB = ++F.begin(), E = F.end(); BB != E; ++BB) { in RemoveUnreachableBlocksFromFn() local 217 BasicBlock &BB = *BBI++; in MergeEmptyReturnBlocks() local
|
/external/llvm/include/llvm/ADT/ |
D | PostOrderIterator.h | 66 void finishPostorder(NodeType *BB) {} in finishPostorder() 86 void finishPostorder(NodeType *BB) {} in finishPostorder() 107 NodeType *BB = *VisitStack.back().second++; in traverseChild() local 115 po_iterator(NodeType *BB) { in po_iterator() 122 po_iterator(NodeType *BB, SetType &S) in po_iterator() 285 void Initialize(NodeType *BB) { in Initialize()
|