Home
last modified time | relevance | path

Searched refs:CaseDest (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp1625 llvm::BasicBlock *CaseDest = createBasicBlock("sw.bb"); in EmitCaseStmtRange() local
1626 EmitBlockWithFallThrough(CaseDest, &S); in EmitCaseStmtRange()
1653 SwitchInsn->addCase(Builder.getInt(LHS), CaseDest); in EmitCaseStmtRange()
1691 Builder.CreateCondBr(Cond, CaseDest, FalseDest, Weights); in EmitCaseStmtRange()
1762 llvm::BasicBlock *CaseDest = createBasicBlock("sw.bb"); in EmitCaseStmt() local
1763 EmitBlockWithFallThrough(CaseDest, &S); in EmitCaseStmt()
1766 SwitchInsn->addCase(CaseVal, CaseDest); in EmitCaseStmt()
1793 CaseDest = createBasicBlock("sw.bb"); in EmitCaseStmt()
1794 EmitBlockWithFallThrough(CaseDest, CurCase); in EmitCaseStmt()
1801 SwitchInsn->addCase(CaseVal, CaseDest); in EmitCaseStmt()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp5789 BasicBlock *CaseDest = Case.getCaseSuccessor(); in ForwardSwitchConditionToPHI() local
5802 for (PHINode &Phi : CaseDest->phis()) { in ForwardSwitchConditionToPHI()
5818 if (auto *Phi = FindPHIForConditionForwarding(CaseValue, CaseDest, &PhiIdx)) in ForwardSwitchConditionToPHI()
5908 getCaseResults(SwitchInst *SI, ConstantInt *CaseVal, BasicBlock *CaseDest, in getCaseResults() argument
5919 for (Instruction &I : CaseDest->instructionsWithoutDebug(false)) { in getCaseResults()
5924 Pred = CaseDest; in getCaseResults()
5925 CaseDest = I.getSuccessor(0); in getCaseResults()
5935 if (I->getParent() == CaseDest) in getCaseResults()
5938 if (Phi->getIncomingBlock(Use) == CaseDest) in getCaseResults()
5951 *CommonDest = CaseDest; in getCaseResults()
[all …]