Searched refs:MinCaseVal (Results 1 – 1 of 1) sorted by relevance
4836 ConstantInt *MinCaseVal = CI.getCaseValue(); in SwitchToLookupTable() local4848 if (CaseVal->getValue().slt(MinCaseVal->getValue())) in SwitchToLookupTable()4849 MinCaseVal = CaseVal; in SwitchToLookupTable()4876 APInt RangeSpread = MaxCaseVal->getValue() - MinCaseVal->getValue(); in SwitchToLookupTable()4912 Builder.CreateSub(SI->getCondition(), MinCaseVal, "switch.tableidx"); in SwitchToLookupTable()4916 unsigned CaseSize = MinCaseVal->getType()->getPrimitiveSizeInBits(); in SwitchToLookupTable()4936 TableIndex, ConstantInt::get(MinCaseVal->getType(), TableSize)); in SwitchToLookupTable()4961 uint64_t Idx = (ResultList[I].first->getValue() - MinCaseVal->getValue()) in SwitchToLookupTable()4996 SwitchLookupTable Table(Mod, TableSize, MinCaseVal, ResultList, DV, DL); in SwitchToLookupTable()