Home
last modified time | relevance | path

Searched refs:Shr (Results 1 – 25 of 34) sorted by relevance

12

/external/clang/test/FixIt/
Dfixit.cpp276 struct Shr { struct
277 template<typename T> Shr(T);
289 (Shr)&t<S<int>>>>=p; // expected-error {{use '> >'}} in g()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp558 Instruction *Shr = cast<Instruction>(I->getOperand(0)); in SimplifyDemandedUseBits() local
559 Value *R = SimplifyShrShlDemandedBits(Shr, I, DemandedMask, in SimplifyDemandedUseBits()
831 Value *InstCombiner::SimplifyShrShlDemandedBits(Instruction *Shr, in SimplifyShrShlDemandedBits() argument
838 const APInt &ShrOp1 = cast<ConstantInt>(Shr->getOperand(1))->getValue(); in SimplifyShrShlDemandedBits()
842 Value *VarX = Shr->getOperand(0); in SimplifyShrShlDemandedBits()
858 bool isLshr = (Shr->getOpcode() == Instruction::LShr); in SimplifyShrShlDemandedBits()
874 if (!Shr->hasOneUse()) in SimplifyShrShlDemandedBits()
888 if (cast<BinaryOperator>(Shr)->isExact()) in SimplifyShrShlDemandedBits()
DInstCombineCompares.cpp1342 Instruction *InstCombiner::FoldICmpShrCst(ICmpInst &ICI, BinaryOperator *Shr, in FoldICmpShrCst() argument
1357 if (ICI.isSigned() != (Shr->getOpcode() == Instruction::AShr)) in FoldICmpShrCst()
1363 if (Shr->getOpcode() == Instruction::AShr && in FoldICmpShrCst()
1364 (!Shr->isExact() || ShAmtVal == TypeBits - 1)) in FoldICmpShrCst()
1368 Worklist.Add(Shr); in FoldICmpShrCst()
1371 ConstantInt::get(Shr->getType(), APInt::getOneBitSet(TypeBits, ShAmtVal)); in FoldICmpShrCst()
1374 Shr->getOpcode() == Instruction::AShr ? in FoldICmpShrCst()
1375 Builder->CreateSDiv(Shr->getOperand(0), DivCst, "", Shr->isExact()) : in FoldICmpShrCst()
1376 Builder->CreateUDiv(Shr->getOperand(0), DivCst, "", Shr->isExact()); in FoldICmpShrCst()
1398 if (Shr->getOpcode() == Instruction::LShr) in FoldICmpShrCst()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp902 Instruction *InstCombiner::FoldICmpShrCst(ICmpInst &ICI, BinaryOperator *Shr, in FoldICmpShrCst() argument
917 if (ICI.isSigned() != (Shr->getOpcode() == Instruction::AShr)) in FoldICmpShrCst()
923 if (Shr->getOpcode() == Instruction::AShr && in FoldICmpShrCst()
924 (!Shr->isExact() || ShAmtVal == TypeBits - 1)) in FoldICmpShrCst()
928 Worklist.Add(Shr); in FoldICmpShrCst()
931 ConstantInt::get(Shr->getType(), APInt::getOneBitSet(TypeBits, ShAmtVal)); in FoldICmpShrCst()
934 Shr->getOpcode() == Instruction::AShr ? in FoldICmpShrCst()
935 Builder->CreateSDiv(Shr->getOperand(0), DivCst, "", Shr->isExact()) : in FoldICmpShrCst()
936 Builder->CreateUDiv(Shr->getOperand(0), DivCst, "", Shr->isExact()); in FoldICmpShrCst()
959 if (Shr->getOpcode() == Instruction::LShr) in FoldICmpShrCst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp450 if (Instruction *Shr = dyn_cast<Instruction>(I->getOperand(0))) in SimplifyDemandedUseBits() local
451 if (Value *R = simplifyShrShlDemandedBits(Shr, *ShrAmt, I, *SA, in SimplifyDemandedUseBits()
860 InstCombiner::simplifyShrShlDemandedBits(Instruction *Shr, const APInt &ShrOp1, in simplifyShrShlDemandedBits() argument
867 Value *VarX = Shr->getOperand(0); in simplifyShrShlDemandedBits()
883 bool isLshr = (Shr->getOpcode() == Instruction::LShr); in simplifyShrShlDemandedBits()
899 if (!Shr->hasOneUse()) in simplifyShrShlDemandedBits()
913 if (cast<BinaryOperator>(Shr)->isExact()) in simplifyShrShlDemandedBits()
DInstCombineCompares.cpp1986 BinaryOperator *Shr, in foldICmpShrConstant() argument
1990 Value *X = Shr->getOperand(0); in foldICmpShrConstant()
1992 if (Cmp.isEquality() && Shr->isExact() && Shr->hasOneUse() && in foldICmpShrConstant()
1997 if (Cmp.isEquality() && match(Shr->getOperand(0), m_APInt(ShiftVal))) in foldICmpShrConstant()
1998 return foldICmpShrConstConst(Cmp, Shr->getOperand(1), C, *ShiftVal); in foldICmpShrConstant()
2001 if (!match(Shr->getOperand(1), m_APInt(ShiftAmt))) in foldICmpShrConstant()
2011 bool IsAShr = Shr->getOpcode() == Instruction::AShr; in foldICmpShrConstant()
2012 bool IsExact = Shr->isExact(); in foldICmpShrConstant()
2013 Type *ShrTy = Shr->getType(); in foldICmpShrConstant()
2063 if (Shr->isExact()) in foldICmpShrConstant()
[all …]
DInstCombineInternal.h757 Instruction *Shr, const APInt &ShrOp1, Instruction *Shl,
844 Instruction *foldICmpShrConstant(ICmpInst &Cmp, BinaryOperator *Shr,
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCExpr.h304 Shr, ///< Shift right (arithmetic or logical, depending on target) enumerator
384 return Create(Shr, LHS, RHS, Ctx); in CreateShr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp798 BinaryOperator *Shr = cast<BinaryOperator>(U); in strengthenRightShift() local
799 if (!Shr->isExact() && IVRange.getUnsignedMin().uge(*C)) { in strengthenRightShift()
800 Shr->setIsExact(true); in strengthenRightShift()
/external/swiftshader/third_party/LLVM/lib/MC/
DMCExpr.cpp120 case MCBinaryExpr::Shr: OS << ">>"; break; in print()
550 case MCBinaryExpr::Shr: Result = LHS >> RHS; break; in EvaluateAsRelocatableImpl()
/external/v8/src/wasm/
Dwasm-opcodes.cc95 CASE_SIGN_OP(INT, Shr, "shr") in OpcodeName()
237 CASE_SIGN_OP(SIMDI, Shr, "shr") in OpcodeName()
/external/clang/include/clang/AST/
DStmtVisitor.h126 BINOP_FALLBACK(Shr) in BINOP_FALLBACK()
DOperationKinds.def344 BINARY_OPERATION(Shr, ">>")
DRecursiveASTVisitor.h53 OPERATOR(Rem) OPERATOR(Add) OPERATOR(Sub) OPERATOR(Shl) OPERATOR(Shr) \
61 OPERATOR(Shl) OPERATOR(Shr) OPERATOR(And) OPERATOR(Or) OPERATOR(Xor)
/external/icu/icu4c/source/data/curr/
Dga.txt567 "Rúipí Shrí Lanca",
2183 few{"rúipí Shrí Lanca"}
2184 many{"rúipí Shrí Lanca"}
2185 one{"rúipí Shrí Lanca"}
2186 other{"rúipí Shrí Lanca"}
2187 two{"rúipí Shrí Lanca"}
/external/v8/src/compiler/
Dmachine-operator.h707 V(Word, Shr) \ in NON_EXPORTED_BASE()
/external/icu/icu4c/source/data/locales/
Dsv.txt1304 "Shrāvana",
1318 "Shrāvana",
/external/swiftshader/third_party/subzero/src/
DIceInstX86Base.h176 Shr, enumerator
2111 class InstX86Shr : public InstX86BaseBinopGPRShift<InstX86Base::Shr> {
2119 : InstX86BaseBinopGPRShift<InstX86Base::Shr>(Func, Dest, Source) {} in InstX86Shr()
3264 using Shr = typename InstImpl<TraitsType>::InstX86Shr; member
DIceTargetLoweringX86Base.h953 Context.insert<typename Traits::Insts::Shr>(Dest, Src0); in _shr()
/external/honggfuzz/examples/apache-httpd/corpus_http1/
D31b9e3359336643bde24526a63007a77.00005f9d.honggfuzz.cov128 ���:�搣�+��|�.���_��ewi������:�>i�F��Shr��F0л ����+�ӃO1a�6�!���`%�p�>^uk6P$�RD�^��o3\��W…
/external/honggfuzz/examples/apache-httpd/corpus_http2/
D31b9e3359336643bde24526a63007a77.00005f9d.honggfuzz.cov128 ���:�搣�+��|�.���_��ewi������:�>i�F��Shr��F0л ����+�ӃO1a�6�!���`%�p�>^uk6P$�RD�^��o3\��W…
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
DAsmParser.cpp878 Kind = MCBinaryExpr::Shr; in getBinOpPrecedence()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp1674 SDValue Shr = DAG.getNode(ISD::SRA, SL, MVT::i64, FractMask, Exp); in LowerFTRUNC() local
1675 SDValue Not = DAG.getNOT(SL, Shr, MVT::i64); in LowerFTRUNC()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp519 HANDLEBINOP(Shr)
3512 COMPOUND_OP(Shr); in EmitCompoundAssignmentLValue()
/external/icu/icu4c/source/data/zone/
Dga.txt1678 ls{"Am Shrí Lanca"}

12