Home
last modified time | relevance | path

Searched refs:CaseBlock (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h206 struct CaseBlock { struct
207 CaseBlock(ISD::CondCode cc, const Value *cmplhs, const Value *cmprhs,
507 std::vector<CaseBlock> SwitchCases;
637 bool ShouldEmitAsBranches(const std::vector<CaseBlock> &Cases);
701 void visitSwitchCase(CaseBlock &CB,
DSelectionDAGBuilder.cpp1436 CaseBlock CB(Condition, BOp->getOperand(0), BOp->getOperand(1), nullptr, in EmitBranchForMergedCondition()
1444 CaseBlock CB(ISD::SETEQ, Cond, ConstantInt::getTrue(*DAG.getContext()), in EmitBranchForMergedCondition()
1558 SelectionDAGBuilder::ShouldEmitAsBranches(const std::vector<CaseBlock> &Cases) { in ShouldEmitAsBranches()
1661 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
1671 void SelectionDAGBuilder::visitSwitchCase(CaseBlock &CB, in visitSwitchCase()
2238 CaseBlock CB(CC, LHS, RHS, MHS, /* truebb */ I->BB, /* falsebb */ FallThrough, in handleSmallSwitchRange()
2503 CaseBlock CB(ISD::SETLT, SV, C, nullptr, TrueBB, FalseBB, CR.CaseBB); in splitSwitchCase()
/external/clang/lib/Analysis/
DCFG.cpp3144 CFGBlock *CaseBlock = Block; in VisitCaseStmt() local
3145 if (!CaseBlock) in VisitCaseStmt()
3146 CaseBlock = createBlock(); in VisitCaseStmt()
3150 CaseBlock->setLabel(CS); in VisitCaseStmt()
3158 addSuccessor(SwitchTerminatedBlock, CaseBlock, in VisitCaseStmt()
3166 addSuccessor(LastBlock, CaseBlock); in VisitCaseStmt()
3170 Succ = CaseBlock; in VisitCaseStmt()