Home
last modified time | relevance | path

Searched refs:EntryBlock (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DEHPersonalities.cpp107 BasicBlock *EntryBlock = &F.getEntryBlock(); in colorEHFunclets() local
123 Worklist.push_back({EntryBlock, EntryBlock}); in colorEHFunclets()
154 SuccColor = EntryBlock; in colorEHFunclets()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileInference.h291 auto &EntryBlock = Func.Blocks[Func.Entry]; in createFlowFunction() local
292 if (EntryBlock.Weight == 0 && !EntryBlock.HasUnknownWeight) { in createFlowFunction()
293 EntryBlock.Weight = 1; in createFlowFunction()
294 EntryBlock.HasUnknownWeight = false; in createFlowFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DGenericCycleImpl.h153 void run(BlockT *EntryBlock);
158 void dfs(BlockT *EntryBlock);
222 void GenericCycleInfoCompute<ContextT>::run(BlockT *EntryBlock) { in run() argument
223 LLVM_DEBUG(errs() << "Entry block: " << Info.Context.print(EntryBlock) in run()
225 dfs(EntryBlock); in run()
331 void GenericCycleInfoCompute<ContextT>::dfs(BlockT *EntryBlock) { in dfs() argument
335 TraverseStack.emplace_back(EntryBlock); in dfs()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBlockCoverageInference.cpp134 auto &EntryBlock = F.getEntryBlock(); in findDependencies() local
138 getReachableAvoiding(EntryBlock, BB, /*IsForward=*/true, in findDependencies()
168 PredecessorDependencies[&EntryBlock].clear(); in findDependencies()
169 SuccessorDependencies[&EntryBlock].clear(); in findDependencies()
H A DControlHeightReduction.cpp348 BasicBlock *EntryBlock,
1557 BasicBlock *EntryBlock, BasicBlock *ExitBlock, in insertTrivialPHIs() argument
1582 } else if (UI->getParent() == EntryBlock && isa<PHINode>(UI)) { in insertTrivialPHIs()
1701 BasicBlock *EntryBlock = FirstRegion->getEntry(); in transformScopes() local
1704 std::optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); in transformScopes()
1713 insertTrivialPHIs(Scope, EntryBlock, ExitBlock, TrivialPHIs); in transformScopes()
1723 CHR_DEBUG(dbgs() << "Splitting entry block " << EntryBlock->getName() in transformScopes()
1726 SplitBlock(EntryBlock, Scope->BranchInsertPoint, &DT); in transformScopes()
1727 assert(NewEntryBlock->getSinglePredecessor() == EntryBlock && in transformScopes()
1730 BasicBlock *PreEntryBlock = EntryBlock; in transformScopes()
[all …]
H A DGCOVProfiling.cpp331 Version(Version), EntryBlock(P, 0), ReturnBlock(P, 1) { in GCOVFunction()
351 GCOVBlock &getEntryBlock() { return EntryBlock; } in getEntryBlock()
404 const uint32_t Outgoing = EntryBlock.OutEdges.size(); in writeOut()
408 write(EntryBlock.Number); in writeOut()
409 for (const auto &E : EntryBlock.OutEdges) { in writeOut()
439 GCOVBlock EntryBlock; member in __anon09913f2a0311::GCOVFunction
832 BasicBlock &EntryBlock = F.getEntryBlock(); in emitProfileNotes() local
873 Func.getBlock(&EntryBlock).getFile(Filename).addLine(Line); in emitProfileNotes()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp174 BasicBlock *EntryBlock, BasicBlock *ExitBlock, in OutlineRegionInfo()
176 : Region(Region.begin(), Region.end()), EntryBlock(EntryBlock), in OutlineRegionInfo()
179 BasicBlock *EntryBlock; member
349 BasicBlock *EntryBlock = &F.front(); in computeOutliningColdRegionsInfo() local
414 BasicBlock *CurrEntry = EntryBlock; in computeOutliningColdRegionsInfo()
518 BasicBlock *EntryBlock = &F.front(); in computeOutliningInfo() local
519 BranchInst *BR = dyn_cast<BranchInst>(EntryBlock->getTerminator()); in computeOutliningInfo()
555 BasicBlock *CurrEntry = EntryBlock; in computeOutliningInfo()
989 BasicBlock *NewEntryBlock = cast<BasicBlock>(VMap[RegionInfo.EntryBlock]); in FunctionCloner()
1116 LookupAC(*RegionInfo.EntryBlock->getParent()), in doMultiRegionFunctionOutlining()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaFrameLowering.cpp197 MachineBasicBlock &EntryBlock = *(MF->begin()); in spillCalleeSavedRegisters() local
209 EntryBlock.addLiveIn(Reg); in spillCalleeSavedRegisters()
214 TII.storeRegToStackSlot(EntryBlock, MI, Reg, IsKill, CSI[i].getFrameIdx(), in spillCalleeSavedRegisters()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp108 BasicBlock &EntryBlock = *F.begin(); in lowerKernelArguments() local
109 IRBuilder<> Builder(&EntryBlock, getInsertPt(EntryBlock)); in lowerKernelArguments()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF_aarch64.cpp530 auto &EntryBlock = in createEntry() local
533 EntryBlock.addEdge(aarch64::Pointer64, 0, getTLSDescResolver(G), 0); in createEntry()
534 EntryBlock.addEdge(aarch64::Pointer64, 8, in createEntry()
536 return G.addAnonymousSymbol(EntryBlock, 0, 8, false, false); in createEntry()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DBasicBlockSections.cpp242 [[maybe_unused]] const MachineBasicBlock *EntryBlock = &MF.front(); in sortBasicBlocksAndUpdateBranches() local
249 assert(&MF.front() == EntryBlock && in sortBasicBlocksAndUpdateBranches()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericLoopInfoImpl.h512 void traverse(BlockT *EntryBlock);
520 void PopulateLoopsDFS<BlockT, LoopT>::traverse(BlockT *EntryBlock) { in traverse() argument
521 for (BlockT *BB : post_order(EntryBlock)) in traverse()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DIndirectionUtils.cpp265 BasicBlock *EntryBlock = BasicBlock::Create(M.getContext(), "entry", &F); in makeStub() local
266 IRBuilder<> Builder(EntryBlock); in makeStub()
H A DLLJIT.cpp70 auto *EntryBlock = BasicBlock::Create(M.getContext(), "entry", WrapperFn); in addHelperAndWrapper() local
71 IRBuilder<> IB(EntryBlock); in addHelperAndWrapper()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp469 NodeAddr<BlockNode *> EntryBlock = DFG.getFunc().Addr->getEntryBlock(DFG); in getGadgetGraph() local
471 EntryBlock.Addr->members_if(DataFlowGraph::IsPhi, DFG)) { in getGadgetGraph()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp478 BasicBlock &EntryBlock = AI.getParent()->getParent()->getEntryBlock(); in visitAllocaInst() local
479 Instruction *FirstInst = EntryBlock.getFirstNonPHIOrDbg(); in visitAllocaInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h3193 void setEntry(VPBlockBase *EntryBlock) { in setEntry() argument
3194 assert(EntryBlock->getPredecessors().empty() && in setEntry()
3196 Entry = EntryBlock; in setEntry()
3197 EntryBlock->setParent(this); in setEntry()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp641 BasicBlock &EntryBlock = Function->getEntryBlock(); in raiseUserConstantDataAllocasToEntryBlock() local
642 Instruction *MoveLocInst = EntryBlock.getFirstNonPHI(); in raiseUserConstantDataAllocasToEntryBlock()
2894 BasicBlock *EntryBlock = BasicBlock::Create(Ctx, "entry", LtGCFunc); in emitListToGlobalCopyFunction() local
2895 Builder.SetInsertPoint(EntryBlock); in emitListToGlobalCopyFunction()
3004 BasicBlock *EntryBlock = BasicBlock::Create(Ctx, "entry", LtGRFunc); in emitListToGlobalReduceFunction() local
3005 Builder.SetInsertPoint(EntryBlock); in emitListToGlobalReduceFunction()
3087 BasicBlock *EntryBlock = BasicBlock::Create(Ctx, "entry", LtGCFunc); in emitGlobalToListCopyFunction() local
3088 Builder.SetInsertPoint(EntryBlock); in emitGlobalToListCopyFunction()
3195 BasicBlock *EntryBlock = BasicBlock::Create(Ctx, "entry", LtGRFunc); in emitGlobalToListReduceFunction() local
3196 Builder.SetInsertPoint(EntryBlock); in emitGlobalToListReduceFunction()