/external/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() 572 ShiftOp->getOpcode() == Instruction::Shl) { in FoldShiftByConstant() 583 if (I.getOpcode() == Instruction::Shl && in FoldShiftByConstant() 584 ShiftOp->getOpcode() != Instruction::Shl && in FoldShiftByConstant() 589 BinaryOperator *NewShl = BinaryOperator::Create(Instruction::Shl, in FoldShiftByConstant() 598 ShiftOp->getOpcode() == Instruction::Shl) { in FoldShiftByConstant() 617 ShiftOp->getOpcode() == Instruction::Shl) { in FoldShiftByConstant() [all …]
|
D | InstCombineMulDivRem.cpp | 62 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) { in simplifyValueKnownNonZero() 116 if (SI->getOpcode() == Instruction::Shl) in visitMul() 124 BinaryOperator *Shl = BinaryOperator::CreateShl(Op0, NewCst); in visitMul() local 125 if (I.hasNoSignedWrap()) Shl->setHasNoSignedWrap(); in visitMul() 126 if (I.hasNoUnsignedWrap()) Shl->setHasNoUnsignedWrap(); in visitMul() 127 return Shl; in visitMul()
|
D | InstCombineCasts.cpp | 44 if (I->getOpcode() == Instruction::Shl) { in DecomposeSimpleLinearExpr() 177 case Instruction::Shl: in EvaluateInDifferentType() 373 case Instruction::Shl: in CanEvaluateTruncated() 671 case Instruction::Shl: in CanEvaluateZExtd() 1532 case Instruction::Shl: { in CollectInsertionElements()
|
D | InstCombineSelect.cpp | 93 case Instruction::Shl: // Can only fold on the shift amount. in GetSelectFoldableOperands() 111 case Instruction::Shl: in GetSelectFoldableConstant()
|
D | InstCombineAddSub.cpp | 47 if (I->getOpcode() == Instruction::Shl) in dyn_castFoldableMul()
|
D | InstCombineCompares.cpp | 1174 if (Shift->getOpcode() == Instruction::Shl) in visitICmpInstWithInstAndIntCst() 1195 if (Shift->getOpcode() == Instruction::Shl) in visitICmpInstWithInstAndIntCst() 1266 case Instruction::Shl: { // (icmp pred (shl X, ShAmt), CI) in visitICmpInstWithInstAndIntCst() 2482 case Instruction::Shl: { in visitICmpInst()
|
/external/llvm/include/llvm/ |
D | Operator.h | 111 I->getOpcode() == Instruction::Shl; in classof() 117 CE->getOpcode() == Instruction::Shl; in classof() 224 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {
|
D | Instruction.h | 102 return Opcode >= Shl && Opcode <= AShr; in isShift() 108 return getOpcode() == Shl || getOpcode() == LShr; in isLogicalShift()
|
D | InstrTypes.h | 273 DEFINE_HELPERS(Shl, NSW) // CreateNSWShl 274 DEFINE_HELPERS(Shl, NUW) // CreateNUWShl
|
D | Instruction.def | 122 HANDLE_BINARY_INST(20, Shl , BinaryOperator) // Shift left (logical)
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 916 static BinaryOperator *ConvertShiftToMul(Instruction *Shl) { in ConvertShiftToMul() argument 917 Constant *MulCst = ConstantInt::get(Shl->getType(), 1); in ConvertShiftToMul() 918 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1))); in ConvertShiftToMul() 921 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl); in ConvertShiftToMul() 922 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op. in ConvertShiftToMul() 923 Mul->takeName(Shl); in ConvertShiftToMul() 924 Shl->replaceAllUsesWith(Mul); in ConvertShiftToMul() 925 Mul->setDebugLoc(Shl->getDebugLoc()); in ConvertShiftToMul() 1511 if (I->getOpcode() == Instruction::Shl && in OptimizeInst()
|
D | LoopRotation.cpp | 185 case Instruction::Shl: in shouldSpeculateInstrs()
|
/external/llvm/lib/Transforms/Utils/ |
D | AddrModeMatcher.cpp | 141 case Instruction::Shl: in MightBeFoldableInst() 207 case Instruction::Shl: { in MatchOperationAddr() 212 if (Opcode == Instruction::Shl) in MatchOperationAddr()
|
/external/llvm/include/llvm/MC/ |
D | MCExpr.h | 330 Shl, ///< Shift left. enumerator 407 return Create(Shl, LHS, RHS, Ctx); in CreateShl()
|
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 22 APInt Shl = One.shl(0); in TEST() local 23 EXPECT_TRUE(Shl[0]); in TEST() 24 EXPECT_FALSE(Shl[1]); in TEST()
|
/external/llvm/include/llvm/Support/ |
D | PatternMatch.h | 403 inline BinaryOp_match<LHS, RHS, Instruction::Shl> 405 return BinaryOp_match<LHS, RHS, Instruction::Shl>(L, R); in m_Shl() 453 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl> 455 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>(L, R); in m_LogicalShift()
|
/external/llvm/lib/MC/ |
D | MCExpr.cpp | 120 case MCBinaryExpr::Shl: OS << "<<"; break; in print() 582 case MCBinaryExpr::Shl: Result = LHS << RHS; break; in EvaluateAsRelocatableImpl()
|
/external/clang/include/clang/AST/ |
D | StmtVisitor.h | 122 BINOP_FALLBACK(Add) BINOP_FALLBACK(Sub) BINOP_FALLBACK(Shl) in BINOP_FALLBACK()
|
/external/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 1156 case Instruction::Shl: OpReg = X86::SHL8rCL; break; in X86SelectShift() 1165 case Instruction::Shl: OpReg = X86::SHL16rCL; break; in X86SelectShift() 1174 case Instruction::Shl: OpReg = X86::SHL32rCL; break; in X86SelectShift() 1183 case Instruction::Shl: OpReg = X86::SHL64rCL; break; in X86SelectShift() 1986 case Instruction::Shl: in TargetSelectInstruction()
|
/external/llvm/lib/VMCore/ |
D | ConstantFold.cpp | 269 case Instruction::Shl: { in ExtractConstantBytes() 930 case Instruction::Shl: in ConstantFoldBinaryInstruction() 1075 case Instruction::Shl: { in ConstantFoldBinaryInstruction() 1106 case Instruction::Shl: in ConstantFoldBinaryInstruction() 1180 case Instruction::Shl: in ConstantFoldBinaryInstruction()
|
D | Instruction.cpp | 155 case Shl: return "shl"; in getOpcodeName()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 472 case Instruction::Shl: in ComputeMaskedBits() 1040 case Instruction::Shl: { in ComputeNumSignBits() 1223 case Instruction::Shl: in ComputeMultiple() 1228 if (I->getOpcode() == Instruction::Shl) { in ComputeMultiple()
|
D | InstructionSimplify.cpp | 1236 if (Value *V = SimplifyShift(Instruction::Shl, Op0, Op1, Q, MaxRecurse)) in SimplifyShlInst() 2156 case Instruction::Shl: { in SimplifyICmpInst() 2693 case Instruction::Shl: in SimplifyBinOp() 2806 case Instruction::Shl: in SimplifyInstruction()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 898 case Instruction::Shl: Out << "getShl("; break; in printConstant() 1202 case Instruction::Shl: in printInstruction() 1222 case Instruction::Shl: Out << "Instruction::Shl"; break; in printInstruction()
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 605 INSTKEYWORD(shl, Shl); INSTKEYWORD(lshr, LShr); INSTKEYWORD(ashr, AShr); in LexIdentifier()
|