/external/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 521 Value *OpLHS; in parseRangeChecks() local 531 if (match(Check.getBase(), m_Add(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks() 532 Check.setBase(OpLHS); in parseRangeChecks() 537 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks() 538 unsigned BitWidth = OpLHS->getType()->getScalarSizeInBits(); in parseRangeChecks() 540 computeKnownBits(OpLHS, KnownZero, KnownOne, DL); in parseRangeChecks() 542 Check.setBase(OpLHS); in parseRangeChecks()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 621 Value *OpLHS; in parseRangeChecks() local 631 if (match(Check.getBase(), m_Add(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks() 632 Check.setBase(OpLHS); in parseRangeChecks() 637 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks() 638 KnownBits Known = computeKnownBits(OpLHS, DL); in parseRangeChecks() 640 Check.setBase(OpLHS); in parseRangeChecks()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 621 Value *OpLHS; in parseRangeChecks() local 631 if (match(Check.getBase(), m_Add(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks() 632 Check.setBase(OpLHS); in parseRangeChecks() 637 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks() 638 KnownBits Known = computeKnownBits(OpLHS, DL); in parseRangeChecks() 640 Check.setBase(OpLHS); in parseRangeChecks()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 5433 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 5434 OpLHS = GeneratePerfectShuffle(PerfectShuffleTable[LHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 5436 EVT VT = OpLHS.getValueType(); in GeneratePerfectShuffle() 5445 return DAG.getNode(AArch64ISD::REV64, dl, VT, OpLHS); in GeneratePerfectShuffle() 5449 return DAG.getNode(AArch64ISD::REV32, dl, VT, OpLHS); in GeneratePerfectShuffle() 5452 return DAG.getNode(AArch64ISD::REV16, dl, VT, OpLHS); in GeneratePerfectShuffle() 5471 OpLHS = WidenVector(OpLHS, DAG); in GeneratePerfectShuffle() 5473 return DAG.getNode(Opcode, dl, VT, OpLHS, Lane); in GeneratePerfectShuffle() 5478 unsigned Imm = (OpNum - OP_VEXT1 + 1) * getExtFactor(OpLHS); in GeneratePerfectShuffle() 5479 return DAG.getNode(AArch64ISD::EXT, dl, VT, OpLHS, OpRHS, in GeneratePerfectShuffle() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 7064 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 7065 OpLHS = GeneratePerfectShuffle(PerfectShuffleTable[LHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 7067 EVT VT = OpLHS.getValueType(); in GeneratePerfectShuffle() 7076 return DAG.getNode(AArch64ISD::REV64, dl, VT, OpLHS); in GeneratePerfectShuffle() 7080 return DAG.getNode(AArch64ISD::REV32, dl, VT, OpLHS); in GeneratePerfectShuffle() 7083 return DAG.getNode(AArch64ISD::REV16, dl, VT, OpLHS); in GeneratePerfectShuffle() 7102 OpLHS = WidenVector(OpLHS, DAG); in GeneratePerfectShuffle() 7104 return DAG.getNode(Opcode, dl, VT, OpLHS, Lane); in GeneratePerfectShuffle() 7109 unsigned Imm = (OpNum - OP_VEXT1 + 1) * getExtFactor(OpLHS); in GeneratePerfectShuffle() 7110 return DAG.getNode(AArch64ISD::EXT, dl, VT, OpLHS, OpRHS, in GeneratePerfectShuffle() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 6132 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 6133 OpLHS = GeneratePerfectShuffle(PerfectShuffleTable[LHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 6135 EVT VT = OpLHS.getValueType(); in GeneratePerfectShuffle() 6143 return DAG.getNode(ARMISD::VREV64, dl, VT, OpLHS); in GeneratePerfectShuffle() 6146 return DAG.getNode(ARMISD::VREV32, dl, VT, OpLHS); in GeneratePerfectShuffle() 6149 return DAG.getNode(ARMISD::VREV16, dl, VT, OpLHS); in GeneratePerfectShuffle() 6155 OpLHS, DAG.getConstant(OpNum-OP_VDUP0, dl, MVT::i32)); in GeneratePerfectShuffle() 6160 OpLHS, OpRHS, in GeneratePerfectShuffle() 6165 OpLHS, OpRHS).getValue(OpNum-OP_VUZPL); in GeneratePerfectShuffle() 6169 OpLHS, OpRHS).getValue(OpNum-OP_VZIPL); in GeneratePerfectShuffle() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 7381 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 7382 OpLHS = GeneratePerfectShuffle(PerfectShuffleTable[LHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 7417 return BuildVSLDOI(OpLHS, OpRHS, 4, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 7419 return BuildVSLDOI(OpLHS, OpRHS, 8, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 7421 return BuildVSLDOI(OpLHS, OpRHS, 12, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 7423 EVT VT = OpLHS.getValueType(); in GeneratePerfectShuffle() 7424 OpLHS = DAG.getNode(ISD::BITCAST, dl, MVT::v16i8, OpLHS); in GeneratePerfectShuffle() 7426 SDValue T = DAG.getVectorShuffle(MVT::v16i8, dl, OpLHS, OpRHS, ShufIdxs); in GeneratePerfectShuffle()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 8439 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 8440 OpLHS = GeneratePerfectShuffle(PerfectShuffleTable[LHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 8442 EVT VT = OpLHS.getValueType(); in GeneratePerfectShuffle() 8451 return DAG.getNode(AArch64ISD::REV64, dl, VT, OpLHS); in GeneratePerfectShuffle() 8456 return DAG.getNode(AArch64ISD::REV32, dl, VT, OpLHS); in GeneratePerfectShuffle() 8459 return DAG.getNode(AArch64ISD::REV16, dl, VT, OpLHS); in GeneratePerfectShuffle() 8478 OpLHS = WidenVector(OpLHS, DAG); in GeneratePerfectShuffle() 8480 return DAG.getNode(Opcode, dl, VT, OpLHS, Lane); in GeneratePerfectShuffle() 8485 unsigned Imm = (OpNum - OP_VEXT1 + 1) * getExtFactor(OpLHS); in GeneratePerfectShuffle() 8486 return DAG.getNode(AArch64ISD::EXT, dl, VT, OpLHS, OpRHS, in GeneratePerfectShuffle() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 7683 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 7684 OpLHS = GeneratePerfectShuffle(PerfectShuffleTable[LHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 7686 EVT VT = OpLHS.getValueType(); in GeneratePerfectShuffle() 7694 return DAG.getNode(ARMISD::VREV64, dl, VT, OpLHS); in GeneratePerfectShuffle() 7697 return DAG.getNode(ARMISD::VREV32, dl, VT, OpLHS); in GeneratePerfectShuffle() 7700 return DAG.getNode(ARMISD::VREV16, dl, VT, OpLHS); in GeneratePerfectShuffle() 7706 OpLHS, DAG.getConstant(OpNum-OP_VDUP0, dl, MVT::i32)); in GeneratePerfectShuffle() 7711 OpLHS, OpRHS, in GeneratePerfectShuffle() 7716 OpLHS, OpRHS).getValue(OpNum-OP_VUZPL); in GeneratePerfectShuffle() 7720 OpLHS, OpRHS).getValue(OpNum-OP_VZIPL); in GeneratePerfectShuffle() [all …]
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 7989 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 7990 OpLHS = GeneratePerfectShuffle(PerfectShuffleTable[LHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 7992 EVT VT = OpLHS.getValueType(); in GeneratePerfectShuffle() 8000 return DAG.getNode(ARMISD::VREV64, dl, VT, OpLHS); in GeneratePerfectShuffle() 8003 return DAG.getNode(ARMISD::VREV32, dl, VT, OpLHS); in GeneratePerfectShuffle() 8006 return DAG.getNode(ARMISD::VREV16, dl, VT, OpLHS); in GeneratePerfectShuffle() 8012 OpLHS, DAG.getConstant(OpNum-OP_VDUP0, dl, MVT::i32)); in GeneratePerfectShuffle() 8017 OpLHS, OpRHS, in GeneratePerfectShuffle() 8022 OpLHS, OpRHS).getValue(OpNum-OP_VUZPL); in GeneratePerfectShuffle() 8026 OpLHS, OpRHS).getValue(OpNum-OP_VZIPL); in GeneratePerfectShuffle() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 8934 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 8935 OpLHS = GeneratePerfectShuffle(PerfectShuffleTable[LHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 8970 return BuildVSLDOI(OpLHS, OpRHS, 4, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 8972 return BuildVSLDOI(OpLHS, OpRHS, 8, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 8974 return BuildVSLDOI(OpLHS, OpRHS, 12, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 8976 EVT VT = OpLHS.getValueType(); in GeneratePerfectShuffle() 8977 OpLHS = DAG.getNode(ISD::BITCAST, dl, MVT::v16i8, OpLHS); in GeneratePerfectShuffle() 8979 SDValue T = DAG.getVectorShuffle(MVT::v16i8, dl, OpLHS, OpRHS, ShufIdxs); in GeneratePerfectShuffle()
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 9592 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 9593 OpLHS = GeneratePerfectShuffle(PerfectShuffleTable[LHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 9628 return BuildVSLDOI(OpLHS, OpRHS, 4, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 9630 return BuildVSLDOI(OpLHS, OpRHS, 8, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 9632 return BuildVSLDOI(OpLHS, OpRHS, 12, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 9634 EVT VT = OpLHS.getValueType(); in GeneratePerfectShuffle() 9635 OpLHS = DAG.getNode(ISD::BITCAST, dl, MVT::v16i8, OpLHS); in GeneratePerfectShuffle() 9637 SDValue T = DAG.getVectorShuffle(MVT::v16i8, dl, OpLHS, OpRHS, ShufIdxs); in GeneratePerfectShuffle()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 9760 SDValue OpLHS = Other.getOperand(0), OpRHS = Other.getOperand(1); in visitVSELECT() local 9772 (OpLHS == CondLHS || OpRHS == CondLHS)) in visitVSELECT() 9773 return DAG.getNode(ISD::UADDSAT, DL, VT, OpLHS, OpRHS); in visitVSELECT() 9776 CondLHS == OpLHS) { in visitVSELECT() 9785 return DAG.getNode(ISD::UADDSAT, DL, VT, OpLHS, OpRHS); in visitVSELECT() 9805 SDValue OpLHS = Other.getOperand(0), OpRHS = Other.getOperand(1); in visitVSELECT() local 9812 return DAG.getNode(ISD::USUBSAT, DL, VT, OpLHS, OpRHS); in visitVSELECT() 9829 return DAG.getNode(ISD::USUBSAT, DL, VT, OpLHS, OpRHS); in visitVSELECT() 9844 return DAG.getNode(ISD::USUBSAT, DL, VT, OpLHS, OpRHS); in visitVSELECT()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 6213 Value *OpLHS; in computeShiftCompareExitLimit() local 6218 MatchPositiveShift(BEValue, OpLHS, OpCodeOut) && in computeShiftCompareExitLimit() 6221 OpLHS == PNOut && in computeShiftCompareExitLimit()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 7698 Value *OpLHS; in computeShiftCompareExitLimit() local 7703 MatchPositiveShift(BEValue, OpLHS, OpCodeOut) && in computeShiftCompareExitLimit() 7706 OpLHS == PNOut && in computeShiftCompareExitLimit()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 7926 Value *OpLHS; in computeShiftCompareExitLimit() local 7931 MatchPositiveShift(BEValue, OpLHS, OpCodeOut) && in computeShiftCompareExitLimit() 7934 OpLHS == PNOut && in computeShiftCompareExitLimit()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 38199 SDValue OpLHS = Other->getOperand(0), OpRHS = Other->getOperand(1); in combineSelect() local 38207 return DAG.getNode(ISD::USUBSAT, DL, VT, OpLHS, OpRHS); in combineSelect() 38224 return DAG.getNode(ISD::USUBSAT, DL, VT, OpLHS, OpRHS); in combineSelect() 38239 return DAG.getNode(ISD::USUBSAT, DL, VT, OpLHS, OpRHS); in combineSelect() 38270 SDValue OpLHS = Other.getOperand(0), OpRHS = Other.getOperand(1); in combineSelect() local 38282 (OpLHS == CondLHS || OpRHS == CondLHS)) in combineSelect() 38283 return DAG.getNode(ISD::UADDSAT, DL, VT, OpLHS, OpRHS); in combineSelect() 38286 CondLHS == OpLHS) { in combineSelect() 38295 return DAG.getNode(ISD::UADDSAT, DL, VT, OpLHS, OpRHS); in combineSelect()
|