/freebsd-10.0-release/contrib/llvm/lib/Target/ARM/ |
H A D | ARMISelDAGToDAG.cpp | 552 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 D | ARMISelLowering.cpp | 2947 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 D | InstCombineCompares.cpp | 1667 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 D | InstCombine.h | 147 Constant *RHSC);
|
H A D | InstCombineAddSub.cpp | 1134 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(RHS)) { 1136 ConstantExpr::getTrunc(RHSC, LHSConv->getOperand(0)->getType()); 1138 ConstantExpr::getSExt(CI, I.getType()) == RHSC &&
|
H A D | InstCombineAndOrXor.cpp | 942 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 D | BasicAliasAnalysis.cpp | 194 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 D | ScalarEvolution.cpp | 1494 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 D | InstructionSimplify.cpp | 2030 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 D | MCExpr.cpp | 101 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 D | MSP430ISelLowering.cpp | 805 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 D | TargetLowering.cpp | 396 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 D | SelectionDAGBuilder.cpp | 4285 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS)) { 4287 unsigned Val = RHSC->getSExtValue(); 4320 if (RHSC->getSExtValue() < 0)
|
H A D | DAGCombiner.cpp | 5050 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 D | AArch64ISelLowering.cpp | 1574 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 D | ConstantFold.cpp | 228 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 D | X86FastISel.cpp | 881 static unsigned X86ChooseCmpImmediateOpcode(EVT VT, const ConstantInt *RHSC) { argument 891 if ((int)RHSC->getSExtValue() == RHSC->getSExtValue())
|
H A D | X86ISelLowering.cpp | 3201 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 D | ASTContext.cpp | 4372 const Type *RHSC = getCanonicalType(RHS).getTypePtr(); local 4373 if (LHSC == RHSC) return 0; 4376 bool RHSUnsigned = RHSC->isUnsignedIntegerType(); 4379 unsigned RHSRank = getIntegerRank(RHSC);
|