Searched refs:RHSC (Results 1 - 19 of 19) sorted by relevance

/freebsd-10.0-release/contrib/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp552 int RHSC = (int)RHS->getZExtValue(); local
554 RHSC = -RHSC;
556 if (RHSC >= 0 && RHSC < 0x1000) { // 12 bits (unsigned)
562 OffImm = CurDAG->getTargetConstant(RHSC, MVT::i32);
581 int RHSC = (int)RHS->getZExtValue(); local
582 if (RHSC & 1) {
583 RHSC = RHSC
608 int RHSC; local
680 int RHSC = (int)RHS->getZExtValue(); local
721 int RHSC; local
912 int RHSC; local
975 int RHSC; local
1097 int RHSC; local
1160 unsigned RHSC = RHS ? RHS->getZExtValue() : 0; local
1171 int RHSC; local
1217 int RHSC; local
1292 int RHSC = (int)RHS->getZExtValue(); local
1321 int RHSC = (int)RHS->getSExtValue(); local
1345 int RHSC; local
1365 int RHSC = (int)RHS->getZExtValue(); local
[all...]
H A DARMISelLowering.cpp2947 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS.getNode())) {
2948 unsigned C = RHSC->getZExtValue();
9936 int RHSC = (int)RHS->getZExtValue(); local
9937 if (RHSC < 0 && RHSC > -256) {
9940 Offset = DAG.getConstant(-RHSC, RHS->getValueType(0));
9950 int RHSC = (int)RHS->getZExtValue(); local
9951 if (RHSC < 0 && RHSC > -0x1000) {
9954 Offset = DAG.getConstant(-RHSC, RH
9993 int RHSC = (int)RHS->getZExtValue(); local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1667 if (Constant *RHSC = dyn_cast<Constant>(ICI.getOperand(1))) {
1668 RHSOp = ConstantExpr::getIntToPtr(RHSC, SrcTy);
1669 } else if (PtrToIntInst *RHSC = dyn_cast<PtrToIntInst>(ICI.getOperand(1))) {
1670 RHSOp = RHSC->getOperand(0);
2312 if (Constant *RHSC = dyn_cast<Constant>(Op1)) {
2317 if (RHSC->isNullValue() &&
2336 Op1 = ConstantExpr::getICmp(I.getPredicate(), C, RHSC);
2338 Op2 = ConstantExpr::getICmp(I.getPredicate(), C, RHSC);
2349 RHSC, I.getName());
2352 RHSC,
2830 FoldFCmp_IntToFP_Cst(FCmpInst &I, Instruction *LHSI, Constant *RHSC) argument
[all...]
H A DInstCombine.h147 Constant *RHSC);
H A DInstCombineAddSub.cpp1134 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(RHS)) {
1136 ConstantExpr::getTrunc(RHSC, LHSConv->getOperand(0)->getType());
1138 ConstantExpr::getSExt(CI, I.getType()) == RHSC &&
H A DInstCombineAndOrXor.cpp942 if (ConstantFP *RHSC = dyn_cast<ConstantFP>(RHS->getOperand(1))) {
945 if (LHSC->getValueAPF().isNaN() || RHSC->getValueAPF().isNaN())
1675 if (ConstantFP *RHSC = dyn_cast<ConstantFP>(RHS->getOperand(1))) {
1678 if (LHSC->getValueAPF().isNaN() || RHSC->getValueAPF().isNaN())
/freebsd-10.0-release/contrib/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp194 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(BOp->getOperand(1))) {
200 if (!MaskedValueIsZero(BOp->getOperand(0), RHSC->getValue(), &TD))
206 Offset += RHSC->getValue();
211 Offset *= RHSC->getValue();
212 Scale *= RHSC->getValue();
217 Offset <<= RHSC->getValue().getLimitedValue();
218 Scale <<= RHSC->getValue().getLimitedValue();
H A DScalarEvolution.cpp1494 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) {
1497 RHSC->getValue()->getValue());
1905 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) {
1909 RHSC->getValue()->getValue());
2129 if (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(RHS)) {
2130 if (RHSC->getValue()->equalsInt(1))
2135 if (!RHSC->getValue()->isZero()) {
2140 unsigned LZ = RHSC->getValue()->getValue().countLeadingZeros();
2144 if (!RHSC->getValue()->getValue().isPowerOf2())
2153 const APInt &DivInt = RHSC
[all...]
H A DInstructionSimplify.cpp2030 if (Constant *RHSC = dyn_cast<Constant>(RHS)) {
2033 ConstantExpr::getIntToPtr(RHSC, SrcTy),
2609 if (Constant *RHSC = dyn_cast<Constant>(RHS)) {
2611 if (ConstantFP *CFP = dyn_cast<ConstantFP>(RHSC)) {
/freebsd-10.0-release/contrib/llvm/lib/MC/
H A DMCExpr.cpp101 if (const MCConstantExpr *RHSC = dyn_cast<MCConstantExpr>(BE.getRHS())) {
102 if (RHSC->getValue() < 0) {
103 OS << RHSC->getValue();
/freebsd-10.0-release/contrib/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp805 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS)) {
806 if (RHSC->isNullValue() && LHS.hasOneUse() &&
1004 uint64_t RHSC = RHS->getZExtValue(); local
1005 if ((VT == MVT::i16 && RHSC != 2) ||
1006 (VT == MVT::i8 && RHSC != 1))
1010 Offset = DAG.getConstant(RHSC, VT);
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp396 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(Op.getOperand(1))) {
400 // If the LHS already has zeros where RHSC does, this and is dead.
401 if ((LHSZero & NewMask) == (~RHSC->getAPIntValue() & NewMask))
1664 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(N1)) {
1669 DAG.getConstant(RHSC->getAPIntValue()-
1682 RHSC->getAPIntValue(),
1693 RHSC->getAPIntValue(),
1699 // Could RHSC fold directly into a compare?
1700 if (RHSC->getValueType(0).getSizeInBits() <= 64)
1701 LegalRHSImm = isLegalICmpImmediate(RHSC
[all...]
H A DSelectionDAGBuilder.cpp4285 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS)) {
4287 unsigned Val = RHSC->getSExtValue();
4320 if (RHSC->getSExtValue() < 0)
H A DDAGCombiner.cpp5050 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(V.getOperand(1))) {
5052 unsigned Amt = RHSC->getZExtValue();
/freebsd-10.0-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp1574 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS.getNode())) {
1576 EVT VT = RHSC->getValueType(0);
1582 C = RHSC->getSExtValue();
1583 } else if (RHSC->getZExtValue() > INT64_MAX) {
1588 C = RHSC->getZExtValue();
/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DConstantFold.cpp228 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(RHS))
229 if (RHSC->isAllOnesValue())
230 return RHSC;
/freebsd-10.0-release/contrib/llvm/lib/Target/X86/
H A DX86FastISel.cpp881 static unsigned X86ChooseCmpImmediateOpcode(EVT VT, const ConstantInt *RHSC) { argument
891 if ((int)RHSC->getSExtValue() == RHSC->getSExtValue())
H A DX86ISelLowering.cpp3201 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS)) {
3202 if (SetCCOpcode == ISD::SETGT && RHSC->isAllOnesValue()) {
3207 if (SetCCOpcode == ISD::SETLT && RHSC->isNullValue()) {
3211 if (SetCCOpcode == ISD::SETLT && RHSC->getZExtValue() == 1) {
15596 // If this is efficiently invertible, canonicalize the LHSC/RHSC values
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp4372 const Type *RHSC = getCanonicalType(RHS).getTypePtr(); local
4373 if (LHSC == RHSC) return 0;
4376 bool RHSUnsigned = RHSC->isUnsignedIntegerType();
4379 unsigned RHSRank = getIntegerRank(RHSC);

Completed in 593 milliseconds