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

123

/freebsd-10.0-release/contrib/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 DInstCombineMulDivRem.cpp61 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) {
115 if (SI->getOpcode() == Instruction::Shl)
123 BinaryOperator *Shl = BinaryOperator::CreateShl(Op0, NewCst); local
124 if (I.hasNoSignedWrap()) Shl->setHasNoSignedWrap();
125 if (I.hasNoUnsignedWrap()) Shl->setHasNoUnsignedWrap();
126 return Shl;
H A DInstCombineSimplifyDemanded.cpp595 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 DInstCombineCasts.cpp44 if (I->getOpcode() == Instruction::Shl) {
183 case Instruction::Shl:
382 case Instruction::Shl:
680 case Instruction::Shl:
1025 //case Instruction::Shl: TODO
1556 case Instruction::Shl: {
H A DInstCombineSelect.cpp93 case Instruction::Shl: // Can only fold on the shift amount.
111 case Instruction::Shl:
/freebsd-10.0-release/contrib/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
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp959 static BinaryOperator *ConvertShiftToMul(Instruction *Shl) { argument
960 Constant *MulCst = ConstantInt::get(Shl->getType(), 1);
961 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1)));
964 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl);
965 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op.
966 Mul->takeName(Shl);
967 Shl->replaceAllUsesWith(Mul);
968 Mul->setDebugLoc(Shl
[all...]
H A DLoopRotation.cpp191 case Instruction::Shl:
H A DCodeGenPrepare.cpp1012 case Instruction::Shl:
1077 case Instruction::Shl: {
1082 if (Opcode == Instruction::Shl)
/freebsd-10.0-release/contrib/llvm/include/llvm/MC/
H A DMCExpr.h347 Shl, ///< Shift left. enumerator in enum:llvm::MCBinaryExpr::Opcode
424 return Create(Shl, LHS, RHS, Ctx);
/freebsd-10.0-release/contrib/llvm/lib/Analysis/
H A DCostModel.cpp135 case Instruction::Shl:
H A DValueTracking.cpp484 case Instruction::Shl:
1126 case Instruction::Shl: {
1309 case Instruction::Shl:
1314 if (I->getOpcode() == Instruction::Shl) {
/freebsd-10.0-release/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARCUtil.cpp219 case Instruction::Shl: case Instruction::LShr: case Instruction::AShr:
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DStmtVisitor.h122 BINOP_FALLBACK(Add) BINOP_FALLBACK(Sub) BINOP_FALLBACK(Shl)
/freebsd-10.0-release/contrib/llvm/lib/MC/
H A DMCExpr.cpp123 case MCBinaryExpr::Shl: OS << "<<"; break;
644 case MCBinaryExpr::Shl: Result = LHS << RHS; break;
/freebsd-10.0-release/contrib/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);
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Vectorize/
H A DVecUtils.cpp355 case Instruction::Shl:
507 case Instruction::Shl:
667 case Instruction::Shl:
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Expression/
H A DIRInterpreter.cpp516 case Instruction::Shl:
624 case Instruction::Shl:
697 case Instruction::Shl:
/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DConstantFold.cpp273 case Instruction::Shl: {
928 case Instruction::Shl:
1073 case Instruction::Shl: {
1104 case Instruction::Shl:
1178 case Instruction::Shl:
H A DInstruction.cpp245 case Shl: return "shl";
/freebsd-10.0-release/contrib/llvm/lib/Target/X86/
H A DX86FastISel.cpp1176 case Instruction::Shl: OpReg = X86::SHL8rCL; break;
1185 case Instruction::Shl: OpReg = X86::SHL16rCL; break;
1194 case Instruction::Shl: OpReg = X86::SHL32rCL; break;
1203 case Instruction::Shl: OpReg = X86::SHL64rCL; break;
2203 case Instruction::Shl:
/freebsd-10.0-release/contrib/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp909 case Instruction::Shl: Out << "getShl("; break;
1213 case Instruction::Shl:
1233 case Instruction::Shl: Out << "Instruction::Shl"; break;
/freebsd-10.0-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp225 case Instruction::Shl:
244 case Instruction::Shl:

Completed in 436 milliseconds

123