Home
last modified time | relevance | path

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

12345678

/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp163 case Instruction::LShr: in CanEvaluateShifted()
261 case Instruction::LShr: { in GetShiftedValue()
400 assert(I.getOpcode() == Instruction::LShr && "Unknown logical shift"); in FoldShiftByConstant()
587 if (I.getOpcode() == Instruction::LShr && in FoldShiftByConstant()
602 assert(ShiftOp->getOpcode() == Instruction::LShr || in FoldShiftByConstant()
613 if (I.getOpcode() == Instruction::LShr && in FoldShiftByConstant()
618 BinaryOperator *NewLShr = BinaryOperator::Create(Instruction::LShr, in FoldShiftByConstant()
661 if (I.getOpcode() == Instruction::LShr && in FoldShiftByConstant()
DInstCombineMulDivRem.cpp60 if (I->getOpcode() == Instruction::LShr && !I->isExact()) { in simplifyValueKnownNonZero()
977 BinaryOperator *LShr = BinaryOperator::CreateLShr( in foldUDivPow2Cst() local
980 LShr->setIsExact(); in foldUDivPow2Cst()
981 return LShr; in foldUDivPow2Cst()
1007 BinaryOperator *LShr = BinaryOperator::CreateLShr(Op0, N); in foldUDivShl() local
1009 LShr->setIsExact(); in foldUDivShl()
1010 return LShr; in foldUDivShl()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineShifts.cpp139 case Instruction::LShr: { in CanEvaluateShifted()
252 case Instruction::LShr: { in GetShiftedValue()
388 assert(I.getOpcode() == Instruction::LShr && "Unknown logical shift"); in FoldShiftByConstant()
565 if (I.getOpcode() == Instruction::LShr && in FoldShiftByConstant()
577 assert(ShiftOp->getOpcode() == Instruction::LShr || in FoldShiftByConstant()
587 if (I.getOpcode() == Instruction::LShr && in FoldShiftByConstant()
614 if (I.getOpcode() == Instruction::LShr && in FoldShiftByConstant()
DInstCombineMulDivRem.cpp57 if (I->getOpcode() == Instruction::LShr && !I->isExact()) { in simplifyValueKnownNonZero()
450 BinaryOperator *LShr = in visitUDiv() local
453 if (I.isExact()) LShr->setIsExact(); in visitUDiv()
454 return LShr; in visitUDiv()
/external/swiftshader/third_party/LLVM/include/llvm/
DOperator.h151 OpC == Instruction::LShr; in isPossiblyExactOpcode()
219 : public ConcreteOperator<PossiblyExactOperator, Instruction::LShr> {
DInstruction.h108 return getOpcode() == Shl || getOpcode() == LShr; in isLogicalShift()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h387 inline BinaryOp_match<LHS, RHS, Instruction::LShr>
389 return BinaryOp_match<LHS, RHS, Instruction::LShr>(L, R); in m_LShr()
424 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::AShr>
426 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::AShr>(L, R); in m_Shr()
431 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>
433 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>(L, R); in m_LogicalShift()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp56 case Instruction::LShr: in getArithmeticInstrCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp56 case Instruction::LShr: in getArithmeticInstrCost()
/external/llvm/include/llvm/IR/
DOperator.h149 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp80 if (I->getOpcode() == Instruction::LShr && !I->isExact()) { in simplifyValueKnownNonZero()
828 BinaryOperator *LShr = BinaryOperator::CreateLShr(Op0, C1); in foldUDivPow2Cst() local
830 LShr->setIsExact(); in foldUDivPow2Cst()
831 return LShr; in foldUDivPow2Cst()
852 BinaryOperator *LShr = BinaryOperator::CreateLShr(Op0, N); in foldUDivShl() local
854 LShr->setIsExact(); in foldUDivShl()
855 return LShr; in foldUDivShl()
DInstCombineSimplifyDemanded.cpp476 case Instruction::LShr: { in SimplifyDemandedUseBits()
549 BinaryOperator *LShr = BinaryOperator::CreateLShr(I->getOperand(0), in SimplifyDemandedUseBits() local
551 LShr->setIsExact(cast<BinaryOperator>(I)->isExact()); in SimplifyDemandedUseBits()
552 return InsertNewInstWith(LShr, *I); in SimplifyDemandedUseBits()
883 bool isLshr = (Shr->getOpcode() == Instruction::LShr); in simplifyShrShlDemandedBits()
DInstCombineShifts.cpp170 case Instruction::LShr: in canEvaluateShifted()
290 case Instruction::LShr: in getShiftedValue()
409 assert(I.getOpcode() == Instruction::LShr && "Unknown logical shift"); in FoldShiftByConstant()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DOperator.h144 OpC == Instruction::LShr; in isPossiblyExactOpcode()
422 : public ConcreteOperator<PossiblyExactOperator, Instruction::LShr> {
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyIndVar.cpp101 case Instruction::LShr: in foldIVUser()
119 if (UseInst->getOpcode() == Instruction::LShr) { in foldIVUser()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp157 case Instruction::LShr: in getIntImmCost()
377 if (Opcode == Instruction::Shl || Opcode == Instruction::LShr || in getArithmeticInstrCost()
435 if (Opcode == Instruction::LShr || Opcode == Instruction::AShr) in getArithmeticInstrCost()
/external/llvm/include/llvm/MC/
DMCExpr.h406 LShr, ///< Logical shift right. enumerator
490 return create(LShr, LHS, RHS, Ctx); in createLShr()
/external/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp218 case Instruction::LShr: in ComputeSpeculationCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
DOperations.cpp28 Ops.push_back(binOpDescriptor(1, Instruction::LShr)); in describeFuzzerIntOps()
106 case Instruction::LShr: in binOpDescriptor()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCExpr.h438 LShr, ///< Logical shift right. enumerator
541 return create(LShr, LHS, RHS, Ctx); in createLShr()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp157 case Instruction::LShr: in getIntImmCost()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp101 LLVMOpcode = Instruction::LShr; in DecodeBinaryOpcode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp223 case Instruction::LShr: in ComputeSpeculationCost()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp98 case Instruction::LShr: in foldIVUser()
116 if (UseInst->getOpcode() == Instruction::LShr) { in foldIVUser()

12345678