/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/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/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/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/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()
|