Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3715 ConstantInt *LinearMultiplier; member in __anonfb6897ed0411::SwitchLookupTable
3727 LinearOffset(nullptr), LinearMultiplier(nullptr), Array(nullptr) { in SwitchLookupTable()
3802 LinearMultiplier = ConstantInt::get(M.getContext(), DistToPrev); in SwitchLookupTable()
3846 Value *Result = Builder.CreateIntCast(Index, LinearMultiplier->getType(), in BuildLookup()
3848 if (!LinearMultiplier->isOne()) in BuildLookup()
3849 Result = Builder.CreateMul(Result, LinearMultiplier, "switch.idx.mult"); in BuildLookup()