| /netbsd-src/external/apache2/llvm/dist/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() 122 if (auto TS = getELFGOTTarget(G, Sym->getBlock())) in registerELFGraphInfo() 134 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-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() 120 if (auto TS = getMachOGOTTarget(G, Sym->getBlock())) in registerMachOGraphInfo() 131 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | MemorySSAUpdater.cpp | 148 return getPreviousDefRecursive(MA->getBlock(), CachedPreviousDef); in getPreviousDef() 155 auto *Defs = MSSA->getWritableBlockDefs(MA->getBlock()); in getPreviousDefInBlock() 167 auto End = MSSA->getWritableBlockAccesses(MA->getBlock())->rend(); in getPreviousDefInBlock() 263 auto *Defs = MSSA->getBlockDefs(MU->getBlock()); in insertUse() 271 BasicBlock *StartBlock = MU->getBlock(); in insertUse() 280 MSSA->renamePass(MU->getBlock(), FirstDef, Visited); in insertUse() 286 MSSA->renamePass(Phi->getBlock(), nullptr, Visited); in insertUse() 320 if (DefBefore->getBlock() == MD->getBlock() && in insertDef() 370 DefiningBlocks.insert(MD->getBlock()); in insertDef() 373 DefiningBlocks.insert(RealPHI->getBlock()); in insertDef() [all …]
|
| H A D | MemorySSA.cpp | 531 BasicBlock *BB = From->getBlock(); in getWalkTarget() 535 auto *Defs = MSSA.getBlockDefs(Node->getBlock()); in getWalkTarget() 892 const BasicBlock *ChainBB = DefChainEnd->getBlock(); in tryOptimizePhi() 896 if (DT.dominates(ChainBB, TP.Clobber->getBlock())) in tryOptimizePhi() 1159 bool AlreadyVisited = !Visited.insert(Root->getBlock()).second; in renamePass() 1163 IncomingVal = renameBlock(Root->getBlock(), IncomingVal, RenameAllUses); in renamePass() 1164 renameSuccessorPhis(Root->getBlock(), IncomingVal, RenameAllUses); in renamePass() 1177 BasicBlock *BB = Child->getBlock(); in renamePass() 1354 BasicBlock *BackBlock = VersionStack.back()->getBlock(); in optimizeUsesInBlock() 1357 while (VersionStack.back()->getBlock() == BackBlock) in optimizeUsesInBlock() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| H A D | GenericDomTreeConstruction.h | 154 BlockNamePrinter(TreeNodePtr TN) : N(TN ? TN->getBlock() : nullptr) {} in BlockNamePrinter() 601 NodeToInfo[NumToNode[1]].IDom = AttachTo->getBlock(); in attachNewSubtree() 621 NodeToInfo[NumToNode[1]].IDom = AttachTo->getBlock(); in reattachExistingSubtree() 689 if (!llvm::is_contained(DT.Roots, To->getBlock())) in UpdateRootsBeforeInsertion() 741 LLVM_DEBUG(dbgs() << "\tReachable " << BlockNamePrinter(From->getBlock()) in InsertReachable() 742 << " -> " << BlockNamePrinter(To->getBlock()) << "\n"); in InsertReachable() 748 (From->getBlock() && To->getBlock()) in InsertReachable() 749 ? DT.findNearestCommonDominator(From->getBlock(), To->getBlock()) in InsertReachable() 785 assert(TN->getBlock() && II.Visited.count(TN) && "Preconditions!"); in InsertReachable() 796 for (const NodePtr Succ : getChildren<IsPostDom>(TN->getBlock(), BUI)) { in InsertReachable() [all …]
|
| H A D | GenericDomTree.h | 88 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 D | GenericIteratedDominanceFrontier.h | 173 NodeTy *BB = Node->getBlock(); in calculate() 186 NodeTy *SuccBB = SuccNode->getBlock(); in calculate()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | BranchFolding.cpp | 480 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() 722 unsigned t = EstimateRuntime(SameTails[i].getBlock()->begin(), in CreateCommonTailOnlyBlock() 732 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in CreateCommonTailOnlyBlock() 809 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in mergeCommonTails() 831 assert(Pos != SameTails[i].getBlock()->end() && in mergeCommonTails() 835 assert(Pos != SameTails[i].getBlock()->end() && in mergeCommonTails() [all …]
|
| H A D | BranchFolding.h | 61 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 D | LiveRangeCalc.cpp | 69 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()
|
| /netbsd-src/external/apache2/llvm/dist/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 | 233 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
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyExceptionInfo.cpp | 83 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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 607 ResolveBranchFixups(Dest.getBlock()); in EmitLabel() 610 EmitBlock(Dest.getBlock()); in EmitLabel() 796 EmitBlock(LoopHeader.getBlock()); in EmitWhileStmt() 828 LoopStack.push(LoopHeader.getBlock(), CGM.getContext(), CGM.getCodeGenOpts(), in EmitWhileStmt() 836 llvm::BasicBlock *ExitBlock = LoopExit.getBlock(); in EmitWhileStmt() 846 if (ExitBlock != LoopExit.getBlock()) { in EmitWhileStmt() 876 EmitBranch(LoopHeader.getBlock()); in EmitWhileStmt() 881 EmitBlock(LoopExit.getBlock(), true); in EmitWhileStmt() 886 SimplifyForwardingBlocks(LoopHeader.getBlock()); in EmitWhileStmt() 908 EmitBlock(LoopCond.getBlock()); in EmitDoStmt() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | WorkList.cpp | 159 BE->getBlock()->getBlockID(), in enqueue() 235 BE->getBlock()->getBlockID(), in enqueue() 296 NumVisited = NumReached[BE->getBlock()]++; in enqueue()
|
| H A D | CoreEngine.cpp | 191 HandlePostStmt(WU.getBlock(), WU.getIndex(), Pred); in dispatchWorkItem() 280 unsigned BlockId = L.getBlock()->getBlockID(); in HandleBlockEntrance() 288 NodeBuilderContext Ctx(*this, L.getBlock(), Pred); in HandleBlockEntrance() 292 HandleBlockExit(L.getBlock(), Pred); in HandleBlockEntrance() 653 Eng.G.getNode(BlockEdge(Src, I.getBlock(), Pred->getLocationContext()), in generateNode() 671 Eng.G.getNode(BlockEdge(Src, I.getBlock(), Pred->getLocationContext()), in generateCaseStmtNode()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLink.cpp | 125 auto &TargetBlock = TargetSym.getBlock(); in printEdge() 205 if (&Sym->getBlock() == &B) in splitBlock() 234 BlockSymbols[&Sym->getBlock()].push_back(Sym); in dump() 374 if (&Sym->getBlock() == &B && Sym->hasName() && Sym->getOffset() == 0 && in makeTargetOutOfRangeError()
|
| H A D | MachO_x86_64.cpp | 255 BlockToFix = &SymbolToFixOrErr->getBlock(); in addRelocations() 502 auto &GOTBlock = E.getTarget().getBlock(); in optimizeMachO_x86_64_GOTAndStubs() 535 auto &StubBlock = E.getTarget().getBlock(); in optimizeMachO_x86_64_GOTAndStubs() 541 auto &GOTBlock = StubBlock.edges().begin()->getTarget().getBlock(); in optimizeMachO_x86_64_GOTAndStubs()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 202 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()
|
| H A D | DeadStoreElimination.cpp | 1324 unsigned StepCost = KillingDef->getBlock() == Current->getBlock() in getDomMemoryDef() 1402 if (Current->getBlock() != KillingDef->getBlock() && in getDomMemoryDef() 1485 UseAccess->getBlock()); in getDomMemoryDef() 1557 PostOrderNumbers.find(EarlierAccess->getBlock())->second) { in getDomMemoryDef() 1591 if (PDT.dominates(CommonPred, EarlierAccess->getBlock())) in getDomMemoryDef() 1599 if (PDT.dominates(CommonPred, EarlierAccess->getBlock())) { in getDomMemoryDef() 1618 if (Current == EarlierAccess->getBlock()) in getDomMemoryDef() 1904 BasicBlock *IncomingBlock = IncomingAccess->getBlock(); in eliminateDeadStores() 1905 BasicBlock *PhiBlock = EarlierAccess->getBlock(); in eliminateDeadStores()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| H A D | ProgramPoint.cpp | 63 << castAs<BlockEntrance>().getBlock()->getBlockID(); in printJson() 69 << ", \"block_id\": " << FEP->getBlock()->getBlockID() in printJson()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | DominanceFrontierImpl.h | 162 BlockT *BB = Node->getBlock(); in calculate() 199 BlockT *childBB = IDominee->getBlock(); in calculate()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | JITLink.h | 468 Block &getBlock() { in getBlock() function 475 const Block &getBlock() const { in getBlock() function 502 bool isSymbolZeroFill() const { return getBlock().isZeroFill(); } in isSymbolZeroFill() 507 return getBlock().getContent().slice(Offset, Size); in getSymbolContent() 1072 Section &Sec = Sym.getBlock().getSection(); in makeExternal() 1094 Section &Sec = Sym.getBlock().getSection(); in makeAbsolute() 1183 Sym.getBlock().getSection().removeSymbol(Sym); in removeDefinedSymbol() 1191 return &Sym->getBlock() == &B; in removeBlock()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 323 !Function.empty() ? Function : Loc.IP.getBlock()->getParent()->getName(); in getOrCreateSrcLocStr() 502 BasicBlock *OuterAllocaBlock = OuterAllocaIP.getBlock(); in createParallel() 546 if (IP.getBlock()->end() == IP.getPoint()) { in createParallel() 552 assert(IP.getBlock()->getTerminator()->getNumSuccessors() == 1 && in createParallel() 553 IP.getBlock()->getTerminator()->getSuccessor(0) == PRegExitBB && in createParallel() 888 if (IP.getBlock()->end() != IP.getPoint()) in createSections() 899 auto *CaseBB = IP.getBlock()->getSinglePredecessor(); in createSections() 926 auto *CurFn = CodeGenIP.getBlock()->getParent(); in createSections() 927 auto *ForIncBB = CodeGenIP.getBlock()->getSingleSuccessor(); in createSections() 928 auto *ForExitBB = CodeGenIP.getBlock() in createSections() [all …]
|