Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1374 auto FlippedStrictness = getFlippedStrictnessPredicateAndConstant(Pred, C0); in tryToReuseConstantFromSelectInComparison() local
1375 if (!FlippedStrictness) in tryToReuseConstantFromSelectInComparison()
1379 if (!MatchesSelectValue(FlippedStrictness->second)) in tryToReuseConstantFromSelectInComparison()
1387 Value *NewCmp = Builder.CreateICmp(Pred, X, FlippedStrictness->second, in tryToReuseConstantFromSelectInComparison()
DInstCombineCompares.cpp2661 auto FlippedStrictness = in matchThreeWayIntCompare() local
2663 if (!FlippedStrictness) in matchThreeWayIntCompare()
2665 assert(FlippedStrictness->first == ICmpInst::ICMP_SGE && "Sanity check"); in matchThreeWayIntCompare()
2666 RHS2 = FlippedStrictness->second; in matchThreeWayIntCompare()
5266 auto FlippedStrictness = getFlippedStrictnessPredicateAndConstant(Pred, Op1C); in canonicalizeCmpWithConstant() local
5267 if (!FlippedStrictness) in canonicalizeCmpWithConstant()
5270 return new ICmpInst(FlippedStrictness->first, Op0, FlippedStrictness->second); in canonicalizeCmpWithConstant()