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/ |
D | InstructionCombining.cpp | 528 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()
|
D | InstCombineInternal.h | 250 auto *SafeC = ConstantExpr::getBinOpIdentity(Opcode, EltTy, IsRHSConstant); in getSafeVectorConstantForBinop()
|
D | InstCombineVectorOps.cpp | 1475 Constant *IdC = ConstantExpr::getBinOpIdentity(BOpcode, Shuf.getType(), true); in foldSelectShuffleWith1Binop()
|
D | InstCombineSelect.cpp | 85 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/ |
D | Constants.h | 1032 static Constant *getBinOpIdentity(unsigned Opcode, Type *Ty,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 625 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/ |
D | ConstantFold.cpp | 1008 Constant *Identity = ConstantExpr::getBinOpIdentity(Opcode, C1->getType()); in ConstantFoldBinaryInstruction()
|
D | Constants.cpp | 2406 Constant *ConstantExpr::getBinOpIdentity(unsigned Opcode, Type *Ty, in getBinOpIdentity() function in ConstantExpr
|