Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h337 APInt MaxCaseVal = SI.case_begin()->getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters() local
338 APInt MinCaseVal = MaxCaseVal; in getEstimatedNumberOfCaseClusters()
341 if (CaseVal.sgt(MaxCaseVal)) in getEstimatedNumberOfCaseClusters()
342 MaxCaseVal = CaseVal; in getEstimatedNumberOfCaseClusters()
353 if (TLI->isSuitableForBitTests(Dests.size(), N, MinCaseVal, MaxCaseVal, in getEstimatedNumberOfCaseClusters()
363 (MaxCaseVal - MinCaseVal) in getEstimatedNumberOfCaseClusters()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp5273 ConstantInt *MaxCaseVal = CI->getCaseValue(); in SwitchToLookupTable() local
5288 if (CaseVal->getValue().sgt(MaxCaseVal->getValue())) in SwitchToLookupTable()
5289 MaxCaseVal = CaseVal; in SwitchToLookupTable()
5314 APInt RangeSpread = MaxCaseVal->getValue() - MinCaseVal->getValue(); in SwitchToLookupTable()