Home
last modified time | relevance | path

Searched refs:FDiv (Results 1 – 25 of 196) sorted by relevance

12345678

/external/llvm/unittests/IR/
DIRBuilderTest.cpp134 Instruction *FDiv, *FAdd, *FCmp, *FCall; in TEST_F() local
170 FDiv = cast<Instruction>(F); in TEST_F()
171 EXPECT_TRUE(FDiv->hasAllowReciprocal()); in TEST_F()
177 FDiv = cast<Instruction>(F); in TEST_F()
178 EXPECT_FALSE(FDiv->hasAllowReciprocal()); in TEST_F()
188 FDiv = cast<Instruction>(F); in TEST_F()
189 EXPECT_TRUE(FDiv->hasAllowReciprocal()); in TEST_F()
244 FDiv = cast<Instruction>(F); in TEST_F()
245 EXPECT_FALSE(FDiv->getFastMathFlags().any()); in TEST_F()
246 FDiv->setHasAllowReciprocal(true); in TEST_F()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dspv.matrix.frag.out131 71: 7(fvec4) FDiv 69 70
134 74: 7(fvec4) FDiv 72 73
137 77: 7(fvec4) FDiv 75 76
142 82: 6(float) FDiv 81 80
160 99: 7(fvec4) FDiv 97 98
162 101: 7(fvec4) FDiv 97 100
164 103: 7(fvec4) FDiv 97 102
Dspv.specConstant.vert.out101 42:38(float64_t) FDiv 39(spDouble) 41
132 70:38(float64_t) FDiv 67(spDupDouble) 69
Dspv.specConst.vert.out52 21: 7(fvec4) FDiv 17 20
Dspv.test.frag.out73 26: 18(fvec2) FDiv 24 25
Dspv.double.comp.out93 44: 40(fvec2) FDiv 41 43
Dspv.discard-dce.frag.out117 78: 6(float) FDiv 77 27
/external/deqp-deps/glslang/Test/baseResults/
Dspv.matrix.frag.out131 71: 7(fvec4) FDiv 69 70
134 74: 7(fvec4) FDiv 72 73
137 77: 7(fvec4) FDiv 75 76
142 82: 6(float) FDiv 81 80
160 99: 7(fvec4) FDiv 97 98
162 101: 7(fvec4) FDiv 97 100
164 103: 7(fvec4) FDiv 97 102
Dspv.specConstant.vert.out101 42:38(float64_t) FDiv 39(spDouble) 41
132 70:38(float64_t) FDiv 67(spDupDouble) 69
Dspv.specConst.vert.out52 21: 7(fvec4) FDiv 17 20
Dspv.test.frag.out73 26: 18(fvec2) FDiv 24 25
Dspv.double.comp.out93 44: 40(fvec2) FDiv 41 43
Dspv.discard-dce.frag.out117 78: 6(float) FDiv 77 27
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp545 bool AMDGPUCodeGenPrepare::visitFDiv(BinaryOperator &FDiv) { in visitFDiv() argument
546 Type *Ty = FDiv.getType(); in visitFDiv()
551 MDNode *FPMath = FDiv.getMetadata(LLVMContext::MD_fpmath); in visitFDiv()
555 const FPMathOperator *FPOp = cast<const FPMathOperator>(&FDiv); in visitFDiv()
568 IRBuilder<> Builder(FDiv.getParent(), std::next(FDiv.getIterator()), FPMath); in visitFDiv()
570 Builder.SetCurrentDebugLocation(FDiv.getDebugLoc()); in visitFDiv()
574 Value *Num = FDiv.getOperand(0); in visitFDiv()
575 Value *Den = FDiv.getOperand(1); in visitFDiv()
603 FDiv.replaceAllUsesWith(NewFDiv); in visitFDiv()
604 NewFDiv->takeName(&FDiv); in visitFDiv()
[all …]
/external/llvm-project/mlir/test/Dialect/SPIRV/
Darithmetic-ops.mlir16 // spv.FDiv
20 // CHECK: spv.FDiv
21 %0 = spv.FDiv %arg, %arg : f32
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXTargetTransformInfo.cpp271 return {Instruction::FDiv, FTZ_Any}; in simplifyNvvmIntrinsic()
273 return {Instruction::FDiv, FTZ_MustBeOff}; in simplifyNvvmIntrinsic()
275 return {Instruction::FDiv, FTZ_MustBeOn}; in simplifyNvvmIntrinsic()
357 Instruction::FDiv, ConstantFP::get(II->getArgOperand(0)->getType(), 1), in simplifyNvvmIntrinsic()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp760 bool AMDGPUCodeGenPrepare::visitFDiv(BinaryOperator &FDiv) { in visitFDiv() argument
762 Type *Ty = FDiv.getType()->getScalarType(); in visitFDiv()
768 const FPMathOperator *FPOp = cast<const FPMathOperator>(&FDiv); in visitFDiv()
781 IRBuilder<> Builder(FDiv.getParent(), std::next(FDiv.getIterator())); in visitFDiv()
783 Builder.SetCurrentDebugLocation(FDiv.getDebugLoc()); in visitFDiv()
785 Value *Num = FDiv.getOperand(0); in visitFDiv()
786 Value *Den = FDiv.getOperand(1); in visitFDiv()
789 if (auto *VT = dyn_cast<FixedVectorType>(FDiv.getType())) { in visitFDiv()
819 FDiv.replaceAllUsesWith(NewFDiv); in visitFDiv()
820 NewFDiv->takeName(&FDiv); in visitFDiv()
[all …]
/external/llvm-project/llvm/unittests/IR/
DIRBuilderTest.cpp467 Instruction *FDiv, *FAdd, *FCmp, *FCall; in TEST_F() local
526 FDiv = cast<Instruction>(F); in TEST_F()
527 EXPECT_TRUE(FDiv->hasAllowReciprocal()); in TEST_F()
534 FDiv = cast<Instruction>(F); in TEST_F()
535 EXPECT_FALSE(FDiv->hasAllowReciprocal()); in TEST_F()
546 FDiv = cast<Instruction>(F); in TEST_F()
547 EXPECT_TRUE(FDiv->hasAllowReciprocal()); in TEST_F()
639 FDiv = cast<Instruction>(F); in TEST_F()
640 EXPECT_FALSE(FDiv->getFastMathFlags().any()); in TEST_F()
641 FDiv->setHasAllowReciprocal(true); in TEST_F()
[all …]
/external/llvm-project/mlir/test/Dialect/SPIRV/Serialization/
Darithmetic-ops.mlir15 // CHECK: {{%.*}} = spv.FDiv {{%.*}}, {{%.*}} : vector<4xf32>
16 %0 = spv.FDiv %arg0, %arg1 : vector<4xf32>
Dcooperative-matrix.mlir90 // CHECK: {{%.*}} = spv.FDiv {{%.*}}, {{%.*}} : !spv.coopmatrix<8x16xf32, Subgroup>
91 %r = spv.FDiv %a, %b : !spv.coopmatrix<8x16xf32, Subgroup>
/external/llvm-project/mlir/test/Conversion/SPIRVToLLVM/
Darithmetic-ops-to-llvm.mlir94 // spv.FDiv
100 %0 = spv.FDiv %arg0, %arg1 : f32
107 %0 = spv.FDiv %arg0, %arg1 : vector<3xf64>
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsOs16.cpp84 case Instruction::FDiv: in needsFP()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsOs16.cpp84 case Instruction::FDiv: in needsFP()
/external/llvm/lib/Target/Mips/
DMipsOs16.cpp87 case Instruction::FDiv: in needsFP()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc606 auto half_exp_neg_b = FDiv(llvm::ConstantFP::get(type, 0.5), exp_b); in EmitComplexUnaryOp()
628 auto half_exp_neg_b = FDiv(llvm::ConstantFP::get(type, 0.5), exp_b); in EmitComplexUnaryOp()
724 Select(is_inf, real_limit, FDiv(real_numerator, denom)); in EmitComplexUnaryOp()
725 llvm::Value* imag = FDiv(imag_numerator, denom); in EmitComplexUnaryOp()
789 EmitComposeComplex(op, FDiv(EmitExtractReal(operand_value), cplx_abs), in EmitComplexUnaryOp()
790 FDiv(EmitExtractImag(operand_value), cplx_abs))); in EmitComplexUnaryOp()
841 return FDiv(lhs_value, rhs_value, op->name()); in EmitFloatBinaryOp()
913 llvm::Value* div = FDiv(min, max); in EmitComplexAbsHelper()
1194 auto b_r_b_i_ratio = FDiv(b_r, b_i); in EmitComplexBinaryOp()
1196 auto b_i_b_r_ratio = FDiv(b_i, b_r); in EmitComplexBinaryOp()
[all …]

12345678