/external/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 522 ConstantInt *OpRHS; in parseRangeChecks() local 531 if (match(Check.getBase(), m_Add(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks() 533 APInt NewOffset = Check.getOffsetValue() + OpRHS->getValue(); in parseRangeChecks() 537 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks() 541 if ((OpRHS->getValue() & KnownZero) == OpRHS->getValue()) { in parseRangeChecks() 543 APInt NewOffset = Check.getOffsetValue() + OpRHS->getValue(); in parseRangeChecks()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 579 ConstantInt *OpRHS; in parseRangeChecks() local 588 if (match(Check.getBase(), m_Add(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks() 590 APInt NewOffset = Check.getOffsetValue() + OpRHS->getValue(); in parseRangeChecks() 594 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks() 596 if ((OpRHS->getValue() & Known.Zero) == OpRHS->getValue()) { in parseRangeChecks() 598 APInt NewOffset = Check.getOffsetValue() + OpRHS->getValue(); in parseRangeChecks()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 195 ConstantInt *OpRHS, in OptAndOp() argument 201 Together = ConstantExpr::getAnd(AndRHS, OpRHS); in OptAndOp() 214 if (Together != OpRHS) { in OptAndOp() 229 return BinaryOperator::CreateOr(And, OpRHS); in OptAndOp() 246 const APInt& AddRHS = cast<ConstantInt>(OpRHS)->getValue(); in OptAndOp() 273 uint32_t OpRHSVal = OpRHS->getLimitedValue(BitWidth); in OptAndOp() 294 uint32_t OpRHSVal = OpRHS->getLimitedValue(BitWidth); in OptAndOp() 315 uint32_t OpRHSVal = OpRHS->getLimitedValue(BitWidth); in OptAndOp() 323 ShVal = Builder->CreateLShr(ShVal, OpRHS, Op->getName()); in OptAndOp()
|
D | InstCombine.h | 349 Instruction *OptAndOp(Instruction *Op, ConstantInt *OpRHS,
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 151 ConstantInt *OpRHS, in OptAndOp() argument 157 Together = ConstantExpr::getAnd(AndRHS, OpRHS); in OptAndOp() 170 if (Together != OpRHS) { in OptAndOp() 185 return BinaryOperator::CreateOr(And, OpRHS); in OptAndOp() 202 const APInt& AddRHS = OpRHS->getValue(); in OptAndOp() 229 uint32_t OpRHSVal = OpRHS->getLimitedValue(BitWidth); in OptAndOp() 249 uint32_t OpRHSVal = OpRHS->getLimitedValue(BitWidth); in OptAndOp() 269 uint32_t OpRHSVal = OpRHS->getLimitedValue(BitWidth); in OptAndOp() 276 ShVal = Builder->CreateLShr(ShVal, OpRHS, Op->getName()); in OptAndOp()
|
D | InstCombineInternal.h | 557 Instruction *OptAndOp(Instruction *Op, ConstantInt *OpRHS,
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 4142 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 4144 OpRHS = GeneratePerfectShuffle(PerfectShuffleTable[RHSID], 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() 4186 OpRHS = DAG.getNode(ISD::BITCAST, dl, MVT::v16i8, OpRHS); in GeneratePerfectShuffle() 4187 SDValue T = DAG.getVectorShuffle(MVT::v16i8, dl, OpLHS, OpRHS, ShufIdxs); in GeneratePerfectShuffle()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineInternal.h | 877 Instruction *OptAndOp(BinaryOperator *Op, ConstantInt *OpRHS,
|
D | InstCombineAndOrXor.cpp | 119 ConstantInt *OpRHS, in OptAndOp() argument 138 const APInt& AddRHS = OpRHS->getValue(); in OptAndOp()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 5433 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 5435 OpRHS = GeneratePerfectShuffle(PerfectShuffleTable[RHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 5479 return DAG.getNode(AArch64ISD::EXT, dl, VT, OpLHS, OpRHS, in GeneratePerfectShuffle() 5484 OpRHS); in GeneratePerfectShuffle() 5487 OpRHS); in GeneratePerfectShuffle() 5490 OpRHS); in GeneratePerfectShuffle() 5493 OpRHS); in GeneratePerfectShuffle() 5496 OpRHS); in GeneratePerfectShuffle() 5499 OpRHS); in GeneratePerfectShuffle()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 6217 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 6219 OpRHS = GeneratePerfectShuffle(PerfectShuffleTable[RHSID], LHS, RHS, DAG, dl); in GeneratePerfectShuffle() 6263 return DAG.getNode(AArch64ISD::EXT, dl, VT, OpLHS, OpRHS, in GeneratePerfectShuffle() 6268 OpRHS); in GeneratePerfectShuffle() 6271 OpRHS); in GeneratePerfectShuffle() 6274 OpRHS); in GeneratePerfectShuffle() 6277 OpRHS); in GeneratePerfectShuffle() 6280 OpRHS); in GeneratePerfectShuffle() 6283 OpRHS); in GeneratePerfectShuffle()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 4259 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 4261 OpRHS = GeneratePerfectShuffle(PerfectShuffleTable[RHSID], LHS, RHS, DAG, dl); 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() 4300 OpLHS, OpRHS).getValue(OpNum-OP_VTRNL); in GeneratePerfectShuffle()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 7381 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 7383 OpRHS = GeneratePerfectShuffle(PerfectShuffleTable[RHSID], 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() 7425 OpRHS = DAG.getNode(ISD::BITCAST, dl, MVT::v16i8, OpRHS); 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 8104 OpRHS = GeneratePerfectShuffle(PerfectShuffleTable[RHSID], 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() 8146 OpRHS = DAG.getNode(ISD::BITCAST, dl, MVT::v16i8, OpRHS); in GeneratePerfectShuffle() 8147 SDValue T = DAG.getVectorShuffle(MVT::v16i8, dl, OpLHS, OpRHS, ShufIdxs); in GeneratePerfectShuffle()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 6132 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 6134 OpRHS = GeneratePerfectShuffle(PerfectShuffleTable[RHSID], LHS, RHS, DAG, dl); 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() 6173 OpLHS, OpRHS).getValue(OpNum-OP_VTRNL); in GeneratePerfectShuffle()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 6957 SDValue OpLHS, OpRHS; in GeneratePerfectShuffle() local 6959 OpRHS = GeneratePerfectShuffle(PerfectShuffleTable[RHSID], LHS, RHS, DAG, dl); 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() 6998 OpLHS, OpRHS).getValue(OpNum-OP_VTRNL); in GeneratePerfectShuffle()
|
/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 32893 Other->getOpcode() == ISD::SUB && DAG.isEqualTo(OpRHS, CondRHS)) in combineSelect() 32894 return SplitOpsAndApply(DAG, Subtarget, DL, VT, { OpLHS, OpRHS }, in combineSelect() 32897 if (auto *OpRHSBV = dyn_cast<BuildVectorSDNode>(OpRHS)) in combineSelect() 32906 ISD::matchBinaryPredicate(OpRHS, CondRHS, MatchSUBUS)) { in combineSelect() 32907 OpRHS = DAG.getNode(ISD::SUB, DL, VT, in combineSelect() 32908 DAG.getConstant(0, DL, VT), OpRHS); in combineSelect() 32909 return SplitOpsAndApply(DAG, Subtarget, DL, VT, { OpLHS, OpRHS }, in combineSelect() 32922 OpRHS = DAG.getConstant(OpRHSConst->getAPIntValue(), DL, VT); in combineSelect() 32925 return SplitOpsAndApply(DAG, Subtarget, DL, VT, { OpLHS, OpRHS }, in combineSelect() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 26757 SDValue OpLHS = Other->getOperand(0), OpRHS = Other->getOperand(1); in combineSelect() local 26764 Other->getOpcode() == ISD::SUB && DAG.isEqualTo(OpRHS, CondRHS)) in combineSelect() 26765 return DAG.getNode(X86ISD::SUBUS, DL, VT, OpLHS, OpRHS); in combineSelect() 26767 if (auto *OpRHSBV = dyn_cast<BuildVectorSDNode>(OpRHS)) in combineSelect() 26974 SDValue OpRHS = CmpLHS.getOperand(2); in combineSetCCAtomicArith() local 26975 auto *OpRHSC = dyn_cast<ConstantSDNode>(OpRHS); in combineSetCCAtomicArith()
|