Home
last modified time | relevance | path

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

12345678910>>...17

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DCFG.h108 inline pred_iterator pred_begin(BasicBlock *BB) { return pred_iterator(BB); } in pred_begin()
109 inline const_pred_iterator pred_begin(const BasicBlock *BB) { in pred_begin()
112 inline pred_iterator pred_end(BasicBlock *BB) { return pred_iterator(BB, true);} in pred_end()
113 inline const_pred_iterator pred_end(const BasicBlock *BB) { in pred_end()
116 inline bool pred_empty(const BasicBlock *BB) { in pred_empty()
121 inline unsigned pred_size(const BasicBlock *BB) { in pred_size()
124 inline pred_range predecessors(BasicBlock *BB) { in predecessors()
127 inline pred_const_range predecessors(const BasicBlock *BB) { in predecessors()
266 inline succ_iterator succ_begin(BasicBlock *BB) { in succ_begin()
269 inline succ_const_iterator succ_begin(const BasicBlock *BB) { in succ_begin()
[all …]
DPredIteratorCache.h42 BasicBlock **GetPreds(BasicBlock *BB) { in GetPreds()
57 unsigned GetNumPreds(BasicBlock *BB) const { in GetNumPreds()
65 size_t size(BasicBlock *BB) const { return GetNumPreds(BB); } in size()
66 ArrayRef<BasicBlock *> get(BasicBlock *BB) { in get()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DRegionInfoImpl.h57 void RegionBase<Tr>::replaceEntry(BlockT *BB) { in replaceEntry()
62 void RegionBase<Tr>::replaceExit(BlockT *BB) { in replaceExit()
105 BlockT *BB = const_cast<BlockT *>(B); in contains() local
156 BlockT *BB) const { in outermostLoopInRegion()
255 void RegionBase<Tr>::verifyBBInRegion(BlockT *BB) const { in verifyBBInRegion()
279 void RegionBase<Tr>::verifyWalk(BlockT *BB, std::set<BlockT *> *visited) const { in verifyWalk()
338 typename Tr::RegionT *RegionBase<Tr>::getSubRegionNode(BlockT *BB) const { in getSubRegionNode()
359 typename Tr::RegionNodeT *RegionBase<Tr>::getBBNode(BlockT *BB) const { in getBBNode()
375 typename Tr::RegionNodeT *RegionBase<Tr>::getNode(BlockT *BB) const { in getNode()
412 BlockT *BB = Element->template getNodeAs<BlockT>(); in addSubRegion() local
[all …]
DInstructionPrecedenceTracking.h104 const Instruction *getFirstICFI(const BasicBlock *BB) { in getFirstICFI()
110 bool hasICF(const BasicBlock *BB) { in hasICF()
128 const Instruction *getFirstMemoryWrite(const BasicBlock *BB) { in getFirstMemoryWrite()
134 bool mayWriteToMemory(const BasicBlock *BB) { in mayWriteToMemory()
DLoopIterator.h143 bool hasPreorder(BasicBlock *BB) const { return PostNumbers.count(BB); } in hasPreorder()
146 bool hasPostorder(BasicBlock *BB) const { in hasPostorder()
152 unsigned getPostorder(BasicBlock *BB) const { in getPostorder()
160 unsigned getRPO(BasicBlock *BB) const { in getRPO()
231 bool visitPreorder(BasicBlock *BB) { in visitPreorder()
240 void finishPostorder(BasicBlock *BB) { in finishPostorder()
253 finishPostorder(BasicBlock *BB) { in finishPostorder()
DLoopInfo.h125 bool contains(const BlockT *BB) const { in contains()
208 bool isLoopExiting(const BlockT *BB) const { in isLoopExiting()
222 bool isLoopLatch(const BlockT *BB) const { in isLoopLatch()
403 void addBlockEntry(BlockT *BB) { in addBlockEntry()
423 void moveToHeader(BlockT *BB) { in moveToHeader()
440 void removeBlockFromLoop(BlockT *BB) { in removeBlockFromLoop()
470 explicit LoopBase(BlockT *BB) : ParentLoop(nullptr) { in LoopBase()
850 explicit Loop(BasicBlock *BB) : LoopBase<BasicBlock, Loop>(BB) {} in Loop()
939 LoopT *getLoopFor(const BlockT *BB) const { return BBMap.lookup(BB); } in getLoopFor()
946 unsigned getLoopDepth(const BlockT *BB) const { in getLoopDepth()
[all …]
DRegionIterator.h82 NodeRef getISucc(BlockT *BB) const { in getISucc()
96 inline bool isExit(BlockT* BB) const { in isExit()
133 BlockT *BB = isRegionMode() ? getRegionSucc() : *BItor; variable
212 BlockT *BB = *Itor; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DADCE.cpp104 BasicBlock *BB = nullptr; member
126 bool isLive(BasicBlock *BB) { return BlockInfo[BB].Live; } in isLive()
165 void markLive(BasicBlock *BB) { markLive(BlockInfo[BB]); } in markLive()
225 for (auto &BB : F) { in initialize() local
261 std::pair<StatusMap::iterator, bool> insert(BasicBlock *BB) { in initialize()
266 void completed(BasicBlock *BB) { (*this)[BB] = false; } in initialize()
270 bool onStack(BasicBlock *BB) { in initialize()
280 for (auto *BB: depth_first_ext(&F.getEntryBlock(), State)) { in initialize() local
299 auto *BB = PDTChild->getBlock(); in initialize() local
314 auto *BB = &F.getEntryBlock(); in initialize() local
[all …]
DLoopSimplifyCFG.cpp58 static BasicBlock *getOnlyLiveSuccessor(BasicBlock *BB) { in getOnlyLiveSuccessor()
85 static void removeBlockFromLoops(BasicBlock *BB, Loop *FirstLoop, in removeBlockFromLoops()
168 for (const BasicBlock *BB : S) in dump() local
174 for (const BasicBlock *BB : S) in dump() local
198 BasicBlock *BB = *I; in hasIrreducibleCFG() local
230 BasicBlock *BB = *I; in analyze() local
296 auto BlockIsInLoop = [&](BasicBlock *BB) { in analyze()
302 BasicBlock *BB = *I; in analyze() local
395 for (auto *BB : L.blocks()) in handleDeadExits() local
444 for (auto *BB : DeadLoopBlocks) in deleteDeadLoopBlocks() local
[all …]
DSimpleLoopUnswitch.cpp179 static void buildPartialUnswitchConditionalBranch(BasicBlock &BB, in buildPartialUnswitchConditionalBranch()
311 [&](const BasicBlock *BB) { in hoistLoopToNewParent()
786 BasicBlock *BB = SI.getParent(); in unswitchTrivialSwitch() local
1013 auto SkipBlock = [&](BasicBlock *BB) { in buildClonedLoopBlocks()
1163 for (auto *BB : OrigL.blocks()) { in cloneLoopNest() local
1254 for (auto *BB : OrigL.blocks()) in buildClonedLoops() local
1290 BasicBlock *BB = Worklist.pop_back_val(); in buildClonedLoops() local
1320 for (auto *BB : OrigL.blocks()) { in buildClonedLoops() local
1398 BasicBlock *BB = Worklist.pop_back_val(); in buildClonedLoops() local
1432 for (auto *BB : llvm::concat<BasicBlock *const>( in buildClonedLoops() local
[all …]
DJumpThreading.cpp211 static void updatePredecessorProfileMetadata(PHINode *PN, BasicBlock *BB) { in updatePredecessorProfileMetadata()
383 for (auto &BB : F) in runImpl() local
394 for (auto &BB : F) { in runImpl() local
453 auto *BB = Cond->getParent(); in ReplaceFoldableUses() local
476 static unsigned getJumpThreadDuplicationCost(BasicBlock *BB, in getJumpThreadDuplicationCost()
594 Value *V, BasicBlock *BB, PredValueInfo &Result, in ComputeValueKnownInPredecessorsImpl()
964 static unsigned GetBestDestForJumpOnUndef(BasicBlock *BB) { in GetBestDestForJumpOnUndef()
982 static bool hasAddressTakenAndUsed(BasicBlock *BB) { in hasAddressTakenAndUsed()
994 bool JumpThreadingPass::ProcessBlock(BasicBlock *BB) { in ProcessBlock()
1201 bool JumpThreadingPass::ProcessImpliedCondition(BasicBlock *BB) { in ProcessImpliedCondition()
[all …]
DStructurizeCFG.cpp102 void addBlock(BasicBlock *BB, bool Remember) { in addBlock()
120 void addBlock(BasicBlock *BB) { in addBlock()
124 void addAndRememberBlock(BasicBlock *BB) { in addAndRememberBlock()
395 BasicBlock *BB = N->getNodeAs<BasicBlock>(); in analyzeLoops() local
453 BasicBlock *BB = N->getEntry(); in gatherPredicates() local
561 BasicBlock *BB = BBAndPred.first; in insertConditions() local
663 void StructurizeCFG::killTerminator(BasicBlock *BB) { in killTerminator()
688 BasicBlock *BB = *BBI++; in changeExit() local
714 BasicBlock *BB = Node->getNodeAs<BasicBlock>(); in changeExit() local
767 void StructurizeCFG::setPrevNode(BasicBlock *BB) { in setPrevNode()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineLoopInfo.h118 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor()
128 inline unsigned getLoopDepth(const MachineBasicBlock *BB) const { in getLoopDepth()
133 inline bool isLoopHeader(const MachineBasicBlock *BB) const { in isLoopHeader()
152 inline void changeLoopFor(MachineBasicBlock *BB, MachineLoop *L) { in changeLoopFor()
170 void removeBlock(MachineBasicBlock *BB) { in removeBlock()
DMachineInstrBuilder.h332 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, in BuildMI()
348 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, in BuildMI()
358 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, MachineInstr &I, in BuildMI()
368 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, MachineInstr *I, in BuildMI()
377 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, in BuildMI()
387 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, in BuildMI()
397 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, MachineInstr &I, in BuildMI()
407 inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB, MachineInstr *I, in BuildMI()
415 inline MachineInstrBuilder BuildMI(MachineBasicBlock *BB, const DebugLoc &DL, in BuildMI()
423 inline MachineInstrBuilder BuildMI(MachineBasicBlock *BB, const DebugLoc &DL, in BuildMI()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DRandomIRBuilder.cpp21 Value *RandomIRBuilder::findOrCreateSource(BasicBlock &BB, in findOrCreateSource()
26 Value *RandomIRBuilder::findOrCreateSource(BasicBlock &BB, in findOrCreateSource()
41 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionPrecedenceTracking.cpp36 const BasicBlock *BB) { in getFirstSpecialInstruction()
54 const BasicBlock *BB) { in hasSpecialInstructions()
65 void InstructionPrecedenceTracking::fill(const BasicBlock *BB) { in fill()
104 const BasicBlock *BB) { in insertInstructionTo()
DBranchProbabilityInfo.cpp150 static void UpdatePDTWorklist(const BasicBlock *BB, PostDominatorTree *PDT, in UpdatePDTWorklist()
157 for (auto *BB : Descendants) in UpdatePDTWorklist() local
169 for (auto &BB : F) { in computePostDominatedByUnreachable() local
183 const BasicBlock *BB = WorkList.pop_back_val(); in computePostDominatedByUnreachable() local
205 for (auto &BB : F) in computePostDominatedByColdCall() local
212 const BasicBlock *BB = WorkList.pop_back_val(); in computePostDominatedByColdCall() local
233 bool BranchProbabilityInfo::calcUnreachableHeuristics(const BasicBlock *BB) { in calcUnreachableHeuristics()
277 bool BranchProbabilityInfo::calcMetadataWeights(const BasicBlock *BB) { in calcMetadataWeights()
379 bool BranchProbabilityInfo::calcColdCallHeuristics(const BasicBlock *BB) { in calcColdCallHeuristics()
423 bool BranchProbabilityInfo::calcPointerHeuristics(const BasicBlock *BB) { in calcPointerHeuristics()
[all …]
DCFG.cpp29 const BasicBlock *BB = &F.getEntryBlock(); in FindFunctionBackedges() local
72 unsigned llvm::GetSuccessorNumber(const BasicBlock *BB, in GetSuccessorNumber()
121 static const Loop *getOutermostLoop(const LoopInfo *LI, const BasicBlock *BB) { in getOutermostLoop()
162 BasicBlock *BB = Worklist.pop_back_val(); in isPotentiallyReachableFromMany() local
233 BasicBlock *BB = const_cast<BasicBlock *>(A->getParent()); in isPotentiallyReachable() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp72 void MachineSSAUpdater::AddAvailableValue(MachineBasicBlock *BB, unsigned V) { in AddAvailableValue()
78 unsigned MachineSSAUpdater::GetValueAtEndOfBlock(MachineBasicBlock *BB) { in GetValueAtEndOfBlock()
83 unsigned LookForIdenticalPHI(MachineBasicBlock *BB, in LookForIdenticalPHI()
117 MachineBasicBlock *BB, MachineBasicBlock::iterator I, in InsertNewDef()
143 unsigned MachineSSAUpdater::GetValueInMiddleOfBlock(MachineBasicBlock *BB) { in GetValueInMiddleOfBlock()
248 static BlkSucc_iterator BlkSucc_begin(BlkT *BB) { return BB->succ_begin(); } in BlkSucc_begin()
249 static BlkSucc_iterator BlkSucc_end(BlkT *BB) { return BB->succ_end(); } in BlkSucc_end()
282 static void FindPredecessorBlocks(MachineBasicBlock *BB, in FindPredecessorBlocks()
291 static unsigned GetUndefVal(MachineBasicBlock *BB, in GetUndefVal()
303 static unsigned CreateEmptyPHI(MachineBasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI()
[all …]
DWasmEHPrepare.cpp159 auto *BB = WL.pop_back_val(); in eraseDeadBBsAndChildren() local
191 auto *BB = ThrowI->getParent(); in prepareThrows() local
257 for (auto *BB : CatchPads) { in prepareEHPads() local
268 for (auto *BB : CleanupPads) in prepareEHPads() local
276 void WasmEHPrepare::prepareEHPad(BasicBlock *BB, bool NeedLSDA, in prepareEHPad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp71 void SSAUpdater::AddAvailableValue(BasicBlock *BB, Value *V) { in AddAvailableValue()
94 Value *SSAUpdater::GetValueAtEndOfBlock(BasicBlock *BB) { in GetValueAtEndOfBlock()
99 Value *SSAUpdater::GetValueInMiddleOfBlock(BasicBlock *BB) { in GetValueInMiddleOfBlock()
228 static BlkSucc_iterator BlkSucc_begin(BlkT *BB) { return succ_begin(BB); } in BlkSucc_begin()
229 static BlkSucc_iterator BlkSucc_end(BlkT *BB) { return succ_end(BB); } in BlkSucc_end()
257 static void FindPredecessorBlocks(BasicBlock *BB, in FindPredecessorBlocks()
272 static Value *GetUndefVal(BasicBlock *BB, SSAUpdater *Updater) { in GetUndefVal()
278 static Value *CreateEmptyPHI(BasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI()
323 Value *SSAUpdater::GetValueAtEndOfBlockInternal(BasicBlock *BB) { in GetValueAtEndOfBlockInternal()
368 BasicBlock *BB = User->getParent(); in run() local
DBasicBlockUtils.cpp58 for (auto *BB : BBs) { in DetatchDeadBlocks() local
88 void llvm::DeleteDeadBlock(BasicBlock *BB, DomTreeUpdater *DTU, in DeleteDeadBlock()
99 for (auto *BB : Dead) in DeleteDeadBlocks() local
129 BasicBlock *BB = &*I; in EliminateUnreachableBlocks() local
139 void llvm::FoldSingleEntryPHINodes(BasicBlock *BB, in FoldSingleEntryPHINodes()
156 bool llvm::DeleteDeadPHIs(BasicBlock *BB, const TargetLibraryInfo *TLI) { in DeleteDeadPHIs()
171 bool llvm::MergeBlockIntoPredecessor(BasicBlock *BB, DomTreeUpdater *DTU, in MergeBlockIntoPredecessor()
338 static bool removeRedundantDbgInstrsUsingBackwardScan(BasicBlock *BB) { in removeRedundantDbgInstrsUsingBackwardScan()
385 static bool removeRedundantDbgInstrsUsingForwardScan(BasicBlock *BB) { in removeRedundantDbgInstrsUsingForwardScan()
413 bool llvm::RemoveRedundantDbgInstrs(BasicBlock *BB) { in RemoveRedundantDbgInstrs()
[all …]
DSSAUpdaterBulk.cpp51 void SSAUpdaterBulk::AddAvailableValue(unsigned Var, BasicBlock *BB, Value *V) { in AddAvailableValue()
70 bool SSAUpdaterBulk::HasValueForBlock(unsigned Var, BasicBlock *BB) { in HasValueForBlock()
76 Value *SSAUpdaterBulk::computeValueAt(BasicBlock *BB, RewriteInfo &R, in computeValueAt()
105 BasicBlock *BB = LiveInBlockWorklist.pop_back_val(); in ComputeLiveInBlocks() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DPostOrderIterator.h68 template <typename NodeRef> void finishPostorder(NodeRef BB) {} in finishPostorder()
88 template <class NodeRef> void finishPostorder(NodeRef BB) {} in finishPostorder()
106 po_iterator(NodeRef BB) { in po_iterator()
114 po_iterator(NodeRef BB, SetType &S) in po_iterator()
128 NodeRef BB = *VisitStack.back().second++; in traverseChild() local
292 void Initialize(NodeRef BB) { in Initialize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DSafepointIRVerifier.cpp86 const BasicBlock* BB = PN->getParent(); in hasLiveIncomingEdge() local
130 for (const BasicBlock &BB : F) in processFunction() local
136 for (const BasicBlock *BB : RPOT) { in processFunction() local
159 void addDeadBlock(const BasicBlock *BB) { in addDeadBlock()
189 BasicBlock *BB = cast_or_null<BasicBlock>(DeadEdge.get()); in addDeadEdge() local
541 for (const BasicBlock &BB : F) in GCPtrTracker() local
562 BasicBlockState *GCPtrTracker::getBasicBlockState(const BasicBlock *BB) { in getBasicBlockState()
583 for (const BasicBlock *BB : RPOT) { in verifyFunction() local
616 const BasicBlock *BB = Worklist.pop_back_val(); in recalculateBBsStates() local
646 bool GCPtrTracker::removeValidUnrelocatedDefs(const BasicBlock *BB, in removeValidUnrelocatedDefs()
[all …]

12345678910>>...17