Home
last modified time | relevance | path

Searched refs:getBlock (Results 1 – 25 of 146) sorted by relevance

123456

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp263 auto *Defs = MSSA->getBlockDefs(MU->getBlock()); in insertUse()
271 BasicBlock *StartBlock = MU->getBlock(); in insertUse()
320 if (DefBefore->getBlock() == MD->getBlock() && in insertDef()
370 DefiningBlocks.insert(MD->getBlock()); in insertDef()
373 DefiningBlocks.insert(RealPHI->getBlock()); in insertDef()
396 auto *BBIDF = MPhi->getBlock(); in insertDef()
433 BasicBlock *StartBlock = MD->getBlock(); in insertDef()
685 BasicBlock *NewPhiBB = NewPhi->getBlock(); in updateForClonedLoop()
891 if (IDom->getBlock() != BB) { in applyInsertUpdates()
892 BB = IDom->getBlock(); in applyInsertUpdates()
[all …]
H A DMemorySSA.cpp531 BasicBlock *BB = From->getBlock(); in getWalkTarget()
535 auto *Defs = MSSA.getBlockDefs(Node->getBlock()); in getWalkTarget()
1177 BasicBlock *BB = Child->getBlock(); in renamePass()
1357 while (VersionStack.back()->getBlock() == BackBlock) in optimizeUsesInBlock()
1686 ValueToMemoryAccess.erase(What->getBlock()); in moveTo()
1818 MemoryInst = MA->getBlock(); in removeFromLookups()
1832 BasicBlock *BB = MA->getBlock(); in removeFromLists()
2087 assert((DominatorBlock == Dominatee->getBlock()) && in locallyDominates()
2122 if (Dominator->getBlock() != Dominatee->getBlock()) in dominates()
2123 return DT->dominates(Dominator->getBlock(), Dominatee->getBlock()); in dominates()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFGStmtMap.h41 CFGBlock *getBlock(Stmt * S);
43 const CFGBlock *getBlock(const Stmt * S) const { in getBlock() function
44 return const_cast<CFGStmtMap*>(this)->getBlock(const_cast<Stmt*>(S)); in getBlock()
H A DProgramPoint.h233 const CFGBlock *getBlock() const { in getBlock() function
238 const CFGBlock *B = getBlock(); in getFirstElement()
255 const CFGBlock *getBlock() const { in getBlock() function
260 return getBlock()->getTerminatorStmt(); in getTerminator()
342 const CFGBlock *getBlock() const { in getBlock() function
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericDomTreeConstruction.h748 (From->getBlock() && To->getBlock()) in InsertReachable()
749 ? DT.findNearestCommonDominator(From->getBlock(), To->getBlock()) in InsertReachable()
978 DT.findNearestCommonDominator(FromTN->getBlock(), ToTN->getBlock()); in DeleteReachable()
1013 auto TNB = TN->getBlock(); in HasProperSupport()
1038 assert(ToTN->getBlock()); in DeleteUnreachable()
1078 DT.findNearestCommonDominator(TN->getBlock(), ToTN->getBlock()); in DeleteUnreachable()
1271 const NodePtr BB = TN->getBlock(); in verifyReachability()
1304 const NodePtr BB = TN->getBlock(); in VerifyLevels()
1472 const NodePtr BB = TN->getBlock(); in verifyParentProperty()
1506 const NodePtr BB = TN->getBlock(); in verifySiblingProperty()
[all …]
H A DGenericDomTree.h88 NodeT *getBlock() const { return TheBB; }
111 const NodeT *Nd = I->getBlock();
116 const NodeT *N = I->getBlock();
174 if (Node->getBlock())
175 Node->getBlock()->printAsOperand(O, false);
384 Result.push_back(N->getBlock());
494 return NodeA->getBlock();
506 return isPostDominator() && !A->getBlock();
H A DGenericIteratedDominanceFrontier.h173 NodeTy *BB = Node->getBlock(); in calculate()
186 NodeTy *SuccBB = SuccNode->getBlock(); in calculate()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DBranchFolding.cpp480 if (getBlock()->getNumber() < o.getBlock()->getNumber()) in operator <()
482 if (getBlock()->getNumber() > o.getBlock()->getNumber()) in operator <()
666 if (ProfitableToMerge(CurMPIter->getBlock(), I->getBlock(), in ComputeSameTails()
697 MachineBasicBlock *CurMBB = CurMPIter->getBlock(); in RemoveBlocksWithHash()
716 if (SameTails[i].getBlock() == PredBB) { in CreateCommonTailOnlyBlock()
831 assert(Pos != SameTails[i].getBlock()->end() && in mergeCommonTails()
929 SameTails[0].getBlock()->isLayoutSuccessor(SameTails[1].getBlock()) && in TryTailMergeBlocks()
934 SameTails[0].getBlock()) && in TryTailMergeBlocks()
936 !SameTails[0].getBlock()->isEHPad()) in TryTailMergeBlocks()
1138 MergePotentials.begin()->getBlock() != PredBB) in TailMergeBlocks()
[all …]
H A DBranchFolding.h61 MachineBasicBlock *getBlock() const { return Block; } in getBlock() function
100 MachineBasicBlock *getBlock() const { in getBlock() function
101 return getMergePotentialsElt().getBlock(); in getBlock()
105 return TailStartPos == getBlock()->begin(); in tailIsWholeBlock()
H A DLiveRangeCalc.cpp69 MachineBasicBlock *MBB = I.DomNode->getBlock(); in updateFromLiveIns()
344 MachineBasicBlock *MBB = Node->getBlock(); in updateSSA()
350 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber()); in updateSSA()
356 IDomValue = Map[IDom->getBlock()]; in updateSSA()
361 Map[IDom->getBlock()].second = IDomValue.second = in updateSSA()
H A DMachineOptimizationRemarkEmitter.cpp44 const MachineBasicBlock *MBB = Remark.getBlock(); in computeHotness()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DDominators.h77 if (!R || !OtherR || R->getBlock() != OtherR->getBlock()) in compare()
105 if (IDom && IDom->getBlock()) in dump()
108 << IDom->getBlock()->getBlockID() in dump()
116 IDom && !IDom->getBlock() && IsPostDom && IsExitBlock; in dump()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyExceptionInfo.cpp83 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate()
126 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate()
165 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate()
195 MachineBasicBlock *MBB = DomNode->getBlock(); in recalculate()
241 MachineBasicBlock *MBB = DomNode->getBlock(); in recalculate()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp610 ResolveBranchFixups(Dest.getBlock()); in EmitLabel()
613 EmitBlock(Dest.getBlock()); in EmitLabel()
799 EmitBlock(LoopHeader.getBlock()); in EmitWhileStmt()
879 EmitBranch(LoopHeader.getBlock()); in EmitWhileStmt()
884 EmitBlock(LoopExit.getBlock(), true); in EmitWhileStmt()
911 EmitBlock(LoopCond.getBlock()); in EmitDoStmt()
946 EmitBlock(LoopExit.getBlock()); in EmitDoStmt()
1051 EmitBlock(Continue.getBlock()); in EmitForStmt()
1067 EmitBlock(LoopExit.getBlock(), true); in EmitForStmt()
1137 EmitBlock(Continue.getBlock()); in EmitCXXForRangeStmt()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DWorkList.cpp159 BE->getBlock()->getBlockID(), in enqueue()
235 BE->getBlock()->getBlockID(), in enqueue()
296 NumVisited = NumReached[BE->getBlock()]++; in enqueue()
H A DCoreEngine.cpp191 HandlePostStmt(WU.getBlock(), WU.getIndex(), Pred); in dispatchWorkItem()
281 unsigned BlockId = L.getBlock()->getBlockID(); in HandleBlockEntrance()
289 NodeBuilderContext Ctx(*this, L.getBlock(), Pred); in HandleBlockEntrance()
293 HandleBlockExit(L.getBlock(), Pred); in HandleBlockEntrance()
654 Eng.G.getNode(BlockEdge(Src, I.getBlock(), Pred->getLocationContext()), in generateNode()
672 Eng.G.getNode(BlockEdge(Src, I.getBlock(), Pred->getLocationContext()), in generateCaseStmtNode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp125 auto &TargetBlock = TargetSym.getBlock(); in printEdge()
205 if (&Sym->getBlock() == &B) in splitBlock()
234 BlockSymbols[&Sym->getBlock()].push_back(Sym); in dump()
377 if (&Sym->getBlock() == &B && Sym->hasName() && Sym->getOffset() == 0 && in makeTargetOutOfRangeError()
H A DMachO_x86_64.cpp255 BlockToFix = &SymbolToFixOrErr->getBlock(); in addRelocations()
507 auto &GOTBlock = E.getTarget().getBlock(); in optimizeMachO_x86_64_GOTAndStubs()
539 auto &StubBlock = E.getTarget().getBlock(); in optimizeMachO_x86_64_GOTAndStubs()
545 auto &GOTBlock = StubBlock.edges().begin()->getTarget().getBlock(); in optimizeMachO_x86_64_GOTAndStubs()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp202 while (IDom->getBlock()->isEHPad()) { in findMatInsertPt()
203 assert(Entry != IDom->getBlock() && "eh pad in entry block"); in findMatInsertPt()
207 return IDom->getBlock()->getTerminator(); in findMatInsertPt()
241 Node = DT.getNode(Node)->getIDom()->getBlock(); in findBestInsertionSet()
261 if (Candidates.count(ChildDomNode->getBlock())) in findBestInsertionSet()
262 Orders.push_back(ChildDomNode->getBlock()); in findBestInsertionSet()
291 BasicBlock *Parent = DT.getNode(Node)->getIDom()->getBlock(); in findBestInsertionSet()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DProgramPoint.cpp63 << castAs<BlockEntrance>().getBlock()->getBlockID(); in printJson()
69 << ", \"block_id\": " << FEP->getBlock()->getBlockID() in printJson()
H A DCFGStmtMap.cpp26 CFGBlock *CFGStmtMap::getBlock(Stmt *S) { in getBlock() function in CFGStmtMap
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDominanceFrontierImpl.h162 BlockT *BB = Node->getBlock(); in calculate()
199 BlockT *childBB = IDominee->getBlock(); in calculate()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h531 Block &getBlock() { in getBlock() function
538 const Block &getBlock() const { in getBlock() function
565 bool isSymbolZeroFill() const { return getBlock().isZeroFill(); } in isSymbolZeroFill()
570 return getBlock().getContent().slice(Offset, Size); in getSymbolContent()
1174 Section &Sec = Sym.getBlock().getSection(); in makeExternal()
1196 Section &Sec = Sym.getBlock().getSection(); in makeAbsolute()
1264 if (&S->getBlock() == &B) in transferBlock()
1322 Sym.getBlock().getSection().removeSymbol(Sym); in removeDefinedSymbol()
1331 return &Sym->getBlock() == &B; in removeBlock()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DWorkList.h54 const CFGBlock *getBlock() const { return block; } in getBlock() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp515 BasicBlock *OuterAllocaBlock = OuterAllocaIP.getBlock(); in createParallel()
559 if (IP.getBlock()->end() == IP.getPoint()) { in createParallel()
901 if (IP.getBlock()->end() != IP.getPoint()) in createSections()
912 auto *CaseBB = IP.getBlock()->getSinglePredecessor(); in createSections()
939 auto *CurFn = CodeGenIP.getBlock()->getParent(); in createSections()
941 auto *ForExitBB = CodeGenIP.getBlock() in createSections()
998 if (IP.getBlock()->end() != IP.getPoint()) in createSection()
1009 auto *CaseBB = Loc.IP.getBlock(); in createSection()
1148 BasicBlock *BB = Loc.IP.getBlock(); in createCanonicalLoop()
2078 BasicBlock *FiniBB = FinIP.getBlock(); in emitCommonDirectiveExit()
[all …]

123456