Home
last modified time | relevance | path

Searched refs:LShr (Results 1 – 25 of 62) sorted by relevance

123

/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp142 case Instruction::LShr: { in CanEvaluateShifted()
260 case Instruction::LShr: { in GetShiftedValue()
399 assert(I.getOpcode() == Instruction::LShr && "Unknown logical shift"); in FoldShiftByConstant()
586 if (I.getOpcode() == Instruction::LShr && in FoldShiftByConstant()
601 assert(ShiftOp->getOpcode() == Instruction::LShr || in FoldShiftByConstant()
612 if (I.getOpcode() == Instruction::LShr && in FoldShiftByConstant()
617 BinaryOperator *NewLShr = BinaryOperator::Create(Instruction::LShr, in FoldShiftByConstant()
660 if (I.getOpcode() == Instruction::LShr && in FoldShiftByConstant()
DInstCombineMulDivRem.cpp60 if (I->getOpcode() == Instruction::LShr && !I->isExact()) { in simplifyValueKnownNonZero()
953 BinaryOperator *LShr = BinaryOperator::CreateLShr( in foldUDivPow2Cst() local
956 LShr->setIsExact(); in foldUDivPow2Cst()
957 return LShr; in foldUDivPow2Cst()
983 BinaryOperator *LShr = BinaryOperator::CreateLShr(Op0, N); in foldUDivShl() local
985 LShr->setIsExact(); in foldUDivShl()
986 return LShr; in foldUDivShl()
DInstCombineCompares.cpp1004 if (Shr->getOpcode() == Instruction::LShr) in FoldICmpShrCst()
1302 } else if (ShiftOpcode == Instruction::LShr) { in visitICmpInstWithInstAndIntCst()
1361 if (Shift->getOpcode() == Instruction::LShr) { in visitICmpInstWithInstAndIntCst()
1381 Value *X, *Y, *LShr; in visitICmpInstWithInstAndIntCst() local
1386 if (match(Or, m_Or(m_Value(LShr), m_Value(X))) && in visitICmpInstWithInstAndIntCst()
1387 match(LShr, m_LShr(m_Specific(X), m_Value(Y)))) { in visitICmpInstWithInstAndIntCst()
1393 if (LShr->hasOneUse()) in visitICmpInstWithInstAndIntCst()
1404 LShr->getName(), in visitICmpInstWithInstAndIntCst()
1644 case Instruction::LShr: // (icmp pred (shr X, ShAmt), CI) in visitICmpInstWithInstAndIntCst()
3470 case Instruction::LShr: in visitICmpInst()
DInstCombineVectorOps.cpp623 case Instruction::LShr: in CanEvaluateShuffled()
686 case Instruction::LShr: in BuildNew()
786 case Instruction::LShr: in EvaluateInDifferentElementOrder()
DInstCombineCasts.cpp182 case Instruction::LShr: in EvaluateInDifferentType()
389 case Instruction::LShr: in CanEvaluateTruncated()
714 case Instruction::LShr: in CanEvaluateZExtd()
DInstCombineSimplifyDemanded.cpp672 case Instruction::LShr: in SimplifyDemandedUseBits()
912 bool isLshr = (Shr->getOpcode() == Instruction::LShr); in SimplifyShrShlDemandedBits()
/external/llvm/include/llvm/IR/
DOperator.h150 OpC == Instruction::LShr; in isPossiblyExactOpcode()
357 : public ConcreteOperator<PossiblyExactOperator, Instruction::LShr> {
DPatternMatch.h530 inline BinaryOp_match<LHS, RHS, Instruction::LShr> m_LShr(const LHS &L, in m_LShr()
532 return BinaryOp_match<LHS, RHS, Instruction::LShr>(L, R); in m_LShr()
657 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::AShr>
659 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::AShr>(L, R); in m_Shr()
664 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>
666 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>(L, R); in m_LogicalShift()
DInstruction.h137 return getOpcode() == Shl || getOpcode() == LShr;
DInstruction.def123 HANDLE_BINARY_INST(21, LShr , BinaryOperator) // Shift right (logical)
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp157 case Instruction::LShr: in getIntImmCost()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILPeepholeOptimizer.cpp602 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset, in optimizeBitInsert()
605 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset, in optimizeBitInsert()
624 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset, in optimizeBitInsert()
627 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset, in optimizeBitInsert()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp99 case Instruction::LShr: in foldIVUser()
117 if (UseInst->getOpcode() == Instruction::LShr) { in foldIVUser()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp99 case Instruction::LShr: in createReplacementInstr()
/external/lldb/source/Expression/
DIRInterpreter.cpp510 case Instruction::LShr: in CanInterpret()
625 case Instruction::LShr: in Interpret()
703 case Instruction::LShr: in Interpret()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp136 case Instruction::LShr: in getIntImmCost()
DPPCCTRLoops.cpp393 J->getOpcode() == Instruction::LShr)) { in mightUseCTR()
/external/llvm/lib/Transforms/Scalar/
DBDCE.cpp170 case Instruction::LShr: in determineLiveOperandBits()
DLoopRotation.cpp233 case Instruction::LShr: in shouldSpeculateInstrs()
/external/llvm/lib/IR/
DConstantFold.cpp266 case Instruction::LShr: { in ExtractConstantBytes()
967 case Instruction::LShr: in ConstantFoldBinaryInstruction()
1139 case Instruction::LShr: in ConstantFoldBinaryInstruction()
1155 case Instruction::LShr: in ConstantFoldBinaryInstruction()
1232 case Instruction::LShr: in ConstantFoldBinaryInstruction()
DInstruction.cpp245 case LShr: return "lshr"; in getOpcodeName()
/external/llvm/lib/Analysis/
DCostModel.cpp409 case Instruction::LShr: in getInstructionCost()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp101 case Instruction::LShr: in getIntImmCost()
/external/llvm/lib/Transforms/ObjCARC/
DARCInstKind.cpp278 case Instruction::LShr: in GetARCInstKind()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp102 Cost += getArithmeticInstrCost(Instruction::LShr, Ty, Op1Info, Op2Info, in getArithmeticInstrCost()
1047 case Instruction::LShr: in getIntImmCost()

123