Searched defs:CRHS (Results 1 - 4 of 4) sorted by relevance

/external/llvm/lib/Analysis/
H A DInlineCost.cpp675 if (Constant *CRHS = dyn_cast<Constant>(RHS))
677 ConstantExpr::getCompare(I.getPredicate(), CLHS, CRHS)) {
697 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); local
698 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) {
743 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); local
744 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) {
H A DInstructionSimplify.cpp97 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); local
98 if (CPred == Pred && CLHS == LHS && CRHS == RHS)
101 CRHS == LHS;
532 if (Constant *CRHS = dyn_cast<Constant>(Op1))
533 return ConstantFoldBinaryOpOperands(Instruction::Add, CLHS, CRHS, Q.DL);
666 if (Constant *CRHS = dyn_cast<Constant>(Op1))
667 return ConstantFoldBinaryOpOperands(Instruction::Sub, CLHS, CRHS, Q.DL);
790 if (Constant *CRHS = dyn_cast<Constant>(Op1))
791 return ConstantFoldBinaryOpOperands(Instruction::FAdd, CLHS, CRHS, Q.DL);
829 if (Constant *CRHS
[all...]
H A DValueTracking.cpp2079 if (const auto *CRHS = dyn_cast<Constant>(U->getOperand(1)))
2080 if (CRHS->isAllOnesValue()) {
4008 const APInt *CLHS, *CRHS; local
4009 if (MatchNUWAddsToSameValue(LHS, RHS, X, CLHS, CRHS))
4010 return CLHS->ule(*CRHS);
/external/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp2618 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(RHS.getOperand(1)); local
2619 if (!CLHS || !CRHS)
2625 uint32_t NewMask = (CLHS->getZExtValue() | CRHS->getZExtValue()) & MaxMask;
2843 const ConstantFPSDNode *CRHS = dyn_cast<ConstantFPSDNode>(RHS); local
2844 if (!CRHS)
2847 const APFloat &APF = CRHS->getValueAPF();

Completed in 158 milliseconds