/external/llvm/lib/Target/Hexagon/ |
D | HexagonOptimizeSZextends.cpp | 118 Instruction *Shl = dyn_cast<Instruction>(Ashr->getOperand(0)); in runOnFunction() local 119 if (!(Shl && Shl->getOpcode() == Instruction::Shl)) in runOnFunction() 121 Value *Intr = Shl->getOperand(0); in runOnFunction() 122 Value *ShlOp1 = Shl->getOperand(1); in runOnFunction()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 117 case Instruction::Shl: { in CanEvaluateShifted() 218 case Instruction::Shl: { in GetShiftedValue() 323 bool isLeftShift = I.getOpcode() == Instruction::Shl; in FoldShiftByConstant() 396 if (I.getOpcode() == Instruction::Shl) in FoldShiftByConstant() 587 ShiftOp->getOpcode() == Instruction::Shl) { in FoldShiftByConstant() 598 if (I.getOpcode() == Instruction::Shl && in FoldShiftByConstant() 599 ShiftOp->getOpcode() != Instruction::Shl && in FoldShiftByConstant() 604 BinaryOperator *NewShl = BinaryOperator::Create(Instruction::Shl, in FoldShiftByConstant() 613 ShiftOp->getOpcode() == Instruction::Shl) { in FoldShiftByConstant() 632 ShiftOp->getOpcode() == Instruction::Shl) { in FoldShiftByConstant() [all …]
|
D | InstCombineMulDivRem.cpp | 65 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) { in simplifyValueKnownNonZero() 205 Constant *Shl = ConstantExpr::getShl(C1, C2); in visitMul() local 207 BinaryOperator *BO = BinaryOperator::CreateMul(NewOp, Shl); in visitMul() 211 Shl->isNotMinSignedValue()) in visitMul() 228 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); in visitMul() local 231 Shl->setHasNoUnsignedWrap(); in visitMul() 235 Shl->setHasNoSignedWrap(); in visitMul() 238 return Shl; in visitMul()
|
D | InstCombineSimplifyDemanded.cpp | 554 case Instruction::Shl: in SimplifyDemandedUseBits() 805 Instruction *Shl, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne) { in SimplifyShrShlDemandedBits() argument 807 const APInt &ShlOp1 = cast<ConstantInt>(Shl->getOperand(1))->getValue(); in SimplifyShrShlDemandedBits() 851 BinaryOperator *Orig = cast<BinaryOperator>(Shl); in SimplifyShrShlDemandedBits() 862 return InsertNewInstWith(New, *Shl); in SimplifyShrShlDemandedBits()
|
D | InstCombineVectorOps.cpp | 573 case Instruction::Shl: in CanEvaluateShuffled() 636 case Instruction::Shl: in buildNew() 736 case Instruction::Shl: in EvaluateInDifferentElementOrder()
|
D | InstCombineCasts.cpp | 46 if (I->getOpcode() == Instruction::Shl) { in decomposeSimpleLinearExpr() 182 case Instruction::Shl: in EvaluateInDifferentType() 379 case Instruction::Shl: in canEvaluateTruncated() 778 case Instruction::Shl: in canEvaluateZExtd() 1711 case Instruction::Shl: { in collectInsertionElements()
|
/external/llvm/include/llvm/IR/ |
D | Operator.h | 110 I->getOpcode() == Instruction::Shl; in classof() 116 CE->getOpcode() == Instruction::Shl; in classof() 343 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {
|
D | Instruction.h | 126 return Opcode >= Shl && Opcode <= AShr; 132 return getOpcode() == Shl || getOpcode() == LShr;
|
D | PatternMatch.h | 524 inline BinaryOp_match<LHS, RHS, Instruction::Shl> m_Shl(const LHS &L, in m_Shl() 526 return BinaryOp_match<LHS, RHS, Instruction::Shl>(L, R); in m_Shl() 591 inline OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl, 594 return OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl, in m_NSWShl() 624 inline OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl, 627 return OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl, in m_NUWShl() 664 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl> 666 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>(L, R); in m_LogicalShift()
|
D | Instruction.def | 138 HANDLE_BINARY_INST(23, Shl , BinaryOperator) // Shift left (logical)
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 1030 static BinaryOperator *ConvertShiftToMul(Instruction *Shl) { in ConvertShiftToMul() argument 1031 Constant *MulCst = ConstantInt::get(Shl->getType(), 1); in ConvertShiftToMul() 1032 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1))); in ConvertShiftToMul() 1035 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl); in ConvertShiftToMul() 1036 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op. in ConvertShiftToMul() 1037 Mul->takeName(Shl); in ConvertShiftToMul() 1040 Shl->replaceAllUsesWith(Mul); in ConvertShiftToMul() 1041 Mul->setDebugLoc(Shl->getDebugLoc()); in ConvertShiftToMul() 1046 bool NSW = cast<BinaryOperator>(Shl)->hasNoSignedWrap(); in ConvertShiftToMul() 1047 bool NUW = cast<BinaryOperator>(Shl)->hasNoUnsignedWrap(); in ConvertShiftToMul() [all …]
|
D | SpeculativeExecution.cpp | 180 case Instruction::Shl: in ComputeSpeculationCost()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDILPeepholeOptimizer.cpp | 402 if (base->getOpcode() == Instruction::Shl) { in setupBitInsert() 427 if (src->getOpcode() == Instruction::Shl && !shift) { in setupBitInsert() 739 if (ShiftInst->getOpcode() == Instruction::Shl) { in optimizeBitExtract() 912 lhs = BinaryOperator::Create(Instruction::Shl, newShiftConst, in expandBFM() 919 lhs = BinaryOperator::Create(Instruction::Shl, lhs, rhs, "bfm_shl", CI); in expandBFM()
|
/external/llvm/include/llvm/MC/ |
D | MCExpr.h | 428 Shl, ///< Shift left. enumerator 506 return create(Shl, LHS, RHS, Ctx); in createShl()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 156 case Instruction::Shl: in getIntImmCost()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 98 case Instruction::Shl: in createReplacementInstr()
|
/external/clang/include/clang/AST/ |
D | StmtVisitor.h | 125 BINOP_FALLBACK(Add) BINOP_FALLBACK(Sub) BINOP_FALLBACK(Shl) in BINOP_FALLBACK()
|
/external/llvm/lib/MC/ |
D | MCExpr.cpp | 111 case MCBinaryExpr::Shl: OS << "<<"; break; in print() 767 case MCBinaryExpr::Shl: Result = uint64_t(LHS) << uint64_t(RHS); break; in evaluateAsRelocatableImpl()
|
/external/lldb/source/Expression/ |
D | IRInterpreter.cpp | 516 case Instruction::Shl: in CanInterpret() 624 case Instruction::Shl: in Interpret() 697 case Instruction::Shl: in Interpret()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 135 case Instruction::Shl: in getIntImmCost()
|
/external/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 141 case Instruction::Shl: in determineLiveOperandBits()
|
D | CostModel.cpp | 403 case Instruction::Shl: in getInstructionCost()
|
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 30 APInt Shl = One.shl(0); in TEST() local 31 EXPECT_TRUE(Shl[0]); in TEST() 32 EXPECT_FALSE(Shl[1]); in TEST()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 288 case Instruction::Shl: { in ExtractConstantBytes() 992 case Instruction::Shl: in ConstantFoldBinaryInstruction() 1141 case Instruction::Shl: in ConstantFoldBinaryInstruction() 1163 case Instruction::Shl: in ConstantFoldBinaryInstruction() 1237 case Instruction::Shl: in ConstantFoldBinaryInstruction()
|
D | Instruction.cpp | 259 case Shl: return "shl"; in getOpcodeName()
|