| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | IRBuilderTest.cpp | 535 FAdd = cast<Instruction>(F); in TEST_F() 545 FAdd = cast<Instruction>(F); in TEST_F() 555 FAdd->setFast(true); in TEST_F() 572 FAdd = cast<Instruction>(F); in TEST_F() 574 EXPECT_TRUE(FAdd->isFast()); in TEST_F() 580 FAdd = cast<Instruction>(F); in TEST_F() 582 EXPECT_TRUE(FAdd->isFast()); in TEST_F() 633 FAdd = cast<Instruction>(FC); in TEST_F() 652 FAdd = cast<Instruction>(F); in TEST_F() 662 FAdd = cast<Instruction>(F); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAtomicRMW.cpp | 27 case AtomicRMWInst::FAdd: // -0.0 in isIdempotentRMW() 71 case AtomicRMWInst::FAdd: in isSaturating() 150 RMWI.getOperation() != AtomicRMWInst::FAdd) { in visitAtomicRMWInst() 151 RMWI.setOperation(AtomicRMWInst::FAdd); in visitAtomicRMWInst()
|
| H A D | InstCombineAddSub.cpp | 182 Value *simplify(Instruction *FAdd); 355 if (Opcode == Instruction::FAdd || Opcode == Instruction::FSub) { in drillValueDownOneStep() 435 assert((I->getOpcode() == Instruction::FAdd || in simplify() 1488 assert((I.getOpcode() == Instruction::FAdd || in factorizeFAddFSub() 1517 bool IsFAdd = I.getOpcode() == Instruction::FAdd; in factorizeFAddFSub() 1664 Instruction::FAdd, MulC, ConstantFP::get(I.getType(), 1.0), DL)) in visitFAdd() 2399 Value *FAdd = Builder.CreateFAddFMF(X, Op1, &I); in visitFSub() local 2400 return UnaryOperator::CreateFNegFMF(FAdd, &I); in visitFSub() 2508 Value *FAdd = Builder.CreateFAddFMF(Y, Op1, &I); in visitFSub() local 2509 return BinaryOperator::CreateFSubFMF(X, FAdd, &I); in visitFSub()
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/Linking/ModuleCombiner/ |
| H A D | deduplication.mlir | 18 // CHECK-NEXT: spv.FAdd 40 %2 = spv.FAdd %1, %1 : f32 121 // CHECK-NEXT: spv.FAdd 141 %1 = spv.FAdd %0, %0 : f32 152 // CHECK-NEXT: %[[ADD:.+]] = spv.FAdd %[[ARG0]], %[[ARG1]] : f32 157 // CHECK-NEXT: %[[ADD:.+]] = spv.FAdd %[[ARG0]], %[[ARG2]] : f32 165 %add = spv.FAdd %a, %b: f32 173 %add = spv.FAdd %a, %c: f32
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | IVDescriptors.cpp | 187 if (Kind != RecurKind::FAdd && Kind != RecurKind::FMulAdd) in checkOrderedReduction() 190 if (Kind == RecurKind::FAdd && Exit->getOpcode() != Instruction::FAdd) in checkOrderedReduction() 205 if (Kind == RecurKind::FAdd && Op0 != Phi && Op1 != Phi) in checkOrderedReduction() 752 return InstDesc(Kind == RecurKind::FAdd, SI); in isConditionalRdxPattern() 786 case Instruction::FAdd: in isRecurrenceInstr() 787 return InstDesc(Kind == RecurKind::FAdd, I, in isRecurrenceInstr() 790 if (Kind == RecurKind::FAdd || Kind == RecurKind::FMul) in isRecurrenceInstr() 1069 case RecurKind::FAdd: in getRecurrenceIdentity() 1117 case RecurKind::FAdd: in getOpcode() 1118 return Instruction::FAdd; in getOpcode() [all …]
|
| /llvm-project-15.0.7/mlir/test/Target/SPIRV/ |
| H A D | constant.mlir | 129 %6 = spv.FAdd %0, %1 : f32 130 %7 = spv.FAdd %2, %3 : f32 131 %8 = spv.FAdd %4, %5 : f32 143 %2 = spv.FAdd %0, %1 : f64 154 %2 = spv.FAdd %0, %1 : f16 196 %3 = spv.FAdd %0, %1 : vector<4xf32> 197 %4 = spv.FAdd %2, %3 : vector<4xf32>
|
| H A D | arithmetic-ops.mlir | 10 // CHECK: {{%.*}} = spv.FAdd {{%.*}}, {{%.*}} : vector<4xf32> 11 %0 = spv.FAdd %arg0, %arg1 : vector<4xf32>
|
| H A D | undef.mlir | 9 %2 = spv.FAdd %0, %1 : f32
|
| H A D | cooperative-matrix-ops.mlir | 76 // CHECK: {{%.*}} = spv.FAdd {{%.*}}, {{%.*}} : !spv.coopmatrix<8x16xf32, Subgroup> 77 %r = spv.FAdd %a, %b : !spv.coopmatrix<8x16xf32, Subgroup>
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | Float2Int.cpp | 113 case Instruction::FAdd: return Instruction::Add; in mapBinOpcode() 213 case Instruction::FAdd: in walkBackwards() 299 case Instruction::FAdd: in calcRange() 487 case Instruction::FAdd: in convert()
|
| H A D | Reassociate.cpp | 343 if (Opcode == Instruction::Add || Opcode == Instruction::FAdd) { in IncorporateWeight() 850 isReassociableOp(V, Instruction::Add, Instruction::FAdd)) { in NegateValue() 1048 if (isReassociableOp(V0, Instruction::Add, Instruction::FAdd) || in ShouldBreakUpSubtract() 1052 if (isReassociableOp(V1, Instruction::Add, Instruction::FAdd) || in ShouldBreakUpSubtract() 1057 (isReassociableOp(VB, Instruction::Add, Instruction::FAdd) || in ShouldBreakUpSubtract() 2002 case Instruction::FAdd: in OptimizeExpression() 2122 assert((I->getOpcode() == Instruction::FAdd || in canonicalizeNegFPConstantsForOp() 2332 if (BO->hasOneUse() && BO->getOpcode() == Instruction::FAdd && in OptimizeInst() 2390 Instruction::FAdd && in ReassociateExpression()
|
| H A D | SpeculativeExecution.cpp | 240 case Instruction::FAdd: in ComputeSpeculationCost()
|
| /llvm-project-15.0.7/mlir/test/Conversion/MathToSPIRV/ |
| H A D | math-to-gl-spirv.mlir | 20 // CHECK: %[[ADDONE:.+]] = spv.FAdd %[[ONE]], %{{.+}} 53 // CHECK: %[[ADDONE:.+]] = spv.FAdd %[[ONE]], %{{.+}} 158 // CHECK: %[[ADD:.+]] = spv.FAdd %[[FLOOR]], %[[SEL]] 174 // CHECK: %[[ADD:.+]] = spv.FAdd %[[FLOOR]], %[[SEL]]
|
| H A D | math-to-opencl-spirv.mlir | 18 // CHECK: %[[ADDONE:.+]] = spv.FAdd %[[ONE]], %{{.+}} 55 // CHECK: %[[ADDONE:.+]] = spv.FAdd %[[ONE]], %{{.+}}
|
| /llvm-project-15.0.7/mlir/test/Conversion/SPIRVToLLVM/ |
| H A D | arithmetic-ops-to-llvm.mlir | 58 // spv.FAdd 64 %0 = spv.FAdd %arg0, %arg1 : f16 71 %0 = spv.FAdd %arg0, %arg1 : vector<4xf32>
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/ |
| H A D | arithmetic-ops.mlir | 4 // spv.FAdd 8 // CHECK: spv.FAdd 9 %0 = spv.FAdd %arg, %arg : f32
|
| H A D | cooperative-matrix-ops.mlir | 83 // CHECK: {{%.*}} = spv.FAdd {{%.*}}, {{%.*}} : !spv.coopmatrix<8x16xf32, Subgroup> 84 %r = spv.FAdd %a, %b : !spv.coopmatrix<8x16xf32, Subgroup>
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXTargetTransformInfo.cpp | 311 return {Instruction::FAdd, FTZ_Any}; in simplifyNvvmIntrinsic() 313 return {Instruction::FAdd, FTZ_MustBeOff}; in simplifyNvvmIntrinsic() 315 return {Instruction::FAdd, FTZ_MustBeOn}; in simplifyNvvmIntrinsic()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsOs16.cpp | 82 case Instruction::FAdd: in needsFP()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LowerAtomic.cpp | 73 case AtomicRMWInst::FAdd: in buildAtomicRMWValue()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | ExpandReductions.cpp | 32 return Instruction::FAdd; in getOpcode()
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/Transforms/ |
| H A D | unify-aliased-resource.mlir | 46 %value = spv.FAdd %val0, %val1 : f32 128 %add0 = spv.FAdd %val0, %val1 : f32 129 %add1 = spv.FAdd %add0, %val2 : f32
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVArithmeticOps.td | 49 def SPV_FAddOp : SPV_ArithmeticBinaryOp<"FAdd", SPV_Float, [Commutative]> { 64 fadd-op ::= ssa-id `=` `spv.FAdd` ssa-use, ssa-use 70 %4 = spv.FAdd %0, %1 : f32 71 %5 = spv.FAdd %2, %3 : vector<4xf32>
|
| /llvm-project-15.0.7/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 46 Ops.push_back(binOpDescriptor(1, Instruction::FAdd)); in describeFuzzerFloatOps() 111 case Instruction::FAdd: in binOpDescriptor()
|
| /llvm-project-15.0.7/mlir/test/Conversion/SCFToSPIRV/ |
| H A D | for.mlir | 65 // CHECK: %[[UPDATED:.*]] = spv.FAdd %[[CARRIED1]], %[[CARRIED1]] : f32
|