Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h1032 static Constant *getBinOpIdentity(unsigned Opcode, Type *Ty,
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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