Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp176 bool IsFshl = IID == Intrinsic::fshl; in foldGuardedFunnelShift() local
178 if (IsFshl && !llvm::isGuaranteedNotToBePoison(ShVal1)) in foldGuardedFunnelShift()
180 else if (!IsFshl && !llvm::isGuaranteedNotToBePoison(ShVal0)) in foldGuardedFunnelShift()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2237 bool IsFshl = (ShAmt == SA0); in foldSelectFunnelShift() local
2239 if ((IsFshl && TVal != SV0) || (!IsFshl && TVal != SV1)) in foldSelectFunnelShift()
2252 if (IsFshl && !llvm::isGuaranteedNotToBePoison(SV1)) in foldSelectFunnelShift()
2254 else if (!IsFshl && !llvm::isGuaranteedNotToBePoison(SV0)) in foldSelectFunnelShift()
2260 Intrinsic::ID IID = IsFshl ? Intrinsic::fshl : Intrinsic::fshr; in foldSelectFunnelShift()
H A DInstCombineCasts.cpp610 bool IsFshl = true; // Sub on LSHR. in narrowFunnelShift() local
613 IsFshl = false; // Sub on SHL. in narrowFunnelShift()
634 Intrinsic::ID IID = IsFshl ? Intrinsic::fshl : Intrinsic::fshr; in narrowFunnelShift()
H A DInstCombineAndOrXor.cpp2292 bool IsFshl = true; // Sub on LSHR. in matchFunnelShift() local
2295 IsFshl = false; // Sub on SHL. in matchFunnelShift()
2300 Intrinsic::ID IID = IsFshl ? Intrinsic::fshl : Intrinsic::fshr; in matchFunnelShift()