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

/external/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp545 int RHSC = (int)RHS->getZExtValue(); local
547 RHSC = -RHSC;
549 if (RHSC >= 0 && RHSC < 0x1000) { // 12 bits (unsigned)
556 OffImm = CurDAG->getTargetConstant(RHSC, MVT::i32);
575 int RHSC = (int)RHS->getZExtValue(); local
576 if (RHSC & 1) {
577 RHSC = RHSC
602 int RHSC; local
674 int RHSC = (int)RHS->getZExtValue(); local
715 int RHSC; local
908 int RHSC; local
972 int RHSC; local
1095 int RHSC; local
1157 unsigned RHSC = RHS ? RHS->getZExtValue() : 0; local
1168 int RHSC; local
1215 int RHSC; local
1291 int RHSC = (int)RHS->getZExtValue(); local
1321 int RHSC = (int)RHS->getSExtValue(); local
1346 int RHSC; local
1366 int RHSC = (int)RHS->getZExtValue(); local
[all...]
H A DARMISelLowering.cpp3143 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS.getNode())) {
3144 unsigned C = RHSC->getZExtValue();
10030 int RHSC = (int)RHS->getZExtValue(); local
10031 if (RHSC < 0 && RHSC > -256) {
10034 Offset = DAG.getConstant(-RHSC, RHS->getValueType(0));
10044 int RHSC = (int)RHS->getZExtValue(); local
10045 if (RHSC < 0 && RHSC > -0x1000) {
10048 Offset = DAG.getConstant(-RHSC, RH
10087 int RHSC = (int)RHS->getZExtValue(); local
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1802 if (Constant *RHSC = dyn_cast<Constant>(ICI.getOperand(1))) {
1803 RHSOp = ConstantExpr::getIntToPtr(RHSC, SrcTy);
1804 } else if (PtrToIntInst *RHSC = dyn_cast<PtrToIntInst>(ICI.getOperand(1))) {
1805 RHSOp = RHSC->getOperand(0);
2741 if (Constant *RHSC = dyn_cast<Constant>(Op1)) {
2746 if (RHSC->isNullValue() &&
2765 Op1 = ConstantExpr::getICmp(I.getPredicate(), C, RHSC);
2767 Op2 = ConstantExpr::getICmp(I.getPredicate(), C, RHSC);
2778 RHSC, I.getName());
2781 RHSC,
3291 FoldFCmp_IntToFP_Cst(FCmpInst &I, Instruction *LHSI, Constant *RHSC) argument
[all...]
H A DInstCombineAddSub.cpp1213 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(RHS)) {
1215 ConstantExpr::getTrunc(RHSC, LHSConv->getOperand(0)->getType());
1217 ConstantExpr::getSExt(CI, I.getType()) == RHSC &&
H A DInstCombine.h162 Constant *RHSC);
H A DInstCombineAndOrXor.cpp1035 if (ConstantFP *RHSC = dyn_cast<ConstantFP>(RHS->getOperand(1))) {
1038 if (LHSC->getValueAPF().isNaN() || RHSC->getValueAPF().isNaN())
1828 if (ConstantFP *RHSC = dyn_cast<ConstantFP>(RHS->getOperand(1))) {
1831 if (LHSC->getValueAPF().isNaN() || RHSC->getValueAPF().isNaN())
/external/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp219 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(BOp->getOperand(1))) {
225 if (!MaskedValueIsZero(BOp->getOperand(0), RHSC->getValue(), &DL))
231 Offset += RHSC->getValue();
236 Offset *= RHSC->getValue();
237 Scale *= RHSC->getValue();
242 Offset <<= RHSC->getValue().getLimitedValue();
243 Scale <<= RHSC->getValue().getLimitedValue();
H A DInstructionSimplify.cpp2029 if (Constant *RHSC = dyn_cast<Constant>(RHS)) {
2032 ConstantExpr::getIntToPtr(RHSC, SrcTy),
2261 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(RHS)) {
2262 if (RHSC->getValue().isStrictlyPositive()) {
2264 return ConstantInt::getTrue(RHSC->getContext());
2266 return ConstantInt::getFalse(RHSC->getContext());
2268 return ConstantInt::getFalse(RHSC->getContext());
2270 return ConstantInt::getTrue(RHSC->getContext());
2272 if (RHSC->getValue().isNonNegative()) {
2274 return ConstantInt::getTrue(RHSC
[all...]
H A DScalarEvolution.cpp1527 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) {
1530 RHSC->getValue()->getValue());
1938 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) {
1942 RHSC->getValue()->getValue());
2162 if (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(RHS)) {
2163 if (RHSC->getValue()->equalsInt(1))
2168 if (!RHSC->getValue()->isZero()) {
2173 unsigned LZ = RHSC->getValue()->getValue().countLeadingZeros();
2177 if (!RHSC->getValue()->getValue().isPowerOf2())
2186 const APInt &DivInt = RHSC
[all...]
/external/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp920 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS)) {
921 if (RHSC->isNullValue() && LHS.hasOneUse() &&
1130 uint64_t RHSC = RHS->getZExtValue(); local
1131 if ((VT == MVT::i16 && RHSC != 2) ||
1132 (VT == MVT::i8 && RHSC != 1))
1136 Offset = DAG.getConstant(RHSC, VT);
/external/llvm/lib/MC/
H A DMCExpr.cpp87 if (const MCConstantExpr *RHSC = dyn_cast<MCConstantExpr>(BE.getRHS())) {
88 if (RHSC->getValue() < 0) {
89 OS << RHSC->getValue();
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp606 int64_t RHSC = (int64_t)RHS->getZExtValue(); local
608 if ((RHSC & (Size - 1)) == 0 && RHSC >= 0 && RHSC < (0x1000 << Scale)) {
614 OffImm = CurDAG->getTargetConstant(RHSC >> Scale, MVT::i64);
645 int64_t RHSC = RHS->getSExtValue(); local
647 if ((RHSC & (Size - 1)) == 0 && RHSC >= 0 &&
648 RHSC < (0x1000 << Log2_32(Size)))
650 if (RHSC >
[all...]
H A DAArch64ISelLowering.cpp1022 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS.getNode())) {
1024 uint64_t C = RHSC->getZExtValue();
2886 const ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS); local
2887 if (RHSC && RHSC->getZExtValue() == 0) {
7836 int64_t RHSC = (int64_t)RHS->getZExtValue(); local
7837 if (RHSC >= 256 || RHSC <= -256)
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp419 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(Op.getOperand(1))) {
423 // If the LHS already has zeros where RHSC does, this and is dead.
424 if ((LHSZero & NewMask) == (~RHSC->getAPIntValue() & NewMask))
1834 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(N1)) {
1839 DAG.getConstant(RHSC->getAPIntValue()-
1852 RHSC->getAPIntValue(),
1863 RHSC->getAPIntValue(),
1869 // Could RHSC fold directly into a compare?
1870 if (RHSC->getValueType(0).getSizeInBits() <= 64)
1871 LegalRHSImm = isLegalICmpImmediate(RHSC
[all...]
H A DSelectionDAGBuilder.cpp4491 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS)) {
4493 unsigned Val = RHSC->getSExtValue();
4526 if (RHSC->getSExtValue() < 0)
H A DDAGCombiner.cpp5644 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(V.getOperand(1))) {
5646 unsigned Amt = RHSC->getZExtValue();
/external/llvm/lib/Target/X86/
H A DX86FastISel.cpp1135 static unsigned X86ChooseCmpImmediateOpcode(EVT VT, const ConstantInt *RHSC) { argument
1145 if ((int)RHSC->getSExtValue() == RHSC->getSExtValue())
1226 const auto *RHSC = dyn_cast<ConstantFP>(RHS); local
1227 if (RHSC && RHSC->isNullValue())
H A DX86ISelLowering.cpp3542 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS)) {
3543 if (SetCCOpcode == ISD::SETGT && RHSC->isAllOnesValue()) {
3548 if (SetCCOpcode == ISD::SETLT && RHSC->isNullValue()) {
3552 if (SetCCOpcode == ISD::SETLT && RHSC->getZExtValue() == 1) {
19388 // If this is efficiently invertible, canonicalize the LHSC/RHSC values
/external/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp358 ConstantInt *RHSC; local
364 m_And(m_Value(RHSVal), m_ConstantInt(RHSC)))) {
365 APInt Not = ~RHSC->getValue();
388 match(I->getOperand(0), m_Add(m_Value(RHSVal), m_ConstantInt(RHSC)));
390 Span = Span.subtract(RHSC->getValue());
/external/llvm/lib/IR/
H A DConstantFold.cpp229 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(RHS))
230 if (RHSC->isAllOnesValue())
231 return RHSC;
/external/clang/lib/AST/
H A DASTContext.cpp4520 const Type *RHSC = getCanonicalType(RHS).getTypePtr(); local
4525 if (const EnumType *ET = dyn_cast<EnumType>(RHSC))
4526 RHSC = getIntegerTypeForEnum(ET);
4528 if (LHSC == RHSC) return 0;
4531 bool RHSUnsigned = RHSC->isUnsignedIntegerType();
4534 unsigned RHSRank = getIntegerRank(RHSC);

Completed in 464 milliseconds