Lines Matching refs:CaseVal

5671     const APInt &CaseVal = Case.getCaseValue()->getValue();  in eliminateDeadSwitchCases()  local
5672 if (Known.Zero.intersects(CaseVal) || !Known.One.isSubsetOf(CaseVal) || in eliminateDeadSwitchCases()
5673 (CaseVal.getSignificantBits() > MaxSignificantBitsInCond)) { in eliminateDeadSwitchCases()
5677 LLVM_DEBUG(dbgs() << "SimplifyCFG: switch case " << CaseVal in eliminateDeadSwitchCases()
5908 getCaseResults(SwitchInst *SI, ConstantInt *CaseVal, BasicBlock *CaseDest, in getCaseResults() argument
5918 ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal)); in getCaseResults()
5979 static size_t mapCaseToResult(ConstantInt *CaseVal, in mapCaseToResult() argument
5984 I.second.push_back(CaseVal); in mapCaseToResult()
5989 std::make_pair(Result, SmallVector<ConstantInt *, 4>(1, CaseVal))); in mapCaseToResult()
6005 ConstantInt *CaseVal = I.getCaseValue(); in initializeUniqueCases() local
6009 if (!getCaseResults(SI, CaseVal, I.getCaseSuccessor(), &CommonDest, Results, in initializeUniqueCases()
6019 mapCaseToResult(CaseVal, UniqueResults, Results.begin()->second); in initializeUniqueCases()
6268 ConstantInt *CaseVal = Values[I].first; in SwitchLookupTable() local
6272 uint64_t Idx = (CaseVal->getValue() - Offset->getValue()).getLimitedValue(); in SwitchLookupTable()
6685 ConstantInt *CaseVal = CI->getCaseValue(); in SwitchToLookupTable() local
6686 if (CaseVal->getValue().slt(MinCaseVal->getValue())) in SwitchToLookupTable()
6687 MinCaseVal = CaseVal; in SwitchToLookupTable()
6688 if (CaseVal->getValue().sgt(MaxCaseVal->getValue())) in SwitchToLookupTable()
6689 MaxCaseVal = CaseVal; in SwitchToLookupTable()
6694 if (!getCaseResults(SI, CaseVal, CI->getCaseSuccessor(), &CommonDest, in SwitchToLookupTable()
6704 ResultLists[PHI].push_back(std::make_pair(CaseVal, Value)); in SwitchToLookupTable()