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

Declarations

include/llvm/IR/Constants.h
 1031   static Constant *getBinOpIdentity(unsigned Opcode, Type *Ty,

References

lib/Transforms/InstCombine/InstCombineInternal.h
  250   auto *SafeC = ConstantExpr::getBinOpIdentity(Opcode, EltTy, IsRHSConstant);
lib/Transforms/InstCombine/InstCombineSelect.cpp
   85   Constant *IdC = ConstantExpr::getBinOpIdentity(BO->getOpcode(), Ty, true);
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1489   Constant *IdC = ConstantExpr::getBinOpIdentity(BOpcode, Shuf.getType(), true);
lib/Transforms/InstCombine/InstructionCombining.cpp
  513   return ConstantExpr::getBinOpIdentity(Opcode, V->getType());
  702     if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) {
  711     if (R && R == ConstantExpr::getBinOpIdentity(InnerOpcode, R->getType())) {
  739     if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) {
  748     if (R && R == ConstantExpr::getBinOpIdentity(InnerOpcode, R->getType())) {
lib/Transforms/Scalar/Reassociate.cpp
  624     Constant *Identity = ConstantExpr::getBinOpIdentity(Opcode, I->getType());
 1850   if (Cst && Cst != ConstantExpr::getBinOpIdentity(Opcode, I->getType())) {