Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h350 APInt MaxCaseVal = SI.case_begin()->getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters() local
351 APInt MinCaseVal = MaxCaseVal; in getEstimatedNumberOfCaseClusters()
354 if (CaseVal.sgt(MaxCaseVal)) in getEstimatedNumberOfCaseClusters()
355 MaxCaseVal = CaseVal; in getEstimatedNumberOfCaseClusters()
366 if (TLI->isSuitableForBitTests(Dests.size(), N, MinCaseVal, MaxCaseVal, in getEstimatedNumberOfCaseClusters()
376 (MaxCaseVal - MinCaseVal) in getEstimatedNumberOfCaseClusters()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp5379 ConstantInt *MaxCaseVal = CI->getCaseValue(); in SwitchToLookupTable() local
5394 if (CaseVal->getValue().sgt(MaxCaseVal->getValue())) in SwitchToLookupTable()
5395 MaxCaseVal = CaseVal; in SwitchToLookupTable()
5420 APInt RangeSpread = MaxCaseVal->getValue() - MinCaseVal->getValue(); in SwitchToLookupTable()