/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 535 if (Instruction *Shr = dyn_cast<Instruction>(I->getOperand(0))) in SimplifyDemandedUseBits() local 536 if (Value *R = simplifyShrShlDemandedBits(Shr, *ShrAmt, I, *SA, in SimplifyDemandedUseBits() 1006 Instruction *Shr, const APInt &ShrOp1, Instruction *Shl, in simplifyShrShlDemandedBits() argument 1011 Value *VarX = Shr->getOperand(0); in simplifyShrShlDemandedBits() 1027 bool isLshr = (Shr->getOpcode() == Instruction::LShr); in simplifyShrShlDemandedBits() 1043 if (!Shr->hasOneUse()) in simplifyShrShlDemandedBits() 1057 if (cast<BinaryOperator>(Shr)->isExact()) in simplifyShrShlDemandedBits()
|
H A D | InstCombineCompares.cpp | 2188 BinaryOperator *Shr, in foldICmpShrConstant() argument 2192 Value *X = Shr->getOperand(0); in foldICmpShrConstant() 2194 if (Cmp.isEquality() && Shr->isExact() && Shr->hasOneUse() && in foldICmpShrConstant() 2199 if (Cmp.isEquality() && match(Shr->getOperand(0), m_APInt(ShiftVal))) in foldICmpShrConstant() 2203 if (!match(Shr->getOperand(1), m_APInt(ShiftAmt))) in foldICmpShrConstant() 2213 bool IsAShr = Shr->getOpcode() == Instruction::AShr; in foldICmpShrConstant() 2214 bool IsExact = Shr->isExact(); in foldICmpShrConstant() 2215 Type *ShrTy = Shr->getType(); in foldICmpShrConstant() 2280 if (Shr->isExact()) in foldICmpShrConstant() 2293 if (Shr->hasOneUse()) { in foldICmpShrConstant() [all …]
|
H A D | InstCombineInternal.h | 592 Instruction *Shr, const APInt &ShrOp1, Instruction *Shl, 683 Instruction *foldICmpShrConstant(ICmpInst &Cmp, BinaryOperator *Shr,
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | StmtVisitor.h | 129 BINOP_FALLBACK(Shr) in BINOP_FALLBACK()
|
H A D | OperationKinds.def | 380 BINARY_OPERATION(Shr, ">>")
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | SimplifyIndVar.cpp | 805 BinaryOperator *Shr = cast<BinaryOperator>(U); in strengthenRightShift() local 806 if (!Shr->isExact() && IVRange.getUnsignedMin().uge(*C)) { in strengthenRightShift() 807 Shr->setIsExact(true); in strengthenRightShift()
|
/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/ |
H A D | optimize.c | 787 shift_optimize(e, &Shr); in Expression_optimize()
|
H A D | optimize.d | 991 shift_optimize(e, &Shr); in Expression_optimize()
|
H A D | constfold.c | 644 UnionExp Shr(Loc loc, Type *type, Expression *e1, Expression *e2) in Shr() function
|
H A D | constfold.d | 609 UnionExp Shr(const ref Loc loc, Type type, Expression e1, Expression e2) in Shr() function
|
H A D | dinterpret.c | 3112 case TOKshr: interpretCommon(e, &Shr); return; in visit() 4258 case TOKshrass: interpretAssignCommon(e, &Shr); return; in visit()
|
H A D | dinterpret.d | 3223 interpretCommon(e, &Shr); in visit() 4381 interpretAssignCommon(e, &Shr); in visit()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
H A D | optimize.c | 787 shift_optimize(e, &Shr); in Expression_optimize()
|
H A D | expression.h | 1561 UnionExp Shr(Loc loc, Type *type, Expression *e1, Expression *e2);
|
H A D | constfold.c | 644 UnionExp Shr(Loc loc, Type *type, Expression *e1, Expression *e2) in Shr() function
|
H A D | dinterpret.c | 3112 case TOKshr: interpretCommon(e, &Shr); return; in visit() 4258 case TOKshrass: interpretAssignCommon(e, &Shr); return; in visit()
|
/netbsd/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
H A D | Interp.h | 896 inline bool Shr(InterpState &S, CodePtr OpPC) { in Shr() function
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 1537 auto Shr = MIRBuilder.buildLShr(SrcTy, SrcReg, ShiftAmt); in widenScalarUnmergeValues() local 1538 MIRBuilder.buildTrunc(MI.getOperand(I), Shr); in widenScalarUnmergeValues() 6400 auto Shr = MIRBuilder.buildLShr(SrcIntTy, Src, ShiftAmt); in lowerExtract() local 6401 MIRBuilder.buildTrunc(Dst, Shr); in lowerExtract()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULegalizerInfo.cpp | 2005 auto Shr = B.buildAShr(S64, FractMask, Exp); in legalizeIntrinsicTrunc() local 2006 auto Not = B.buildNot(S64, Shr); in legalizeIntrinsicTrunc()
|
H A D | AMDGPUISelLowering.cpp | 2183 SDValue Shr = DAG.getNode(ISD::SRA, SL, MVT::i64, FractMask, Exp); in LowerFTRUNC() local 2184 SDValue Not = DAG.getNOT(SL, Shr, MVT::i64); in LowerFTRUNC()
|
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 812 HANDLEBINOP(Shr) 4863 COMPOUND_OP(Shr); in EmitCompoundAssignmentLValue()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeDAG.cpp | 2401 SDValue Shr = DAG.getNode(ISD::SRL, dl, SrcVT, Op0, ShiftConst); in ExpandLegalINT_TO_FP() local 2404 SDValue Or = DAG.getNode(ISD::OR, dl, SrcVT, And, Shr); in ExpandLegalINT_TO_FP()
|
H A D | DAGCombiner.cpp | 22344 SDValue Shr = DAG.getNode(ISD::SRA, SDLoc(N0), VT, Shl, ShrAmt); in SimplifySelectCC() local 22346 return DAG.getNode(ISD::AND, DL, VT, Shr, N3); in SimplifySelectCC()
|
/netbsd/external/apache2/llvm/dist/llvm/docs/ |
H A D | CodingStandards.rst | 1172 assert((Opcode == Shl || Opcode == Shr) && "ShiftInst Opcode invalid!");
|