Home
last modified time | relevance | path

Searched refs:getDefaultDest (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCallBrPrepare.cpp151 SSAUpdate.AddAvailableValue(CBR->getDefaultDest(), CBR); in InsertIntrinsicCalls()
189 BasicBlock *DefaultDest = CBR->getDefaultDest(); in UpdateSSA()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp312 if (Case.getCaseSuccessor() == SI->getDefaultDest()) in Clusterify()
355 BasicBlock *Default = SI->getDefaultDest(); in ProcessSwitchInst()
527 BasicBlock *OldDefault = SI->getDefaultDest(); in ProcessSwitchInst()
H A DSimplifyCFG.cpp834 return SI->getDefaultDest(); in getValueEqualityComparisonCases()
4944 if (SI->getDefaultDest() != BB) { in tryToSimplifyUncondBranchWithICmpInIt()
5542 if (DTU && SI->getDefaultDest() != BB) in simplifyUnreachable()
5647 auto *OrigDefaultBlock = Switch->getDefaultDest(); in createUnreachableSwitchDefault()
5678 BasicBlock *DestA = HasDefault ? SI->getDefaultDest() : nullptr; in turnSwitchRangeIntoICmp()
5705 assert(DestB != SI->getDefaultDest()); in turnSwitchRangeIntoICmp()
5766 if (ContiguousDest == SI->getDefaultDest()) in turnSwitchRangeIntoICmp()
5773 if (OtherDest == SI->getDefaultDest()) in turnSwitchRangeIntoICmp()
5784 auto *UnreachableDefault = SI->getDefaultDest(); in turnSwitchRangeIntoICmp()
5863 SIW.addCase(MissingCase, SI->getDefaultDest(), SIW.getSuccessorWeight(0)); in eliminateDeadSwitchCases()
[all …]
H A DLocal.cpp200 BasicBlock *DefaultDest = SI->getDefaultDest(); in ConstantFoldTerminator()
268 TheOnlyDest = SI->getDefaultDest(); in ConstantFoldTerminator()
318 SI->getDefaultDest()); in ConstantFoldTerminator()
H A DSCCPSolver.cpp345 BasicBlock *DefaultDest = SI->getDefaultDest(); in removeNonFeasibleEdges()
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp451 tryUnify(LI.getDefaultDest(), RI.getDefaultDest()); in diff()
499 if (TryUnify) tryUnify(LI->getDefaultDest(), RI->getDefaultDest()); in diff()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVMergeRegionExitTargets.cpp55 output.insert(SI->getDefaultDest()); in gatherSuccessors()
H A DSPIRVStructurizer.cpp947 Builder.CreateBr(SI->getDefaultDest()); in simplifyBranches()
953 SI->getDefaultDest()); in simplifyBranches()
973 Seen.insert(SI->getDefaultDest()); in splitSwitchCases()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DInstruction.cpp600 BasicBlock *CallBrInst::getDefaultDest() const { in getDefaultDest() function in llvm::sandboxir::CallBrInst
602 Ctx.getValue(cast<llvm::CallBrInst>(Val)->getDefaultDest())); in getDefaultDest()
617 .emplaceIfTracking<GenericSetter<&CallBrInst::getDefaultDest, in setDefaultDest()
1113 BasicBlock *SwitchInst::getDefaultDest() const { in getDefaultDest() function in llvm::sandboxir::SwitchInst
1115 Ctx.getValue(cast<llvm::SwitchInst>(Val)->getDefaultDest())); in getDefaultDest()
1120 .emplaceIfTracking<GenericSetter<&SwitchInst::getDefaultDest, in setDefaultDest()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCFG.cpp369 SW->getDefaultDest() == &Dest; in isPresplitCoroSuspendExitEdge()
H A DFunctionPropertiesAnalysis.cpp57 Ret += (SI->getNumCases() + (nullptr != SI->getDefaultDest())); in getNumBlocksFromCond()
H A DLazyValueInfo.cpp1535 bool DefaultCase = SI->getDefaultDest() == BBTo; in getEdgeValueLocal()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp789 if (IsTriviallyUnswitchableExitBlock(*SI.getDefaultDest())) { in unswitchTrivialSwitch()
790 DefaultExitBB = SI.getDefaultDest(); in unswitchTrivialSwitch()
861 CommonSuccBB = SI.getDefaultDest(); in unswitchTrivialSwitch()
862 else if (SI.getDefaultDest() != CommonSuccBB) in unswitchTrivialSwitch()
2238 BI ? BI->getSuccessor(1 - ClonedSucc) : SI->getDefaultDest(); in unswitchNontrivialInvariants()
2382 assert(SI->getDefaultDest() == RetainedSuccBB && in unswitchNontrivialInvariants()
2444 assert(NewSI->getDefaultDest() == RetainedSuccBB && in unswitchNontrivialInvariants()
H A DLoopSimplifyCFG.cpp70 return SI->getDefaultDest(); in getOnlyLiveSuccessor()
H A DDFAJumpThreading.cpp1311 NextCase = Switch->getDefaultDest(); in getNextCaseSuccessor()
H A DCorrelatedValuePropagation.cpp431 BasicBlock *DefaultDest = SI->getDefaultDest(); in processSwitch()
H A DNewGVN.cpp2560 if (Case.getCaseSuccessor() == SI->getDefaultDest()) { in processOutgoingEdges()
2564 updateReachableEdge(B, SI->getDefaultDest()); in processOutgoingEdges()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanConstruction.cpp287 getOrCreateVPBB(SI->getDefaultDest())}; in buildPlainCFG()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h3392 BasicBlock *getDefaultDest() const {
3399 return isa<UnreachableInst>(getDefaultDest()->getFirstNonPHIOrDbg());
3480 if (BB == getDefaultDest())
3980 BasicBlock *getDefaultDest() const {
4002 return i == 0 ? getDefaultDest() : getIndirectDest(i - 1);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCleanup.cpp627 if (si->getNumCases() == 1 && si->getDefaultDest() == unreachableBB) { in destroyOptimisticNormalEntry()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h1504 LLVM_ABI BasicBlock *getDefaultDest() const;
1878 LLVM_ABI BasicBlock *getDefaultDest() const;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1328 ++SuccCount[SI->getDefaultDest()]; in simplifyUsingControlFlow()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp378 DefaultSuspendDest[SWI] = SWI->getDefaultDest(); in addFieldForAllocas()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp976 CBI->getFunctionType(), CBI->getCalledOperand(), CBI->getDefaultDest(), in Create()
4061 init(SI.getCondition(), SI.getDefaultDest(), SI.getNumOperands()); in SwitchInst()
H A DAsmWriter.cpp4487 writeOperand(SI.getDefaultDest(), true); in printInstruction()
4718 writeOperand(CBI->getDefaultDest(), true); in printInstruction()

12