Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGStmt.cpp1111 llvm::BasicBlock *CaseDest = createBasicBlock("sw.bb"); in EmitCaseStmtRange() local
1112 EmitBlockWithFallThrough(CaseDest, &S); in EmitCaseStmtRange()
1135 SwitchInsn->addCase(Builder.getInt(LHS), CaseDest); in EmitCaseStmtRange()
1171 Builder.CreateCondBr(Cond, CaseDest, FalseDest, Weights); in EmitCaseStmtRange()
1224 llvm::BasicBlock *CaseDest = createBasicBlock("sw.bb"); in EmitCaseStmt() local
1225 EmitBlockWithFallThrough(CaseDest, &S); in EmitCaseStmt()
1228 SwitchInsn->addCase(CaseVal, CaseDest); in EmitCaseStmt()
1251 CaseDest = createBasicBlock("sw.bb"); in EmitCaseStmt()
1252 EmitBlockWithFallThrough(CaseDest, &S); in EmitCaseStmt()
1255 SwitchInsn->addCase(CaseVal, CaseDest); in EmitCaseStmt()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4504 BasicBlock *CaseDest = Case.getCaseSuccessor(); in ForwardSwitchConditionToPHI() local
4517 for (PHINode &Phi : CaseDest->phis()) { in ForwardSwitchConditionToPHI()
4533 if (auto *Phi = FindPHIForConditionForwarding(CaseValue, CaseDest, &PhiIdx)) in ForwardSwitchConditionToPHI()
4626 GetCaseResults(SwitchInst *SI, ConstantInt *CaseVal, BasicBlock *CaseDest, in GetCaseResults() argument
4637 for (Instruction &I :CaseDest->instructionsWithoutDebug()) { in GetCaseResults()
4642 Pred = CaseDest; in GetCaseResults()
4643 CaseDest = T->getSuccessor(0); in GetCaseResults()
4653 if (I->getParent() == CaseDest) in GetCaseResults()
4656 if (Phi->getIncomingBlock(Use) == CaseDest) in GetCaseResults()
4669 *CommonDest = CaseDest; in GetCaseResults()
[all …]
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4115 BasicBlock *CaseDest = I.getCaseSuccessor(); in ForwardSwitchConditionToPHI() local
4119 FindPHIForConditionForwarding(CaseValue, CaseDest, &PhiIndex); in ForwardSwitchConditionToPHI()
4210 GetCaseResults(SwitchInst *SI, ConstantInt *CaseVal, BasicBlock *CaseDest, in GetCaseResults() argument
4221 for (BasicBlock::iterator I = CaseDest->begin(), E = CaseDest->end(); I != E; in GetCaseResults()
4227 Pred = CaseDest; in GetCaseResults()
4228 CaseDest = T->getSuccessor(0); in GetCaseResults()
4241 if (I->getParent() == CaseDest) in GetCaseResults()
4244 if (Phi->getIncomingBlock(Use) == CaseDest) in GetCaseResults()
4257 *CommonDest = CaseDest; in GetCaseResults()
4259 if (CaseDest != *CommonDest) in GetCaseResults()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyCFG.cpp2558 BasicBlock *CaseDest = SI->getSuccessor(I); in ForwardSwitchConditionToPHI() local
2561 PHINode *PHI = FindPHIForConditionForwarding(CaseValue, CaseDest, in ForwardSwitchConditionToPHI()