/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 57 Value *DividendSign = Builder.CreateAShr(Dividend, Shift); in generateSignedRemainderCode() 58 Value *DivisorSign = Builder.CreateAShr(Divisor, Shift); in generateSignedRemainderCode() 130 Value *Tmp = Builder.CreateAShr(Dividend, Shift); in generateSignedDivisionCode() 131 Value *Tmp1 = Builder.CreateAShr(Divisor, Shift); in generateSignedDivisionCode() 315 Value *Tmp10 = Builder.CreateAShr(Tmp9, MSB); in generateUnsignedDivisionCode()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | NoFolder.h | 128 Instruction *CreateAShr(Constant *LHS, Constant *RHS, 131 return BinaryOperator::CreateAShr(LHS, RHS);
|
H A D | FixedPointBuilder.h | 62 ? B.CreateAShr(Result, SrcScale - DstScale, "downscale") in Convert() 365 return LHSSema.isSigned() ? B.CreateAShr(LHS, RHS) : B.CreateLShr(LHS, RHS); in CreateShr()
|
H A D | IRBuilderFolder.h | 53 virtual Value *CreateAShr(Constant *LHS, Constant *RHS,
|
H A D | ConstantFolder.h | 101 Constant *CreateAShr(Constant *LHS, Constant *RHS,
|
H A D | IRBuilder.h | 1320 Value *CreateAShr(Value *LHS, Value *RHS, const Twine &Name = "", 1324 return Insert(Folder.CreateAShr(LC, RC, isExact), Name); 1326 return Insert(BinaryOperator::CreateAShr(LHS, RHS), Name); 1330 Value *CreateAShr(Value *LHS, const APInt &RHS, const Twine &Name = "", 1332 return CreateAShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact); 1335 Value *CreateAShr(Value *LHS, uint64_t RHS, const Twine &Name = "", 1337 return CreateAShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 1135 Value *AShr = Builder.CreateAShr(X, NewShAmt); in visitLShr() 1295 auto *NewAShr = BinaryOperator::CreateAShr(X, ShiftDiff); in visitAShr() 1314 return BinaryOperator::CreateAShr(X, ConstantInt::get(Ty, AmtSum)); in visitAShr() 1322 Value *NewSh = Builder.CreateAShr(X, ConstantInt::get(SrcTy, ShAmt)); in visitAShr() 1352 auto *NewAShr = Builder.CreateAShr(X, Op1, Op0->getName() + ".not"); in visitAShr()
|
H A D | InstCombineCasts.cpp | 840 : BinaryOperator::CreateAShr(A, ShAmt); in visitTrunc() 848 Value *Shift = Builder.CreateAShr(A, ShAmt, "", IsExact); in visitTrunc() 869 ? Builder.CreateAShr(A, ShAmt, OldShift->getName(), IsExact) in visitTrunc() 1334 Value *In = Builder.CreateAShr(Op0, Sh, Op0->getName() + ".lobit"); in transformSExtICmp() 1387 In = Builder.CreateAShr(In, ConstantInt::get(In->getType(), in transformSExtICmp() 1494 return BinaryOperator::CreateAShr(Builder.CreateShl(Res, ShAmt, "sext"), in visitSExt() 1506 return BinaryOperator::CreateAShr(Builder.CreateShl(X, ShAmt), ShAmt); in visitSExt() 1540 return BinaryOperator::CreateAShr(A, NewShAmt); in visitSExt()
|
H A D | InstCombineNegator.cpp | 195 : Builder.CreateAShr(I->getOperand(0), I->getOperand(1)); in visitImpl()
|
H A D | InstCombineMulDivRem.cpp | 361 return BinaryOperator::CreateAnd(Builder.CreateAShr(X, *C), Op1); in visitMul() 363 return BinaryOperator::CreateAnd(Builder.CreateAShr(X, *C), Op0); in visitMul()
|
H A D | InstCombineAddSub.cpp | 961 return BinaryOperator::CreateAShr(NewShl, ShAmtC); in foldAddWithConstant() 1240 auto *NewAShr = BinaryOperator::CreateAShr(X, LowBitsToSkip, in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
|
H A D | InstCombineSimplifyDemanded.cpp | 1056 BinaryOperator::CreateAShr(VarX, Amt); in simplifyShrShlDemandedBits()
|
H A D | InstCombineAndOrXor.cpp | 3370 return BinaryOperator::CreateAShr(X, Y); in visitXor() 3395 return BinaryOperator::CreateAShr(ConstantExpr::getNot(C), Y); in visitXor()
|
H A D | InstCombineSelect.cpp | 577 return Builder.CreateAShr(X, Y, IC->getName(), IsExact); in foldSelectICmpLshrAshr()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86InstCombineIntrinsic.cpp | 220 : Builder.CreateAShr(Vec, Amt)); in simplifyX86immShift() 226 return Builder.CreateAShr(Vec, Builder.CreateVectorSplat(VWidth, Amt)); in simplifyX86immShift() 247 : Builder.CreateAShr(Vec, Amt)); in simplifyX86immShift() 295 return Builder.CreateAShr(Vec, ShiftVec); in simplifyX86immShift() 363 : Builder.CreateAShr(Vec, Amt)); in simplifyX86varShift() 435 return Builder.CreateAShr(Vec, ShiftVec); in simplifyX86varShift()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCodeGenPrepare.cpp | 885 JQ = Builder.CreateAShr(JQ, Builder.getInt32(30)); in expandDivRem24Impl() 956 Res = Builder.CreateAShr(Res, InRegBits); in expandDivRem24Impl() 1010 return Builder.CreateAShr(V, Builder.getInt32(31)); in getSign32()
|
H A D | AMDGPUInstCombineIntrinsic.cpp | 452 Value *RightShift = Signed ? IC.Builder.CreateAShr(Shl, IntSize - Width) in instCombineIntrinsic() 458 Value *RightShift = Signed ? IC.Builder.CreateAShr(Src, Offset) in instCombineIntrinsic()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | TargetFolder.h | 98 Constant *CreateAShr(Constant *LHS, Constant *RHS,
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | HWAddressSanitizer.cpp | 1065 StackBaseTag = IRB.CreateAShr(ThreadLong, 3); in emitPrologue() 1102 IRB.CreateShl(IRB.CreateAShr(ThreadLong, 56), 12, "", true, true), in emitPrologue()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | LoopIdiomRecognize.cpp | 1878 InitXNext = Builder.CreateAShr(InitX, 1); in transformLoopToCountable()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 937 Value *ByteIndex = CGF.Builder.CreateAShr( in EmitBitTestIntrinsic() 5397 return Builder.CreateAShr(Vec, Shift, name); in EmitNeonRShiftImm() 6824 Ops[0] = Builder.CreateAShr(Ops[0], Ops[1]); in EmitCommonNeonBuiltinExpr() 7960 return Unsigned ? Builder.CreateLShr(V, Shift) : Builder.CreateAShr(V, Shift); in MVEImmediateShr() 10267 return Builder.CreateAShr( in EmitAArch64BuiltinExpr() 10283 Ops[1] = Builder.CreateAShr( in EmitAArch64BuiltinExpr() 12117 LHS = CGF.Builder.CreateAShr(LHS, ShiftAmt); in EmitX86Muldq() 12119 RHS = CGF.Builder.CreateAShr(RHS, ShiftAmt); in EmitX86Muldq() 14578 HigherBits = Builder.CreateAShr(MulResult, 64); in EmitX86BuiltinExpr()
|
H A D | CGExpr.cpp | 1974 Val = Builder.CreateAShr(Val, Offset + HighBits, "bf.ashr"); in EmitLoadOfBitfieldLValue() 2235 ResultVal = Builder.CreateAShr(ResultVal, HighBits, "bf.result.ashr"); in EmitStoreThroughBitfieldLValue()
|
H A D | ItaniumCXXABI.cpp | 648 Adj = Builder.CreateAShr(Adj, ptrdiff_1, "memptr.adj.shifted"); in EmitLoadOfMemberFunctionPointer()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 1445 LHS = Builder.CreateAShr(LHS, ShiftAmt); in upgradePMULDQ() 1447 RHS = Builder.CreateAShr(RHS, ShiftAmt); in upgradePMULDQ()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 1882 InsertedShift = BinaryOperator::CreateAShr(ShiftI->getOperand(0), CI, in SinkShiftAndTruncate() 1983 InsertedShift = BinaryOperator::CreateAShr(ShiftI->getOperand(0), CI, in OptimizeExtractBits()
|