Home
last modified time | relevance | path

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

12345678910>>...19

/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/
H A DCFG.h110 inline pred_iterator pred_begin(BasicBlock *BB) { return pred_iterator(BB); } in pred_begin()
111 inline const_pred_iterator pred_begin(const BasicBlock *BB) { in pred_begin()
114 inline pred_iterator pred_end(BasicBlock *BB) { return pred_iterator(BB, true);} in pred_end()
115 inline const_pred_iterator pred_end(const BasicBlock *BB) { in pred_end()
118 inline bool pred_empty(const BasicBlock *BB) { in pred_empty()
123 inline unsigned pred_size(const BasicBlock *BB) { in pred_size()
126 inline pred_range predecessors(BasicBlock *BB) { in predecessors()
129 inline const_pred_range predecessors(const BasicBlock *BB) { in predecessors()
268 inline succ_iterator succ_begin(BasicBlock *BB) { in succ_begin()
271 inline const_succ_iterator succ_begin(const BasicBlock *BB) { in succ_begin()
[all …]
H A 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()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DRegionInfoImpl.h55 void RegionBase<Tr>::replaceEntry(BlockT *BB) { in replaceEntry()
60 void RegionBase<Tr>::replaceExit(BlockT *BB) { in replaceExit()
103 BlockT *BB = const_cast<BlockT *>(B); in contains() local
154 BlockT *BB) const { in outermostLoopInRegion()
235 void RegionBase<Tr>::verifyBBInRegion(BlockT *BB) const { in verifyBBInRegion()
259 void RegionBase<Tr>::verifyWalk(BlockT *BB, std::set<BlockT *> *visited) const { in verifyWalk()
317 typename Tr::RegionT *RegionBase<Tr>::getSubRegionNode(BlockT *BB) const { in getSubRegionNode()
338 typename Tr::RegionNodeT *RegionBase<Tr>::getBBNode(BlockT *BB) const { in getBBNode()
354 typename Tr::RegionNodeT *RegionBase<Tr>::getNode(BlockT *BB) const { in getNode()
391 BlockT *BB = Element->template getNodeAs<BlockT>(); in addSubRegion() local
[all …]
H A DInstructionPrecedenceTracking.h103 const Instruction *getFirstICFI(const BasicBlock *BB) { in getFirstICFI()
109 bool hasICF(const BasicBlock *BB) { in hasICF()
125 const Instruction *getFirstMemoryWrite(const BasicBlock *BB) { in getFirstMemoryWrite()
131 bool mayWriteToMemory(const BasicBlock *BB) { in mayWriteToMemory()
H A 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()
H A DIntervalIterator.h
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBlockCoverageInference.cpp57 for (auto &BB : F) { in BlockCoverageInference() local
80 for (auto &BB : F) { in getInstrumentedBlocksHash() local
112 for (auto &BB : F) in findDependencies() local
120 for (auto *BB : TerminalBlocks) in findDependencies() local
135 for (auto &BB : F) { in findDependencies() local
176 for (auto &BB : F) { in findDependencies() local
206 for (auto &BB : F) { in findDependencies() local
216 for (auto *BB : Path) in findDependencies() local
221 for (auto *BB : Path) in findDependencies() local
225 for (auto *BB : Path) in findDependencies() local
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DADCE.cpp103 BasicBlock *BB = nullptr; member
131 bool isLive(BasicBlock *BB) { return BlockInfo[BB].Live; } in isLive() argument
170 void markLive(BasicBlock *BB) { markLive(BlockInfo[BB]); } in markLive() argument
230 for (auto &BB : F) { in initialize() local
266 insert(BasicBlock * BB) initialize() argument
271 completed(BasicBlock * BB) initialize() argument
275 onStack(BasicBlock * BB) initialize() argument
285 for (auto *BB: depth_first_ext(&F.getEntryBlock(), State)) { initialize() local
304 auto *BB = PDTChild->getBlock(); initialize() local
319 auto *BB = &F.getEntryBlock(); initialize() local
403 for (auto *BB : successors(I->getParent())) markLive() local
500 for (auto *BB : IDFBlocks) { markLiveBranchesFromControlDependences() local
613 for (auto *BB : BlocksWithDeadTerminators) { updateDeadRegions() local
683 for (auto &BB : F) { computeReversePostOrder() local
691 makeUnconditional(BasicBlock * BB,BasicBlock * Target) makeUnconditional() argument
[all...]
H A DLoopSimplifyCFG.cpp51 Instruction *TI = BB->getTerminator(); in getOnlyLiveSuccessor() argument
78 removeBlockFromLoops(BasicBlock * BB,Loop * FirstLoop,Loop * LastLoop=nullptr) removeBlockFromLoops() argument
161 for (const BasicBlock *BB : S) dump() local
167 for (const BasicBlock *BB : S) dump() local
191 BasicBlock *BB = *I; hasIrreducibleCFG() local
223 BasicBlock *BB = *I; analyze() local
293 __anonc8579c9c0602(BasicBlock *BB) analyze() argument
299 BasicBlock *BB = *I; analyze() local
397 for (auto *BB : L.blocks()) handleDeadExits() local
447 for (auto *BB : DeadLoopBlocks) deleteDeadLoopBlocks() local
453 for (auto *BB : DL->getBlocks()) deleteDeadLoopBlocks() local
461 for (auto *BB : DeadLoopBlocks) { deleteDeadLoopBlocks() local
472 for (auto *BB : DeadLoopBlocks) deleteDeadLoopBlocks() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionPrecedenceTracking.cpp40 const BasicBlock *BB) { in getFirstSpecialInstruction()
58 const BasicBlock *BB) { in hasSpecialInstructions()
69 void InstructionPrecedenceTracking::fill(const BasicBlock *BB) { in fill()
110 const BasicBlock *BB) { in insertInstructionTo()
116 auto *BB = Inst->getParent(); in removeInstruction() local
H A DFunctionPropertiesAnalysis.cpp50 int64_t getNrBlocksFromCond(const BasicBlock &BB) { in getNrBlocksFromCond() argument
66 void FunctionPropertiesInfo::reIncludeBB(const BasicBlock &BB) { in reIncludeBB() argument
70 void FunctionPropertiesInfo::updateForBB(const BasicBlock &BB, in updateForBB() argument
230 for (const auto &BB : F) getFunctionPropertiesInfo() local
348 for (const auto *BB : Successors) FunctionPropertiesUpdater() local
355 for (const auto *BB : LikelyToChangeBBs) FunctionPropertiesUpdater() local
408 const auto *BB = Reinclude[I]; finish() local
[all...]
H A DBranchProbabilityInfo.cpp231 for (const auto *BB : Scc) { in SccInfo() local
251 const auto *BB = MapIt.first; in getSccEnterBlocks() local
262 const auto *BB = MapIt.first; getSccExitBlocks() local
270 getSccBlockType(const BasicBlock * BB,int SccNum) const getSccBlockType() argument
284 calculateSccBlockType(const BasicBlock * BB,int SccNum) calculateSccBlockType() argument
315 LoopBlock(const BasicBlock * BB,const LoopInfo & LI,const SccInfo & SccI) LoopBlock() argument
379 calcMetadataWeights(const BasicBlock * BB) calcMetadataWeights() argument
515 calcPointerHeuristics(const BasicBlock * BB) calcPointerHeuristics() argument
543 computeUnlikelySuccessors(const BasicBlock * BB,Loop * L,SmallPtrSetImpl<const BasicBlock * > & UnlikelyBlocks) computeUnlikelySuccessors() argument
698 BasicBlock *BB = LoopBB.getBlock(); updateEstimatedBlockWeight() local
736 const BasicBlock *BB = LoopBB.getBlock(); propagateEstimatedBlockWeight() local
766 getInitialEstimatedBlockWeight(const BasicBlock * BB) getInitialEstimatedBlockWeight() argument
768 __anonc96a69900302(const BasicBlock *BB) getInitialEstimatedBlockWeight() argument
817 for (const auto *BB : RPOT) computeEestimateBlockWeight() local
853 const BasicBlock *BB = BlockWorkList.pop_back_val(); computeEestimateBlockWeight() local
876 calcEstimatedHeuristics(const BasicBlock * BB) calcEstimatedHeuristics() argument
963 calcZeroHeuristics(const BasicBlock * BB,const TargetLibraryInfo * TLI) calcZeroHeuristics() argument
1030 calcFloatingPointHeuristics(const BasicBlock * BB) calcFloatingPointHeuristics() argument
1201 eraseBlock(const BasicBlock * BB) eraseBlock() argument
1254 for (const auto *BB : post_order(&F.getEntryBlock())) { calculate() local
[all...]
H A DCFG.cpp36 const BasicBlock *BB = &F.getEntryBlock(); in FindFunctionBackedges() local
79 GetSuccessorNumber(const BasicBlock * BB,const BasicBlock * Succ) GetSuccessorNumber() argument
128 getOutermostLoop(const LoopInfo * LI,const BasicBlock * BB) getOutermostLoop() argument
163 BasicBlock *BB = Worklist.pop_back_val(); isPotentiallyReachableFromMany() local
244 BasicBlock *BB = const_cast<BasicBlock *>(A->getParent()); isPotentiallyReachable() local
[all...]
H A DLazyValueInfo.cpp184 getOrCreateBlockEntry(BasicBlock * BB) getOrCreateBlockEntry() argument
200 insertResult(Value * Val,BasicBlock * BB,const ValueLatticeElement & Result) insertResult() argument
231 isNonNullAtEndOfBlock(Value * V,BasicBlock * BB,function_ref<NonNullPointerSet (BasicBlock *)> InitFn) isNonNullAtEndOfBlock() argument
282 eraseBlock(BasicBlock * BB) eraseBlock() argument
497 eraseBlock(BasicBlock * BB) eraseBlock() argument
569 getBlockValue(Value * Val,BasicBlock * BB,Instruction * CxtI) getBlockValue() argument
606 solveBlockValue(Value * Val,BasicBlock * BB) solveBlockValue() argument
623 solveBlockValueImpl(Value * Val,BasicBlock * BB) solveBlockValueImpl() argument
691 isNonNullAtEndOfBlock(Value * Val,BasicBlock * BB) isNonNullAtEndOfBlock() argument
697 __anon1d1e96de0402(BasicBlock *BB) isNonNullAtEndOfBlock() argument
706 solveBlockValueNonLocal(Value * Val,BasicBlock * BB) solveBlockValueNonLocal() argument
749 solveBlockValuePHINode(PHINode * PN,BasicBlock * BB) solveBlockValuePHINode() argument
792 BasicBlock *BB = BBI->getParent(); intersectAssumeOrGuardBlockValueConstantRange() local
844 solveBlockValueSelect(SelectInst * SI,BasicBlock * BB) solveBlockValueSelect() argument
931 getRangeFor(Value * V,Instruction * CxtI,BasicBlock * BB) getRangeFor() argument
939 solveBlockValueCast(CastInst * CI,BasicBlock * BB) solveBlockValueCast() argument
975 solveBlockValueBinaryOpImpl(Instruction * I,BasicBlock * BB,std::function<ConstantRange (const ConstantRange &,const ConstantRange &)> OpFn) solveBlockValueBinaryOpImpl() argument
996 solveBlockValueBinaryOp(BinaryOperator * BO,BasicBlock * BB) solveBlockValueBinaryOp() argument
1021 solveBlockValueOverflowIntrinsic(WithOverflowInst * WO,BasicBlock * BB) solveBlockValueOverflowIntrinsic() argument
1029 solveBlockValueIntrinsic(IntrinsicInst * II,BasicBlock * BB) solveBlockValueIntrinsic() argument
1052 solveBlockValueExtractValue(ExtractValueInst * EVI,BasicBlock * BB) solveBlockValueExtractValue() argument
1520 getValueInBlock(Value * V,BasicBlock * BB,Instruction * CxtI) getValueInBlock() argument
1719 BasicBlock *BB = CxtI->getParent(); getConstant() local
1736 BasicBlock *BB = CxtI->getParent(); getConstantRange() local
1903 BasicBlock *BB = CxtI->getParent(); getPredicateAt() local
2009 eraseBlock(BasicBlock * BB) eraseBlock() argument
2026 emitBasicBlockStartAnnot(const BasicBlock * BB,formatted_raw_ostream & OS) emitBasicBlockStartAnnot() argument
2052 __anon1d1e96de0a02(const BasicBlock *BB) emitInstructionAnnot() argument
[all...]
H A DStackLifetime.cpp47 const BasicBlock *BB = I->getParent(); in isAliveAfter() local
93 for (const BasicBlock *BB : depth_first(&F)) { in collectMarkers() local
122 for (const BasicBlock *BB : depth_first(&F)) { in collectMarkers() local
185 for (const BasicBlock *BB : depth_first(&F)) { calculateLocalLiveness() local
246 const BasicBlock *BB = IT.getFirst(); calculateLiveIntervals() local
301 const BasicBlock *BB = IT.getFirst(); dumpBlockLiveness() local
370 emitBasicBlockStartAnnot(const BasicBlock * BB,formatted_raw_ostream & OS) emitBasicBlockStartAnnot() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineLoopInfo.h135 getLoopFor(const MachineBasicBlock * BB) getLoopFor() argument
145 getLoopDepth(const MachineBasicBlock * BB) getLoopDepth() argument
150 isLoopHeader(const MachineBasicBlock * BB) isLoopHeader() argument
169 changeLoopFor(MachineBasicBlock * BB,MachineLoop * L) changeLoopFor() argument
187 removeBlock(MachineBasicBlock * BB) removeBlock() argument
H A DMachineSSAContext.h27 inline unsigned succ_size(const MachineBasicBlock *BB) { in succ_size()
30 inline unsigned pred_size(const MachineBasicBlock *BB) { in pred_size()
33 inline auto instrs(const MachineBasicBlock &BB) { return BB.instrs(); } in instrs()
H A DMachineInstrBuilder.h399 BB.insert(I, MI); in BuildMI() argument
431 return BuildMI(BB, MachineBasicBlock::instr_iterator(I), MIMD, MCID, in BuildMI() argument
381 BuildMI(MachineBasicBlock & BB,MachineBasicBlock::iterator I,const MIMetadata & MIMD,const MCInstrDesc & MCID,Register DestReg) BuildMI() argument
411 BuildMI(MachineBasicBlock & BB,MachineInstr & I,const MIMetadata & MIMD,const MCInstrDesc & MCID,Register DestReg) BuildMI() argument
422 BuildMI(MachineBasicBlock & BB,MachineInstr * I,const MIMetadata & MIMD,const MCInstrDesc & MCID,Register DestReg) BuildMI() argument
441 BuildMI(MachineBasicBlock & BB,MachineBasicBlock::instr_iterator I,const MIMetadata & MIMD,const MCInstrDesc & MCID) BuildMI() argument
451 BuildMI(MachineBasicBlock & BB,MachineInstr & I,const MIMetadata & MIMD,const MCInstrDesc & MCID) BuildMI() argument
461 BuildMI(MachineBasicBlock & BB,MachineInstr * I,const MIMetadata & MIMD,const MCInstrDesc & MCID) BuildMI() argument
469 BuildMI(MachineBasicBlock * BB,const MIMetadata & MIMD,const MCInstrDesc & MCID) BuildMI() argument
478 BuildMI(MachineBasicBlock * BB,const MIMetadata & MIMD,const MCInstrDesc & MCID,Register DestReg) BuildMI() argument
581 MIBundleBuilder(MachineBasicBlock & BB,MachineBasicBlock::iterator Pos) MIBundleBuilder() argument
585 MIBundleBuilder(MachineBasicBlock & BB,MachineBasicBlock::iterator B,MachineBasicBlock::iterator E) MIBundleBuilder() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericLoopInfo.h134 bool contains(const BlockT *BB) const { in contains()
227 bool isLoopExiting(const BlockT *BB) const { in isLoopExiting()
241 bool isLoopLatch(const BlockT *BB) const { in isLoopLatch()
415 void addBlockEntry(BlockT *BB) { in addBlockEntry()
435 void moveToHeader(BlockT *BB) { in moveToHeader()
452 void removeBlockFromLoop(BlockT *BB) { in removeBlockFromLoop()
483 explicit LoopBase(BlockT *BB) : ParentLoop(nullptr) { in LoopBase()
602 LoopT *getLoopFor(const BlockT *BB) const { return BBMap.lookup(BB); } in getLoopFor()
609 unsigned getLoopDepth(const BlockT *BB) const { in getLoopDepth()
615 bool isLoopHeader(const BlockT *BB) const { in isLoopHeader()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineSSAUpdater.cpp75 AddAvailableValue(MachineBasicBlock * BB,Register V) AddAvailableValue() argument
81 GetValueAtEndOfBlock(MachineBasicBlock * BB) GetValueAtEndOfBlock() argument
86 LookForIdenticalPHI(MachineBasicBlock * BB,SmallVectorImpl<std::pair<MachineBasicBlock *,Register>> & PredValues) LookForIdenticalPHI() argument
120 InsertNewDef(unsigned Opcode,MachineBasicBlock * BB,MachineBasicBlock::iterator I,const TargetRegisterClass * RC,MachineRegisterInfo * MRI,const TargetInstrInfo * TII) InsertNewDef() argument
148 GetValueInMiddleOfBlock(MachineBasicBlock * BB,bool ExistingValueOnly) GetValueInMiddleOfBlock() argument
259 BlkSucc_begin(BlkT * BB) BlkSucc_begin() argument
260 BlkSucc_end(BlkT * BB) BlkSucc_end() argument
293 FindPredecessorBlocks(MachineBasicBlock * BB,SmallVectorImpl<MachineBasicBlock * > * Preds) FindPredecessorBlocks() argument
300 GetUndefVal(MachineBasicBlock * BB,MachineSSAUpdater * Updater) GetUndefVal() argument
312 CreateEmptyPHI(MachineBasicBlock * BB,unsigned NumPreds,MachineSSAUpdater * Updater) CreateEmptyPHI() argument
364 GetValueAtEndOfBlockInternal(MachineBasicBlock * BB,bool ExistingValueOnly) GetValueAtEndOfBlockInternal() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileInference.h174 for (const auto &BB : F) { in apply() local
187 for (const auto &BB : F) { in apply() local
197 for (const auto *BB : BasicBlocks) { in apply() local
218 for (const auto *BB : BasicBlocks) { in apply() local
248 for (const auto *BB : BasicBlocks) { in createFlowFunction() local
261 for (const auto *BB : BasicBlocks) { in createFlowFunction() local
306 inline bool SampleProfileInference<BT>::isExit(const BasicBlockT *BB) { in isExit()
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp70 void SSAUpdater::AddAvailableValue(BasicBlock *BB, Value *V) { in AddAvailableValue() argument
93 Value *SSAUpdater::GetValueAtEndOfBlock(BasicBlock *BB) { in GetValueAtEndOfBlock() argument
98 Value *SSAUpdater::GetValueInMiddleOfBlock(BasicBlock *BB) { in GetValueInMiddleOfBlock() argument
270 BlkSucc_begin(BlkT * BB) BlkSucc_begin() argument
271 BlkSucc_end(BlkT * BB) BlkSucc_end() argument
299 FindPredecessorBlocks(BasicBlock * BB,SmallVectorImpl<BasicBlock * > * Preds) FindPredecessorBlocks() argument
312 GetUndefVal(BasicBlock * BB,SSAUpdater * Updater) GetUndefVal() argument
318 CreateEmptyPHI(BasicBlock * BB,unsigned NumPreds,SSAUpdater * Updater) CreateEmptyPHI() argument
358 GetValueAtEndOfBlockInternal(BasicBlock * BB) GetValueAtEndOfBlockInternal() argument
403 BasicBlock *BB = User->getParent(); run() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp27 static std::vector<BasicBlock *> getDominators(BasicBlock *BB) { in getDominators()
46 static std::vector<BasicBlock *> getDominatees(BasicBlock *BB) { in getDominatees()
109 Value *RandomIRBuilder::findOrCreateSource(BasicBlock &BB, in findOrCreateSource()
114 Value *RandomIRBuilder::findOrCreateSource(BasicBlock &BB, in findOrCreateSource()
198 Value *RandomIRBuilder::newSource(BasicBlock &BB, ArrayRef<Instruction *> Insts, in newSource()
290 Instruction *RandomIRBuilder::connectToSink(BasicBlock &BB, in connectToSink()
364 Instruction *RandomIRBuilder::newSink(BasicBlock &BB, in newSink()
379 Value *RandomIRBuilder::findPointer(BasicBlock &BB, in findPointer()
426 BasicBlock *BB = BasicBlock::Create(Context, "BB", F); in createFunctionDefinition() local
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanHCFGBuilder.cpp84 void PlainCFGBuilder::setVPBBPredsFromBB(VPBasicBlock *VPBB, BasicBlock *BB) { in setVPBBPredsFromBB() argument
85 auto GetLatchOfExit = [this](BasicBlock *BB) -> BasicBlock * { in setVPBBPredsFromBB() argument
111 isHeaderBB(BasicBlock * BB,Loop * L) isHeaderBB() argument
116 setRegionPredsFromBB(VPRegionBlock * Region,BasicBlock * BB) setRegionPredsFromBB() argument
176 getOrCreateVPBB(BasicBlock * BB) getOrCreateVPBB() argument
284 createVPInstructionsForVPBB(VPBasicBlock * VPBB,BasicBlock * BB) createVPInstructionsForVPBB() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/IR/
H A DSafepointIRVerifier.cpp85 const BasicBlock* BB = PN->getParent(); in hasLiveIncomingEdge() local
129 for (const BasicBlock &BB : F) in processFunction() local
135 for (const BasicBlock *BB : RPOT) { in processFunction() local
158 void addDeadBlock(const BasicBlock *BB) { in addDeadBlock()
188 BasicBlock *BB = cast_or_null<BasicBlock>(DeadEdge.get()); in addDeadEdge() local
548 for (const BasicBlock &BB : F) in GCPtrTracker() local
569 BasicBlockState *GCPtrTracker::getBasicBlockState(const BasicBlock *BB) { in getBasicBlockState()
589 for (const BasicBlock *BB : RPOT) { in verifyFunction() local
622 const BasicBlock *BB = Worklist.pop_back_val(); in recalculateBBsStates() local
652 bool GCPtrTracker::removeValidUnrelocatedDefs(const BasicBlock *BB, in removeValidUnrelocatedDefs()
[all …]

12345678910>>...19