Home
last modified time | relevance | path

Searched refs:CreateBinaryIntrinsic (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp112 B.CreateBinaryIntrinsic(Intrinsic::sadd_with_overflow, LHS, RHS); in generateCreationChecksForBinOp()
117 B.CreateBinaryIntrinsic(Intrinsic::uadd_with_overflow, LHS, RHS); in generateCreationChecksForBinOp()
125 B.CreateBinaryIntrinsic(Intrinsic::ssub_with_overflow, LHS, RHS); in generateCreationChecksForBinOp()
130 B.CreateBinaryIntrinsic(Intrinsic::usub_with_overflow, LHS, RHS); in generateCreationChecksForBinOp()
138 B.CreateBinaryIntrinsic(Intrinsic::smul_with_overflow, LHS, RHS); in generateCreationChecksForBinOp()
143 B.CreateBinaryIntrinsic(Intrinsic::umul_with_overflow, LHS, RHS); in generateCreationChecksForBinOp()
H A DMemorySanitizer.cpp5185 Value *SrcSize = IRB.CreateBinaryIntrinsic( in finalizeInstrumentation()
5300 Value *SrcSize = IRB.CreateBinaryIntrinsic( in finalizeInstrumentation()
5471 Value *SrcSize = IRB.CreateBinaryIntrinsic( in finalizeInstrumentation()
5684 Value *SrcSize = IRB.CreateBinaryIntrinsic( in finalizeInstrumentation()
5974 Value *SrcSize = IRB.CreateBinaryIntrinsic( in finalizeInstrumentation()
H A DAddressSanitizer.cpp1642 EVL = IB.CreateBinaryIntrinsic(Intrinsic::umin, EVL, EC); in instrumentMaskedLoadOrStore()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp460 Builder.CreateBinaryIntrinsic(Intrinsic::smax, Reduction, Start); in expandPredicationInReduction()
465 Builder.CreateBinaryIntrinsic(Intrinsic::smin, Reduction, Start); in expandPredicationInReduction()
470 Builder.CreateBinaryIntrinsic(Intrinsic::umax, Reduction, Start); in expandPredicationInReduction()
475 Builder.CreateBinaryIntrinsic(Intrinsic::umin, Reduction, Start); in expandPredicationInReduction()
481 Builder.CreateBinaryIntrinsic(Intrinsic::maxnum, Reduction, Start); in expandPredicationInReduction()
487 Builder.CreateBinaryIntrinsic(Intrinsic::minnum, Reduction, Start); in expandPredicationInReduction()
493 Builder.CreateBinaryIntrinsic(Intrinsic::maximum, Reduction, Start); in expandPredicationInReduction()
499 Builder.CreateBinaryIntrinsic(Intrinsic::minimum, Reduction, Start); in expandPredicationInReduction()
H A DCodeGenPrepare.cpp1617 Value *MathOV = Builder.CreateBinaryIntrinsic(IID, Arg0, Arg1); in replaceMathCmpWithIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp527 IC.Builder.CreateBinaryIntrinsic(Intrinsic::cttz, Zext, Op1); in foldCttzCtlz()
534 auto *Cttz = IC.Builder.CreateBinaryIntrinsic(Intrinsic::cttz, X, in foldCttzCtlz()
554 IC.Builder.CreateBinaryIntrinsic(Intrinsic::cttz, C, Op1); in foldCttzCtlz()
562 IC.Builder.CreateBinaryIntrinsic(Intrinsic::cttz, C, Op1); in foldCttzCtlz()
577 IC.Builder.CreateBinaryIntrinsic(Intrinsic::ctlz, C, Op1); in foldCttzCtlz()
585 IC.Builder.CreateBinaryIntrinsic(Intrinsic::ctlz, C, Op1); in foldCttzCtlz()
1116 Value *NewMinMax = Builder.CreateBinaryIntrinsic(MinMaxID, X, NewMinMaxC); in moveAddAfterMinMax()
1281 Value *NewInner = Builder.CreateBinaryIntrinsic(MinMaxID, X, Y); in reassociateMinMaxWithConstantInOperand()
1491 return Builder.CreateBinaryIntrinsic( in foldMinimumOverTrailingOrLeadingZeroCount()
1679 Builder.CreateBinaryIntrinsic(Intrinsic::abs, X, Builder.getFalse()); in visitCallInst()
[all …]
H A DInstCombineSelect.cpp925 return Builder.CreateBinaryIntrinsic(Intrinsic::usub_sat, A, in canonicalizeSaturatedSubtract()
964 Value *Result = Builder.CreateBinaryIntrinsic(Intrinsic::usub_sat, A, B); in canonicalizeSaturatedSubtract()
985 return Builder.CreateBinaryIntrinsic( in canonicalizeSaturatedAdd()
1014 return Builder.CreateBinaryIntrinsic(Intrinsic::uadd_sat, X, Y); in canonicalizeSaturatedAdd()
1024 return Builder.CreateBinaryIntrinsic( in canonicalizeSaturatedAdd()
1034 return Builder.CreateBinaryIntrinsic(Intrinsic::uadd_sat, Cmp1, Y); in canonicalizeSaturatedAdd()
1075 return Builder.CreateBinaryIntrinsic(Intrinsic::abs, TI, Builder.getTrue()); in foldAbsDiff()
1213 IC.Builder.CreateBinaryIntrinsic(Intrinsic::abs, LHS, IntMinIsPoisonC); in canonicalizeSPF()
1238 return IC.Builder.CreateBinaryIntrinsic(IntrinsicID, LHS, RHS); in canonicalizeSPF()
1682 return Builder.CreateBinaryIntrinsic(Intrinsic::umax, V, TVal); in foldSelectInstWithICmpConst()
[all …]
H A DInstCombineMulDivRem.cpp340 I, Builder.CreateBinaryIntrinsic(Intrinsic::abs, in visitMul()
521 Value *Abs = Builder.CreateBinaryIntrinsic( in visitMul()
797 Value *Pow = Builder.CreateBinaryIntrinsic(Intrinsic::pow, X, Y1, &I); in foldFMulReassoc()
809 auto *NewPow = Builder.CreateBinaryIntrinsic(Intrinsic::pow, X, YZ, &I); in foldFMulReassoc()
816 auto *NewPow = Builder.CreateBinaryIntrinsic(Intrinsic::pow, XZ, Y, &I); in foldFMulReassoc()
1462 return Builder.CreateBinaryIntrinsic(MinMax->getIntrinsicID(), LogX, in takeLog2()
1974 Value *V = Builder.CreateBinaryIntrinsic( in visitFDiv()
1991 Value *Pow = Builder.CreateBinaryIntrinsic(Intrinsic::pow, Op1, Y1, &I); in visitFDiv()
H A DInstCombineAddSub.cpp2658 Builder.CreateBinaryIntrinsic(Intrinsic::abs, Sub, Builder.getTrue()); in visitSub()
H A DInstructionCombining.cpp2615 return Builder->CreateBinaryIntrinsic( in getFreelyInvertedImpl()
H A DInstCombineAndOrXor.cpp4576 Value *InvMaxMin = Builder.CreateBinaryIntrinsic(InvID, X, NotY); in foldNot()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFixedPointBuilder.h239 Result = B.CreateBinaryIntrinsic(IID, WideLHS, WideRHS); in CreateAdd()
265 Result = B.CreateBinaryIntrinsic(IID, WideLHS, WideRHS); in CreateSub()
351 Result = B.CreateBinaryIntrinsic(IID, LHS, RHS); in CreateShl()
H A DIRBuilder.h968 Value *CreateBinaryIntrinsic(Intrinsic::ID ID, Value *LHS, Value *RHS,
995 return CreateBinaryIntrinsic(Intrinsic::minnum, LHS, RHS, nullptr, Name);
1005 return CreateBinaryIntrinsic(Intrinsic::maxnum, LHS, RHS, nullptr, Name);
1010 return CreateBinaryIntrinsic(Intrinsic::minimum, LHS, RHS, nullptr, Name);
1015 return CreateBinaryIntrinsic(Intrinsic::maximum, LHS, RHS, nullptr, Name);
1022 return CreateBinaryIntrinsic(Intrinsic::copysign, LHS, RHS, FMFSource,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp595 MM->replaceAllUsesWith(B.CreateBinaryIntrinsic( in processMinMaxIntrinsic()
H A DLICM.cpp2464 Value *NewRHS = Builder.CreateBinaryIntrinsic( in hoistMinMax()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp922 Value *IRBuilderBase::CreateBinaryIntrinsic(Intrinsic::ID ID, Value *LHS, in CreateBinaryIntrinsic() function in IRBuilderBase
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp970 return B.CreateBinaryIntrinsic(Intrinsic::umin, LenC, Bound); in optimizeStringLength()
2475 return copyFlags(*CI, B.CreateBinaryIntrinsic(IID, CI->getArgOperand(0), in optimizeFMinFMax()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp16730 return Builder.CreateBinaryIntrinsic(Intrinsic::maxnum, LHS, RHS); in createOp()
16732 return Builder.CreateBinaryIntrinsic(Intrinsic::minnum, LHS, RHS); in createOp()
16734 return Builder.CreateBinaryIntrinsic(Intrinsic::maximum, LHS, RHS); in createOp()
16736 return Builder.CreateBinaryIntrinsic(Intrinsic::minimum, LHS, RHS); in createOp()
16742 return Builder.CreateBinaryIntrinsic(Intrinsic::smax, LHS, RHS); in createOp()
16748 return Builder.CreateBinaryIntrinsic(Intrinsic::smin, LHS, RHS); in createOp()
16754 return Builder.CreateBinaryIntrinsic(Intrinsic::umax, LHS, RHS); in createOp()
16760 return Builder.CreateBinaryIntrinsic(Intrinsic::umin, LHS, RHS); in createOp()
H A DLoopVectorize.cpp2484 return Builder.CreateBinaryIntrinsic( in emitIterationCountCheck()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp2021 return CGF.Builder.CreateBinaryIntrinsic( in EmitAbs()
2039 Value *ResultAndOverflow = CGF.Builder.CreateBinaryIntrinsic( in EmitOverflowCheckedAbs()
3785 Result = Builder.CreateBinaryIntrinsic( in EmitBuiltinExpr()
3888 Result = Builder.CreateBinaryIntrinsic(Opc, Op0, Op1, nullptr, "elt.sat"); in EmitBuiltinExpr()
3900 Result = Builder.CreateBinaryIntrinsic(Ty->isSignedIntegerType() in EmitBuiltinExpr()
3916 Result = Builder.CreateBinaryIntrinsic(Ty->isSignedIntegerType() in EmitBuiltinExpr()