/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | BasicBlock.h | 291 const Instruction *getFirstNonPHIOrDbg(bool SkipPseudoOp = true) const; 292 Instruction *getFirstNonPHIOrDbg(bool SkipPseudoOp = true) { 294 static_cast<const BasicBlock *>(this)->getFirstNonPHIOrDbg(
|
H A D | Instructions.h | 3256 return isa<UnreachableInst>(getDefaultDest()->getFirstNonPHIOrDbg());
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SCCP.cpp | 238 NumInstRemoved += changeToUnreachable(BB->getFirstNonPHIOrDbg(), in runIPSCCP() 242 NumInstRemoved += changeToUnreachable(F.front().getFirstNonPHIOrDbg(), in runIPSCCP()
|
H A D | IROutliner.cpp | 200 Instruction *FirstNonPHI = BB->getFirstNonPHIOrDbg(); in findCorrespondingBlockIn()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | CallSiteSplitting.cpp | 418 if (&CB != Parent->getFirstNonPHIOrDbg()) in isPredicatedOnPHI() 508 auto II = BB.getFirstNonPHIOrDbg()->getIterator(); in doCallSiteSplitting()
|
H A D | TailRecursionElimination.cpp | 827 ReturnInst *Ret = dyn_cast<ReturnInst>(Succ->getFirstNonPHIOrDbg(true)); in processBlock()
|
H A D | CorrelatedValuePropagation.cpp | 405 !isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg())) { in processSwitch()
|
H A D | LoopFuse.cpp | 946 *FC1->ExitBlock->getFirstNonPHIOrDbg(), DT, in fuseCandidates()
|
H A D | Reassociate.cpp | 852 .getFirstNonPHIOrDbg() in NegateValue()
|
H A D | JumpThreading.cpp | 366 BB.getFirstNonPHIOrDbg(true)->isTerminator() && in runImpl()
|
H A D | SimpleLoopUnswitch.cpp | 774 (isUnreachable && (BBToCheck.getFirstNonPHIOrDbg() != TI)); in unswitchTrivialSwitch()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | IRForTarget.cpp | 69 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 D | NVPTXGenericToNVVM.cpp | 89 IRBuilder<> Builder(F.getEntryBlock().getFirstNonPHIOrDbg()); in runOnModule()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CodeMoverUtils.cpp | 430 Instruction *MovePos = ToBB.getFirstNonPHIOrDbg(); in moveInstructionsToTheBeginning()
|
H A D | LowerSwitch.cpp | 393 if (isa<UnreachableInst>(Default->getFirstNonPHIOrDbg())) { in ProcessSwitchInst()
|
H A D | SimplifyCFG.cpp | 2543 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 D | BasicBlockUtils.cpp | 1370 BI->setDebugLoc(BB->getFirstNonPHIOrDbg()->getDebugLoc()); in SplitBlockPredecessorsImpl()
|
H A D | Local.cpp | 200 if (isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg()) && in ConstantFoldTerminator()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MustExecute.cpp | 270 Inst.getParent()->getFirstNonPHIOrDbg() == &Inst; in isGuaranteedToExecute()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | BasicBlock.cpp | 384 const Instruction *BasicBlock::getFirstNonPHIOrDbg(bool SkipPseudoOp) const { in getFirstNonPHIOrDbg() function in BasicBlock
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroFrame.cpp | 2605 Builder.SetInsertPoint(Invoke->getNormalDest()->getFirstNonPHIOrDbg()); in emitSetAndGetSwiftErrorValueAround() 2646 IRBuilder<> Builder(F.getEntryBlock().getFirstNonPHIOrDbg()); in eliminateSwiftErrorArgument()
|
H A D | CoroSplit.cpp | 674 IRBuilder<> Builder(F.getEntryBlock().getFirstNonPHIOrDbg()); in replaceSwiftErrorOps()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 479 Instruction *FirstInst = EntryBlock.getFirstNonPHIOrDbg(); in visitAllocaInst()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | IRTranslator.cpp | 1289 DefaultMBB->getBasicBlock()->getFirstNonPHIOrDbg()); in lowerSwitchWorkItem()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 993 if (BB->getTerminator() != BB->getFirstNonPHIOrDbg()) in isMergingEmptyBlockProfitable()
|