Home
last modified time | relevance | path

Searched refs:getEntryBlock (Results 1 – 25 of 147) sorted by relevance

123456

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DSSAContext.cpp27 BasicBlock *SSAContext::getEntryBlock(Function &F) { getEntryBlock() function in SSAContext
31 const BasicBlock *SSAContext::getEntryBlock(const Function &F) { getEntryBlock() function in SSAContext
H A DStructuralHash.cpp116 BBs.push_back(&F.getEntryBlock());
H A DEHPersonalities.cpp107 BasicBlock *EntryBlock = &F.getEntryBlock(); in colorEHFunclets()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DSSAContext.h
H A DCFG.h351 static NodeRef getEntryNode(Function *F) { return &F->getEntryBlock(); }
368 static NodeRef getEntryNode(const Function *F) { return &F->getEntryBlock(); }
392 return &G.Graph->getEntryBlock();
398 return &G.Graph->getEntryBlock();
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp507 IRBuilder<> IRBCtor(Ctor->getEntryBlock().getTerminator()); in instrumentModule()
515 IRBuilder<> IRBCtor(Ctor->getEntryBlock().getTerminator()); in instrumentModule()
562 if (Options.NoPrune || &F.getEntryBlock() == BB) in shouldInstrumentBlock()
566 &F.getEntryBlock() != BB) in shouldInstrumentBlock()
620 if (isa<UnreachableInst>(F.getEntryBlock().getTerminator())) in instrumentFunction()
739 IRBuilder<> IRB(&*F.getEntryBlock().getFirstInsertionPt()); in CreatePCArray()
741 if (&F.getEntryBlock() == AllBlocks[i]) { in CreatePCArray()
948 bool IsEntryBB = &BB == &F.getEntryBlock(); in InjectCoverageAtBlock()
1049 IRBuilder<> IRB(&*F.getEntryBlock().getFirstInsertionPt()); in createFunctionControlFlow()
1053 if (&BB == &F.getEntryBlock()) in createFunctionControlFlow()
[all …]
H A DBlockCoverageInference.cpp54 assert(!ForceInstrumentEntry || shouldInstrumentBlock(F.getEntryBlock())); in BlockCoverageInference()
134 auto &EntryBlock = F.getEntryBlock(); in findDependencies()
278 return &(Info->getFunction().getEntryBlock()); in getEntryNode()
H A DInstrumentation.cpp40 assert(&BB.getParent()->getEntryBlock() == &BB); in PrepareToSplitEntryBlock()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculation.cpp98 BasicBlock &ProgramEntry = Fn.getEntryBlock(); in emit()
105 assert(SpeculateDecisionBlock == &Fn.getEntryBlock() && in emit()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopFuse.cpp256 BasicBlock *getEntryBlock() const { in getEntryBlock() function
310 << (getEntryBlock() ? getEntryBlock()->getName() : "nullptr") in dump()
400 BasicBlock *LHSEntryBlock = LHS.getEntryBlock(); in operator ()()
401 BasicBlock *RHSEntryBlock = RHS.getEntryBlock(); in operator ()()
661 return ::isControlFlowEquivalent(*FC0.getEntryBlock(), *FC1.getEntryBlock(), in isControlFlowEquivalent()
1377 assert(DT.dominates(FC0.getEntryBlock(), FC1.getEntryBlock())); in dependencesAllowFusion()
1440 return FC0.getNonLoopBlock() == FC1.getEntryBlock(); in isAdjacent()
1442 return FC0.ExitBlock == FC1.getEntryBlock(); in isAdjacent()
H A DTailRecursionElimination.cpp231 BasicBlock *BB = &F.getEntryBlock(); in markTails()
490 if (BB == &F.getEntryBlock() && in findTRECandidate()
508 HeaderBB = &F.getEntryBlock(); in createTailRecurseLoopHeader()
579 if (P == &F.getEntryBlock()) { in insertAccumulator()
606 CI->getArgOperand(OpndIdx)->getName(), F.getEntryBlock().begin()); in copyByValueOperandIntoLocalTemp()
H A DReg2Mem.cpp55 BasicBlock *BBEntry = &F.getEntryBlock(); in runPass()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp40 I.getName() + ".reg2mem", F->getEntryBlock().begin()); in DemoteRegToStack()
149 F->getEntryBlock().begin()); in DemotePHIToStack()
H A DMem2Reg.cpp38 BasicBlock &BB = F.getEntryBlock(); // Get the entry node for the function in promoteMemoryToRegister()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp114 IRB.SetInsertPoint(&Func->getEntryBlock(), Func->getEntryBlock().begin()); in translate()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp416 BasicBlock::iterator FirstInst = Func->getEntryBlock().begin(); in handleByValParam()
483 IRBuilder<> IRB(&Func->getEntryBlock().front()); in handleByValParam()
534 InsertPt = Arg->getParent()->getEntryBlock().begin(); in markPointerAsGlobal()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineSSAContext.cpp29 MachineBasicBlock *MachineSSAContext::getEntryBlock(MachineFunction &F) { getEntryBlock() function in MachineSSAContext
H A DWinEHPrepare.cpp205 assert(FuncletPad || FuncletEntryBB == &Fn->getEntryBlock()); in calculateStateNumbersForInvokes()
607 const BasicBlock *EntryBB = &(Fn->getEntryBlock()); in calculateSEHStateNumbers()
631 const BasicBlock *EntryBB = &(Fn->getEntryBlock()); in calculateWinCXXEHStateNumbers()
898 if (FuncletPadBB == &F.getEntryBlock()) in cloneCommonBlocks()
1238 F.getEntryBlock().begin()); in insertPHILoads()
1323 F.getEntryBlock().begin()); in replaceUseWithLoad()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineSSAContext.h
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp277 IRBuilder<> Builder(&F->getEntryBlock(), F->getEntryBlock().begin()); in emitExceptionRegistrationRecord()
541 if (&F.getEntryBlock() == BB) in getPredState()
661 if (&F.getEntryBlock() == BB) in addStateStores()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp84 Instruction* First = &F.getEntryBlock().front(); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp361 for (df_iterator<BasicBlock *> I = df_begin(&F.getEntryBlock()), in runOnFunction()
362 E = df_end(&F.getEntryBlock()); I != E; ++I) { in runOnFunction()
H A DAMDGPUCtorDtorLowering.cpp138 CallBackPHI->addIncoming(Start, &F.getEntryBlock()); in lowerCtorsAndDtors()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DSMEABIPass.cpp102 BasicBlock *OrigBB = &F->getEntryBlock(); in updateNewStateFunctions()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DRegionInfo.cpp102 TopLevelRegion = new Region(&F.getEntryBlock(), nullptr, in recalculate()

123456