Searched refs:CLHS (Results 1 - 9 of 9) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp193 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
195 if (CLHS->getType() == CRHS->getType()) {
196 if (Constant *C = ConstantExpr::getCompare(I.getPredicate(), CLHS, CRHS)) {
H A DInlineCost.cpp1440 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); local
1442 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) {
1474 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); local
1476 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) {
1491 Constant *CLHS = dyn_cast<Constant>(LHS); local
1492 if (!CLHS)
1493 CLHS = SimplifiedValues.lookup(LHS);
1500 SimpleV = SimplifyBinOp(I.getOpcode(), CLHS ? CLHS : LHS, CRHS ? CRHS : RHS,
1504 SimplifyBinOp(I.getOpcode(), CLHS
[all...]
H A DInstructionSimplify.cpp133 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); local
134 if (CPred == Pred && CLHS == LHS && CRHS == RHS)
136 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS &&
604 if (auto *CLHS = dyn_cast<Constant>(Op0)) {
606 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL);
3315 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
3317 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI);
3569 if (auto *CLHS = dyn_cast<PtrToIntOperator>(LHS))
3571 if (Q.DL.getTypeSizeInBits(CLHS->getPointerOperandType()) ==
3572 Q.DL.getTypeSizeInBits(CLHS
[all...]
H A DValueTracking.cpp2886 if (const auto *CLHS = dyn_cast<Constant>(U->getOperand(0)))
2887 if (CLHS->isNullValue()) {
5842 const APInt *CLHS, *CRHS; local
5843 if (MatchNUWAddsToSameValue(LHS, RHS, X, CLHS, CRHS))
5844 return CLHS->ule(*CRHS);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp658 if (const ConstantFP *CLHS = dyn_cast<ConstantFP>(Num)) {
660 if (CLHS->isExactlyValue(1.0)) {
679 if (CLHS->isExactlyValue(-1.0)) {
H A DAMDGPULegalizerInfo.cpp2834 if (auto CLHS = getConstantFPVRegVal(LHS, MRI)) {
2836 if (CLHS->isExactlyValue(1.0)) {
2846 if (CLHS->isExactlyValue(-1.0)) {
H A DSIISelLowering.cpp8014 if (const ConstantFPSDNode *CLHS = dyn_cast<ConstantFPSDNode>(LHS)) {
8015 if (CLHS->isExactlyValue(1.0)) {
8035 if (CLHS->isExactlyValue(-1.0)) {
8934 const ConstantSDNode *CLHS = dyn_cast<ConstantSDNode>(LHS.getOperand(1)); local
8936 if (!CLHS || !CRHS)
8942 uint32_t NewMask = (CLHS->getZExtValue() | CRHS->getZExtValue()) & MaxMask;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp180 if (Constant *CLHS = dyn_cast<Constant>(LHS))
182 return ConstantExpr::get(Opcode, CLHS, CRHS);
529 if (Constant *CLHS = dyn_cast<Constant>(V))
532 CLHS, CRHS);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3866 if (ConstantSDNode *CLHS =
3868 if (CLHS->isNullValue()) {

Completed in 346 milliseconds