Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:SO

25 //    2. Bitwise operators with constant operands are always grouped so that
549 static Value *FoldOperationIntoSelectOperand(Instruction &I, Value *SO,
552 return IC->Builder->CreateCast(CI->getOpcode(), SO, I.getType());
559 if (Constant *SOC = dyn_cast<Constant>(SO)) {
565 Value *Op0 = SO, *Op1 = ConstOperand;
571 SO->getName()+".op");
574 SO->getName()+".cmp");
577 SO->getName()+".cmp");
685 // If we are going to have to insert a new computation, do so right before the
760 /// the specified offset. If so, fill them into NewIndices and return the
994 // trunc (Y * sext Scale) does not, so nsw flags need to be cleared
1014 // We know that we can successfully descale, so from here on we can safely
1089 // to an index of zero, so replace it with zero if it is not zero already.
1275 // The NewGEP must be pointer typed, so must the old one -> BitCast
1313 // The NewGEP must be pointer typed, so must the old one -> BitCast
1340 // See if the bitcast simplifies, if so, don't nuke this GEP yet.
1354 // field at Offset in 'A's type. If so, we can pull the cast through the
1568 // test so that simplify cfg can remove the empty block and dead code
1790 // the wrong spot, so use ReplaceInstUsesWith().
1812 /// function is one that we understand. If so, return a description of it;
1899 // An empty filter catches everything, so there is no point in keeping any
1924 // There is no point in having multiple copies of this typeinfo, so
1936 // catch-alls. If so, the filter can be discarded.
1947 // Already caught by an earlier clause, so having it in the filter
1951 // a filter, so only add it if we didn't already.
1975 // If the new filter is empty then it will catch everything so there is
1987 // If several filters occur in a row then reorder them so that the shortest
2000 // if sorting them is actually going to do anything so that we only make a
2004 // Not sorted, so sort the filters now. Doing an unstable sort would be
2020 // derived from it) so it would be wrong to perform this transform in general.
2023 // filter is pointless. So here we look at all pairs of filters F and L where
2125 // clauses. If so, force the cleanup flag to true.
2133 // that the cleanup flag is pointless. Clear it if so.
2439 // if so, remove it.
2466 /// replaceAllUsesWith - override so that instruction replacement