| /openbsd-src/gnu/llvm/llvm/tools/llvm-jitlink/ |
| H A D | llvm-jitlink-elf.cpp | 46 TargetSym.getBlock().getSection().getName() + in getELFGOTTarget() 58 if (!GOTSym.isDefined() || !isELFGOTSection(GOTSym.getBlock().getSection())) in getELFStubTarget() 61 GOTSym.getBlock().getSection().getName() + in getELFStubTarget() 64 return getELFGOTTarget(G, GOTSym.getBlock()); in getELFStubTarget() 121 if (auto TS = getELFGOTTarget(G, Sym->getBlock())) in registerELFGraphInfo() 133 if (auto TS = getELFStubTarget(G, Sym->getBlock())) in registerELFGraphInfo() 156 (LastSym->getBlock().getAddress() + LastSym->getBlock().getSize()) - in registerELFGraphInfo() 167 ArrayRef<char>(FirstSym->getBlock().getContent().data(), SecSize), in registerELFGraphInfo()
|
| H A D | llvm-jitlink-coff.cpp | 46 TargetSym.getBlock().getSection().getName() + in getCOFFGOTTarget() 58 if (!GOTSym.isDefined() || !isCOFFGOTSection(GOTSym.getBlock().getSection())) in getCOFFStubTarget() 61 GOTSym.getBlock().getSection().getName() + in getCOFFStubTarget() 64 return getCOFFGOTTarget(G, GOTSym.getBlock()); in getCOFFStubTarget() 119 if (auto TS = getCOFFGOTTarget(G, Sym->getBlock())) in registerCOFFGraphInfo() 131 if (auto TS = getCOFFStubTarget(G, Sym->getBlock())) in registerCOFFGraphInfo() 154 (LastSym->getBlock().getAddress() + LastSym->getBlock().getSize()) - in registerCOFFGraphInfo() 166 ArrayRef<char>(FirstSym->getBlock().getContent().data(), SecSize), in registerCOFFGraphInfo()
|
| H A D | llvm-jitlink-macho.cpp | 48 TargetSym.getBlock().getSection().getName() + in getMachOGOTTarget() 60 if (!GOTSym.isDefined() || !isMachOGOTSection(GOTSym.getBlock().getSection())) in getMachOStubTarget() 63 GOTSym.getBlock().getSection().getName() + in getMachOStubTarget() 66 return getMachOGOTTarget(G, GOTSym.getBlock()); in getMachOStubTarget() 119 if (auto TS = getMachOGOTTarget(G, Sym->getBlock())) in registerMachOGraphInfo() 130 if (auto TS = getMachOStubTarget(G, Sym->getBlock())) in registerMachOGraphInfo() 151 (LastSym->getBlock().getAddress() + LastSym->getBlock().getSize()) - in registerMachOGraphInfo() 162 ArrayRef<char>(FirstSym->getBlock().getContent().data(), SecSize), in registerMachOGraphInfo()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | MemorySSAUpdater.cpp | 141 return getPreviousDefRecursive(MA->getBlock(), CachedPreviousDef); in getPreviousDef() 148 auto *Defs = MSSA->getWritableBlockDefs(MA->getBlock()); in getPreviousDefInBlock() 160 auto End = MSSA->getWritableBlockAccesses(MA->getBlock())->rend(); in getPreviousDefInBlock() 257 auto *Defs = MSSA->getBlockDefs(MU->getBlock()); in insertUse() 265 BasicBlock *StartBlock = MU->getBlock(); in insertUse() 274 MSSA->renamePass(MU->getBlock(), FirstDef, Visited); in insertUse() 280 MSSA->renamePass(Phi->getBlock(), nullptr, Visited); in insertUse() 309 if (!MSSA->DT->isReachableFromEntry(MD->getBlock())) { in insertDef() 320 if (DefBefore->getBlock() == MD->getBlock() && in insertDef() 370 DefiningBlocks.insert(MD->getBlock()); in insertDef() [all …]
|
| H A D | MemorySSA.cpp | 533 BasicBlock *BB = From->getBlock(); in getWalkTarget() 537 auto *Defs = MSSA.getBlockDefs(Node->getBlock()); in getWalkTarget() 883 const BasicBlock *ChainBB = DefChainEnd->getBlock(); in tryOptimizePhi() 887 if (DT.dominates(ChainBB, TP.Clobber->getBlock())) in tryOptimizePhi() 1158 bool AlreadyVisited = !Visited.insert(Root->getBlock()).second; in renamePass() 1162 IncomingVal = renameBlock(Root->getBlock(), IncomingVal, RenameAllUses); in renamePass() 1163 renameSuccessorPhis(Root->getBlock(), IncomingVal, RenameAllUses); in renamePass() 1176 BasicBlock *BB = Child->getBlock(); in renamePass() 1352 BasicBlock *BackBlock = VersionStack.back()->getBlock(); in optimizeUsesInBlock() 1355 while (VersionStack.back()->getBlock() == BackBlock) in optimizeUsesInBlock() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | GenericDomTreeConstruction.h | 155 BlockNamePrinter(TreeNodePtr TN) : N(TN ? TN->getBlock() : nullptr) {} in BlockNamePrinter() 600 NodeToInfo[NumToNode[1]].IDom = AttachTo->getBlock(); in attachNewSubtree() 620 NodeToInfo[NumToNode[1]].IDom = AttachTo->getBlock(); in reattachExistingSubtree() 688 if (!llvm::is_contained(DT.Roots, To->getBlock())) in UpdateRootsBeforeInsertion() 740 LLVM_DEBUG(dbgs() << "\tReachable " << BlockNamePrinter(From->getBlock()) in InsertReachable() 741 << " -> " << BlockNamePrinter(To->getBlock()) << "\n"); in InsertReachable() 747 (From->getBlock() && To->getBlock()) in InsertReachable() 748 ? DT.findNearestCommonDominator(From->getBlock(), To->getBlock()) in InsertReachable() 784 assert(TN->getBlock() && II.Visited.count(TN) && "Preconditions!"); in InsertReachable() 795 for (const NodePtr Succ : getChildren<IsPostDom>(TN->getBlock(), BUI)) { in InsertReachable() [all …]
|
| H A D | GenericDomTree.h | 89 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 D | GenericIteratedDominanceFrontier.h | 173 NodeTy *BB = Node->getBlock(); in calculate() 186 NodeTy *SuccBB = SuccNode->getBlock(); in calculate()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Analysis/ |
| H A D | CFGStmtMap.h | 41 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 D | ProgramPoint.h | 231 const CFGBlock *getBlock() const { in getBlock() function 236 const CFGBlock *B = getBlock(); in getFirstElement() 253 const CFGBlock *getBlock() const { in getBlock() function 258 return getBlock()->getTerminatorStmt(); in getTerminator() 340 const CFGBlock *getBlock() const { in getBlock() function
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | BranchFolding.cpp | 484 if (getBlock()->getNumber() < o.getBlock()->getNumber()) in operator <() 486 if (getBlock()->getNumber() > o.getBlock()->getNumber()) in operator <() 670 if (ProfitableToMerge(CurMPIter->getBlock(), I->getBlock(), in ComputeSameTails() 701 MachineBasicBlock *CurMBB = CurMPIter->getBlock(); in RemoveBlocksWithHash() 720 if (SameTails[i].getBlock() == PredBB) { in CreateCommonTailOnlyBlock() 726 unsigned t = EstimateRuntime(SameTails[i].getBlock()->begin(), in CreateCommonTailOnlyBlock() 736 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in CreateCommonTailOnlyBlock() 813 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in mergeCommonTails() 835 assert(Pos != SameTails[i].getBlock()->end() && in mergeCommonTails() 839 assert(Pos != SameTails[i].getBlock()->end() && in mergeCommonTails() [all …]
|
| H A D | BranchFolding.h | 59 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 D | LiveRangeCalc.cpp | 67 MachineBasicBlock *MBB = I.DomNode->getBlock(); in updateFromLiveIns() 342 MachineBasicBlock *MBB = Node->getBlock(); in updateSSA() 348 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber()); in updateSSA() 354 IDomValue = Map[IDom->getBlock()]; in updateSSA() 359 Map[IDom->getBlock()].second = IDomValue.second = in updateSSA()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Analysis/Analyses/ |
| H A D | Dominators.h | 77 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyExceptionInfo.cpp | 84 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate() 127 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate() 166 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate() 196 MachineBasicBlock *MBB = DomNode->getBlock(); in recalculate() 242 MachineBasicBlock *MBB = DomNode->getBlock(); in recalculate()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | x86_64.cpp | 96 auto &GOTEntryBlock = E.getTarget().getBlock(); in optimizeGOTAndStubAccesses() 159 auto &StubBlock = E.getTarget().getBlock(); in optimizeGOTAndStubAccesses() 165 auto &GOTBlock = StubBlock.edges().begin()->getTarget().getBlock(); in optimizeGOTAndStubAccesses()
|
| H A D | JITLink.cpp | 122 auto &TargetBlock = TargetSym.getBlock(); in printEdge() 201 if (&Sym->getBlock() == &B) in splitBlock() 235 BlockSymbols[&Sym->getBlock()].push_back(Sym); in dump() 370 ErrStream << E.getTarget().getBlock().getSection().getName() << " + " in makeTargetOutOfRangeError() 378 if (&Sym->getBlock() == &B && Sym->hasName() && Sym->getOffset() == 0 && in makeTargetOutOfRangeError()
|
| H A D | SEHFrameSupport.h | 46 Children.insert(&Sym.getBlock()); in operator()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 648 ResolveBranchFixups(Dest.getBlock()); in EmitLabel() 651 EmitBlock(Dest.getBlock()); in EmitLabel() 871 EmitBlock(LoopHeader.getBlock()); in EmitWhileStmt() 903 LoopStack.push(LoopHeader.getBlock(), CGM.getContext(), CGM.getCodeGenOpts(), in EmitWhileStmt() 911 llvm::BasicBlock *ExitBlock = LoopExit.getBlock(); in EmitWhileStmt() 921 if (ExitBlock != LoopExit.getBlock()) { in EmitWhileStmt() 951 EmitBranch(LoopHeader.getBlock()); in EmitWhileStmt() 956 EmitBlock(LoopExit.getBlock(), true); in EmitWhileStmt() 961 SimplifyForwardingBlocks(LoopHeader.getBlock()); in EmitWhileStmt() 983 EmitBlock(LoopCond.getBlock()); in EmitDoStmt() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | WorkList.cpp | 159 BE->getBlock()->getBlockID(), in enqueue() 229 BE->getBlock()->getBlockID(), in enqueue() 284 NumVisited = NumReached[BE->getBlock()]++; in enqueue()
|
| H A D | CoreEngine.cpp | 220 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 201 while (IDom->getBlock()->isEHPad()) { in findMatInsertPt() 202 assert(Entry != IDom->getBlock() && "eh pad in entry block"); in findMatInsertPt() 206 return IDom->getBlock()->getTerminator(); in findMatInsertPt() 240 Node = DT.getNode(Node)->getIDom()->getBlock(); in findBestInsertionSet() 260 if (Candidates.count(ChildDomNode->getBlock())) in findBestInsertionSet() 261 Orders.push_back(ChildDomNode->getBlock()); in findBestInsertionSet() 289 BasicBlock *Parent = DT.getNode(Node)->getIDom()->getBlock(); in findBestInsertionSet()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A D | ProgramPoint.cpp | 63 << castAs<BlockEntrance>().getBlock()->getBlockID(); in printJson() 69 << ", \"block_id\": " << FEP->getBlock()->getBlockID() in printJson()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | DominanceFrontierImpl.h | 161 BlockT *BB = Node->getBlock(); in calculate() 198 BlockT *childBB = IDominee->getBlock(); in calculate()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | JITLink.h | 540 Block &getBlock() { in getBlock() function 547 const Block &getBlock() const { in getBlock() function 579 bool isSymbolZeroFill() const { return getBlock().isZeroFill(); } in isSymbolZeroFill() 584 return getBlock().getContent().slice(Offset, Size); in getSymbolContent() 1235 Section &Sec = Sym.getBlock().getSection(); in makeExternal() 1263 Section &Sec = Sym.getBlock().getSection(); in makeAbsolute() 1309 auto &OldSection = Sym.getBlock().getSection(); in transferDefinedSymbol() 1338 if (&S->getBlock() == &B) in transferBlock() 1396 Sym.getBlock().getSection().removeSymbol(Sym); in removeDefinedSymbol() 1405 return &Sym->getBlock() == &B; in removeBlock()
|