Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4152 ConstantInt *LinearMultiplier; member in __anonfb6897ed0711::SwitchLookupTable
4164 LinearOffset(nullptr), LinearMultiplier(nullptr), Array(nullptr) { in SwitchLookupTable()
4239 LinearMultiplier = ConstantInt::get(M.getContext(), DistToPrev); in SwitchLookupTable()
4283 Value *Result = Builder.CreateIntCast(Index, LinearMultiplier->getType(), in BuildLookup()
4285 if (!LinearMultiplier->isOne()) in BuildLookup()
4286 Result = Builder.CreateMul(Result, LinearMultiplier, "switch.idx.mult"); in BuildLookup()