/external/swiftshader/src/Reactor/ |
D | Nucleus.hpp | 27 class SwitchCases; 148 static SwitchCases *createSwitch(Value *control, BasicBlock *defaultBranch, unsigned numCases); 149 static void addSwitchCase(SwitchCases *switchCases, int label, BasicBlock *branch);
|
D | SubzeroReactor.cpp | 153 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()
|
D | LLVMReactor.cpp | 1468 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/ |
D | SelectionDAGISel.cpp | 1012 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()
|
D | SelectionDAGBuilder.cpp | 1346 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 …]
|
D | SelectionDAGBuilder.h | 300 std::vector<CaseBlock> SwitchCases; variable
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGISel.cpp | 1786 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()
|
D | SelectionDAGBuilder.cpp | 1646 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 …]
|
D | SelectionDAGBuilder.h | 575 std::vector<CaseBlock> SwitchCases; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGISel.cpp | 2050 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()
|
D | SelectionDAGBuilder.cpp | 1798 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 …]
|
D | SelectionDAGBuilder.h | 593 std::vector<CaseBlock> SwitchCases; variable
|
/external/swiftshader/src/Pipeline/ |
D | VertexProgram.cpp | 1456 …SwitchCases *switchCases = Nucleus::createSwitch(value, unreachableBlock, (int)callRetBlock[curren… in RET()
|
D | PixelProgram.cpp | 1803 …SwitchCases *switchCases = Nucleus::createSwitch(value, unreachableBlock, (int)callRetBlock[curren… in RET()
|
/external/swiftshader/src/Shader/ |
D | VertexProgram.cpp | 1540 …SwitchCases *switchCases = Nucleus::createSwitch(value, unreachableBlock, (int)callRetBlock[curren… in RET()
|
D | PixelProgram.cpp | 1834 …SwitchCases *switchCases = Nucleus::createSwitch(value, unreachableBlock, (int)callRetBlock[curren… in RET()
|