| /freebsd-9-stable/contrib/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineShifts.cpp | 115 case Instruction::Shl: { in CanEvaluateShifted() 211 case Instruction::Shl: { in GetShiftedValue() 314 bool isLeftShift = I.getOpcode() == Instruction::Shl; in FoldShiftByConstant() 386 if (I.getOpcode() == Instruction::Shl) in FoldShiftByConstant() 569 ShiftOp->getOpcode() == Instruction::Shl) { in FoldShiftByConstant() 580 if (I.getOpcode() == Instruction::Shl && in FoldShiftByConstant() 581 ShiftOp->getOpcode() != Instruction::Shl && in FoldShiftByConstant() 586 BinaryOperator *NewShl = BinaryOperator::Create(Instruction::Shl, in FoldShiftByConstant() 595 ShiftOp->getOpcode() == Instruction::Shl) { in FoldShiftByConstant() 614 ShiftOp->getOpcode() == Instruction::Shl) { in FoldShiftByConstant() [all …]
|
| D | InstCombineSimplifyDemanded.cpp | 595 case Instruction::Shl: in SimplifyDemandedUseBits() 845 Instruction *Shl, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne) { in SimplifyShrShlDemandedBits() argument 847 const APInt &ShlOp1 = cast<ConstantInt>(Shl->getOperand(1))->getValue(); in SimplifyShrShlDemandedBits() 891 BinaryOperator *Orig = cast<BinaryOperator>(Shl); in SimplifyShrShlDemandedBits() 902 return InsertNewInstWith(New, *Shl); in SimplifyShrShlDemandedBits()
|
| D | InstCombineMulDivRem.cpp | 61 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) { in simplifyValueKnownNonZero() 152 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); in visitMul() local 153 if (I.hasNoSignedWrap()) Shl->setHasNoSignedWrap(); in visitMul() 154 if (I.hasNoUnsignedWrap()) Shl->setHasNoUnsignedWrap(); in visitMul() 155 return Shl; in visitMul()
|
| D | InstCombineCasts.cpp | 44 if (I->getOpcode() == Instruction::Shl) { in DecomposeSimpleLinearExpr() 183 case Instruction::Shl: in EvaluateInDifferentType() 382 case Instruction::Shl: in CanEvaluateTruncated() 703 case Instruction::Shl: in CanEvaluateZExtd() 1611 case Instruction::Shl: { in CollectInsertionElements()
|
| D | InstCombineVectorOps.cpp | 562 case Instruction::Shl: in CanEvaluateShuffled() 625 case Instruction::Shl: in BuildNew() 722 case Instruction::Shl: in EvaluateInDifferentElementOrder()
|
| D | InstCombineSelect.cpp | 93 case Instruction::Shl: // Can only fold on the shift amount. in GetSelectFoldableOperands() 111 case Instruction::Shl: in GetSelectFoldableConstant()
|
| D | InstCombineAndOrXor.cpp | 205 case Instruction::Shl: { in OptAndOp() 1176 case Instruction::Shl: in visitAnd() 1411 if (I->getOpcode() == Instruction::Shl) { in CollectBSwapParts() 1551 if (BO->getOpcode() == Instruction::Shl) { in IsOneHotValue()
|
| /freebsd-9-stable/contrib/llvm/include/llvm/IR/ |
| D | Operator.h | 115 I->getOpcode() == Instruction::Shl; in classof() 121 CE->getOpcode() == Instruction::Shl; in classof() 338 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {
|
| D | Instruction.h | 103 return Opcode >= Shl && Opcode <= AShr; in isShift() 109 return getOpcode() == Shl || getOpcode() == LShr; in isLogicalShift()
|
| D | InstrTypes.h | 271 DEFINE_HELPERS(Shl, NSW) // CreateNSWShl 272 DEFINE_HELPERS(Shl, NUW) // CreateNUWShl
|
| D | Instruction.def | 122 HANDLE_BINARY_INST(20, Shl , BinaryOperator) // Shift left (logical)
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/ |
| D | Reassociate.cpp | 952 static BinaryOperator *ConvertShiftToMul(Instruction *Shl) { in ConvertShiftToMul() argument 953 Constant *MulCst = ConstantInt::get(Shl->getType(), 1); in ConvertShiftToMul() 954 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1))); in ConvertShiftToMul() 957 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl); in ConvertShiftToMul() 958 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op. in ConvertShiftToMul() 959 Mul->takeName(Shl); in ConvertShiftToMul() 960 Shl->replaceAllUsesWith(Mul); in ConvertShiftToMul() 961 Mul->setDebugLoc(Shl->getDebugLoc()); in ConvertShiftToMul() 1812 if (I->getOpcode() == Instruction::Shl && in OptimizeInst()
|
| D | LoopRotation.cpp | 191 case Instruction::Shl: in shouldSpeculateInstrs()
|
| D | CodeGenPrepare.cpp | 1007 case Instruction::Shl: in MightBeFoldableInst() 1072 case Instruction::Shl: { in MatchOperationAddr() 1077 if (Opcode == Instruction::Shl) in MatchOperationAddr()
|
| /freebsd-9-stable/contrib/llvm/include/llvm/MC/ |
| D | MCExpr.h | 377 Shl, ///< Shift left. enumerator 454 return Create(Shl, LHS, RHS, Ctx); in CreateShl()
|
| /freebsd-9-stable/contrib/llvm/include/llvm/Support/ |
| D | PatternMatch.h | 484 inline BinaryOp_match<LHS, RHS, Instruction::Shl> 486 return BinaryOp_match<LHS, RHS, Instruction::Shl>(L, R); in m_Shl() 534 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl> 536 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>(L, R); in m_LogicalShift()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/ObjCARC/ |
| D | ObjCARCUtil.cpp | 221 case Instruction::Shl: case Instruction::LShr: case Instruction::AShr: in GetInstructionClass()
|
| /freebsd-9-stable/contrib/llvm/lib/MC/ |
| D | MCExpr.cpp | 114 case MCBinaryExpr::Shl: OS << "<<"; break; in print() 729 case MCBinaryExpr::Shl: Result = LHS << RHS; break; in EvaluateAsRelocatableImpl()
|
| /freebsd-9-stable/contrib/llvm/lib/Target/XCore/ |
| D | XCoreLowerThreadLocal.cpp | 97 case Instruction::Shl: in createReplacementInstr()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/include/clang/AST/ |
| D | StmtVisitor.h | 123 BINOP_FALLBACK(Add) BINOP_FALLBACK(Sub) BINOP_FALLBACK(Shl) in BINOP_FALLBACK()
|
| /freebsd-9-stable/contrib/llvm/lib/IR/ |
| D | ConstantFold.cpp | 274 case Instruction::Shl: { in ExtractConstantBytes() 931 case Instruction::Shl: in ConstantFoldBinaryInstruction() 1076 case Instruction::Shl: { in ConstantFoldBinaryInstruction() 1107 case Instruction::Shl: in ConstantFoldBinaryInstruction() 1181 case Instruction::Shl: in ConstantFoldBinaryInstruction()
|
| D | Instruction.cpp | 246 case Shl: return "shl"; in getOpcodeName()
|
| /freebsd-9-stable/contrib/llvm/lib/Analysis/ |
| D | ValueTracking.cpp | 485 case Instruction::Shl: in ComputeMaskedBits() 1167 case Instruction::Shl: { in ComputeNumSignBits() 1350 case Instruction::Shl: in ComputeMultiple() 1355 if (I->getOpcode() == Instruction::Shl) { in ComputeMultiple()
|
| D | CostModel.cpp | 395 case Instruction::Shl: in getInstructionCost()
|
| /freebsd-9-stable/contrib/llvm/lib/Target/X86/ |
| D | X86FastISel.cpp | 1257 case Instruction::Shl: OpReg = X86::SHL8rCL; break; in X86SelectShift() 1266 case Instruction::Shl: OpReg = X86::SHL16rCL; break; in X86SelectShift() 1275 case Instruction::Shl: OpReg = X86::SHL32rCL; break; in X86SelectShift() 1284 case Instruction::Shl: OpReg = X86::SHL64rCL; break; in X86SelectShift() 2330 case Instruction::Shl: in TargetSelectInstruction()
|