Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp257 auto *Defs = MSSA->getBlockDefs(MU->getBlock()); in insertUse()
265 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()
675 BasicBlock *NewPhiBB = NewPhi->getBlock(); in updateForClonedLoop()
870 if (IDom->getBlock() != BB) { in applyInsertUpdates()
871 BB = IDom->getBlock(); in applyInsertUpdates()
[all …]
H A DMemorySSA.cpp527 BasicBlock *BB = From->getBlock(); in getWalkTarget()
531 auto *Defs = MSSA.getBlockDefs(Node->getBlock()); in getWalkTarget()
1170 BasicBlock *BB = Child->getBlock(); in renamePass()
1349 while (VersionStack.back()->getBlock() == BackBlock) in optimizeUsesInBlock()
1663 ValueToMemoryAccess.erase(What->getBlock()); in moveTo()
1808 MemoryInst = MA->getBlock(); in removeFromLookups()
1822 BasicBlock *BB = MA->getBlock(); in removeFromLists()
2083 assert((DominatorBlock == Dominatee->getBlock()) && in locallyDominates()
2118 if (Dominator->getBlock() != Dominatee->getBlock()) in dominates()
2119 return DT->dominates(Dominator->getBlock(), Dominatee->getBlock()); in dominates()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericDomTreeConstruction.h743 (From->getBlock() && To->getBlock()) in InsertReachable()
744 ? DT.findNearestCommonDominator(From->getBlock(), To->getBlock()) in InsertReachable()
973 DT.findNearestCommonDominator(FromTN->getBlock(), ToTN->getBlock()); in DeleteReachable()
1008 auto TNB = TN->getBlock(); in HasProperSupport()
1033 assert(ToTN->getBlock()); in DeleteUnreachable()
1073 DT.findNearestCommonDominator(TN->getBlock(), ToTN->getBlock()); in DeleteUnreachable()
1266 const NodePtr BB = TN->getBlock(); in verifyReachability()
1299 const NodePtr BB = TN->getBlock(); in VerifyLevels()
1467 const NodePtr BB = TN->getBlock(); in verifyParentProperty()
1501 const NodePtr BB = TN->getBlock(); in verifySiblingProperty()
[all …]
H A DGenericDomTree.h89 NodeT *getBlock() const { return TheBB; }
112 const NodeT *Nd = I->getBlock();
117 const NodeT *N = I->getBlock();
175 if (Node->getBlock())
176 Node->getBlock()->printAsOperand(O, false);
400 Result.push_back(N->getBlock());
511 return NodeA->getBlock();
523 return isPostDominator() && !A->getBlock();
H A DGenericIteratedDominanceFrontier.h172 NodeTy *BB = Node->getBlock(); in calculate()
185 NodeTy *SuccBB = SuccNode->getBlock(); in calculate()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFGStmtMap.h43 CFGBlock *getBlock(Stmt * S);
45 const CFGBlock *getBlock(const Stmt * S) const { in getBlock() function
46 return const_cast<CFGStmtMap*>(this)->getBlock(const_cast<Stmt*>(S)); in getBlock()
H A DProgramPoint.h227 const CFGBlock *getBlock() const { in getBlock() function
232 const CFGBlock *B = getBlock(); in getFirstElement()
249 const CFGBlock *getBlock() const { in getBlock() function
254 return getBlock()->getTerminatorStmt(); in getTerminator()
337 const CFGBlock *getBlock() const { in getBlock() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DBranchFolding.cpp484 if (getBlock()->getNumber() < o.getBlock()->getNumber()) in operator <()
486 if (getBlock()->getNumber() > o.getBlock()->getNumber()) in operator <()
664 if (ProfitableToMerge(CurMPIter->getBlock(), I->getBlock(), in ComputeSameTails()
714 if (SameTails[i].getBlock() == PredBB) { in CreateCommonTailOnlyBlock()
829 assert(Pos != SameTails[i].getBlock()->end() && in mergeCommonTails()
935 SameTails[0].getBlock()->isLayoutSuccessor(SameTails[1].getBlock()) && in TryTailMergeBlocks()
940 SameTails[0].getBlock()) && in TryTailMergeBlocks()
942 !SameTails[0].getBlock()->isEHPad()) in TryTailMergeBlocks()
1023 TriedMerging.insert(Elt.getBlock()); in TailMergeBlocks()
1135 TriedMerging.insert(Elt.getBlock()); in TailMergeBlocks()
[all …]
H A DBranchFolding.h59 MachineBasicBlock *getBlock() const { return Block; } in getBlock() function
98 MachineBasicBlock *getBlock() const { in getBlock() function
99 return getMergePotentialsElt().getBlock(); in getBlock()
103 return TailStartPos == getBlock()->begin(); in tailIsWholeBlock()
H A DLiveRangeCalc.cpp67 MachineBasicBlock *MBB = I.DomNode->getBlock(); in updateFromLiveIns()
347 MachineBasicBlock *MBB = Node->getBlock(); in updateSSA()
353 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber()); in updateSSA()
359 IDomValue = Map[IDom->getBlock()]; in updateSSA()
364 Map[IDom->getBlock()].second = IDomValue.second = in updateSSA()
/freebsd/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/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DDebugInfoSupport.cpp37 Preserved[&Sym->getBlock()] = Sym; in preserveDWARFSection()
38 else if (!Preserved.count(&Sym->getBlock())) in preserveDWARFSection()
39 Preserved[&Sym->getBlock()] = Sym; in preserveDWARFSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyExceptionInfo.cpp84 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate()
128 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate()
167 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate()
197 MachineBasicBlock *MBB = DomNode->getBlock(); in recalculate()
243 MachineBasicBlock *MBB = DomNode->getBlock(); in recalculate()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A Dx86_64.cpp98 auto &GOTEntryBlock = E.getTarget().getBlock(); in optimizeGOTAndStubAccesses()
161 auto &StubBlock = E.getTarget().getBlock(); in optimizeGOTAndStubAccesses()
167 auto &GOTBlock = StubBlock.edges().begin()->getTarget().getBlock(); in optimizeGOTAndStubAccesses()
H A Di386.cpp59 auto &StubBlock = E.getTarget().getBlock(); in optimizeGOTAndStubAccesses()
65 auto &GOTBlock = StubBlock.edges().begin()->getTarget().getBlock(); in optimizeGOTAndStubAccesses()
H A DJITLink.cpp142 auto &TargetBlock = TargetSym.getBlock(); in printEdge()
221 if (&Sym->getBlock() == &B) in splitBlock()
255 BlockSymbols[&Sym->getBlock()].push_back(Sym); in dump()
390 ErrStream << E.getTarget().getBlock().getSection().getName() << " + " in makeTargetOutOfRangeError()
398 if (&Sym->getBlock() == &B && Sym->hasName() && Sym->getOffset() == 0 && in makeTargetOutOfRangeError()
H A DSEHFrameSupport.h46 Children.insert(&Sym.getBlock()); in operator()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp655 ResolveBranchFixups(Dest.getBlock()); in EmitLabel()
658 EmitBlock(Dest.getBlock()); in EmitLabel()
890 EmitBlock(LoopHeader.getBlock()); in EmitWhileStmt()
970 EmitBranch(LoopHeader.getBlock()); in EmitWhileStmt()
975 EmitBlock(LoopExit.getBlock(), true); in EmitWhileStmt()
1002 EmitBlock(LoopCond.getBlock()); in EmitDoStmt()
1037 EmitBlock(LoopExit.getBlock()); in EmitDoStmt()
1142 EmitBlock(Continue.getBlock()); in EmitForStmt()
1158 EmitBlock(LoopExit.getBlock(), true); in EmitForStmt()
1228 EmitBlock(Continue.getBlock()); in EmitCXXForRangeStmt()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp346 BasicBlock *DPValue::getBlock() { return Marker->getParent(); } in getBlock() function in llvm::DPValue
348 const BasicBlock *DPValue::getBlock() const { return Marker->getParent(); } in getBlock() function in llvm::DPValue
350 Function *DPValue::getFunction() { return getBlock()->getParent(); } in getFunction()
352 const Function *DPValue::getFunction() const { return getBlock()->getParent(); } in getFunction()
358 LLVMContext &DPValue::getContext() { return getBlock()->getContext(); } in getContext()
361 return getBlock()->getContext(); in getContext()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DWorkList.cpp159 BE->getBlock()->getBlockID(), in enqueue()
229 BE->getBlock()->getBlockID(), in enqueue()
284 NumVisited = NumReached[BE->getBlock()]++; in enqueue()
H A DCoreEngine.cpp220 HandlePostStmt(WU.getBlock(), WU.getIndex(), Pred); in dispatchWorkItem()
310 unsigned BlockId = L.getBlock()->getBlockID(); in HandleBlockEntrance()
318 NodeBuilderContext Ctx(*this, L.getBlock(), Pred); in HandleBlockEntrance()
321 HandleBlockExit(L.getBlock(), Pred); in HandleBlockEntrance()
682 Eng.G.getNode(BlockEdge(Src, I.getBlock(), Pred->getLocationContext()), in generateNode()
700 Eng.G.getNode(BlockEdge(Src, I.getBlock(), Pred->getLocationContext()), in generateCaseStmtNode()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp36 while (Node && Node->getBlock()) { in getDominators()
37 ret.push_back(Node->getBlock()); in getDominators()
55 ret.push_back(Child->getBlock()); in getDominatees()
61 ret.push_back(Child->getBlock()); in getDominatees()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp204 while (IDom->getBlock()->isEHPad()) { in findMatInsertPt()
205 assert(Entry != IDom->getBlock() && "eh pad in entry block"); in findMatInsertPt()
209 return IDom->getBlock()->getTerminator(); in findMatInsertPt()
243 Node = DT.getNode(Node)->getIDom()->getBlock(); in findBestInsertionSet()
263 if (Candidates.count(ChildDomNode->getBlock())) in findBestInsertionSet()
264 Orders.push_back(ChildDomNode->getBlock()); in findBestInsertionSet()
292 BasicBlock *Parent = DT.getNode(Node)->getIDom()->getBlock(); in findBestInsertionSet()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h553 Block &getBlock() { in getBlock() function
560 const Block &getBlock() const { in getBlock() function
570 assert(NewOffset < getBlock().getSize() && "Offset out of range"); in setOffset()
597 bool isSymbolZeroFill() const { return getBlock().isZeroFill(); } in isSymbolZeroFill()
602 return getBlock().getContent().slice(Offset, Size); in getSymbolContent()
1328 Section &Sec = Sym.getBlock().getSection(); in makeExternal()
1356 Section &Sec = Sym.getBlock().getSection(); in makeAbsolute()
1402 auto &OldSection = Sym.getBlock().getSection(); in transferDefinedSymbol()
1431 if (&S->getBlock() == &B) in transferBlock()
1490 Sym.getBlock().getSection().removeSymbol(Sym); in removeDefinedSymbol()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DProgramPoint.cpp63 << castAs<BlockEntrance>().getBlock()->getBlockID(); in printJson()
69 << ", \"block_id\": " << FEP->getBlock()->getBlockID() in printJson()

1234567