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

123

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp115 case Instruction::Shl: {
211 case Instruction::Shl: {
314 bool isLeftShift = I.getOpcode() == Instruction::Shl;
386 if (I.getOpcode() == Instruction::Shl)
569 ShiftOp->getOpcode() == Instruction::Shl) {
580 if (I.getOpcode() == Instruction::Shl &&
581 ShiftOp->getOpcode() != Instruction::Shl &&
586 BinaryOperator *NewShl = BinaryOperator::Create(Instruction::Shl,
595 ShiftOp->getOpcode() == Instruction::Shl) {
614 ShiftOp->getOpcode() == Instruction::Shl) {
[all...]
H A DInstCombineSimplifyDemanded.cpp595 case Instruction::Shl:
846 Instruction *Shl, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne) {
848 unsigned ShlAmt = cast<ConstantInt>(Shl->getOperand(1))->getZExtValue();
887 BinaryOperator *Orig = cast<BinaryOperator>(Shl);
898 return InsertNewInstWith(New, *Shl);
845 SimplifyShrShlDemandedBits(Instruction *Shr, Instruction *Shl, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne) argument
H A DInstCombineVectorOps.cpp528 case Instruction::Shl:
591 case Instruction::Shl:
688 case Instruction::Shl:
H A DInstCombineCasts.cpp44 if (I->getOpcode() == Instruction::Shl) {
183 case Instruction::Shl:
382 case Instruction::Shl:
703 case Instruction::Shl:
1035 //case Instruction::Shl: TODO
1566 case Instruction::Shl: {
H A DInstCombineMulDivRem.cpp61 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) {
152 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); local
153 if (I.hasNoSignedWrap()) Shl->setHasNoSignedWrap();
154 if (I.hasNoUnsignedWrap()) Shl->setHasNoUnsignedWrap();
155 return Shl;
H A DInstCombineSelect.cpp93 case Instruction::Shl: // Can only fold on the shift amount.
111 case Instruction::Shl:
/external/llvm/include/llvm/IR/
H A DOperator.h115 I->getOpcode() == Instruction::Shl;
121 CE->getOpcode() == Instruction::Shl;
338 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {
H A DInstruction.h103 return Opcode >= Shl && Opcode <= AShr;
109 return getOpcode() == Shl || getOpcode() == LShr;
H A DInstrTypes.h271 DEFINE_HELPERS(Shl, NSW) // CreateNSWShl
272 DEFINE_HELPERS(Shl, NUW) // CreateNUWShl
/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp952 static BinaryOperator *ConvertShiftToMul(Instruction *Shl) { argument
953 Constant *MulCst = ConstantInt::get(Shl->getType(), 1);
954 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1)));
957 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl);
958 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op.
959 Mul->takeName(Shl);
960 Shl->replaceAllUsesWith(Mul);
961 Mul->setDebugLoc(Shl
[all...]
H A DLoopRotation.cpp191 case Instruction::Shl:
H A DCodeGenPrepare.cpp1013 case Instruction::Shl:
1078 case Instruction::Shl: {
1083 if (Opcode == Instruction::Shl)
/external/llvm/include/llvm/MC/
H A DMCExpr.h377 Shl, ///< Shift left. enumerator in enum:llvm::MCBinaryExpr::Opcode
454 return Create(Shl, LHS, RHS, Ctx);
/external/llvm/lib/Analysis/
H A DCostModel.cpp135 case Instruction::Shl:
H A DValueTracking.cpp484 case Instruction::Shl:
1157 case Instruction::Shl: {
1340 case Instruction::Shl:
1345 if (I->getOpcode() == 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/llvm/lib/MC/
H A DMCExpr.cpp114 case MCBinaryExpr::Shl: OS << "<<"; break;
729 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/include/llvm/Support/
H A DPatternMatch.h484 inline BinaryOp_match<LHS, RHS, Instruction::Shl>
486 return BinaryOp_match<LHS, RHS, Instruction::Shl>(L, R);
532 /// m_LogicalShift - Matches LShr or Shl.
534 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>
536 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>(L, R);
/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/IR/
H A DConstantFold.cpp274 case Instruction::Shl: {
929 case Instruction::Shl:
1074 case Instruction::Shl: {
1105 case Instruction::Shl:
1179 case Instruction::Shl:
H A DInstruction.cpp245 case Shl: return "shl";
/external/llvm/lib/Target/X86/
H A DX86FastISel.cpp1208 case Instruction::Shl: OpReg = X86::SHL8rCL; break;
1217 case Instruction::Shl: OpReg = X86::SHL16rCL; break;
1226 case Instruction::Shl: OpReg = X86::SHL32rCL; break;
1235 case Instruction::Shl: OpReg = X86::SHL64rCL; break;
2281 case Instruction::Shl:

Completed in 1493 milliseconds

123