Searched refs:getBinOpIdentity (Results 1 - 9 of 9) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp525 return ConstantExpr::getBinOpIdentity(Opcode, V->getType());
714 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) {
723 if (R && R == ConstantExpr::getBinOpIdentity(InnerOpcode, R->getType())) {
751 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) {
760 if (R && R == ConstantExpr::getBinOpIdentity(InnerOpcode, R->getType())) {
H A DInstCombineInternal.h258 auto *SafeC = ConstantExpr::getBinOpIdentity(Opcode, EltTy, IsRHSConstant);
H A DInstCombineVectorOps.cpp1512 Constant *IdC = ConstantExpr::getBinOpIdentity(BOpcode, Shuf.getType(), true);
H A DInstCombineSelect.cpp86 Constant *IdC = ConstantExpr::getBinOpIdentity(BO->getOpcode(), Ty, true);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1044 static Constant *getBinOpIdentity(unsigned Opcode, Type *Ty,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp574 Constant *Identity = ConstantExpr::getBinOpIdentity(
H A DReassociate.cpp626 Constant *Identity = ConstantExpr::getBinOpIdentity(Opcode, I->getType());
1855 if (Cst && Cst != ConstantExpr::getBinOpIdentity(Opcode, I->getType())) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp1047 // FIXME: Use AllowRHSConstant with getBinOpIdentity to handle additional ops,
1049 Constant *Identity = ConstantExpr::getBinOpIdentity(Opcode, C1->getType());
H A DConstants.cpp2569 Constant *ConstantExpr::getBinOpIdentity(unsigned Opcode, Type *Ty, function in class:ConstantExpr

Completed in 127 milliseconds