Searched refs:CaseRange (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 70 struct CaseRange { struct 75 CaseRange(ConstantInt *low, ConstantInt *high, BasicBlock *bb) in CaseRange() function 79 using CaseVector = std::vector<CaseRange>; 80 using CaseItr = std::vector<CaseRange>::iterator; 85 bool operator()(const CaseRange &C1, const CaseRange &C2) { in operator ()() 154 BasicBlock *NewLeafBlock(CaseRange &Leaf, Value *Val, ConstantInt *LowerBound, in NewLeafBlock() 249 std::vector<CaseRange> LHS(Begin, Begin + Mid); in SwitchConvert() 251 std::vector<CaseRange> RHS(Begin + Mid, End); in SwitchConvert() 254 CaseRange &Pivot = *(Begin + Mid); in SwitchConvert() 314 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify() [all …]
|
| H A D | SimplifyCFG.cpp | 6654 static bool isSwitchDense(uint64_t NumCases, uint64_t CaseRange) { in isSwitchDense() argument 6660 if (CaseRange >= UINT64_MAX / 100) in isSwitchDense() 6663 return NumCases * 100 >= CaseRange * MinDensity; in isSwitchDense()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/ |
| H A D | DemangleTestCases.inc | 19146 …ctor<(anonymous namespace)::LowerSwitch::CaseRange, std::allocator<(anonymous namespace)::LowerSwi… 19151 …CaseRange*, std::vector<(anonymous namespace)::LowerSwitch::CaseRange, std::allocator<(anonymous n… 19152 …CaseRange*, std::vector<(anonymous namespace)::LowerSwitch::CaseRange, std::allocator<(anonymous n… 19153 …CaseRange*, std::vector<(anonymous namespace)::LowerSwitch::CaseRange, std::allocator<(anonymous n… 19154 …CaseRange*, std::vector<(anonymous namespace)::LowerSwitch::CaseRange, std::allocator<(anonymous n…
|