reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
829 if (auto *Cast = dyn_cast<CastInst>(&I)) 830 return Builder.CreateCast(Cast->getOpcode(), SO, I.getType()); 832 assert(I.isBinaryOp() && "Unexpected opcode for select folding"); 835 bool ConstIsRHS = isa<Constant>(I.getOperand(1)); 836 Constant *ConstOperand = cast<Constant>(I.getOperand(ConstIsRHS)); 840 return ConstantExpr::get(I.getOpcode(), SOC, ConstOperand); 841 return ConstantExpr::get(I.getOpcode(), ConstOperand, SOC); 848 auto *BO = cast<BinaryOperator>(&I);