reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/IR/ConstantFold.cpp
  989   assert(Instruction::isBinaryOp(Opcode) && "Non-binary instruction detected");
  995     switch (static_cast<Instruction::BinaryOps>(Opcode)) {
 1101     switch (Opcode) {
 1215     if (Instruction::isCommutative(Opcode))
 1216       return ConstantExpr::get(Opcode, C2, C1);
 1223       switch (Opcode) {
 1269     switch (Opcode) {
 1287       switch (Opcode) {
 1317       if (Instruction::isIntDivRem(Opcode) && RHS->isNullValue())
 1320       Result.push_back(ConstantExpr::get(Opcode, LHS, RHS));
 1333     if (Instruction::isAssociative(Opcode) && CE1->getOpcode() == Opcode) {
 1333     if (Instruction::isAssociative(Opcode) && CE1->getOpcode() == Opcode) {
 1334       Constant *T = ConstantExpr::get(Opcode, CE1->getOperand(1), C2);
 1335       if (!isa<ConstantExpr>(T) || cast<ConstantExpr>(T)->getOpcode() != Opcode)
 1336         return ConstantExpr::get(Opcode, CE1->getOperand(0), T);
 1341     if (Instruction::isCommutative(Opcode))
 1342       return ConstantFoldBinaryInstruction(Opcode, C2, C1);
 1347     switch (Opcode) {