Searched refs:CLHS (Results 1 – 8 of 8) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 1969 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitCmpInst() local 1971 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst() 2003 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitSub() local 2005 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub() 2020 Constant *CLHS = dyn_cast<Constant>(LHS); in visitBinaryOperator() local 2021 if (!CLHS) in visitBinaryOperator() 2022 CLHS = SimplifiedValues.lookup(LHS); in visitBinaryOperator() 2029 SimpleV = simplifyBinOp(I.getOpcode(), CLHS ? CLHS : LHS, CRHS ? CRHS : RHS, in visitBinaryOperator() 2033 simplifyBinOp(I.getOpcode(), CLHS ? CLHS : LHS, CRHS ? CRHS : RHS, DL); in visitBinaryOperator()
|
| H A D | InstructionSimplify.cpp | 135 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); in isSameCompare() local 136 if (CPred == Pred && CLHS == LHS && CRHS == RHS) in isSameCompare() 138 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare() 606 if (auto *CLHS = dyn_cast<Constant>(Op0)) { in foldOrCommuteConstant() local 617 return ConstantFoldFPInstOperands(Opcode, CLHS, CRHS, Q.DL, Q.CxtI); in foldOrCommuteConstant() 619 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL); in foldOrCommuteConstant() 3660 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in simplifyICmpInst() local 3662 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in simplifyICmpInst() 3921 if (auto *CLHS = dyn_cast<PtrToIntOperator>(LHS)) in simplifyICmpInst() local 3923 if (Q.DL.getTypeSizeInBits(CLHS->getPointerOperandType()) == in simplifyICmpInst() [all …]
|
| H A D | ValueTracking.cpp | 3260 if (const auto *CLHS = dyn_cast<Constant>(U->getOperand(0))) in ComputeNumSignBitsImpl() local 3261 if (CLHS->isNullValue()) { in ComputeNumSignBitsImpl() 6790 const APInt *CLHS, *CRHS; in isTruePredicate() local 6791 if (MatchNUWAddsToSameValue(LHS, RHS, X, CLHS, CRHS)) in isTruePredicate() 6792 return CLHS->ule(*CRHS); in isTruePredicate()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 670 if (const ConstantFP *CLHS = dyn_cast<ConstantFP>(Num)) { in optimizeWithRcp() local 672 if (CLHS->isExactlyValue(1.0)) { in optimizeWithRcp() 691 if (CLHS->isExactlyValue(-1.0)) { in optimizeWithRcp()
|
| H A D | AMDGPULegalizerInfo.cpp | 3743 if (auto CLHS = getConstantFPVRegVal(LHS, MRI)) { in legalizeFastUnsafeFDIV() local 3745 if (CLHS->isExactlyValue(1.0)) { in legalizeFastUnsafeFDIV() 3755 if (CLHS->isExactlyValue(-1.0)) { in legalizeFastUnsafeFDIV()
|
| H A D | SIISelLowering.cpp | 8893 if (const ConstantFPSDNode *CLHS = dyn_cast<ConstantFPSDNode>(LHS)) { in lowerFastUnsafeFDIV() local 8894 if (CLHS->isExactlyValue(1.0)) { in lowerFastUnsafeFDIV() 8914 if (CLHS->isExactlyValue(-1.0)) { in lowerFastUnsafeFDIV() 9852 const ConstantSDNode *CLHS = dyn_cast<ConstantSDNode>(LHS.getOperand(1)); in performOrCombine() local 9854 if (!CLHS || !CRHS) in performOrCombine() 9860 uint32_t NewMask = (CLHS->getZExtValue() | CRHS->getZExtValue()) & MaxMask; in performOrCombine()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 222 if (Constant *CLHS = dyn_cast<Constant>(LHS)) in InsertBinop() local 224 if (Constant *Res = ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, DL)) in InsertBinop() 577 if (Constant *CLHS = dyn_cast<Constant>(V)) in expandAddToGEP() local 579 return Builder.CreateGEP(Builder.getInt8Ty(), CLHS, CRHS); in expandAddToGEP()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 4310 if (ConstantSDNode *CLHS = in ComputeNumSignBits() local 4312 if (CLHS->isZero()) { in ComputeNumSignBits()
|