/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() 198 Constant *Shl = ConstantExpr::getShl(C1, C2); in visitMul() local 200 BinaryOperator *BO = BinaryOperator::CreateMul(NewOp, Shl); in visitMul() 204 Shl->isNotMinSignedValue()) in visitMul() 220 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); in visitMul() local 223 Shl->setHasNoUnsignedWrap(); in visitMul() 225 Shl->setHasNoSignedWrap(); in visitMul() 227 return Shl; in visitMul()
|
D | InstCombineSimplifyDemanded.cpp | 638 case Instruction::Shl: in SimplifyDemandedUseBits() 889 Instruction *Shl, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne) { in SimplifyShrShlDemandedBits() argument 891 const APInt &ShlOp1 = cast<ConstantInt>(Shl->getOperand(1))->getValue(); in SimplifyShrShlDemandedBits() 935 BinaryOperator *Orig = cast<BinaryOperator>(Shl); in SimplifyShrShlDemandedBits() 946 return InsertNewInstWith(New, *Shl); in SimplifyShrShlDemandedBits()
|
D | InstCombineCasts.cpp | 46 if (I->getOpcode() == Instruction::Shl) { in DecomposeSimpleLinearExpr() 183 case Instruction::Shl: in EvaluateInDifferentType() 380 case Instruction::Shl: in CanEvaluateTruncated() 703 case Instruction::Shl: in CanEvaluateZExtd() 1633 case Instruction::Shl: { in CollectInsertionElements()
|
D | InstCombineVectorOps.cpp | 622 case Instruction::Shl: in CanEvaluateShuffled() 685 case Instruction::Shl: in BuildNew() 785 case Instruction::Shl: in EvaluateInDifferentElementOrder()
|
/external/llvm/include/llvm/IR/ |
D | Operator.h | 111 I->getOpcode() == Instruction::Shl; in classof() 117 CE->getOpcode() == Instruction::Shl; in classof() 343 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {
|
D | Instruction.h | 131 return Opcode >= Shl && Opcode <= AShr; 137 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 | InstrTypes.h | 267 DEFINE_HELPERS(Shl, NSW) // CreateNSWShl 268 DEFINE_HELPERS(Shl, NUW) // CreateNUWShl
|
D | Instruction.def | 122 HANDLE_BINARY_INST(20, Shl , BinaryOperator) // Shift left (logical)
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 1045 static BinaryOperator *ConvertShiftToMul(Instruction *Shl) { in ConvertShiftToMul() argument 1046 Constant *MulCst = ConstantInt::get(Shl->getType(), 1); in ConvertShiftToMul() 1047 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1))); in ConvertShiftToMul() 1050 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl); in ConvertShiftToMul() 1051 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op. in ConvertShiftToMul() 1052 Mul->takeName(Shl); in ConvertShiftToMul() 1055 Shl->replaceAllUsesWith(Mul); in ConvertShiftToMul() 1056 Mul->setDebugLoc(Shl->getDebugLoc()); in ConvertShiftToMul() 1061 bool NSW = cast<BinaryOperator>(Shl)->hasNoSignedWrap(); in ConvertShiftToMul() 1062 bool NUW = cast<BinaryOperator>(Shl)->hasNoUnsignedWrap(); in ConvertShiftToMul() [all …]
|
D | BDCE.cpp | 154 case Instruction::Shl: in determineLiveOperandBits()
|
/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 | 415 Shl, ///< Shift left. enumerator 492 return Create(Shl, LHS, RHS, Ctx); in CreateShl()
|
/external/v8/src/compiler/ |
D | machine-operator.h | 156 V(Word, Shl) \
|
/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 | 123 BINOP_FALLBACK(Add) BINOP_FALLBACK(Sub) BINOP_FALLBACK(Shl) in BINOP_FALLBACK()
|
/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/MC/ |
D | MCExpr.cpp | 105 case MCBinaryExpr::Shl: OS << "<<"; break; in print() 731 case MCBinaryExpr::Shl: Result = LHS << RHS; break; in EvaluateAsRelocatableImpl()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 135 case Instruction::Shl: in getIntImmCost()
|
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 22 APInt Shl = One.shl(0); in TEST() local 23 EXPECT_TRUE(Shl[0]); in TEST() 24 EXPECT_FALSE(Shl[1]); in TEST()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 288 case Instruction::Shl: { in ExtractConstantBytes() 986 case Instruction::Shl: in ConstantFoldBinaryInstruction() 1135 case Instruction::Shl: in ConstantFoldBinaryInstruction() 1157 case Instruction::Shl: in ConstantFoldBinaryInstruction() 1231 case Instruction::Shl: in ConstantFoldBinaryInstruction()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUISelDAGToDAG.cpp | 1172 const SDValue &Shl = N->getOperand(0); in SelectS_BFEFromShifts() local 1173 ConstantSDNode *B = dyn_cast<ConstantSDNode>(Shl->getOperand(1)); in SelectS_BFEFromShifts() 1184 return getS_BFE(Opcode, SDLoc(N), Shl.getOperand(0), in SelectS_BFEFromShifts()
|
/external/llvm/lib/Analysis/ |
D | CostModel.cpp | 408 case Instruction::Shl: in getInstructionCost()
|