/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonOptimizeSZextends.cpp | 116 Instruction *Shl = dyn_cast<Instruction>(Ashr->getOperand(0)); local 117 if (!(Shl && Shl->getOpcode() == Instruction::Shl)) 119 Value *Intr = Shl->getOperand(0); 120 Value *ShlOp1 = Shl->getOperand(1); 126 // The first operand of Shl comes from an intrinsic.
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelDAGToDAG.cpp | 202 SDValue Shl = Or.getOperand(0); local 203 if (isa<ConstantSDNode>(Shl.getOperand(1)) && 207 uint64_t VC2 = Shl.getConstantOperandVal(1); 209 RS1 = Shl.getOperand(0); 211 Shl.getOperand(1).getValueType()); 217 uint32_t VC2 = Shl.getConstantOperandVal(1); 219 RS1 = Shl.getOperand(0); 221 Shl.getOperand(1).getValueType()); 332 SDValue Shl = And.getOperand(0); local 333 if (isa<ConstantSDNode>(Shl 366 SDValue Shl = Or.getOperand(0); local 437 SDValue Shl = Or.getOperand(0); local 485 SDValue Shl = Or.getOperand(0); local [all...] |
H A D | RISCVTargetTransformInfo.cpp | 61 case Instruction::Shl:
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyTargetTransformInfo.cpp | 60 case Instruction::Shl:
|
/freebsd-13-stable/contrib/llvm-project/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; 110 CE->getOpcode() == Instruction::Shl; 436 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {
|
H A D | Instruction.h | 196 return Opcode >= Shl && Opcode <= AShr; 201 return getOpcode() == Shl || getOpcode() == LShr;
|
H A D | PatternMatch.h | 973 inline BinaryOp_match<LHS, RHS, Instruction::Shl> m_Shl(const LHS &L, 975 return BinaryOp_match<LHS, RHS, Instruction::Shl>(L, R); 1040 inline OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl, 1043 return OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl, 1073 inline OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl, 1076 return OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl, 1114 return Opcode == Instruction::LShr || Opcode == Instruction::Shl;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 142 if (ShiftOpcode == Instruction::BinaryOps::Shl) { 181 assert(OuterShift->getOpcode() == Instruction::BinaryOps::Shl && 435 bool IsInnerShl = InnerShift->getOpcode() == Instruction::Shl; 521 case Instruction::Shl: 550 bool IsInnerShl = InnerShift->getOpcode() == Instruction::Shl; 635 case Instruction::Shl: 667 return Shift.getOpcode() == Instruction::Shl; 677 bool isLeftShift = I.getOpcode() == Instruction::Shl; 734 if (I.getOpcode() == Instruction::Shl) 1280 auto *NewShl = BinaryOperator::Create(Instruction::Shl, [all...] |
H A D | InstCombineMulDivRem.cpp | 84 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) { 206 Constant *Shl = ConstantExpr::getShl(C1, C2); local 208 BinaryOperator *BO = BinaryOperator::CreateMul(NewOp, Shl); 212 Shl->isNotMinSignedValue()) 224 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); local 227 Shl->setHasNoUnsignedWrap(); 231 Shl->setHasNoSignedWrap(); 234 return Shl;
|
H A D | InstCombineCompares.cpp | 1664 bool IsShl = ShiftOpcode == Instruction::Shl; 1669 if (ShiftOpcode == Instruction::Shl) { 1984 static Instruction *foldICmpShlOne(ICmpInst &Cmp, Instruction *Shl, argument 1987 if (!match(Shl, m_Shl(m_One(), m_Value(Y)))) 1990 Type *ShiftType = Shl->getType(); 2047 BinaryOperator *Shl, 2050 if (Cmp.isEquality() && match(Shl->getOperand(0), m_APInt(ShiftVal))) 2051 return foldICmpShlConstConst(Cmp, Shl->getOperand(1), C, *ShiftVal); 2054 if (!match(Shl->getOperand(1), m_APInt(ShiftAmt))) 2055 return foldICmpShlOne(Cmp, Shl, 2046 foldICmpShlConstant(ICmpInst &Cmp, BinaryOperator *Shl, const APInt &C) argument [all...] |
H A D | InstCombineVectorOps.cpp | 1203 case Instruction::Shl: 1272 case Instruction::Shl: 1362 case Instruction::Shl: 1470 case Instruction::Shl: { 1625 if (Opc0 == Instruction::Shl || Opc1 == Instruction::Shl)
|
H A D | InstCombineInternal.h | 276 case Instruction::Shl: // 0 << X = 0 873 Instruction *Shr, const APInt &ShrOp1, Instruction *Shl, 963 Instruction *foldICmpShlConstant(ICmpInst &Cmp, BinaryOperator *Shl,
|
H A D | InstCombineNegator.cpp | 324 case Instruction::Shl: {
|
H A D | InstCombineSimplifyDemanded.cpp | 515 case Instruction::Shl: { 963 Instruction *Shl, const APInt &ShlOp1, 1008 BinaryOperator *Orig = cast<BinaryOperator>(Shl); 1019 return InsertNewInstWith(New, *Shl); 962 simplifyShrShlDemandedBits(Instruction *Shr, const APInt &ShrOp1, Instruction *Shl, const APInt &ShlOp1, const APInt &DemandedMask, KnownBits &Known) argument
|
H A D | InstCombineCasts.cpp | 49 if (I->getOpcode() == Instruction::Shl) { 184 case Instruction::Shl: 379 case Instruction::Shl: { 575 bool IsFshl = (!SubIsOnLHS && ShiftOpcode0 == BinaryOperator::Shl) || 576 (SubIsOnLHS && ShiftOpcode1 == BinaryOperator::Shl); 856 Instruction::Shl, NewTrunc, 1081 case Instruction::Shl: { 1389 //case Instruction::Shl: TODO 2139 case Instruction::Shl: {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 977 static BinaryOperator *ConvertShiftToMul(Instruction *Shl) { argument 978 Constant *MulCst = ConstantInt::get(Shl->getType(), 1); 979 auto *SA = cast<ConstantInt>(Shl->getOperand(1)); 983 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl); 984 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op. 985 Mul->takeName(Shl); 988 Shl->replaceAllUsesWith(Mul); 989 Mul->setDebugLoc(Shl [all...] |
H A D | SpeculativeExecution.cpp | 222 case Instruction::Shl:
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/FuzzMutate/ |
H A D | Operations.cpp | 26 Ops.push_back(binOpDescriptor(1, Instruction::Shl)); 104 case Instruction::Shl:
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | StmtVisitor.h | 128 BINOP_FALLBACK(Add) BINOP_FALLBACK(Sub) BINOP_FALLBACK(Shl)
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreLowerThreadLocal.cpp | 98 case Instruction::Shl:
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCExpr.h | 502 Shl, ///< Shift left. 596 return create(Shl, LHS, RHS, Ctx);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PoisonChecking.cpp | 173 case Instruction::Shl: {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | DemandedBits.cpp | 183 case Instruction::Shl:
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instruction.cpp | 147 case Instruction::Shl: 387 case Shl: return "shl";
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCExpr.cpp | 146 case MCBinaryExpr::Shl: OS << "<<"; break; 920 case MCBinaryExpr::Shl: Result = uint64_t(LHS) << uint64_t(RHS); break;
|