Home
last modified time | relevance | path

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

12345678910>>...27

/llvm-project/llvm/include/llvm/IR/
H A DCFG.h110 inline pred_iterator pred_begin(BasicBlock *BB) { return pred_iterator(BB); } in pred_begin() argument
111 inline const_pred_iterator pred_begin(const BasicBlock *BB) { in pred_begin() argument
114 inline pred_iterator pred_end(BasicBlock *BB) { return pred_iterator(BB, true);} in pred_end() argument
115 inline const_pred_iterator pred_end(const BasicBlock *BB) { in pred_end() argument
118 inline bool pred_empty(const BasicBlock *BB) { in pred_empty() argument
123 pred_size(const BasicBlock * BB) pred_size() argument
126 predecessors(BasicBlock * BB) predecessors() argument
129 predecessors(const BasicBlock * BB) predecessors() argument
268 succ_begin(BasicBlock * BB) succ_begin() argument
271 succ_begin(const BasicBlock * BB) succ_begin() argument
274 succ_end(BasicBlock * BB) succ_end() argument
277 succ_end(const BasicBlock * BB) succ_end() argument
280 succ_empty(const BasicBlock * BB) succ_empty() argument
283 succ_size(const BasicBlock * BB) succ_size() argument
286 successors(BasicBlock * BB) successors() argument
289 successors(const BasicBlock * BB) successors() argument
[all...]
H A DPredIteratorCache.h42 GetPreds(BasicBlock * BB) GetPreds() argument
57 GetNumPreds(BasicBlock * BB) GetNumPreds() argument
65 size(BasicBlock * BB) size() argument
66 get(BasicBlock * BB) get() argument
/llvm-project/llvm/include/llvm/Analysis/
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 DRegionInfoImpl.h55 void RegionBase<Tr>::replaceEntry(BlockT *BB) { in replaceEntry() argument
60 void RegionBase<Tr>::replaceExit(BlockT *BB) { in replaceExit() argument
103 BlockT *BB = const_cast<BlockT *>(B); in contains() local
154 outermostLoopInRegion(LoopInfoT * LI,BlockT * BB) outermostLoopInRegion() argument
235 verifyBBInRegion(BlockT * BB) verifyBBInRegion() argument
259 verifyWalk(BlockT * BB,std::set<BlockT * > * visited) verifyWalk() argument
317 getSubRegionNode(BlockT * BB) getSubRegionNode() argument
338 getBBNode(BlockT * BB) getBBNode() argument
354 getNode(BlockT * BB) getNode() argument
391 BlockT *BB = Element->template getNodeAs<BlockT>(); addSubRegion() local
481 for (const auto *BB : blocks()) print() local
535 BlockT *BB = Element->template getNodeAs<BlockT>(); verifyBBMap() local
543 isCommonDomFrontier(BlockT * BB,BlockT * entry,BlockT * exit) isCommonDomFrontier() argument
607 BlockT *BB = e->second; insertShortCut() local
720 BlockT *BB = N->getBlock(); buildRegionsTree() local
789 getRegionFor(BlockT * BB) getRegionFor() argument
794 setRegionFor(BlockT * BB,RegionT * R) setRegionFor() argument
805 getMaxRegionExit(BlockT * BB) getMaxRegionExit() argument
890 BlockT *BB = GraphTraits<FuncPtrT>::getEntryNode(&F); calculate() local
[all...]
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()
/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineSSAContext.h27 inline auto instrs(const MachineBasicBlock &BB) { return BB.instrs(); } in succ_size() argument
30 pred_size(const MachineBasicBlock * BB) pred_size() argument
33 instrs(const MachineBasicBlock & BB) instrs() argument
H A DMachineLoopInfo.h141 getLoopFor(const MachineBasicBlock * BB) getLoopFor() argument
151 getLoopDepth(const MachineBasicBlock * BB) getLoopDepth() argument
156 isLoopHeader(const MachineBasicBlock * BB) isLoopHeader() argument
175 changeLoopFor(MachineBasicBlock * BB,MachineLoop * L) changeLoopFor() argument
193 removeBlock(MachineBasicBlock * BB) removeBlock() argument
/llvm-project/llvm/lib/Analysis/
H A DInstructionPrecedenceTracking.cpp40 const BasicBlock *BB) { in getFirstSpecialInstruction() argument
58 const BasicBlock *BB) { in hasSpecialInstructions() argument
69 void InstructionPrecedenceTracking::fill(const BasicBlock *BB) { in fill() argument
110 insertInstructionTo(const Instruction * Inst,const BasicBlock * BB) insertInstructionTo() argument
116 auto *BB = Inst->getParent(); removeInstruction() local
[all...]
H A DFunctionPropertiesAnalysis.cpp50 int64_t getNumBlocksFromCond(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...]
/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 …]
/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()
170 void markLive(BasicBlock *BB) { markLive(BlockInfo[BB]); } in markLive()
230 for (auto &BB : F) { in initialize() local
266 std::pair<StatusMap::iterator, bool> insert(BasicBlock *BB) { in initialize()
271 void completed(BasicBlock *BB) { (*this)[BB] = false; } in initialize()
275 bool onStack(BasicBlock *BB) { in initialize()
285 for (auto *BB: depth_first_ext(&F.getEntryBlock(), State)) { in initialize() local
304 auto *BB = PDTChild->getBlock(); in initialize() local
319 auto *BB = &F.getEntryBlock(); in initialize() local
[all …]
H A DLoopSimplifyCFG.cpp50 static BasicBlock *getOnlyLiveSuccessor(BasicBlock *BB) { in getOnlyLiveSuccessor() argument
77 static void removeBlockFromLoops(BasicBlock *BB, Loop *FirstLoop, in removeBlockFromLoops() argument
160 for (const BasicBlock *BB in dump() local
166 for (const BasicBlock *BB : S) dump() local
190 BasicBlock *BB = *I; hasIrreducibleCFG() local
222 BasicBlock *BB = *I; analyze() local
292 __anon0925871d0602(BasicBlock *BB) analyze() argument
298 BasicBlock *BB = *I; analyze() local
396 for (auto *BB : L.blocks()) handleDeadExits() local
446 for (auto *BB : DeadLoopBlocks) deleteDeadLoopBlocks() local
452 for (auto *BB : DL->getBlocks()) deleteDeadLoopBlocks() local
460 for (auto *BB : DeadLoopBlocks) { deleteDeadLoopBlocks() local
471 for (auto *BB : DeadLoopBlocks) deleteDeadLoopBlocks() local
[all...]
/llvm-project/polly/include/polly/
H A DScopDetectionDiagnostic.h208 BasicBlock *BB; variable
211 ReportInvalidTerminator(BasicBlock *BB) in ReportInvalidTerminator()
256 BasicBlock *BB; variable
260 ReportUnreachableInExit(BasicBlock *BB, DebugLoc DbgLoc) in ReportUnreachableInExit()
333 BasicBlock *BB; variable
336 ReportUndefCond(const Instruction *Inst, BasicBlock *BB) in ReportUndefCond()
358 BasicBlock *BB; variable
361 ReportInvalidCond(const Instruction *Inst, BasicBlock *BB) in ReportInvalidCond()
381 BasicBlock *BB; variable
384 ReportUndefOperand(BasicBlock *BB, const Instruction *Inst) in ReportUndefOperand()
[all …]
/llvm-project/clang/unittests/CodeGen/
H A DTBAAMetadataTest.cpp67 const BasicBlock *BB = Compiler.compile(); TEST() local
164 const BasicBlock *BB = Compiler.compile(); TEST() local
286 const BasicBlock *BB = Compiler.compile(); TEST() local
379 const BasicBlock *BB = Compiler.compile(); TEST() local
473 const BasicBlock *BB = Compiler.compile(); TEST() local
576 const BasicBlock *BB = Compiler.compile(); TEST() local
699 const BasicBlock *BB = Compiler.compile(); TEST() local
800 const BasicBlock *BB = Compiler.compile(); TEST() local
882 const BasicBlock *BB = Compiler.compile(); TEST() local
961 const BasicBlock *BB = Compiler.compile(); TEST() local
1037 const BasicBlock *BB = Compiler.compile(); TEST() local
1111 const BasicBlock *BB = Compiler.compile(); TEST() local
1197 const BasicBlock *BB = Compiler.compile(); TEST() local
[all...]
/llvm-project/llvm/lib/CodeGen/
H A DMachineSSAUpdater.cpp71 void MachineSSAUpdater::AddAvailableValue(MachineBasicBlock *BB, Register V) { in AddAvailableValue() argument
77 Register MachineSSAUpdater::GetValueAtEndOfBlock(MachineBasicBlock *BB) { in GetValueAtEndOfBlock() argument
82 Register LookForIdenticalPHI(MachineBasicBlock *BB, in LookForIdenticalPHI() argument
114 InsertNewDef(unsigned Opcode,MachineBasicBlock * BB,MachineBasicBlock::iterator I,MachineRegisterInfo::VRegAttrs RegAttrs,MachineRegisterInfo * MRI,const TargetInstrInfo * TII) InsertNewDef() argument
143 GetValueInMiddleOfBlock(MachineBasicBlock * BB,bool ExistingValueOnly) GetValueInMiddleOfBlock() argument
270 BlkSucc_begin(BlkT * BB) BlkSucc_begin() argument
271 BlkSucc_end(BlkT * BB) BlkSucc_end() argument
304 FindPredecessorBlocks(MachineBasicBlock * BB,SmallVectorImpl<MachineBasicBlock * > * Preds) FindPredecessorBlocks() argument
311 GetPoisonVal(MachineBasicBlock * BB,MachineSSAUpdater * Updater) GetPoisonVal() argument
322 CreateEmptyPHI(MachineBasicBlock * BB,unsigned NumPreds,MachineSSAUpdater * Updater) CreateEmptyPHI() argument
374 GetValueAtEndOfBlockInternal(MachineBasicBlock * BB,bool ExistingValueOnly) GetValueAtEndOfBlockInternal() argument
[all...]
/llvm-project/llvm/include/llvm/Support/
H A DGenericLoopInfo.h134 bool contains(const BlockT *BB) const { in contains() argument
227 bool isLoopExiting(const BlockT *BB) const { in isLoopExiting() argument
241 bool isLoopLatch(const BlockT *BB) const { in isLoopLatch() argument
415 addBlockEntry(BlockT * BB) addBlockEntry() argument
435 moveToHeader(BlockT * BB) moveToHeader() argument
452 removeBlockFromLoop(BlockT * BB) removeBlockFromLoop() argument
483 LoopBase(BlockT * BB) LoopBase() argument
602 getLoopFor(const BlockT * BB) getLoopFor() argument
609 getLoopDepth(const BlockT * BB) getLoopDepth() argument
615 isLoopHeader(const BlockT * BB) isLoopHeader() argument
640 changeLoopFor(BlockT * BB,LoopT * L) changeLoopFor() argument
667 removeBlock(BlockT * BB) removeBlock() argument
[all...]
/llvm-project/llvm/tools/llvm-reduce/deltas/
H A DReduceUsingSimplifyCFG.cpp26 for (auto &BB : F) in reduceUsingSimplifyCFG() local
30 for (auto *BB : ToSimplify) in reduceUsingSimplifyCFG() local
43 for (auto &BB : F) { in reduceConditionals() local
58 for (auto *BB : ToSimplify) in reduceConditionals() local
/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) { apply() local
218 for (const auto *BB : BasicBlocks) { apply() local
248 for (const auto *BB : BasicBlocks) { createFlowFunction() local
261 for (const auto *BB : BasicBlocks) { createFlowFunction() local
306 isExit(const BasicBlockT * BB) isExit() argument
[all...]
/llvm-project/bolt/include/bolt/Passes/
H A DDataflowAnalysis.h41 enum IDTy : bool { BB = 0, Inst } ID; enumerator
44 BinaryBasicBlock *BB; member
46 DataU(BinaryBasicBlock *BB) : BB(BB) {} in DataU()
52 ProgramPoint(BinaryBasicBlock *BB) : ID(IDTy::BB), Data(BB) {} in ProgramPoint()
58 static ProgramPoint getLastPointAt(BinaryBasicBlock &BB) { in getLastPointAt()
66 static ProgramPoint getFirstPointAt(BinaryBasicBlock &BB) { in getFirstPointAt()
179 StateTy getStartingStateAtBB(const BinaryBasicBlock &BB) { in getStartingStateAtBB()
230 StateTy &getOrCreateStateAt(const BinaryBasicBlock &BB) { in getOrCreateStateAt()
253 void doForAllSuccsOrPreds(const BinaryBasicBlock &BB, in doForAllSuccsOrPreds()
270 ErrorOr<const StateTy &> getStateAt(const BinaryBasicBlock &BB) const { in getStateAt()
[all …]
H A DReachingInsns.h32 bool isInLoop(const BinaryBasicBlock &BB) { in isInLoop()
39 const BinaryBasicBlock *BB = InsnToBB[&Inst]; in isInLoop() local
61 BitVector getStartingStateAtBB(const BinaryBasicBlock &BB) { in getStartingStateAtBB()
/llvm-project/bolt/lib/Passes/
H A DCMOVConversion.cpp81 bool matchCFGSubgraph(BinaryBasicBlock &BB, BinaryBasicBlock *&ConditionalSucc, in matchCFGSubgraph()
100 bool canConvertInstructions(const BinaryContext &BC, const BinaryBasicBlock &BB, in canConvertInstructions()
129 void convertMoves(const BinaryContext &BC, BinaryBasicBlock &BB, unsigned CC) { in convertMoves()
148 calculateMispredictionRate(const BinaryBasicBlock &BB) { in calculateMispredictionRate()
163 int calculateConditionBias(const BinaryBasicBlock &BB, in calculateConditionBias()
/llvm-project/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp93 Value *Res = GetValueAtEndOfBlockInternal(BB); in GetValueAtEndOfBlock() argument
70 AddAvailableValue(BasicBlock * BB,Value * V) AddAvailableValue() argument
98 GetValueInMiddleOfBlock(BasicBlock * BB) 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 GetPoisonVal(BasicBlock * BB,SSAUpdater * Updater) GetPoisonVal() 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...]
/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp27 static std::vector<BasicBlock *> getDominators(BasicBlock *BB) { in getDominators() argument
46 static std::vector<BasicBlock *> getDominatees(BasicBlock *BB) { in getDominatees() argument
109 Value *RandomIRBuilder::findOrCreateSource(BasicBlock &BB, in findOrCreateSource() argument
114 Value *RandomIRBuilder::findOrCreateSource(BasicBlock &BB, in findOrCreateSource() argument
198 newSource(BasicBlock & BB,ArrayRef<Instruction * > Insts,ArrayRef<Value * > Srcs,SourcePred Pred,bool allowConstant) newSource() argument
290 connectToSink(BasicBlock & BB,ArrayRef<Instruction * > Insts,Value * V) connectToSink() argument
364 newSink(BasicBlock & BB,ArrayRef<Instruction * > Insts,Value * V) newSink() argument
379 findPointer(BasicBlock & BB,ArrayRef<Instruction * > Insts) findPointer() argument
426 BasicBlock *BB = BasicBlock::Create(Context, "BB", F); createFunctionDefinition() local
[all...]
/llvm-project/llvm/unittests/Transforms/Utils/
H A DIntegerDivisionTest.cpp33 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local
63 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local
93 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local
123 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local
154 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local
184 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local
214 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local
244 BasicBlock *BB = BasicBlock::Create(C, "", F); in TEST() local
/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVMergeRegionExitTargets.cpp50 std::unordered_set<BasicBlock *> gatherSuccessors(BasicBlock *BB) { in gatherSuccessors() argument
75 BasicBlock *BB, in createExitVariable() argument
107 void replaceBranchTargets(BasicBlock *BB, in replaceBranchTargets() argument
193 BasicBlock *BB = SortedExitTargets[i]; runOnConvergenceRegionNoRecurse() local
226 for (auto *BB : Set) { validateRegionExits() local
[all...]

12345678910>>...27