Searched refs:N1C (Results 1 - 16 of 16) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp1319 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
1334 if (N0C && N1C)
1335 return DAG.FoldConstantArithmetic(ISD::ADD, VT, N0C, N1C);
1337 if (N0C && !N1C)
1340 if (N1C && N1C->isNullValue())
1344 if (!LegalOperations && TLI.isOffsetFoldingLegal(GA) && N1C &&
1346 return DAG.getGlobalAddress(GA->getGlobal(), N1C->getDebugLoc(), VT,
1348 (uint64_t)N1C->getSExtValue());
1350 if (N1C
1485 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
1529 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
1564 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode()); local
1652 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
1746 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode()); local
1833 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode()); local
1885 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
1927 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
1979 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
2017 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
2261 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
2733 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
3053 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
3243 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
3371 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
3516 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
3741 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
7430 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode()); local
[all...]
H A DTargetLowering.cpp1927 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) {
1928 const APInt &C1 = N1C->getAPIntValue();
2151 } else if ((N1C->isNullValue() || N1C->getAPIntValue() == 1) &&
2156 bool TrueWhenTrue = (Cond == ISD::SETEQ) ^ (N1C->getAPIntValue() != 1);
2194 } else if (N1C->getAPIntValue() == 1 &&
2229 unsigned OperandBitSize = N1C->getValueType(0).getSizeInBits();
3314 const APInt &N1C = cast<ConstantSDNode>(N->getOperand(1))->getAPIntValue(); local
3315 APInt::mu magics = N1C.magicu();
3321 if (magics.a != 0 && !N1C[
[all...]
H A DSelectionDAG.cpp1508 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) {
1509 const APInt &C1 = N1C->getAPIntValue();
1526 if (ConstantFPSDNode *N1C = dyn_cast<ConstantFPSDNode>(N1.getNode())) {
1529 if (N1C->getValueType(0) == MVT::ppcf128)
1532 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF());
2677 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode()); local
2841 if (N1C) {
2842 APInt Val = N1C->getAPIntValue();
2953 if (N1C) {
2955 SDValue SV = FoldConstantArithmetic(Opcode, VT, N1C, N2
3112 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode()); local
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp1667 if (ConstantSDNode *N1C = getAsNonOpaqueConstant(N1)) {
1672 DAG.getConstant(N1C->getAPIntValue()+
1793 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
1794 if (N0C && !N1C)
1828 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
1829 if (N0C && !N1C)
1878 ConstantSDNode *N1C = getAsNonOpaqueConstant(N1); local
1880 if (N1C) {
1883 DAG.getConstant(-N1C->getAPIntValue(), DL, VT));
1937 if (N1C
2236 ConstantSDNode *N1C = isConstOrConstSplat(N1); local
2335 ConstantSDNode *N1C = isConstOrConstSplat(N1); local
2396 ConstantSDNode *N1C = isConstOrConstSplat(N1); local
2689 ConstantSDNode *N1C = getAsNonOpaqueConstant(N1); local
3081 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
4154 ConstantSDNode *N1C = getAsNonOpaqueConstant(N1); local
4409 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
4621 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
4767 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
14167 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode()); local
[all...]
H A DTargetLowering.cpp1371 if (auto *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) {
1372 const APInt &C1 = N1C->getAPIntValue();
1489 (isConstFalseVal(N1C) ||
1490 isExtendedTrueVal(N1C, N0->getValueType(0), SExt))) {
1492 bool Inverse = (N1C->isNullValue() && Cond == ISD::SETEQ) ||
1493 (!N1C->isNullValue() && Cond == ISD::SETNE);
1651 } else if ((N1C->isNullValue() || N1C->getAPIntValue() == 1) &&
1656 bool TrueWhenTrue = (Cond == ISD::SETEQ) ^ (N1C->getAPIntValue() != 1);
1696 } else if (N1C
[all...]
H A DSelectionDAG.cpp1923 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1)) {
1924 const APInt &C1 = N1C->getAPIntValue();
1941 if (ConstantFPSDNode *N1C = dyn_cast<ConstantFPSDNode>(N1)) {
1943 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF());
3463 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
3470 if (N1C && !N2C) {
3471 std::swap(N1C, N2C);
3651 if (N1C) {
3652 const APInt &Val = N1C->getAPIntValue();
3747 if (N1C) {
[all...]
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp1653 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
1657 if (N0C && !N1C)
1661 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) {
1671 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) {
1690 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
1694 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) {
1710 if (N1C
1730 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
H A DXCoreISelLowering.cpp1335 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
1339 if (N0C && !N1C)
1343 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) {
1353 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 0)) {
1372 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
1376 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) {
1392 if (N1C
1412 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
[all...]
/external/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp2817 auto *N1C = dyn_cast<ConstantSDNode>(N->getOperand(1));
2818 if (N1C && N1C->hasOneUse() && Subtarget->isThumb()) {
2819 uint32_t Imm = (uint32_t) N1C->getZExtValue();
2833 CurDAG->getConstant(~N1C->getZExtValue(), dl, MVT::i32);
2870 N1C = dyn_cast<ConstantSDNode>(N1);
2871 if (!N1C)
2878 unsigned N1CVal = N1C->getZExtValue();
H A DARMISelLowering.cpp9378 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
9379 if (N1C) {
9380 unsigned Val = N1C->getZExtValue();
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1010 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N->getOperand(1)))
1013 if (N1C->isNullValue() && N3C->isNullValue() &&
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp2533 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
2534 if (!N1C)
2541 unsigned N1CVal = N1C->getZExtValue();
H A DARMISelLowering.cpp6802 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
6803 if (N1C) {
6804 unsigned Val = N1C->getZExtValue();
/external/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp2776 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N->getOperand(1)))
2779 if (N1C->isNullValue() && N3C->isNullValue() &&
/external/swiftshader/third_party/LLVM/lib/Target/X86/
H A DX86ISelLowering.cpp8767 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(Op.getOperand(1));
8768 if (N1C && N1C->getAPIntValue() == 1) {
13068 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
13073 if (N1C && N0.getOpcode() == ISD::AND &&
13081 APInt ShAmt = N1C->getAPIntValue();
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp27688 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); local
[all...]

Completed in 578 milliseconds