Home
last modified time | relevance | path

Searched refs:MaxCaseVal (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h276 APInt MaxCaseVal = SI.case_begin()->getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters() local
277 APInt MinCaseVal = MaxCaseVal; in getEstimatedNumberOfCaseClusters()
280 if (CaseVal.sgt(MaxCaseVal)) in getEstimatedNumberOfCaseClusters()
281 MaxCaseVal = CaseVal; in getEstimatedNumberOfCaseClusters()
292 if (TLI->isSuitableForBitTests(Dests.size(), N, MinCaseVal, MaxCaseVal, in getEstimatedNumberOfCaseClusters()
302 (MaxCaseVal - MinCaseVal) in getEstimatedNumberOfCaseClusters()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4837 ConstantInt *MaxCaseVal = CI.getCaseValue(); in SwitchToLookupTable() local
4850 if (CaseVal->getValue().sgt(MaxCaseVal->getValue())) in SwitchToLookupTable()
4851 MaxCaseVal = CaseVal; in SwitchToLookupTable()
4876 APInt RangeSpread = MaxCaseVal->getValue() - MinCaseVal->getValue(); in SwitchToLookupTable()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp5263 ConstantInt *MaxCaseVal = CI->getCaseValue(); in SwitchToLookupTable() local
5278 if (CaseVal->getValue().sgt(MaxCaseVal->getValue())) in SwitchToLookupTable()
5279 MaxCaseVal = CaseVal; in SwitchToLookupTable()
5304 APInt RangeSpread = MaxCaseVal->getValue() - MinCaseVal->getValue(); in SwitchToLookupTable()