Home
last modified time | relevance | path

Searched refs:CaseRange (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerSwitch.cpp49 struct CaseRange { struct in __anon0b2e16800111::LowerSwitch
54 CaseRange(Constant *low = 0, Constant *high = 0, BasicBlock *bb = 0) : in CaseRange() function
58 typedef std::vector<CaseRange> CaseVector;
59 typedef std::vector<CaseRange>::iterator CaseItr;
65 BasicBlock* newLeafBlock(CaseRange& Leaf, Value* Val,
73 bool operator () (const LowerSwitch::CaseRange& C1, in operator ()()
74 const LowerSwitch::CaseRange& C2) { in operator ()()
140 std::vector<CaseRange> LHS(Begin, Begin + Mid); in switchConvert()
142 std::vector<CaseRange> RHS(Begin + Mid, End); in switchConvert()
145 CaseRange& Pivot = *(Begin + Mid); in switchConvert()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp81 struct CaseRange { struct in __anon7d08bdac0311::LowerSwitch
86 CaseRange(ConstantInt *low, ConstantInt *high, BasicBlock *bb) in CaseRange() argument
90 using CaseVector = std::vector<CaseRange>;
91 using CaseItr = std::vector<CaseRange>::iterator;
101 BasicBlock *newLeafBlock(CaseRange &Leaf, Value *Val, BasicBlock *OrigBlock,
109 bool operator()(const LowerSwitch::CaseRange& C1, in operator ()()
110 const LowerSwitch::CaseRange& C2) { in operator ()()
244 std::vector<CaseRange> LHS(Begin, Begin + Mid); in switchConvert()
246 std::vector<CaseRange> RHS(Begin + Mid, End); in switchConvert()
249 CaseRange &Pivot = *(Begin + Mid); in switchConvert()
[all …]
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp62 struct CaseRange { struct in __anona37b8e540111::LowerSwitch
67 CaseRange(ConstantInt *low, ConstantInt *high, BasicBlock *bb) in CaseRange() argument
71 typedef std::vector<CaseRange> CaseVector;
72 typedef std::vector<CaseRange>::iterator CaseItr;
81 BasicBlock *newLeafBlock(CaseRange &Leaf, Value *Val, BasicBlock *OrigBlock,
89 bool operator () (const LowerSwitch::CaseRange& C1, in operator ()()
90 const LowerSwitch::CaseRange& C2) { in operator ()()
224 std::vector<CaseRange> LHS(Begin, Begin + Mid); in switchConvert()
226 std::vector<CaseRange> RHS(Begin + Mid, End); in switchConvert()
229 CaseRange &Pivot = *(Begin + Mid); in switchConvert()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h161 typedef std::pair<CaseItr, CaseItr> CaseRange; typedef
167 CaseRange r) : in CaseRec()
178 CaseRange Range;
DSelectionDAGBuilder.cpp2191 CaseRange LHSR(CR.Range.first, Pivot); in handleBTSplitSwitchCase()
2192 CaseRange RHSR(Pivot, CR.Range.second); in handleBTSplitSwitchCase()
2490 CaseRange(Cases.begin(),Cases.end()))); in visitSwitch()