Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp1405 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in visitADD() local
1426 if (N0C && N1C) in visitADD()
1427 return DAG.FoldConstantArithmetic(ISD::ADD, VT, N0C, N1C); in visitADD()
1429 if (N0C && !N1C) in visitADD()
1432 if (N1C && N1C->isNullValue()) in visitADD()
1436 if (!LegalOperations && TLI.isOffsetFoldingLegal(GA) && N1C && in visitADD()
1438 return DAG.getGlobalAddress(GA->getGlobal(), SDLoc(N1C), VT, in visitADD()
1440 (uint64_t)N1C->getSExtValue()); in visitADD()
1442 if (N1C && N0.getOpcode() == ISD::SUB) in visitADD()
1445 DAG.getConstant(N1C->getAPIntValue()+ in visitADD()
[all …]
DTargetLowering.cpp1147 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) { in SimplifySetCC() local
1148 const APInt &C1 = N1C->getAPIntValue(); in SimplifySetCC()
1373 } else if ((N1C->isNullValue() || N1C->getAPIntValue() == 1) && in SimplifySetCC()
1378 bool TrueWhenTrue = (Cond == ISD::SETEQ) ^ (N1C->getAPIntValue() != 1); in SimplifySetCC()
1418 } else if (N1C->getAPIntValue() == 1 && in SimplifySetCC()
1459 unsigned OperandBitSize = N1C->getValueType(0).getSizeInBits(); in SimplifySetCC()
2613 const APInt &N1C = cast<ConstantSDNode>(N->getOperand(1))->getAPIntValue(); in BuildUDIV() local
2614 APInt::mu magics = N1C.magicu(); in BuildUDIV()
2620 if (magics.a != 0 && !N1C[0]) { in BuildUDIV()
2621 unsigned Shift = N1C.countTrailingZeros(); in BuildUDIV()
[all …]
DSelectionDAG.cpp1664 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) { in FoldSetCC() local
1665 const APInt &C1 = N1C->getAPIntValue(); in FoldSetCC()
1682 if (ConstantFPSDNode *N1C = dyn_cast<ConstantFPSDNode>(N1.getNode())) { in FoldSetCC() local
1684 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF()); in FoldSetCC()
2888 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode()); in getNode() local
3077 if (N1C) { in getNode()
3078 APInt Val = N1C->getAPIntValue(); in getNode()
3191 if (N1C && !N2C && isCommutativeBinOp(Opcode)) { in getNode()
3192 std::swap(N1C, N2C); in getNode()
3355 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode()); in getNode() local
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1400 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformDAGCombine() local
1404 if (N0C && !N1C) in PerformDAGCombine()
1408 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine()
1418 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) { in PerformDAGCombine()
1437 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformDAGCombine() local
1441 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine()
1457 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) { in PerformDAGCombine()
1477 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformDAGCombine() local
1481 if ((N0C && !N1C) || in PerformDAGCombine()
1482 (N0C && N1C && N0C->getZExtValue() < N1C->getZExtValue())) in PerformDAGCombine()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp1189 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N->getOperand(1))) in Select() local
1192 if (N1C->isNullValue() && N3C->isNullValue() && in Select()
/freebsd-9-stable/contrib/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2611 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in Select() local
2612 if (!N1C) in Select()
2619 unsigned N1CVal = N1C->getZExtValue(); in Select()
DARMISelLowering.cpp8783 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformORCombine() local
8784 if (N1C) { in PerformORCombine()
8785 unsigned Val = N1C->getZExtValue(); in PerformORCombine()
/freebsd-9-stable/contrib/llvm/lib/Target/X86/
DX86ISelLowering.cpp10489 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(Op.getOperand(1)); in isXor1OfSetCC() local
10490 if (N1C && N1C->getAPIntValue() == 1) { in isXor1OfSetCC()
17434 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformSHLCombine() local
17440 N1C && N0.getOpcode() == ISD::AND && in PerformSHLCombine()
17448 APInt ShAmt = N1C->getAPIntValue(); in PerformSHLCombine()
17462 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1->getOperand(0)); in PerformSHLCombine() local
17466 if (N1C && (1 == N1C->getZExtValue())) { in PerformSHLCombine()