Searched refs:ConstIsRHS (Results 1 – 3 of 3) sorted by relevance
787 bool ConstIsRHS = isa<Constant>(I.getOperand(1)); in foldOperationIntoSelectOperand() local788 Constant *ConstOperand = cast<Constant>(I.getOperand(ConstIsRHS)); in foldOperationIntoSelectOperand()791 if (ConstIsRHS) in foldOperationIntoSelectOperand()797 if (!ConstIsRHS) in foldOperationIntoSelectOperand()861 bool ConstIsRHS = isa<Constant>(I->getOperand(1)); in foldOperationIntoPhiValue() local862 Constant *C = cast<Constant>(I->getOperand(ConstIsRHS)); in foldOperationIntoPhiValue()865 if (ConstIsRHS) in foldOperationIntoPhiValue()871 if (!ConstIsRHS) in foldOperationIntoPhiValue()
526 bool ConstIsRHS = isa<Constant>(I.getOperand(1)); in FoldOperationIntoSelectOperand() local527 Constant *ConstOperand = cast<Constant>(I.getOperand(ConstIsRHS)); in FoldOperationIntoSelectOperand()530 if (ConstIsRHS) in FoldOperationIntoSelectOperand()536 if (!ConstIsRHS) in FoldOperationIntoSelectOperand()
702 bool ConstIsRHS = isa<Constant>(I.getOperand(1)); in FoldOperationIntoSelectOperand() local703 Constant *ConstOperand = cast<Constant>(I.getOperand(ConstIsRHS)); in FoldOperationIntoSelectOperand()706 if (ConstIsRHS) in FoldOperationIntoSelectOperand()712 if (!ConstIsRHS) in FoldOperationIntoSelectOperand()