Searched refs:Pow (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 1747 Value *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1); in replacePowWithExp() 1750 Type *Ty = Pow->getType(); in replacePowWithExp() 1829 return copyFlags(*Pow, in replacePowWithExp() 1869 if (Pow->hasApproxFunc() && Pow->hasNoNaNs() && BaseF->isFiniteNonZero() && in replacePowWithExp() 1923 Value *Sqrt, *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1); in replacePowWithSqrt() 1926 Type *Ty = Pow->getType(); in replacePowWithSqrt() 1935 if (ExpoF->isNegative() && (!Pow->hasApproxFunc() && !Pow->hasAllowReassoc())) in replacePowWithSqrt() 1942 if (!Pow->doesNotAccessMemory() && !Pow->hasNoInfs() && in replacePowWithSqrt() 1960 if (!Pow->hasNoInfs()) { in replacePowWithSqrt() 1987 Type *Ty = Pow->getType(); in optimizePow() [all …]
|
| /llvm-project-15.0.7/mlir/test/Target/SPIRV/ |
| H A D | gl-ops.mlir | 25 // CHECK: {{%.*}} = spv.GL.Pow {{%.*}} : f32 26 %11 = spv.GL.Pow %arg0, %arg1 : f32
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/ |
| H A D | gl-ops.mlir | 258 // spv.GL.Pow 262 // CHECK: spv.GL.Pow {{%.*}}, {{%.*}} : f32 263 %2 = spv.GL.Pow %arg0, %arg1 : f32 268 // CHECK: spv.GL.Pow {{%.*}}, {{%.*}} : vector<3xf16> 269 %2 = spv.GL.Pow %arg0, %arg1 : vector<3xf16>
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | SimplifyLibCalls.h | 191 Value *replacePowWithExp(CallInst *Pow, IRBuilderBase &B); 192 Value *replacePowWithSqrt(CallInst *Pow, IRBuilderBase &B);
|
| /llvm-project-15.0.7/mlir/test/Conversion/MathToSPIRV/ |
| H A D | math-to-gl-spirv.mlir | 129 // CHECK: %[[POW:.+]] = spv.GL.Pow %[[ABS]], %[[RHS]] : f32 141 // CHECK: spv.GL.Pow %{{.*}}: vector<4xf32>
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 1317 Value *Pow = Builder.CreateIntrinsic(IID, Tys, Args, &I); in foldFDivPowDivisor() local 1318 return BinaryOperator::CreateFMulFMF(Op0, Pow, &I); in foldFDivPowDivisor() 1327 Value *Pow = Builder.CreateIntrinsic(IID, I.getType(), Args, &I); in foldFDivPowDivisor() local 1328 return BinaryOperator::CreateFMulFMF(Op0, Pow, &I); in foldFDivPowDivisor()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVGLOps.td | 733 def SPV_GLPowOp : SPV_GLBinaryArithmeticOp<"Pow", 26, SPV_Float16or32> { 753 pow-op ::= ssa-id `=` `spv.GL.Pow` ssa-use `:` 759 %2 = spv.GL.Pow %0, %1 : f32 760 %3 = spv.GL.Pow %0, %1 : vector<3xf16>
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/ |
| H A D | FIROps.td | 2471 // Pow is a builtin call and not a primitive
|