Searched refs:Shl (Results 1 - 25 of 85) sorted by relevance

1234

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp117 case Instruction::Shl: {
218 case Instruction::Shl: {
323 bool isLeftShift = I.getOpcode() == Instruction::Shl;
396 if (I.getOpcode() == Instruction::Shl)
587 ShiftOp->getOpcode() == Instruction::Shl) {
598 if (I.getOpcode() == Instruction::Shl &&
599 ShiftOp->getOpcode() != Instruction::Shl &&
604 BinaryOperator *NewShl = BinaryOperator::Create(Instruction::Shl,
613 ShiftOp->getOpcode() == Instruction::Shl) {
632 ShiftOp->getOpcode() == Instruction::Shl) {
[all...]
H A DInstCombineMulDivRem.cpp65 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) {
198 Constant *Shl = ConstantExpr::getShl(C1, C2); local
200 BinaryOperator *BO = BinaryOperator::CreateMul(NewOp, Shl);
204 Shl->isNotMinSignedValue())
220 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); local
223 Shl->setHasNoUnsignedWrap();
225 Shl->setHasNoSignedWrap();
227 return Shl;
H A DInstCombineSimplifyDemanded.cpp638 case Instruction::Shl:
889 Instruction *Shl, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne) {
891 const APInt &ShlOp1 = cast<ConstantInt>(Shl->getOperand(1))->getValue();
935 BinaryOperator *Orig = cast<BinaryOperator>(Shl);
946 return InsertNewInstWith(New, *Shl);
888 SimplifyShrShlDemandedBits(Instruction *Shr, Instruction *Shl, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne) argument
H A DInstCombineVectorOps.cpp622 case Instruction::Shl:
685 case Instruction::Shl:
785 case Instruction::Shl:
H A DInstCombineCasts.cpp46 if (I->getOpcode() == Instruction::Shl) {
183 case Instruction::Shl:
380 case Instruction::Shl:
703 case Instruction::Shl:
1020 //case Instruction::Shl: TODO
1633 case Instruction::Shl: {
/external/llvm/include/llvm/IR/
H A DInstruction.h131 return Opcode >= Shl && Opcode <= AShr;
137 return getOpcode() == Shl || getOpcode() == LShr;
H A DOperator.h111 I->getOpcode() == Instruction::Shl;
117 CE->getOpcode() == Instruction::Shl;
343 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {
H A DPatternMatch.h524 inline BinaryOp_match<LHS, RHS, Instruction::Shl> m_Shl(const LHS &L,
526 return BinaryOp_match<LHS, RHS, Instruction::Shl>(L, R);
591 inline OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl,
594 return OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl,
624 inline OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl,
627 return OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl,
662 /// \brief Matches LShr or Shl.
664 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>
666 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>(L, R);
H A DInstrTypes.h267 DEFINE_HELPERS(Shl, NSW) // CreateNSWShl
268 DEFINE_HELPERS(Shl, NUW) // CreateNUWShl
/external/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp156 case Instruction::Shl:
/external/v8/src/compiler/
H A Dmachine-operator.h156 V(Word, Shl) \
/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1045 static BinaryOperator *ConvertShiftToMul(Instruction *Shl) { argument
1046 Constant *MulCst = ConstantInt::get(Shl->getType(), 1);
1047 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1)));
1050 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl);
1051 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op.
1052 Mul->takeName(Shl);
1055 Shl->replaceAllUsesWith(Mul);
1056 Mul->setDebugLoc(Shl
[all...]
H A DBDCE.cpp154 case Instruction::Shl:
H A DLoopRotation.cpp232 case Instruction::Shl:
/external/llvm/include/llvm/MC/
H A DMCExpr.h415 Shl, ///< Shift left. enumerator in enum:llvm::MCBinaryExpr::Opcode
492 return Create(Shl, LHS, RHS, Ctx);
/external/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp98 case Instruction::Shl:
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDILPeepholeOptimizer.cpp402 if (base->getOpcode() == Instruction::Shl) {
409 dbgs() << "Failed setup with no Shl or And instruction on base opcode!\n";
411 // If the base is neither a Shl or a And, we don't fit any of the patterns above.
427 if (src->getOpcode() == Instruction::Shl && !shift) {
739 if (ShiftInst->getOpcode() == Instruction::Shl) {
912 lhs = BinaryOperator::Create(Instruction::Shl, newShiftConst,
919 lhs = BinaryOperator::Create(Instruction::Shl, lhs, rhs, "bfm_shl", CI);
/external/llvm/lib/MC/
H A DMCExpr.cpp105 case MCBinaryExpr::Shl: OS << "<<"; break;
731 case MCBinaryExpr::Shl: Result = LHS << RHS; break;
/external/clang/include/clang/AST/
H A DStmtVisitor.h123 BINOP_FALLBACK(Add) BINOP_FALLBACK(Sub) BINOP_FALLBACK(Shl)
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp135 case Instruction::Shl:
/external/lldb/source/Expression/
H A DIRInterpreter.cpp516 case Instruction::Shl:
624 case Instruction::Shl:
697 case Instruction::Shl:
/external/llvm/unittests/ADT/
H A DAPIntTest.cpp22 APInt Shl = One.shl(0); local
23 EXPECT_TRUE(Shl[0]);
24 EXPECT_FALSE(Shl[1]);
/external/llvm/lib/Analysis/
H A DCostModel.cpp408 case Instruction::Shl:
/external/llvm/lib/IR/
H A DInstruction.cpp244 case Shl: return "shl";
H A DConstantFold.cpp288 case Instruction::Shl: {
986 case Instruction::Shl:
1135 case Instruction::Shl:
1157 case Instruction::Shl:
1231 case Instruction::Shl:

Completed in 536 milliseconds

1234