Home
last modified time | relevance | path

Searched refs:SwitchCases (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/src/Reactor/
DNucleus.hpp27 class SwitchCases;
148 static SwitchCases *createSwitch(Value *control, BasicBlock *defaultBranch, unsigned numCases);
149 static void addSwitchCase(SwitchCases *switchCases, int label, BasicBlock *branch);
DSubzeroReactor.cpp153 class SwitchCases : public Ice::InstSwitch {}; class
1276 SwitchCases *Nucleus::createSwitch(Value *control, BasicBlock *defaultBranch, unsigned numCases) in createSwitch()
1281 return reinterpret_cast<SwitchCases*>(switchInst); in createSwitch()
1284 void Nucleus::addSwitchCase(SwitchCases *switchCases, int label, BasicBlock *branch) in addSwitchCase()
DLLVMReactor.cpp1468 SwitchCases *Nucleus::createSwitch(Value *control, BasicBlock *defaultBranch, unsigned numCases) in createSwitch()
1470 …return reinterpret_cast<SwitchCases*>(::builder->CreateSwitch(V(control), B(defaultBranch), numCas… in createSwitch()
1473 void Nucleus::addSwitchCase(SwitchCases *switchCases, int label, BasicBlock *branch) in addSwitchCase()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp1012 if (SDB->SwitchCases.empty() && in FinishBasicBlock()
1167 for (unsigned i = 0, e = SDB->SwitchCases.size(); i != e; ++i) { in FinishBasicBlock()
1169 FuncInfo->MBB = SDB->SwitchCases[i].ThisBB; in FinishBasicBlock()
1174 Succs.push_back(SDB->SwitchCases[i].TrueBB); in FinishBasicBlock()
1175 if (SDB->SwitchCases[i].TrueBB != SDB->SwitchCases[i].FalseBB) in FinishBasicBlock()
1176 Succs.push_back(SDB->SwitchCases[i].FalseBB); in FinishBasicBlock()
1179 SDB->visitSwitchCase(SDB->SwitchCases[i], FuncInfo->MBB); in FinishBasicBlock()
1217 SDB->SwitchCases.clear(); in FinishBasicBlock()
DSelectionDAGBuilder.cpp1346 SwitchCases.push_back(CB); in EmitBranchForMergedCondition()
1354 SwitchCases.push_back(CB); in EmitBranchForMergedCondition()
1501 assert(SwitchCases[0].ThisBB == BrMBB && "Unexpected lowering!"); in visitBr()
1504 if (ShouldEmitAsBranches(SwitchCases)) { in visitBr()
1505 for (unsigned i = 1, e = SwitchCases.size(); i != e; ++i) { in visitBr()
1506 ExportFromCurrentBlock(SwitchCases[i].CmpLHS); in visitBr()
1507 ExportFromCurrentBlock(SwitchCases[i].CmpRHS); in visitBr()
1511 visitSwitchCase(SwitchCases[0], BrMBB); in visitBr()
1512 SwitchCases.erase(SwitchCases.begin()); in visitBr()
1518 for (unsigned i = 1, e = SwitchCases.size(); i != e; ++i) in visitBr()
[all …]
DSelectionDAGBuilder.h300 std::vector<CaseBlock> SwitchCases; variable
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp1786 for (unsigned i = 0, e = SDB->SwitchCases.size(); i != e; ++i) { in FinishBasicBlock()
1788 FuncInfo->MBB = SDB->SwitchCases[i].ThisBB; in FinishBasicBlock()
1793 Succs.push_back(SDB->SwitchCases[i].TrueBB); in FinishBasicBlock()
1794 if (SDB->SwitchCases[i].TrueBB != SDB->SwitchCases[i].FalseBB) in FinishBasicBlock()
1795 Succs.push_back(SDB->SwitchCases[i].FalseBB); in FinishBasicBlock()
1798 SDB->visitSwitchCase(SDB->SwitchCases[i], FuncInfo->MBB); in FinishBasicBlock()
1834 SDB->SwitchCases.clear(); in FinishBasicBlock()
DSelectionDAGBuilder.cpp1646 SwitchCases.push_back(CB); in EmitBranchForMergedCondition()
1654 SwitchCases.push_back(CB); in EmitBranchForMergedCondition()
1837 assert(SwitchCases[0].ThisBB == BrMBB && "Unexpected lowering!"); in visitBr()
1840 if (ShouldEmitAsBranches(SwitchCases)) { in visitBr()
1841 for (unsigned i = 1, e = SwitchCases.size(); i != e; ++i) { in visitBr()
1842 ExportFromCurrentBlock(SwitchCases[i].CmpLHS); in visitBr()
1843 ExportFromCurrentBlock(SwitchCases[i].CmpRHS); in visitBr()
1847 visitSwitchCase(SwitchCases[0], BrMBB); in visitBr()
1848 SwitchCases.erase(SwitchCases.begin()); in visitBr()
1854 for (unsigned i = 1, e = SwitchCases.size(); i != e; ++i) in visitBr()
[all …]
DSelectionDAGBuilder.h575 std::vector<CaseBlock> SwitchCases; variable
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp2050 for (unsigned i = 0, e = SDB->SwitchCases.size(); i != e; ++i) { in FinishBasicBlock()
2052 FuncInfo->MBB = SDB->SwitchCases[i].ThisBB; in FinishBasicBlock()
2057 Succs.push_back(SDB->SwitchCases[i].TrueBB); in FinishBasicBlock()
2058 if (SDB->SwitchCases[i].TrueBB != SDB->SwitchCases[i].FalseBB) in FinishBasicBlock()
2059 Succs.push_back(SDB->SwitchCases[i].FalseBB); in FinishBasicBlock()
2062 SDB->visitSwitchCase(SDB->SwitchCases[i], FuncInfo->MBB); in FinishBasicBlock()
2098 SDB->SwitchCases.clear(); in FinishBasicBlock()
DSelectionDAGBuilder.cpp1798 SwitchCases.push_back(CB); in EmitBranchForMergedCondition()
1807 SwitchCases.push_back(CB); in EmitBranchForMergedCondition()
2018 assert(SwitchCases[0].ThisBB == BrMBB && "Unexpected lowering!"); in visitBr()
2021 if (ShouldEmitAsBranches(SwitchCases)) { in visitBr()
2022 for (unsigned i = 1, e = SwitchCases.size(); i != e; ++i) { in visitBr()
2023 ExportFromCurrentBlock(SwitchCases[i].CmpLHS); in visitBr()
2024 ExportFromCurrentBlock(SwitchCases[i].CmpRHS); in visitBr()
2028 visitSwitchCase(SwitchCases[0], BrMBB); in visitBr()
2029 SwitchCases.erase(SwitchCases.begin()); in visitBr()
2035 for (unsigned i = 1, e = SwitchCases.size(); i != e; ++i) in visitBr()
[all …]
DSelectionDAGBuilder.h593 std::vector<CaseBlock> SwitchCases; variable
/external/swiftshader/src/Pipeline/
DVertexProgram.cpp1456SwitchCases *switchCases = Nucleus::createSwitch(value, unreachableBlock, (int)callRetBlock[curren… in RET()
DPixelProgram.cpp1803SwitchCases *switchCases = Nucleus::createSwitch(value, unreachableBlock, (int)callRetBlock[curren… in RET()
/external/swiftshader/src/Shader/
DVertexProgram.cpp1540SwitchCases *switchCases = Nucleus::createSwitch(value, unreachableBlock, (int)callRetBlock[curren… in RET()
DPixelProgram.cpp1834SwitchCases *switchCases = Nucleus::createSwitch(value, unreachableBlock, (int)callRetBlock[curren… in RET()