/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonOptimizeSZextends.cpp | 116 Instruction *Shl = dyn_cast<Instruction>(Ashr->getOperand(0)); in runOnFunction() local 117 if (!(Shl && Shl->getOpcode() == Instruction::Shl)) in runOnFunction() 119 Value *Intr = Shl->getOperand(0); in runOnFunction() 120 Value *ShlOp1 = Shl->getOperand(1); in runOnFunction()
|
D | HexagonPatterns.td | 358 def Mul: pf2<mul>; def Xor: pf2<xor>; def Shl: pf2<shl>; 1030 def: OpR_RI_pat<S2_asl_i_r, Shl, i32, I32, u5_0ImmPred>; 1033 def: OpR_RI_pat<S2_asl_i_p, Shl, i64, I64, u6_0ImmPred>; 1036 def: OpR_RI_pat<S2_asl_i_vh, Shl, v4i16, V4I16, u4_0ImmPred>; 1039 def: OpR_RI_pat<S2_asl_i_vh, Shl, v2i32, V2I32, u5_0ImmPred>; 1043 def: OpR_RR_pat<S2_asl_r_r, Shl, i32, I32, I32>; 1046 def: OpR_RR_pat<S2_asl_r_p, Shl, i64, I64, I32>; 1166 def: AccRRI_pat<S2_asl_i_r_acc, Add, Su<Shl>, I32, u5_0ImmPred>; 1167 def: AccRRI_pat<S2_asl_i_r_nac, Sub, Su<Shl>, I32, u5_0ImmPred>; 1168 def: AccRRI_pat<S2_asl_i_r_and, And, Su<Shl>, I32, u5_0ImmPred>; [all …]
|
/third_party/skia/third_party/externals/tint/src/transform/ |
D | vertex_pulling.cc | 454 return ctx.dst->Shl(low_u32, 16u); in Fetch() 456 return ctx.dst->And(ctx.dst->Shl(low_u32, 8u), 0xffff0000u); in Fetch() 463 auto* shl = ctx.dst->Shl(high_u32, 24u); in Fetch() 486 auto* shl = ctx.dst->Shl(high_u32, 8u); in Fetch() 538 auto* shl = ctx.dst->Shl(u16s, ctx.dst->vec2<u32>(8u, 0u)); in Fetch() 546 auto* shl = ctx.dst->Shl(u32s, ctx.dst->vec4<u32>(24u, 16u, 8u, 0u)); in Fetch() 554 auto* shl = ctx.dst->Shl(u32s, ctx.dst->vec2<u32>(16u, 0u)); in Fetch() 564 auto* shl = ctx.dst->Shl(xxyy, ctx.dst->vec4<u32>(16u, 0u, 16u, 0u)); in Fetch() 572 auto* shl = ctx.dst->Shl(i16s, ctx.dst->vec2<u32>(8u, 0u)); in Fetch() 580 auto* shl = ctx.dst->Shl(i32s, ctx.dst->vec4<u32>(24u, 16u, 8u, 0u)); in Fetch() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 142 if (ShiftOpcode == Instruction::BinaryOps::Shl) { in reassociateShiftAmtsOfTwoSameDirectionShifts() 181 assert(OuterShift->getOpcode() == Instruction::BinaryOps::Shl && in dropRedundantMaskingOfLeftShiftInput() 436 bool IsInnerShl = InnerShift->getOpcode() == Instruction::Shl; in canEvaluateShiftedShift() 522 case Instruction::Shl: in canEvaluateShifted() 551 bool IsInnerShl = InnerShift->getOpcode() == Instruction::Shl; in foldShiftedShift() 642 case Instruction::Shl: in getShiftedValue() 674 return Shift.getOpcode() == Instruction::Shl; in canShiftBinOpWithConstantRHS() 684 bool isLeftShift = I.getOpcode() == Instruction::Shl; in FoldShiftByConstant() 741 if (I.getOpcode() == Instruction::Shl) in FoldShiftByConstant() 1287 auto *NewShl = BinaryOperator::Create(Instruction::Shl, X, ShiftDiff); in visitAShr()
|
D | InstCombineMulDivRem.cpp | 84 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) { in simplifyValueKnownNonZero() 203 Constant *Shl = ConstantExpr::getShl(C1, C2); in visitMul() local 205 BinaryOperator *BO = BinaryOperator::CreateMul(NewOp, Shl); in visitMul() 209 Shl->isNotMinSignedValue()) in visitMul() 217 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); in visitMul() local 220 Shl->setHasNoUnsignedWrap(); in visitMul() 224 Shl->setHasNoSignedWrap(); in visitMul() 227 return Shl; in visitMul()
|
D | InstCombineCompares.cpp | 1645 bool IsShl = ShiftOpcode == Instruction::Shl; in foldICmpAndShift() 1649 if (ShiftOpcode == Instruction::Shl) { in foldICmpAndShift() 1961 static Instruction *foldICmpShlOne(ICmpInst &Cmp, Instruction *Shl, in foldICmpShlOne() argument 1964 if (!match(Shl, m_Shl(m_One(), m_Value(Y)))) in foldICmpShlOne() 1967 Type *ShiftType = Shl->getType(); in foldICmpShlOne() 2024 BinaryOperator *Shl, in foldICmpShlConstant() argument 2027 if (Cmp.isEquality() && match(Shl->getOperand(0), m_APInt(ShiftVal))) in foldICmpShlConstant() 2028 return foldICmpShlConstConst(Cmp, Shl->getOperand(1), C, *ShiftVal); in foldICmpShlConstant() 2031 if (!match(Shl->getOperand(1), m_APInt(ShiftAmt))) in foldICmpShlConstant() 2032 return foldICmpShlOne(Cmp, Shl, C); in foldICmpShlConstant() [all …]
|
D | InstCombineCasts.cpp | 49 if (I->getOpcode() == Instruction::Shl) { in decomposeSimpleLinearExpr() 185 case Instruction::Shl: in EvaluateInDifferentType() 376 case Instruction::Shl: { in canEvaluateTruncated() 570 bool IsFshl = (!SubIsOnLHS && ShiftOpcode0 == BinaryOperator::Shl) || in narrowRotate() 571 (SubIsOnLHS && ShiftOpcode1 == BinaryOperator::Shl); in narrowRotate() 835 Instruction::Shl, NewTrunc, in visitTrunc() 1031 case Instruction::Shl: { in canEvaluateZExtd() 2038 case Instruction::Shl: { in collectInsertionElements()
|
D | InstCombineVectorOps.cpp | 1161 case Instruction::Shl: in canEvaluateShuffled() 1229 case Instruction::Shl: in buildNew() 1327 case Instruction::Shl: in evaluateInDifferentElementOrder() 1433 case Instruction::Shl: { in getAlternateBinop() 1588 if (Opc0 == Instruction::Shl || Opc1 == Instruction::Shl) in foldSelectShuffle()
|
D | InstCombineInternal.h | 268 case Instruction::Shl: // 0 << X = 0 in getSafeVectorConstantForBinop() 855 Instruction *Shr, const APInt &ShrOp1, Instruction *Shl, 944 Instruction *foldICmpShlConstant(ICmpInst &Cmp, BinaryOperator *Shl,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 976 static BinaryOperator *ConvertShiftToMul(Instruction *Shl) { in ConvertShiftToMul() argument 977 Constant *MulCst = ConstantInt::get(Shl->getType(), 1); in ConvertShiftToMul() 978 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1))); in ConvertShiftToMul() 981 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl); in ConvertShiftToMul() 982 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op. in ConvertShiftToMul() 983 Mul->takeName(Shl); in ConvertShiftToMul() 986 Shl->replaceAllUsesWith(Mul); in ConvertShiftToMul() 987 Mul->setDebugLoc(Shl->getDebugLoc()); in ConvertShiftToMul() 992 bool NSW = cast<BinaryOperator>(Shl)->hasNoSignedWrap(); in ConvertShiftToMul() 993 bool NUW = cast<BinaryOperator>(Shl)->hasNoUnsignedWrap(); in ConvertShiftToMul() [all …]
|
D | SpeculativeExecution.cpp | 221 case Instruction::Shl: in ComputeSpeculationCost()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVTargetTransformInfo.cpp | 60 case Instruction::Shl: in getIntImmCostInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Operator.h | 104 I->getOpcode() == Instruction::Shl; in classof() 110 CE->getOpcode() == Instruction::Shl; in classof() 436 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {
|
D | Instruction.h | 161 return Opcode >= Shl && Opcode <= AShr; 166 return getOpcode() == Shl || getOpcode() == LShr;
|
D | PatternMatch.h | 917 inline BinaryOp_match<LHS, RHS, Instruction::Shl> m_Shl(const LHS &L, in m_Shl() 919 return BinaryOp_match<LHS, RHS, Instruction::Shl>(L, R); in m_Shl() 984 inline OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl, 987 return OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl, in m_NSWShl() 1017 inline OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl, 1020 return OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl, in m_NUWShl() 1058 return Opcode == Instruction::LShr || Opcode == Instruction::Shl; in isOpType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyTargetTransformInfo.cpp | 59 case Instruction::Shl: in getArithmeticInstrCost()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Instruction.h | 132 return Opcode >= Shl && Opcode <= AShr; in isShift() 137 return getOpcode() == Shl || getOpcode() == LShr; in isLogicalShift()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/ |
D | test_arith.def | 27 X(Shl, <<, 0, 1) \
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/ |
D | Operations.cpp | 26 Ops.push_back(binOpDescriptor(1, Instruction::Shl)); in describeFuzzerIntOps() 104 case Instruction::Shl: in binOpDescriptor()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCExpr.h | 444 Shl, ///< Shift left. enumerator 539 return create(Shl, LHS, RHS, Ctx); in createShl()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeDecoders.cpp | 97 LLVMOpcode = Instruction::Shl; in DecodeBinaryOpcode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceInst.def | 48 X(Shl, "shl", 0) \
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 98 case Instruction::Shl: in createReplacementInstr()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Instruction.cpp | 125 case Instruction::Shl: in dropPoisonGeneratingFlags() 360 case Shl: return "shl"; in getOpcodeName()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | PoisonChecking.cpp | 175 case Instruction::Shl: { in generatePoisonChecksForBinOp()
|