/freebsd-10.1-release/contrib/llvm/lib/Target/ARM/ |
H A D | ARMISelDAGToDAG.cpp | 547 int RHSC = (int)RHS->getZExtValue(); local 549 RHSC = -RHSC; 551 if (RHSC >= 0 && RHSC < 0x1000) { // 12 bits (unsigned) 558 OffImm = CurDAG->getTargetConstant(RHSC, MVT::i32); 577 int RHSC = (int)RHS->getZExtValue(); local 578 if (RHSC & 1) { 579 RHSC = RHSC 604 int RHSC; local 676 int RHSC = (int)RHS->getZExtValue(); local 718 int RHSC; local 911 int RHSC; local 976 int RHSC; local 1099 int RHSC; local 1162 unsigned RHSC = RHS ? RHS->getZExtValue() : 0; local 1173 int RHSC; local 1220 int RHSC; local 1297 int RHSC = (int)RHS->getZExtValue(); local 1327 int RHSC = (int)RHS->getSExtValue(); local 1352 int RHSC; local 1372 int RHSC = (int)RHS->getZExtValue(); local [all...] |
H A D | ARMISelLowering.cpp | 3140 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS.getNode())) { 3141 unsigned C = RHSC->getZExtValue(); 10554 int RHSC = (int)RHS->getZExtValue(); local 10555 if (RHSC < 0 && RHSC > -256) { 10558 Offset = DAG.getConstant(-RHSC, RHS->getValueType(0)); 10568 int RHSC = (int)RHS->getZExtValue(); local 10569 if (RHSC < 0 && RHSC > -0x1000) { 10572 Offset = DAG.getConstant(-RHSC, RH 10611 int RHSC = (int)RHS->getZExtValue(); local [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 1798 if (Constant *RHSC = dyn_cast<Constant>(ICI.getOperand(1))) { 1799 RHSOp = ConstantExpr::getIntToPtr(RHSC, SrcTy); 1800 } else if (PtrToIntInst *RHSC = dyn_cast<PtrToIntInst>(ICI.getOperand(1))) { 1801 RHSOp = RHSC->getOperand(0); 2488 if (Constant *RHSC = dyn_cast<Constant>(Op1)) { 2493 if (RHSC->isNullValue() && 2512 Op1 = ConstantExpr::getICmp(I.getPredicate(), C, RHSC); 2514 Op2 = ConstantExpr::getICmp(I.getPredicate(), C, RHSC); 2525 RHSC, I.getName()); 2528 RHSC, 3018 FoldFCmp_IntToFP_Cst(FCmpInst &I, Instruction *LHSI, Constant *RHSC) argument [all...] |
H A D | InstCombine.h | 147 Constant *RHSC);
|
H A D | InstCombineAddSub.cpp | 1135 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(RHS)) { 1137 ConstantExpr::getTrunc(RHSC, LHSConv->getOperand(0)->getType()); 1139 ConstantExpr::getSExt(CI, I.getType()) == RHSC &&
|
H A D | InstCombineAndOrXor.cpp | 1028 if (ConstantFP *RHSC = dyn_cast<ConstantFP>(RHS->getOperand(1))) { 1031 if (LHSC->getValueAPF().isNaN() || RHSC->getValueAPF().isNaN()) 1835 if (ConstantFP *RHSC = dyn_cast<ConstantFP>(RHS->getOperand(1))) { 1838 if (LHSC->getValueAPF().isNaN() || RHSC->getValueAPF().isNaN())
|
/freebsd-10.1-release/contrib/llvm/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 214 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(BOp->getOperand(1))) { 220 if (!MaskedValueIsZero(BOp->getOperand(0), RHSC->getValue(), &TD)) 226 Offset += RHSC->getValue(); 231 Offset *= RHSC->getValue(); 232 Scale *= RHSC->getValue(); 237 Offset <<= RHSC->getValue().getLimitedValue(); 238 Scale <<= RHSC->getValue().getLimitedValue();
|
H A D | ScalarEvolution.cpp | 1497 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) { 1500 RHSC->getValue()->getValue()); 1908 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) { 1912 RHSC->getValue()->getValue()); 2132 if (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(RHS)) { 2133 if (RHSC->getValue()->equalsInt(1)) 2138 if (!RHSC->getValue()->isZero()) { 2143 unsigned LZ = RHSC->getValue()->getValue().countLeadingZeros(); 2147 if (!RHSC->getValue()->getValue().isPowerOf2()) 2156 const APInt &DivInt = RHSC [all...] |
H A D | InstructionSimplify.cpp | 2050 if (Constant *RHSC = dyn_cast<Constant>(RHS)) { 2053 ConstantExpr::getIntToPtr(RHSC, SrcTy), 2632 if (Constant *RHSC = dyn_cast<Constant>(RHS)) { 2634 if (ConstantFP *CFP = dyn_cast<ConstantFP>(RHSC)) {
|
/freebsd-10.1-release/contrib/llvm/lib/MC/ |
H A D | MCExpr.cpp | 92 if (const MCConstantExpr *RHSC = dyn_cast<MCConstantExpr>(BE.getRHS())) { 93 if (RHSC->getValue() < 0) { 94 OS << RHSC->getValue();
|
/freebsd-10.1-release/contrib/llvm/lib/Target/MSP430/ |
H A D | MSP430ISelLowering.cpp | 924 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS)) { 925 if (RHSC->isNullValue() && LHS.hasOneUse() && 1131 uint64_t RHSC = RHS->getZExtValue(); local 1132 if ((VT == MVT::i16 && RHSC != 2) || 1133 (VT == MVT::i8 && RHSC != 1)) 1137 Offset = DAG.getConstant(RHSC, VT);
|
/freebsd-10.1-release/contrib/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 414 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(Op.getOperand(1))) { 418 // If the LHS already has zeros where RHSC does, this and is dead. 419 if ((LHSZero & NewMask) == (~RHSC->getAPIntValue() & NewMask)) 1729 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(N1)) { 1734 DAG.getConstant(RHSC->getAPIntValue()- 1747 RHSC->getAPIntValue(), 1758 RHSC->getAPIntValue(), 1764 // Could RHSC fold directly into a compare? 1765 if (RHSC->getValueType(0).getSizeInBits() <= 64) 1766 LegalRHSImm = isLegalICmpImmediate(RHSC [all...] |
H A D | SelectionDAGBuilder.cpp | 4410 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS)) { 4412 unsigned Val = RHSC->getSExtValue(); 4445 if (RHSC->getSExtValue() < 0)
|
H A D | DAGCombiner.cpp | 5182 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(V.getOperand(1))) { 5184 unsigned Amt = RHSC->getZExtValue();
|
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 351 ConstantInt *RHSC; local 357 m_And(m_Value(RHSVal), m_ConstantInt(RHSC)))) { 358 APInt Not = ~RHSC->getValue(); 381 match(I->getOperand(0), m_Add(m_Value(RHSVal), m_ConstantInt(RHSC))); 383 Span = Span.subtract(RHSC->getValue());
|
/freebsd-10.1-release/contrib/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 229 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(RHS)) 230 if (RHSC->isAllOnesValue()) 231 return RHSC;
|
/freebsd-10.1-release/contrib/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 1809 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS.getNode())) { 1811 EVT VT = RHSC->getValueType(0); 1817 C = RHSC->getSExtValue(); 1818 } else if (RHSC->getZExtValue() > INT64_MAX) { 1823 C = RHSC->getZExtValue();
|
/freebsd-10.1-release/contrib/llvm/lib/Target/X86/ |
H A D | X86FastISel.cpp | 941 static unsigned X86ChooseCmpImmediateOpcode(EVT VT, const ConstantInt *RHSC) { argument 951 if ((int)RHSC->getSExtValue() == RHSC->getSExtValue())
|
H A D | X86ISelLowering.cpp | 3424 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS)) { 3425 if (SetCCOpcode == ISD::SETGT && RHSC->isAllOnesValue()) { 3430 if (SetCCOpcode == ISD::SETLT && RHSC->isNullValue()) { 3434 if (SetCCOpcode == ISD::SETLT && RHSC->getZExtValue() == 1) { 16779 // If this is efficiently invertible, canonicalize the LHSC/RHSC values
|
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | ASTContext.cpp | 4439 const Type *RHSC = getCanonicalType(RHS).getTypePtr(); local 4444 if (const EnumType *ET = dyn_cast<EnumType>(RHSC)) 4445 RHSC = getIntegerTypeForEnum(ET); 4447 if (LHSC == RHSC) return 0; 4450 bool RHSUnsigned = RHSC->isUnsignedIntegerType(); 4453 unsigned RHSRank = getIntegerRank(RHSC);
|