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

References

lib/IR/ConstantFold.cpp
 1537   assert(V1->getType() == V2->getType() &&
 1539   if (V1 == V2) return ICmpInst::ICMP_EQ;
 1541   if (!isa<ConstantExpr>(V1) && !isa<GlobalValue>(V1) &&
 1541   if (!isa<ConstantExpr>(V1) && !isa<GlobalValue>(V1) &&
 1542       !isa<BlockAddress>(V1)) {
 1549       R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2));
 1553       R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2));
 1557       R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2));
 1567       evaluateICmpRelation(V2, V1, isSigned);
 1571   } else if (const GlobalValue *GV = dyn_cast<GlobalValue>(V1)) {
 1574         evaluateICmpRelation(V2, V1, isSigned);
 1599   } else if (const BlockAddress *BA = dyn_cast<BlockAddress>(V1)) {
 1602         evaluateICmpRelation(V2, V1, isSigned);
 1626     ConstantExpr *CE1 = cast<ConstantExpr>(V1);