/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 578 Value *OpLHS; in parseRangeChecks() local 588 if (match(Check.getBase(), m_Add(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks() 589 Check.setBase(OpLHS); in parseRangeChecks() 594 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks() 595 KnownBits Known = computeKnownBits(OpLHS, DL); in parseRangeChecks() 597 Check.setBase(OpLHS); in parseRangeChecks()
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 4142 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 4143 OpLHS = GeneratePerfectShuffle(PerfectShuffleTable[LHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 4178 return BuildVSLDOI(OpLHS, OpRHS, 4, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 4180 return BuildVSLDOI(OpLHS, OpRHS, 8, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 4182 return BuildVSLDOI(OpLHS, OpRHS, 12, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 4184 EVT VT = OpLHS.getValueType(); in GeneratePerfectShuffle() 4185 OpLHS = DAG.getNode(ISD::BITCAST, dl, MVT::v16i8, OpLHS); in GeneratePerfectShuffle() 4187 SDValue T = DAG.getVectorShuffle(MVT::v16i8, dl, OpLHS, OpRHS, ShufIdxs); in GeneratePerfectShuffle()
|
/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-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 6217 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 6218 OpLHS = GeneratePerfectShuffle(PerfectShuffleTable[LHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 6220 EVT VT = OpLHS.getValueType(); in GeneratePerfectShuffle() 6229 return DAG.getNode(AArch64ISD::REV64, dl, VT, OpLHS); in GeneratePerfectShuffle() 6233 return DAG.getNode(AArch64ISD::REV32, dl, VT, OpLHS); in GeneratePerfectShuffle() 6236 return DAG.getNode(AArch64ISD::REV16, dl, VT, OpLHS); in GeneratePerfectShuffle() 6255 OpLHS = WidenVector(OpLHS, DAG); in GeneratePerfectShuffle() 6257 return DAG.getNode(Opcode, dl, VT, OpLHS, Lane); in GeneratePerfectShuffle() 6262 unsigned Imm = (OpNum - OP_VEXT1 + 1) * getExtFactor(OpLHS); in GeneratePerfectShuffle() 6263 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/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 4259 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 4260 OpLHS = GeneratePerfectShuffle(PerfectShuffleTable[LHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 4262 EVT VT = OpLHS.getValueType(); in GeneratePerfectShuffle() 4270 return DAG.getNode(ARMISD::VREV64, dl, VT, OpLHS); in GeneratePerfectShuffle() 4273 return DAG.getNode(ARMISD::VREV32, dl, VT, OpLHS); in GeneratePerfectShuffle() 4276 return DAG.getNode(ARMISD::VREV16, dl, VT, OpLHS); in GeneratePerfectShuffle() 4282 OpLHS, DAG.getConstant(OpNum-OP_VDUP0, MVT::i32)); in GeneratePerfectShuffle() 4287 OpLHS, OpRHS, in GeneratePerfectShuffle() 4292 OpLHS, OpRHS).getValue(OpNum-OP_VUZPL); in GeneratePerfectShuffle() 4296 OpLHS, OpRHS).getValue(OpNum-OP_VZIPL); in GeneratePerfectShuffle() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 6957 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 6958 OpLHS = GeneratePerfectShuffle(PerfectShuffleTable[LHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 6960 EVT VT = OpLHS.getValueType(); in GeneratePerfectShuffle() 6968 return DAG.getNode(ARMISD::VREV64, dl, VT, OpLHS); in GeneratePerfectShuffle() 6971 return DAG.getNode(ARMISD::VREV32, dl, VT, OpLHS); in GeneratePerfectShuffle() 6974 return DAG.getNode(ARMISD::VREV16, dl, VT, OpLHS); in GeneratePerfectShuffle() 6980 OpLHS, DAG.getConstant(OpNum-OP_VDUP0, dl, MVT::i32)); in GeneratePerfectShuffle() 6985 OpLHS, OpRHS, in GeneratePerfectShuffle() 6990 OpLHS, OpRHS).getValue(OpNum-OP_VUZPL); in GeneratePerfectShuffle() 6994 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 8102 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 8103 OpLHS = GeneratePerfectShuffle(PerfectShuffleTable[LHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 8138 return BuildVSLDOI(OpLHS, OpRHS, 4, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 8140 return BuildVSLDOI(OpLHS, OpRHS, 8, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 8142 return BuildVSLDOI(OpLHS, OpRHS, 12, OpLHS.getValueType(), DAG, dl); in GeneratePerfectShuffle() 8144 EVT VT = OpLHS.getValueType(); in GeneratePerfectShuffle() 8145 OpLHS = DAG.getNode(ISD::BITCAST, dl, MVT::v16i8, OpLHS); in GeneratePerfectShuffle() 8147 SDValue T = DAG.getVectorShuffle(MVT::v16i8, dl, OpLHS, OpRHS, ShufIdxs); in GeneratePerfectShuffle()
|
/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-7.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 7571 Value *OpLHS; in computeShiftCompareExitLimit() local 7576 MatchPositiveShift(BEValue, OpLHS, OpCodeOut) && in computeShiftCompareExitLimit() 7579 OpLHS == PNOut && in computeShiftCompareExitLimit()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 32881 SDValue OpLHS = Other->getOperand(0), OpRHS = Other->getOperand(1); in combineSelect() local 32894 return SplitOpsAndApply(DAG, Subtarget, DL, VT, { OpLHS, OpRHS }, in combineSelect() 32909 return SplitOpsAndApply(DAG, Subtarget, DL, VT, { OpLHS, OpRHS }, in combineSelect() 32925 return SplitOpsAndApply(DAG, Subtarget, DL, VT, { OpLHS, OpRHS }, in combineSelect()
|