Searched refs:LinearMultiplier (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 4489 ConstantInt *LinearMultiplier; member in __anonfb6897ed0811::SwitchLookupTable 4501 LinearOffset(nullptr), LinearMultiplier(nullptr), Array(nullptr) { in SwitchLookupTable() 4575 LinearMultiplier = ConstantInt::get(M.getContext(), DistToPrev); in SwitchLookupTable() 4618 Value *Result = Builder.CreateIntCast(Index, LinearMultiplier->getType(), in BuildLookup() 4620 if (!LinearMultiplier->isOne()) in BuildLookup() 4621 Result = Builder.CreateMul(Result, LinearMultiplier, "switch.idx.mult"); in BuildLookup()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 4915 ConstantInt *LinearMultiplier = nullptr; member in __anon7398f2251111::SwitchLookupTable 5000 LinearMultiplier = ConstantInt::get(M.getContext(), DistToPrev); in SwitchLookupTable() 5043 Value *Result = Builder.CreateIntCast(Index, LinearMultiplier->getType(), in BuildLookup() 5045 if (!LinearMultiplier->isOne()) in BuildLookup() 5046 Result = Builder.CreateMul(Result, LinearMultiplier, "switch.idx.mult"); in BuildLookup()
|