Home
last modified time | relevance | path

Searched refs:getFirstNonPHIOrDbg (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DBasicBlock.h291 const Instruction *getFirstNonPHIOrDbg(bool SkipPseudoOp = true) const;
292 Instruction *getFirstNonPHIOrDbg(bool SkipPseudoOp = true) {
294 static_cast<const BasicBlock *>(this)->getFirstNonPHIOrDbg(
H A DInstructions.h3256 return isa<UnreachableInst>(getDefaultDest()->getFirstNonPHIOrDbg());
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSCCP.cpp238 NumInstRemoved += changeToUnreachable(BB->getFirstNonPHIOrDbg(), in runIPSCCP()
242 NumInstRemoved += changeToUnreachable(F.front().getFirstNonPHIOrDbg(), in runIPSCCP()
H A DIROutliner.cpp200 Instruction *FirstNonPHI = BB->getFirstNonPHIOrDbg(); in findCorrespondingBlockIn()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCallSiteSplitting.cpp418 if (&CB != Parent->getFirstNonPHIOrDbg()) in isPredicatedOnPHI()
508 auto II = BB.getFirstNonPHIOrDbg()->getIterator(); in doCallSiteSplitting()
H A DTailRecursionElimination.cpp827 ReturnInst *Ret = dyn_cast<ReturnInst>(Succ->getFirstNonPHIOrDbg(true)); in processBlock()
H A DCorrelatedValuePropagation.cpp405 !isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg())) { in processSwitch()
H A DLoopFuse.cpp946 *FC1->ExitBlock->getFirstNonPHIOrDbg(), DT, in fuseCandidates()
H A DReassociate.cpp852 .getFirstNonPHIOrDbg() in NegateValue()
H A DJumpThreading.cpp366 BB.getFirstNonPHIOrDbg(true)->isTerminator() && in runImpl()
H A DSimpleLoopUnswitch.cpp774 (isUnreachable && (BBToCheck.getFirstNonPHIOrDbg() != TI)); in unswitchTrivialSwitch()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp69 return function->getEntryBlock().getFirstNonPHIOrDbg(); in FindEntryInstruction()
367 Instruction *first_entry_instruction(entry_block.getFirstNonPHIOrDbg()); in CreateResultVariable()
1507 Instruction *FirstEntryInstruction(entry_block.getFirstNonPHIOrDbg()); in ReplaceVariables()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp89 IRBuilder<> Builder(F.getEntryBlock().getFirstNonPHIOrDbg()); in runOnModule()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp430 Instruction *MovePos = ToBB.getFirstNonPHIOrDbg(); in moveInstructionsToTheBeginning()
H A DLowerSwitch.cpp393 if (isa<UnreachableInst>(Default->getFirstNonPHIOrDbg())) { in ProcessSwitchInst()
H A DSimplifyCFG.cpp2543 return !isa<UnreachableInst>(II->getNormalDest()->getFirstNonPHIOrDbg()); in shouldBelongToSameSet()
2630 !isa<UnreachableInst>(Invokes[0]->getNormalDest()->getFirstNonPHIOrDbg()); in MergeCompatibleInvokesImpl()
5524 !isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg()); in TurnSwitchRangeIntoICmp()
5687 !isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg()); in eliminateDeadSwitchCases()
5752 if (BB->getFirstNonPHIOrDbg() != BB->getTerminator()) in FindPHIForConditionForwarding()
6045 !isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg()))) in initializeUniqueCases()
7071 if (!isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg())) in simplifySwitchOfPowersOfTwo()
7321 BasicBlock::iterator I = BB->getFirstNonPHIOrDbg(true)->getIterator(); in simplifyUncondBranch()
H A DBasicBlockUtils.cpp1370 BI->setDebugLoc(BB->getFirstNonPHIOrDbg()->getDebugLoc()); in SplitBlockPredecessorsImpl()
H A DLocal.cpp200 if (isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg()) && in ConstantFoldTerminator()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMustExecute.cpp270 Inst.getParent()->getFirstNonPHIOrDbg() == &Inst; in isGuaranteedToExecute()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DBasicBlock.cpp384 const Instruction *BasicBlock::getFirstNonPHIOrDbg(bool SkipPseudoOp) const { in getFirstNonPHIOrDbg() function in BasicBlock
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp2605 Builder.SetInsertPoint(Invoke->getNormalDest()->getFirstNonPHIOrDbg()); in emitSetAndGetSwiftErrorValueAround()
2646 IRBuilder<> Builder(F.getEntryBlock().getFirstNonPHIOrDbg()); in eliminateSwiftErrorArgument()
H A DCoroSplit.cpp674 IRBuilder<> Builder(F.getEntryBlock().getFirstNonPHIOrDbg()); in replaceSwiftErrorOps()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp479 Instruction *FirstInst = EntryBlock.getFirstNonPHIOrDbg(); in visitAllocaInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1289 DefaultMBB->getBasicBlock()->getFirstNonPHIOrDbg()); in lowerSwitchWorkItem()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp993 if (BB->getTerminator() != BB->getFirstNonPHIOrDbg()) in isMergingEmptyBlockProfitable()

12