Home
last modified time | relevance | path

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

123456

/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-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp56 case Instruction::LShr: in getArithmeticInstrCost()
/external/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()
DInstruction.h128 return getOpcode() == Shl || getOpcode() == LShr;
/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-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()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp99 case Instruction::LShr: in createReplacementInstr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp99 case Instruction::LShr: in createReplacementInstr()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h137 return getOpcode() == Shl || getOpcode() == LShr; in isLogicalShift()
/external/llvm/lib/MC/
DMCExpr.cpp105 case MCBinaryExpr::LShr: OS << ">>"; break; in print()
739 case MCBinaryExpr::LShr: Result = uint64_t(LHS) >> uint64_t(RHS); break; in evaluateAsRelocatableImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstruction.cpp134 case Instruction::LShr: in dropPoisonGeneratingFlags()
356 case LShr: return "lshr"; in getOpcodeName()

123456