Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/CodeGen/
DSwitchLoweringUtils.h109 struct CaseBlock { struct
144 CaseBlock(ISD::CondCode cc, const Value *cmplhs, const Value *cmprhs, argument
154 CaseBlock(CmpInst::Predicate pred, bool nocmp, const Value *cmplhs, argument
262 std::vector<CaseBlock> SwitchCases;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSwitchLoweringUtils.h104 struct CaseBlock { struct
139 CaseBlock(ISD::CondCode cc, const Value *cmplhs, const Value *cmprhs, argument
149 CaseBlock(CmpInst::Predicate pred, bool nocmp, const Value *cmplhs, argument
257 std::vector<CaseBlock> SwitchCases;
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h218 struct CaseBlock { struct
219 CaseBlock(ISD::CondCode cc, const Value *cmplhs, const Value *cmprhs,
575 std::vector<CaseBlock> SwitchCases;
698 bool ShouldEmitAsBranches(const std::vector<CaseBlock> &Cases);
806 void visitSwitchCase(CaseBlock &CB,
DSelectionDAGBuilder.cpp1644 CaseBlock CB(Condition, BOp->getOperand(0), BOp->getOperand(1), nullptr, in EmitBranchForMergedCondition()
1652 CaseBlock CB(ISD::SETEQ, Cond, ConstantInt::getTrue(*DAG.getContext()), in EmitBranchForMergedCondition()
1757 SelectionDAGBuilder::ShouldEmitAsBranches(const std::vector<CaseBlock> &Cases) { in ShouldEmitAsBranches()
1862 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
1872 void SelectionDAGBuilder::visitSwitchCase(CaseBlock &CB, in visitSwitchCase()
8861 CaseBlock CB(CC, LHS, RHS, MHS, I->MBB, Fallthrough, CurMBB, I->Prob, in lowerWorkItem()
9012 CaseBlock CB(ISD::SETLT, Cond, Pivot, nullptr, LeftMBB, RightMBB, W.MBB, in splitWorkItem()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DIRTranslator.h307 bool shouldEmitAsBranches(const std::vector<SwitchCG::CaseBlock> &Cases);
335 void emitSwitchCase(SwitchCG::CaseBlock &CB, MachineBasicBlock *SwitchBB,
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h547 bool ShouldEmitAsBranches(const std::vector<SwitchCG::CaseBlock> &Cases);
660 void visitSwitchCase(SwitchCG::CaseBlock &CB, MachineBasicBlock *SwitchBB);
DSelectionDAGBuilder.cpp2054 CaseBlock CB(Condition, BOp->getOperand(0), BOp->getOperand(1), nullptr, in EmitBranchForMergedCondition()
2063 CaseBlock CB(Opc, Cond, ConstantInt::getTrue(*DAG.getContext()), in EmitBranchForMergedCondition()
2194 SelectionDAGBuilder::ShouldEmitAsBranches(const std::vector<CaseBlock> &Cases) { in ShouldEmitAsBranches()
2304 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
2314 void SelectionDAGBuilder::visitSwitchCase(CaseBlock &CB, in visitSwitchCase()
10452 CaseBlock CB(CC, LHS, RHS, MHS, I->MBB, Fallthrough, CurMBB, in lowerWorkItem()
10603 CaseBlock CB(ISD::SETLT, Cond, Pivot, nullptr, LeftMBB, RightMBB, W.MBB, in splitWorkItem()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h556 bool ShouldEmitAsBranches(const std::vector<SwitchCG::CaseBlock> &Cases);
669 void visitSwitchCase(SwitchCG::CaseBlock &CB, MachineBasicBlock *SwitchBB);
DSelectionDAGBuilder.cpp2086 CaseBlock CB(Condition, BOp->getOperand(0), BOp->getOperand(1), nullptr, in EmitBranchForMergedCondition()
2095 CaseBlock CB(Opc, Cond, ConstantInt::getTrue(*DAG.getContext()), in EmitBranchForMergedCondition()
2226 SelectionDAGBuilder::ShouldEmitAsBranches(const std::vector<CaseBlock> &Cases) { in ShouldEmitAsBranches()
2331 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
2341 void SelectionDAGBuilder::visitSwitchCase(CaseBlock &CB, in visitSwitchCase()
10321 CaseBlock CB(CC, LHS, RHS, MHS, I->MBB, Fallthrough, CurMBB, in lowerWorkItem()
10472 CaseBlock CB(ISD::SETLT, Cond, Pivot, nullptr, LeftMBB, RightMBB, W.MBB, in splitWorkItem()
/external/clang/lib/Analysis/
DCFG.cpp3248 CFGBlock *CaseBlock = Block; in VisitCaseStmt() local
3249 if (!CaseBlock) in VisitCaseStmt()
3250 CaseBlock = createBlock(); in VisitCaseStmt()
3254 CaseBlock->setLabel(CS); in VisitCaseStmt()
3262 addSuccessor(SwitchTerminatedBlock, CaseBlock, in VisitCaseStmt()
3270 addSuccessor(LastBlock, CaseBlock); in VisitCaseStmt()
3274 Succ = CaseBlock; in VisitCaseStmt()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp387 SwitchCG::CaseBlock CB(Condition, false, BOp->getOperand(0), in emitBranchForMergedCondition()
396 SwitchCG::CaseBlock CB( in emitBranchForMergedCondition()
530 const std::vector<SwitchCG::CaseBlock> &Cases) { in shouldEmitAsBranches()
634 SwitchCG::CaseBlock CB(CmpInst::ICMP_EQ, false, CondVal, in translateBr()
803 void IRTranslator::emitSwitchCase(SwitchCG::CaseBlock &CB, in emitSwitchCase()
983 CaseBlock CB(Pred, FallthroughUnreachable, LHS, RHS, MHS, I->MBB, Fallthrough, in lowerSwitchRangeWorkItem()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DIRTranslator.h300 void emitSwitchCase(SwitchCG::CaseBlock &CB, MachineBasicBlock *SwitchBB,
/external/llvm-project/clang/lib/Analysis/
DCFG.cpp4222 CFGBlock *CaseBlock = Block; in VisitCaseStmt() local
4223 if (!CaseBlock) in VisitCaseStmt()
4224 CaseBlock = createBlock(); in VisitCaseStmt()
4228 CaseBlock->setLabel(CS); in VisitCaseStmt()
4236 addSuccessor(SwitchTerminatedBlock, CaseBlock, in VisitCaseStmt()
4244 addSuccessor(LastBlock, CaseBlock); in VisitCaseStmt()
4248 Succ = CaseBlock; in VisitCaseStmt()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp567 void IRTranslator::emitSwitchCase(SwitchCG::CaseBlock &CB, in emitSwitchCase()
742 CaseBlock CB(Pred, FallthroughUnreachable, LHS, RHS, MHS, I->MBB, Fallthrough, in lowerSwitchRangeWorkItem()