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

123

/macosx-10.9.5/llvmCore-3425.0.33/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)
572 ShiftOp->getOpcode() == Instruction::Shl) {
583 if (I.getOpcode() == Instruction::Shl &&
584 ShiftOp->getOpcode() != Instruction::Shl &&
589 BinaryOperator *NewShl = BinaryOperator::Create(Instruction::Shl,
598 ShiftOp->getOpcode() == Instruction::Shl) {
617 ShiftOp->getOpcode() == Instruction::Shl) {
[all...]
H A DInstCombineMulDivRem.cpp62 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) {
116 if (SI->getOpcode() == Instruction::Shl)
124 BinaryOperator *Shl = BinaryOperator::CreateShl(Op0, NewCst); local
125 if (I.hasNoSignedWrap()) Shl->setHasNoSignedWrap();
126 if (I.hasNoUnsignedWrap()) Shl->setHasNoUnsignedWrap();
127 return Shl;
H A DInstCombineCasts.cpp44 if (I->getOpcode() == Instruction::Shl) {
177 case Instruction::Shl:
373 case Instruction::Shl:
671 case Instruction::Shl:
1016 //case Instruction::Shl: TODO
1532 case Instruction::Shl: {
H A DInstCombineSelect.cpp93 case Instruction::Shl: // Can only fold on the shift amount.
111 case Instruction::Shl:
H A DInstCombineAndOrXor.cpp205 case Instruction::Shl: {
1095 case Instruction::Shl:
1302 if (I->getOpcode() == Instruction::Shl) {
H A DInstCombineAddSub.cpp47 if (I->getOpcode() == Instruction::Shl)
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/
H A DOperator.h113 I->getOpcode() == Instruction::Shl;
119 CE->getOpcode() == Instruction::Shl;
226 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {
H A DInstruction.h102 return Opcode >= Shl && Opcode <= AShr;
108 return getOpcode() == Shl || getOpcode() == LShr;
H A DInstrTypes.h273 DEFINE_HELPERS(Shl, NSW) // CreateNSWShl
274 DEFINE_HELPERS(Shl, NUW) // CreateNUWShl
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Utils/
H A DAddrModeMatcher.cpp141 case Instruction::Shl:
207 case Instruction::Shl: {
212 if (Opcode == Instruction::Shl)
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Scalar/
H A DReassociate.cpp916 static BinaryOperator *ConvertShiftToMul(Instruction *Shl) { argument
917 Constant *MulCst = ConstantInt::get(Shl->getType(), 1);
918 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1)));
921 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl);
922 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op.
923 Mul->takeName(Shl);
924 Shl->replaceAllUsesWith(Mul);
925 Mul->setDebugLoc(Shl
[all...]
H A DLoopRotation.cpp185 case Instruction::Shl:
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/MC/
H A DMCExpr.h330 Shl, ///< Shift left. enumerator in enum:llvm::MCBinaryExpr::Opcode
407 return Create(Shl, LHS, RHS, Ctx);
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Support/
H A DPatternMatch.h403 inline BinaryOp_match<LHS, RHS, Instruction::Shl>
405 return BinaryOp_match<LHS, RHS, Instruction::Shl>(L, R);
451 /// m_LogicalShift - Matches LShr or Shl.
453 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>
455 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>(L, R);
/macosx-10.9.5/llvmCore-3425.0.33/lib/MC/
H A DMCExpr.cpp120 case MCBinaryExpr::Shl: OS << "<<"; break;
582 case MCBinaryExpr::Shl: Result = LHS << RHS; break;
/macosx-10.9.5/llvmCore-3425.0.33/unittests/ADT/
H A DAPIntTest.cpp22 APInt Shl = One.shl(0); local
23 EXPECT_TRUE(Shl[0]);
24 EXPECT_FALSE(Shl[1]);
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/
H A DValueTracking.cpp472 case Instruction::Shl:
1040 case Instruction::Shl: {
1223 case Instruction::Shl:
1228 if (I->getOpcode() == Instruction::Shl) {
H A DInstructionSimplify.cpp1188 /// SimplifyShift - Given operands for an Shl, LShr or AShr, see if we can
1232 /// SimplifyShlInst - Given operands for an Shl, see if we can
1236 if (Value *V = SimplifyShift(Instruction::Shl, Op0, Op1, Q, MaxRecurse))
2156 case Instruction::Shl: {
2693 case Instruction::Shl:
2806 case Instruction::Shl:
H A DLazyValueInfo.cpp736 case Instruction::Shl:
/macosx-10.9.5/llvmCore-3425.0.33/lib/VMCore/
H A DInstruction.cpp155 case Shl: return "shl";
H A DConstantFold.cpp269 case Instruction::Shl: {
930 case Instruction::Shl:
1075 case Instruction::Shl: {
1106 case Instruction::Shl:
1180 case Instruction::Shl:
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/X86/
H A DX86FastISel.cpp1170 case Instruction::Shl: OpReg = X86::SHL8rCL; break;
1179 case Instruction::Shl: OpReg = X86::SHL16rCL; break;
1188 case Instruction::Shl: OpReg = X86::SHL32rCL; break;
1197 case Instruction::Shl: OpReg = X86::SHL64rCL; break;
2000 case Instruction::Shl:
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/CppBackend/
H A DCPPBackend.cpp898 case Instruction::Shl: Out << "getShl("; break;
1202 case Instruction::Shl:
1222 case Instruction::Shl: Out << "Instruction::Shl"; break;
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp186 case Instruction::Shl:
199 case Instruction::Shl: return MCBinaryExpr::CreateShl(LHS, RHS, Ctx);
/macosx-10.9.5/llvmCore-3425.0.33/lib/AsmParser/
H A DLLLexer.cpp608 INSTKEYWORD(shl, Shl); INSTKEYWORD(lshr, LShr); INSTKEYWORD(ashr, AShr);

Completed in 239 milliseconds

123