/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A 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() 126 // The first operand of Shl comes from an intrinsic. in runOnFunction()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A 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(i32 in Fetch() [all...] |
/third_party/rust/crates/nom/src/bits/ |
H A D | streaming.rs | 6 use crate::lib::std::ops::{AddAssign, Div, RangeFrom, Shl, Shr}; 16 O: From<u8> + AddAssign + Shl<usize, Output = O> + Shr<usize, Output = O>, in take() 66 O: From<u8> + AddAssign + Shl<usize, Output = O> + Shr<usize, Output = O> + PartialEq, in tag()
|
H A D | complete.rs | 6 use crate::lib::std::ops::{AddAssign, Div, RangeFrom, Shl, Shr}; 39 O: From<u8> + AddAssign + Shl<usize, Output = O> + Shr<usize, Output = O>, in take() 92 O: From<u8> + AddAssign + Shl<usize, Output = O> + Shr<usize, Output = O> + PartialEq, in tag()
|
/third_party/node/deps/v8/tools/ |
H A D | bigint-tester.py | 235 class Shl(BinaryOp): class 255 class Sar(Shl): # Sharing GenerateInputsInternal. 285 "shl": Shl,
|
/third_party/rust/crates/syn/src/ |
H A D | op.rs | 27 Shl(Token![<<]), 112 input.parse().map(BinOp::Shl) in parse() 186 BinOp::Shl(t) => t.to_tokens(tokens), in to_tokens()
|
H A D | token.rs | 829 "<<" pub struct Shl/2 /// shift left, nested generics 1004 [<<] => { $crate::token::Shl };
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetTransformInfo.cpp | 60 case Instruction::Shl: in getIntImmCostInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyTargetTransformInfo.cpp | 59 case Instruction::Shl: in getArithmeticInstrCost()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A 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 in ConvertShiftToMul() [all...] |
H A D | SpeculativeExecution.cpp | 221 case Instruction::Shl: in ComputeSpeculationCost()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A 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, in visitAShr() [all...] |
H A 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()
|
H A 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() 1339 //case Instruction::Shl: TODO in canEvaluateSExtd() 2038 case Instruction::Shl: { in collectInsertionElements()
|
H A 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() 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, in foldICmpShlConstant() 2023 foldICmpShlConstant(ICmpInst &Cmp, BinaryOperator *Shl, const APInt &C) foldICmpShlConstant() argument [all...] |
H A 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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | Operator.h | 64 /// Mul, and Shl. It does not include SDiv, despite that operator having the 104 I->getOpcode() == Instruction::Shl; in classof() 110 CE->getOpcode() == Instruction::Shl; in classof() 436 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {
|
H A D | Instruction.h | 161 return Opcode >= Shl && Opcode <= AShr; in isShift() 166 return getOpcode() == Shl || getOpcode() == LShr; in isLogicalShift()
|
H A 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-subzero/include/llvm/IR/ |
H A 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/llvm-10.0/llvm/lib/FuzzMutate/ |
H A 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/ |
H A 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/ |
H A D | NaClBitcodeDecoders.cpp | 97 LLVMOpcode = Instruction::Shl; in DecodeBinaryOpcode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
H A D | XCoreLowerThreadLocal.cpp | 98 case Instruction::Shl: in createReplacementInstr()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
H A D | PoisonChecking.cpp | 175 case Instruction::Shl: { in generatePoisonChecksForBinOp()
|