Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h393 APInt MinCaseVal = MaxCaseVal; in getEstimatedNumberOfCaseClusters() local
398 if (CaseVal.slt(MinCaseVal)) in getEstimatedNumberOfCaseClusters()
399 MinCaseVal = CaseVal; in getEstimatedNumberOfCaseClusters()
408 if (TLI->isSuitableForBitTests(Dests.size(), N, MinCaseVal, MaxCaseVal, in getEstimatedNumberOfCaseClusters()
418 (MaxCaseVal - MinCaseVal) in getEstimatedNumberOfCaseClusters()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp5782 ConstantInt *MinCaseVal = CI->getCaseValue(); in SwitchToLookupTable() local
5796 if (CaseVal->getValue().slt(MinCaseVal->getValue())) in SwitchToLookupTable()
5797 MinCaseVal = CaseVal; in SwitchToLookupTable()
5824 APInt RangeSpread = MaxCaseVal->getValue() - MinCaseVal->getValue(); in SwitchToLookupTable()
5863 if (MinCaseVal->isNullValue()) in SwitchToLookupTable()
5866 TableIndex = Builder.CreateSub(SI->getCondition(), MinCaseVal, in SwitchToLookupTable()
5871 unsigned CaseSize = MinCaseVal->getType()->getPrimitiveSizeInBits(); in SwitchToLookupTable()
5893 TableIndex, ConstantInt::get(MinCaseVal->getType(), TableSize)); in SwitchToLookupTable()
5919 uint64_t Idx = (ResultList[I].first->getValue() - MinCaseVal->getValue()) in SwitchToLookupTable()
5958 SwitchLookupTable Table(Mod, TableSize, MinCaseVal, ResultList, DV, DL, in SwitchToLookupTable()