Searched refs:CLHS (Results 1 – 8 of 8) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 192 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in visitCmpInst() local 194 if (CLHS->getType() == CRHS->getType()) { in visitCmpInst() 195 if (Constant *C = ConstantExpr::getCompare(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
|
D | InlineCost.cpp | 1278 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitCmpInst() local 1280 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst() 1312 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitSub() local 1314 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub() 1329 Constant *CLHS = dyn_cast<Constant>(LHS); in visitBinaryOperator() local 1330 if (!CLHS) in visitBinaryOperator() 1331 CLHS = SimplifiedValues.lookup(LHS); in visitBinaryOperator() 1338 SimpleV = SimplifyBinOp(I.getOpcode(), CLHS ? CLHS : LHS, CRHS ? CRHS : RHS, in visitBinaryOperator() 1342 SimplifyBinOp(I.getOpcode(), CLHS ? CLHS : LHS, CRHS ? CRHS : RHS, DL); in visitBinaryOperator()
|
D | InstructionSimplify.cpp | 133 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); in isSameCompare() local 134 if (CPred == Pred && CLHS == LHS && CRHS == RHS) in isSameCompare() 136 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare() 604 if (auto *CLHS = dyn_cast<Constant>(Op0)) { in foldOrCommuteConstant() local 606 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL); in foldOrCommuteConstant() 3228 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in SimplifyICmpInst() local 3230 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in SimplifyICmpInst() 3461 if (auto *CLHS = dyn_cast<PtrToIntOperator>(LHS)) in SimplifyICmpInst() local 3463 if (Q.DL.getTypeSizeInBits(CLHS->getPointerOperandType()) == in SimplifyICmpInst() 3464 Q.DL.getTypeSizeInBits(CLHS->getType()) && in SimplifyICmpInst() [all …]
|
D | ScalarEvolutionExpander.cpp | 173 if (Constant *CLHS = dyn_cast<Constant>(LHS)) in InsertBinop() local 175 return ConstantExpr::get(Opcode, CLHS, CRHS); in InsertBinop() 518 if (Constant *CLHS = dyn_cast<Constant>(V)) in expandAddToGEP() local 521 CLHS, CRHS); in expandAddToGEP()
|
D | ValueTracking.cpp | 2637 if (const auto *CLHS = dyn_cast<Constant>(U->getOperand(0))) in ComputeNumSignBitsImpl() local 2638 if (CLHS->isNullValue()) { in ComputeNumSignBitsImpl() 5360 const APInt *CLHS, *CRHS; in isTruePredicate() local 5361 if (MatchNUWAddsToSameValue(LHS, RHS, X, CLHS, CRHS)) in isTruePredicate() 5362 return CLHS->ule(*CRHS); in isTruePredicate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULegalizerInfo.cpp | 1960 if (auto CLHS = getConstantFPVRegVal(LHS, MRI)) { in legalizeFastUnsafeFDIV() local 1962 if (CLHS->isExactlyValue(1.0)) { in legalizeFastUnsafeFDIV() 1972 if (CLHS->isExactlyValue(-1.0)) { in legalizeFastUnsafeFDIV()
|
D | SIISelLowering.cpp | 7555 if (const ConstantFPSDNode *CLHS = dyn_cast<ConstantFPSDNode>(LHS)) { in lowerFastUnsafeFDIV() local 7557 if (CLHS->isExactlyValue(1.0)) { in lowerFastUnsafeFDIV() 7577 if (CLHS->isExactlyValue(-1.0)) { in lowerFastUnsafeFDIV() 8457 const ConstantSDNode *CLHS = dyn_cast<ConstantSDNode>(LHS.getOperand(1)); in performOrCombine() local 8459 if (!CLHS || !CRHS) in performOrCombine() 8465 uint32_t NewMask = (CLHS->getZExtValue() | CRHS->getZExtValue()) & MaxMask; in performOrCombine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 3804 if (ConstantSDNode *CLHS = isConstOrConstSplat(Op.getOperand(0))) in ComputeNumSignBits() local 3805 if (CLHS->isNullValue()) { in ComputeNumSignBits()
|