Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp482 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()
DInstCombineInternal.h224 auto *SafeC = ConstantExpr::getBinOpIdentity(Opcode, EltTy, IsRHSConstant); in getSafeVectorConstantForBinop()
DInstCombineVectorOps.cpp1205 Constant *IdC = ConstantExpr::getBinOpIdentity(BOpcode, Shuf.getType(), true); in foldSelectShuffleWith1Binop()
DInstCombineSelect.cpp80 ConstantExpr::getBinOpIdentity(BO->getOpcode(), X->getType()) == C) { 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstants.h1028 static Constant *getBinOpIdentity(unsigned Opcode, Type *Ty,
/external/llvm/include/llvm/IR/
DConstants.h962 static Constant *getBinOpIdentity(unsigned Opcode, Type *Ty);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp618 Constant *Identity = ConstantExpr::getBinOpIdentity(Opcode, I->getType()); in LinearizeExprTree()
1835 if (Cst && Cst != ConstantExpr::getBinOpIdentity(Opcode, I->getType())) { in OptimizeExpression()
/external/llvm/lib/IR/
DConstants.cpp2220 Constant *ConstantExpr::getBinOpIdentity(unsigned Opcode, Type *Ty) { in getBinOpIdentity() function in ConstantExpr
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp2274 Constant *ConstantExpr::getBinOpIdentity(unsigned Opcode, Type *Ty, in getBinOpIdentity() function in ConstantExpr