Home
last modified time | relevance | path

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

12345678910>>...38

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DCFG.h99 inline pred_iterator pred_begin(BasicBlock *BB) { return pred_iterator(BB); } in pred_begin()
100 inline const_pred_iterator pred_begin(const BasicBlock *BB) { in pred_begin()
103 inline pred_iterator pred_end(BasicBlock *BB) { return pred_iterator(BB, true);} in pred_end()
104 inline const_pred_iterator pred_end(const BasicBlock *BB) { in pred_end()
107 inline bool pred_empty(const BasicBlock *BB) { in pred_empty()
110 inline unsigned pred_size(const BasicBlock *BB) { in pred_size()
113 inline pred_range predecessors(BasicBlock *BB) { in predecessors()
116 inline pred_const_range predecessors(const BasicBlock *BB) { in predecessors()
131 inline succ_iterator succ_begin(BasicBlock *BB) { in succ_begin()
134 inline succ_const_iterator succ_begin(const BasicBlock *BB) { in succ_begin()
[all …]
DPredIteratorCache.h43 BasicBlock **GetPreds(BasicBlock *BB) { in GetPreds()
58 unsigned GetNumPreds(BasicBlock *BB) const { in GetNumPreds()
66 size_t size(BasicBlock *BB) const { return GetNumPreds(BB); } in size()
67 ArrayRef<BasicBlock *> get(BasicBlock *BB) { in get()
/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 …]
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DRegionInfoImpl.h58 void RegionBase<Tr>::replaceEntry(BlockT *BB) { in replaceEntry()
63 void RegionBase<Tr>::replaceExit(BlockT *BB) { in replaceExit()
106 BlockT *BB = const_cast<BlockT *>(B); in contains() local
157 BlockT *BB) const { in outermostLoopInRegion()
256 void RegionBase<Tr>::verifyBBInRegion(BlockT *BB) const { in verifyBBInRegion()
280 void RegionBase<Tr>::verifyWalk(BlockT *BB, std::set<BlockT *> *visited) const { in verifyWalk()
339 typename Tr::RegionT *RegionBase<Tr>::getSubRegionNode(BlockT *BB) const { in getSubRegionNode()
360 typename Tr::RegionNodeT *RegionBase<Tr>::getBBNode(BlockT *BB) const { in getBBNode()
376 typename Tr::RegionNodeT *RegionBase<Tr>::getNode(BlockT *BB) const { in getNode()
413 BlockT *BB = Element->template getNodeAs<BlockT>(); in addSubRegion() local
[all …]
DLoopIterator.h144 bool hasPreorder(BasicBlock *BB) const { return PostNumbers.count(BB); } in hasPreorder()
147 bool hasPostorder(BasicBlock *BB) const { in hasPostorder()
153 unsigned getPostorder(BasicBlock *BB) const { in getPostorder()
161 unsigned getRPO(BasicBlock *BB) const { in getRPO()
232 bool visitPreorder(BasicBlock *BB) { in visitPreorder()
241 void finishPostorder(BasicBlock *BB) { in finishPostorder()
254 finishPostorder(BasicBlock *BB) { in finishPostorder()
DLoopInfo.h120 bool contains(const BlockT *BB) const { in contains()
203 bool isLoopExiting(const BlockT *BB) const { in isLoopExiting()
216 bool isLoopLatch(const BlockT *BB) const { in isLoopLatch()
359 void addBlockEntry(BlockT *BB) { in addBlockEntry()
379 void moveToHeader(BlockT *BB) { in moveToHeader()
396 void removeBlockFromLoop(BlockT *BB) { in removeBlockFromLoop()
420 explicit LoopBase(BlockT *BB) : ParentLoop(nullptr) { in LoopBase()
595 explicit Loop(BasicBlock *BB) : LoopBase<BasicBlock, Loop>(BB) {} in Loop()
684 LoopT *getLoopFor(const BlockT *BB) const { return BBMap.lookup(BB); } in getLoopFor()
691 unsigned getLoopDepth(const BlockT *BB) const { in getLoopDepth()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineLoopInfo.h116 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor()
126 inline unsigned getLoopDepth(const MachineBasicBlock *BB) const { in getLoopDepth()
131 inline bool isLoopHeader(const MachineBasicBlock *BB) const { in isLoopHeader()
149 inline void changeLoopFor(MachineBasicBlock *BB, MachineLoop *L) { in changeLoopFor()
167 void removeBlock(MachineBasicBlock *BB) { in removeBlock()
DMachineInstrBuilder.h315 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, in BuildMI()
331 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, in BuildMI()
341 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, MachineInstr &I, in BuildMI()
351 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, MachineInstr *I, in BuildMI()
360 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, in BuildMI()
370 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, in BuildMI()
380 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, MachineInstr &I, in BuildMI()
390 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, MachineInstr *I, in BuildMI()
398 inline MachineInstrBuilder BuildMI(MachineBasicBlock *BB, const DebugLoc &DL, in BuildMI()
406 inline MachineInstrBuilder BuildMI(MachineBasicBlock *BB, const DebugLoc &DL, in BuildMI()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DADCE.cpp102 BasicBlock *BB = nullptr; member
124 bool isLive(BasicBlock *BB) { return BlockInfo[BB].Live; } in isLive()
163 void markLive(BasicBlock *BB) { markLive(BlockInfo[BB]); } in markLive()
223 for (auto &BB : F) { in initialize() local
259 std::pair<StatusMap::iterator, bool> insert(BasicBlock *BB) { in initialize()
264 void completed(BasicBlock *BB) { (*this)[BB] = false; } in initialize()
268 bool onStack(BasicBlock *BB) { in initialize()
278 for (auto *BB: depth_first_ext(&F.getEntryBlock(), State)) { in initialize() local
297 auto *BB = PDTChild->getBlock(); in initialize() local
312 auto *BB = &F.getEntryBlock(); in initialize() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
DRandomIRBuilder.cpp22 Value *RandomIRBuilder::findOrCreateSource(BasicBlock &BB, in findOrCreateSource()
27 Value *RandomIRBuilder::findOrCreateSource(BasicBlock &BB, in findOrCreateSource()
42 Value *RandomIRBuilder::newSource(BasicBlock &BB, ArrayRef<Instruction *> Insts, in newSource()
95 void RandomIRBuilder::connectToSink(BasicBlock &BB, in connectToSink()
120 void RandomIRBuilder::newSink(BasicBlock &BB, ArrayRef<Instruction *> Insts, in newSink()
133 Value *RandomIRBuilder::findPointer(BasicBlock &BB, in findPointer()
/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-7.0/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp73 void MachineSSAUpdater::AddAvailableValue(MachineBasicBlock *BB, unsigned V) { in AddAvailableValue()
79 unsigned MachineSSAUpdater::GetValueAtEndOfBlock(MachineBasicBlock *BB) { in GetValueAtEndOfBlock()
84 unsigned LookForIdenticalPHI(MachineBasicBlock *BB, in LookForIdenticalPHI()
118 MachineBasicBlock *BB, MachineBasicBlock::iterator I, in InsertNewDef()
144 unsigned MachineSSAUpdater::GetValueInMiddleOfBlock(MachineBasicBlock *BB) { in GetValueInMiddleOfBlock()
249 static BlkSucc_iterator BlkSucc_begin(BlkT *BB) { return BB->succ_begin(); } in BlkSucc_begin()
250 static BlkSucc_iterator BlkSucc_end(BlkT *BB) { return BB->succ_end(); } in BlkSucc_end()
283 static void FindPredecessorBlocks(MachineBasicBlock *BB, in FindPredecessorBlocks()
292 static unsigned GetUndefVal(MachineBasicBlock *BB, in GetUndefVal()
304 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/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DUnifyFunctionExitNodes.cpp74 BasicBlock *BB = *I; in runOnFunction() local
92 BasicBlock *BB = *I; in runOnFunction() local
130 BasicBlock *BB = *I; in runOnFunction() local

12345678910>>...38