Home
last modified time | relevance | path

Searched refs:getBinOpIdentity (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp528 return ConstantExpr::getBinOpIdentity(Opcode, V->getType()); in getIdentityValue()
717 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws()
726 if (R && R == ConstantExpr::getBinOpIdentity(InnerOpcode, R->getType())) { in SimplifyUsingDistributiveLaws()
754 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws()
763 if (R && R == ConstantExpr::getBinOpIdentity(InnerOpcode, R->getType())) { in SimplifyUsingDistributiveLaws()
DInstCombineInternal.h250 auto *SafeC = ConstantExpr::getBinOpIdentity(Opcode, EltTy, IsRHSConstant); in getSafeVectorConstantForBinop()
DInstCombineVectorOps.cpp1475 Constant *IdC = ConstantExpr::getBinOpIdentity(BOpcode, Shuf.getType(), true); in foldSelectShuffleWith1Binop()
DInstCombineSelect.cpp85 Constant *IdC = ConstantExpr::getBinOpIdentity(BO->getOpcode(), Ty, true); in foldSelectBinOpIdentity()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp601 Constant *Identity = ConstantExpr::getBinOpIdentity(Opcode, I->getType()); in LinearizeExprTree()
1805 if (Cst && Cst != ConstantExpr::getBinOpIdentity(Opcode, I->getType())) { in OptimizeExpression()
/external/llvm/include/llvm/IR/
DConstants.h962 static Constant *getBinOpIdentity(unsigned Opcode, Type *Ty);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h1032 static Constant *getBinOpIdentity(unsigned Opcode, Type *Ty,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp625 Constant *Identity = ConstantExpr::getBinOpIdentity(Opcode, I->getType()); in LinearizeExprTree()
1851 if (Cst && Cst != ConstantExpr::getBinOpIdentity(Opcode, I->getType())) { in OptimizeExpression()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp1008 Constant *Identity = ConstantExpr::getBinOpIdentity(Opcode, C1->getType()); in ConstantFoldBinaryInstruction()
DConstants.cpp2406 Constant *ConstantExpr::getBinOpIdentity(unsigned Opcode, Type *Ty, in getBinOpIdentity() function in ConstantExpr
/external/llvm/lib/IR/
DConstants.cpp2220 Constant *ConstantExpr::getBinOpIdentity(unsigned Opcode, Type *Ty) { in getBinOpIdentity() function in ConstantExpr