Home
last modified time | relevance | path

Searched refs:N1C (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp1599 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in visitADD() local
1600 if (N0C && N1C) in visitADD()
1601 return DAG.FoldConstantArithmetic(ISD::ADD, VT, N0C, N1C); in visitADD()
1607 if (N1C && N1C->isNullValue()) in visitADD()
1611 if (!LegalOperations && TLI.isOffsetFoldingLegal(GA) && N1C && in visitADD()
1613 return DAG.getGlobalAddress(GA->getGlobal(), SDLoc(N1C), VT, in visitADD()
1615 (uint64_t)N1C->getSExtValue()); in visitADD()
1617 if (N1C && N0.getOpcode() == ISD::SUB) in visitADD()
1620 DAG.getConstant(N1C->getAPIntValue()+ in visitADD()
1761 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in visitADDC() local
[all …]
DTargetLowering.cpp1243 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) { in SimplifySetCC() local
1244 const APInt &C1 = N1C->getAPIntValue(); in SimplifySetCC()
1490 } else if ((N1C->isNullValue() || N1C->getAPIntValue() == 1) && in SimplifySetCC()
1495 bool TrueWhenTrue = (Cond == ISD::SETEQ) ^ (N1C->getAPIntValue() != 1); in SimplifySetCC()
1535 } else if (N1C->getAPIntValue() == 1 && in SimplifySetCC()
1577 unsigned OperandBitSize = N1C->getValueType(0).getSizeInBits(); in SimplifySetCC()
1594 (!N1C->isOpaque() || (N1C->isOpaque() && C.getBitWidth() <= 64 && in SimplifySetCC()
1609 (!N1C->isOpaque() || (N1C->isOpaque() && C.getBitWidth() <= 64 && in SimplifySetCC()
DSelectionDAG.cpp1864 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) { in FoldSetCC() local
1865 const APInt &C1 = N1C->getAPIntValue(); in FoldSetCC()
1882 if (ConstantFPSDNode *N1C = dyn_cast<ConstantFPSDNode>(N1.getNode())) { in FoldSetCC() local
1884 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF()); in FoldSetCC()
3176 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode()); in getNode() local
3365 if (N1C) { in getNode()
3366 APInt Val = N1C->getAPIntValue(); in getNode()
3480 if (N1C && !N2C && isCommutativeBinOp(Opcode)) { in getNode()
3481 std::swap(N1C, N2C); in getNode()
3648 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode()); in getNode() local
[all …]
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1665 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformDAGCombine() local
1669 if (N0C && !N1C) in PerformDAGCombine()
1673 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine()
1683 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) { in PerformDAGCombine()
1702 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformDAGCombine() local
1706 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine()
1722 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) { in PerformDAGCombine()
1742 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformDAGCombine() local
1746 if ((N0C && !N1C) || in PerformDAGCombine()
1747 (N0C && N1C && N0C->getZExtValue() < N1C->getZExtValue())) in PerformDAGCombine()
[all …]
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2599 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in Select() local
2600 if (!N1C) in Select()
2607 unsigned N1CVal = N1C->getZExtValue(); in Select()
DARMISelLowering.cpp8339 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformORCombine() local
8340 if (N1C) { in PerformORCombine()
8341 unsigned Val = N1C->getZExtValue(); in PerformORCombine()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp2660 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N->getOperand(1))) in Select() local
2663 if (N1C->isNullValue() && N3C->isNullValue() && in Select()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp13982 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(Op.getOperand(1)); in isXor1OfSetCC() local
13983 if (N1C && N1C->getAPIntValue() == 1) { in isXor1OfSetCC()
21853 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformSHLCombine() local
21859 N1C && N0.getOpcode() == ISD::AND && in PerformSHLCombine()
21867 APInt ShAmt = N1C->getAPIntValue(); in PerformSHLCombine()