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

1234

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp117 case Instruction::Shl: {
213 case Instruction::Shl: {
316 bool isLeftShift = I.getOpcode() == Instruction::Shl;
389 if (I.getOpcode() == Instruction::Shl)
580 ShiftOp->getOpcode() == Instruction::Shl) {
591 if (I.getOpcode() == Instruction::Shl &&
592 ShiftOp->getOpcode() != Instruction::Shl &&
597 BinaryOperator *NewShl = BinaryOperator::Create(Instruction::Shl,
606 ShiftOp->getOpcode() == Instruction::Shl) {
625 ShiftOp->getOpcode() == Instruction::Shl) {
[all...]
H A DInstCombineSimplifyDemanded.cpp596 case Instruction::Shl:
846 Instruction *Shl, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne) {
848 const APInt &ShlOp1 = cast<ConstantInt>(Shl->getOperand(1))->getValue();
892 BinaryOperator *Orig = cast<BinaryOperator>(Shl);
903 return InsertNewInstWith(New, *Shl);
845 SimplifyShrShlDemandedBits(Instruction *Shr, Instruction *Shl, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne) argument
H A DInstCombineMulDivRem.cpp63 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) {
157 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); local
158 if (I.hasNoSignedWrap()) Shl->setHasNoSignedWrap();
159 if (I.hasNoUnsignedWrap()) Shl->setHasNoUnsignedWrap();
160 return Shl;
H A DInstCombineVectorOps.cpp621 case Instruction::Shl:
684 case Instruction::Shl:
783 case Instruction::Shl:
H A DInstCombineCasts.cpp46 if (I->getOpcode() == Instruction::Shl) {
186 case Instruction::Shl:
385 case Instruction::Shl:
706 case Instruction::Shl:
1017 //case Instruction::Shl: TODO
1667 case Instruction::Shl: {
/external/llvm/include/llvm/IR/
H A DInstruction.h106 return Opcode >= Shl && Opcode <= AShr;
112 return getOpcode() == Shl || getOpcode() == LShr;
H A DOperator.h115 I->getOpcode() == Instruction::Shl;
121 CE->getOpcode() == Instruction::Shl;
342 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {
H A DPatternMatch.h484 inline BinaryOp_match<LHS, RHS, Instruction::Shl>
486 return BinaryOp_match<LHS, RHS, Instruction::Shl>(L, R);
550 inline OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl,
553 return OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl,
583 inline OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl,
586 return OverflowingBinaryOp_match<LHS, RHS, Instruction::Shl,
622 /// m_LogicalShift - Matches LShr or Shl.
624 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>
626 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>(L, R);
H A DInstrTypes.h271 DEFINE_HELPERS(Shl, NSW) // CreateNSWShl
272 DEFINE_HELPERS(Shl, NUW) // CreateNUWShl
/external/chromium_org/v8/src/compiler/
H A Dmachine-operator.h156 V(Word, Shl) \
/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp951 static BinaryOperator *ConvertShiftToMul(Instruction *Shl) { argument
952 Constant *MulCst = ConstantInt::get(Shl->getType(), 1);
953 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1)));
956 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl);
957 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op.
958 Mul->takeName(Shl);
959 Shl->replaceAllUsesWith(Mul);
960 Mul->setDebugLoc(Shl
[all...]
H A DLoopRotation.cpp215 case Instruction::Shl:
/external/llvm/include/llvm/MC/
H A DMCExpr.h401 Shl, ///< Shift left. enumerator in enum:llvm::MCBinaryExpr::Opcode
478 return Create(Shl, LHS, RHS, Ctx);
/external/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp97 case Instruction::Shl:
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCUtil.cpp221 case Instruction::Shl: case Instruction::LShr: case Instruction::AShr:
/external/chromium_org/third_party/mesa/src/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/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/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.cpp224 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/lldb/source/Expression/
H A DIRInterpreter.cpp516 case Instruction::Shl:
624 case Instruction::Shl:
697 case Instruction::Shl:
/external/llvm/lib/Analysis/
H A DCostModel.cpp407 case Instruction::Shl:
/external/llvm/lib/IR/
H A DInstruction.cpp250 case Shl: return "shl";
H A DConstantFold.cpp274 case Instruction::Shl: {
943 case Instruction::Shl:
1088 case Instruction::Shl: {
1119 case Instruction::Shl:
1193 case Instruction::Shl:
/external/llvm/lib/MC/
H A DMCExpr.cpp109 case MCBinaryExpr::Shl: OS << "<<"; break;
781 case MCBinaryExpr::Shl: Result = LHS << RHS; break;

Completed in 362 milliseconds

1234