Searched refs:MinCaseVal (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 277 APInt MinCaseVal = MaxCaseVal; in getEstimatedNumberOfCaseClusters() local 282 if (CaseVal.slt(MinCaseVal)) in getEstimatedNumberOfCaseClusters() 283 MinCaseVal = CaseVal; in getEstimatedNumberOfCaseClusters() 292 if (TLI->isSuitableForBitTests(Dests.size(), N, MinCaseVal, MaxCaseVal, in getEstimatedNumberOfCaseClusters() 302 (MaxCaseVal - MinCaseVal) in getEstimatedNumberOfCaseClusters()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 5262 ConstantInt *MinCaseVal = CI->getCaseValue(); in SwitchToLookupTable() local 5276 if (CaseVal->getValue().slt(MinCaseVal->getValue())) in SwitchToLookupTable() 5277 MinCaseVal = CaseVal; in SwitchToLookupTable() 5304 APInt RangeSpread = MaxCaseVal->getValue() - MinCaseVal->getValue(); in SwitchToLookupTable() 5341 if (MinCaseVal->isNullValue()) in SwitchToLookupTable() 5344 TableIndex = Builder.CreateSub(SI->getCondition(), MinCaseVal, in SwitchToLookupTable() 5349 unsigned CaseSize = MinCaseVal->getType()->getPrimitiveSizeInBits(); in SwitchToLookupTable() 5369 TableIndex, ConstantInt::get(MinCaseVal->getType(), TableSize)); in SwitchToLookupTable() 5393 uint64_t Idx = (ResultList[I].first->getValue() - MinCaseVal->getValue()) in SwitchToLookupTable() 5428 SwitchLookupTable Table(Mod, TableSize, MinCaseVal, ResultList, DV, DL, in SwitchToLookupTable()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 4836 ConstantInt *MinCaseVal = CI.getCaseValue(); in SwitchToLookupTable() local 4848 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()
|