Home
last modified time | relevance | path

Searched defs:BB (Results 1 – 25 of 545) sorted by relevance

12345678910>>...22

/external/llvm/include/llvm/IR/
DCFG.h91 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 …]
DPredIteratorCache.h43 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/
DLoopIterator.h85 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()
DBlockFrequencyImpl.h54 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 …]
DLoopInfo.h112 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 …]
DDominators.h88 DomTreeNodeBase(NodeT *BB, DomTreeNodeBase<NodeT> *iDom) in DomTreeNodeBase()
303 NodeT *BB = I->first; in compare() local
323 inline DomTreeNodeBase<NodeT> *getNode(NodeT *BB) const { in getNode()
485 DomTreeNodeBase<NodeT> *addNewBlock(NodeT *BB, NodeT *DomBB) { in addNewBlock()
504 void changeImmediateDominator(NodeT *BB, NodeT *NewBB) { in changeImmediateDominator()
511 void eraseNode(NodeT *BB) { in eraseNode()
534 void removeNode(NodeT *BB) { in removeNode()
625 DomTreeNodeBase<NodeT> *getNodeForBlock(NodeT *BB) { in getNodeForBlock()
643 inline NodeT *getIDom(NodeT *BB) const { in getIDom()
648 inline void addRoot(NodeT* BB) { in addRoot()
[all …]
DRegionIterator.h69 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/
DCFG.h80 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()
/external/llvm/include/llvm/Analysis/
DLoopIterator.h84 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()
DRegionInfoImpl.h53 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 …]
DLoopInfo.h116 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/
DMachineLoopInfo.h87 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/
DMachineLoopInfo.h92 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()
DMachineInstrBuilder.h258 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/
DMachineSSAUpdater.cpp69 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/CodeGen/
DMachineSSAUpdater.cpp68 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/Transforms/Utils/
DSSAUpdater.cpp58 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/
DProfileInfo.cpp60 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/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSSAUpdater.cpp64 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
DUnifyFunctionExitNodes.cpp74 BasicBlock *BB = *I; in runOnFunction() local
92 BasicBlock *BB = *I; in runOnFunction() local
130 BasicBlock *BB = *I; in runOnFunction() local
DBasicBlockUtils.cpp35 void llvm::DeleteDeadBlock(BasicBlock *BB) { in DeleteDeadBlock()
67 void llvm::FoldSingleEntryPHINodes(BasicBlock *BB, Pass *P) { in FoldSingleEntryPHINodes()
97 bool llvm::DeleteDeadPHIs(BasicBlock *BB) { in DeleteDeadPHIs()
115 bool llvm::MergeBlockIntoPredecessor(BasicBlock *BB, Pass *P) { in MergeBlockIntoPredecessor()
242 unsigned llvm::GetSuccessorNumber(BasicBlock *BB, BasicBlock *Succ) { in GetSuccessorNumber()
257 BasicBlock *llvm::SplitEdge(BasicBlock *BB, BasicBlock *Succ, Pass *P) { in SplitEdge()
455 BasicBlock *llvm::SplitBlockPredecessors(BasicBlock *BB, in SplitBlockPredecessors()
612 const BasicBlock *BB = &F.getEntryBlock(); in FindFunctionBackedges() local
656 ReturnInst *llvm::FoldReturnIntoUncondBranch(ReturnInst *RI, BasicBlock *BB, in FoldReturnIntoUncondBranch()
680 DebugLoc llvm::GetFirstDebugLocInBasicBlock(const BasicBlock *BB) { in GetFirstDebugLocInBasicBlock()
/external/llvm/lib/Analysis/
DCFG.cpp29 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/unittests/Transforms/Utils/
DIntegerDivision.cpp34 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/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVModule.cpp931 const std::vector<SPIRVWord> &TheMemoryAccess, SPIRVBasicBlock *BB) { in addStoreInst()
939 SPIRVBasicBlock *BB) { in addSwitchInst()
946 SPIRVBasicBlock *BB) { in addGroupInst()
954 SPIRVModuleImpl::addInstruction(SPIRVInstruction *Inst, SPIRVBasicBlock *BB) { in addInstruction()
964 const std::vector<SPIRVWord> &TheMemoryAccess, SPIRVBasicBlock *BB) { in addLoadInst()
971 std::vector<SPIRVValue *> IncomingPairs, SPIRVBasicBlock *BB) { in addPhiInst()
978 SPIRVBasicBlock *BB) { in addExtInst()
986 SPIRVBasicBlock *BB) { in addExtInst()
993 const std::vector<SPIRVWord> &TheArguments, SPIRVBasicBlock *BB) { in addCallInst()
1000 SPIRVValue *Op1, SPIRVValue *Op2, SPIRVBasicBlock *BB){ in addBinaryInst()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DCFGMST.h75 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

12345678910>>...22