Searched refs:getBinOpIdentity (Results 1 – 10 of 10) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 482 return ConstantExpr::getBinOpIdentity(Opcode, V->getType()); in getIdentityValue() 659 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 668 if (R && R == ConstantExpr::getBinOpIdentity(InnerOpcode, R->getType())) { in SimplifyUsingDistributiveLaws() 696 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 705 if (R && R == ConstantExpr::getBinOpIdentity(InnerOpcode, R->getType())) { in SimplifyUsingDistributiveLaws()
|
D | InstCombineInternal.h | 224 auto *SafeC = ConstantExpr::getBinOpIdentity(Opcode, EltTy, IsRHSConstant); in getSafeVectorConstantForBinop()
|
D | InstCombineVectorOps.cpp | 1205 Constant *IdC = ConstantExpr::getBinOpIdentity(BOpcode, Shuf.getType(), true); in foldSelectShuffleWith1Binop()
|
D | InstCombineSelect.cpp | 80 ConstantExpr::getBinOpIdentity(BO->getOpcode(), X->getType()) == C) { in foldSelectBinOpIdentity()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 601 Constant *Identity = ConstantExpr::getBinOpIdentity(Opcode, I->getType()); in LinearizeExprTree() 1805 if (Cst && Cst != ConstantExpr::getBinOpIdentity(Opcode, I->getType())) { in OptimizeExpression()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Constants.h | 1028 static Constant *getBinOpIdentity(unsigned Opcode, Type *Ty,
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 962 static Constant *getBinOpIdentity(unsigned Opcode, Type *Ty);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 618 Constant *Identity = ConstantExpr::getBinOpIdentity(Opcode, I->getType()); in LinearizeExprTree() 1835 if (Cst && Cst != ConstantExpr::getBinOpIdentity(Opcode, I->getType())) { in OptimizeExpression()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 2220 Constant *ConstantExpr::getBinOpIdentity(unsigned Opcode, Type *Ty) { in getBinOpIdentity() function in ConstantExpr
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Constants.cpp | 2274 Constant *ConstantExpr::getBinOpIdentity(unsigned Opcode, Type *Ty, in getBinOpIdentity() function in ConstantExpr
|