Home
last modified time | relevance | path

Searched refs:FSub (Results 1 – 25 of 89) sorted by relevance

1234

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp29 case AtomicRMWInst::FSub: // +0.0 in isIdempotentRMW()
72 case AtomicRMWInst::FSub: in isSaturating()
H A DInstCombineAddSub.cpp355 if (Opcode == Instruction::FAdd || Opcode == Instruction::FSub) { in drillValueDownOneStep()
378 if (Opcode == Instruction::FSub) in drillValueDownOneStep()
436 I->getOpcode() == Instruction::FSub) && "Expect add/sub"); in simplify()
1489 I.getOpcode() == Instruction::FSub) && "Expecting fadd/fsub"); in factorizeFAddFSub()
2460 Instruction::FSub, C, ConstantFP::get(Ty, 1.0), DL)) in visitFSub()
2466 Instruction::FSub, ConstantFP::get(Ty, 1.0), C, DL)) in visitFSub()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp114 case Instruction::FSub: return Instruction::Sub; in mapBinOpcode()
214 case Instruction::FSub: in walkBackwards()
300 case Instruction::FSub: in calcRange()
488 case Instruction::FSub: in convert()
H A DSpeculativeExecution.cpp241 case Instruction::FSub: in ComputeSpeculationCost()
H A DReassociate.cpp1049 isReassociableOp(V0, Instruction::Sub, Instruction::FSub)) in ShouldBreakUpSubtract()
1053 isReassociableOp(V1, Instruction::Sub, Instruction::FSub)) in ShouldBreakUpSubtract()
1058 isReassociableOp(VB, Instruction::Sub, Instruction::FSub))) in ShouldBreakUpSubtract()
2123 I->getOpcode() == Instruction::FSub) && "Expected fadd/fsub"); in canonicalizeNegFPConstantsForOp()
2135 bool IsFSub = I->getOpcode() == Instruction::FSub; in canonicalizeNegFPConstantsForOp()
2282 I->getOpcode() == Instruction::FSub) { in OptimizeInst()
2333 cast<Instruction>(BO->user_back())->getOpcode() == Instruction::FSub) in OptimizeInst()
/llvm-project-15.0.7/mlir/test/Conversion/MathToSPIRV/
H A Dmath-to-gl-spirv.mlir15 // CHECK: spv.FSub %[[EXP]], %[[ONE]]
48 // CHECK: spv.FSub %[[EXP]], %[[ONE]]
155 // CHECK: %[[SUB:.+]] = spv.FSub %[[ABS]], %[[FLOOR]]
171 // CHECK: %[[SUB:.+]] = spv.FSub %[[ABS]], %[[FLOOR]]
H A Dmath-to-opencl-spirv.mlir13 // CHECK: spv.FSub %[[EXP]], %[[ONE]]
50 // CHECK: spv.FSub %[[EXP]], %[[ONE]]
/llvm-project-15.0.7/mlir/test/Conversion/SPIRVToLLVM/
H A Darithmetic-ops-to-llvm.mlir76 // spv.FSub
82 %0 = spv.FSub %arg0, %arg1 : f32
89 %0 = spv.FSub %arg0, %arg1 : vector<2xf32>
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/
H A Darithmetic-ops.mlir106 // spv.FSub
110 // CHECK: spv.FSub
111 %0 = spv.FSub %arg, %arg : f32
H A Dcooperative-matrix-ops.mlir90 // CHECK: {{%.*}} = spv.FSub {{%.*}}, {{%.*}} : !spv.coopmatrix<8x16xf32, Subgroup>
91 %r = spv.FSub %a, %b : !spv.coopmatrix<8x16xf32, Subgroup>
/llvm-project-15.0.7/mlir/test/Target/SPIRV/
H A Darithmetic-ops.mlir30 // CHECK: {{%.*}} = spv.FSub {{%.*}}, {{%.*}} : vector<4xf32>
31 %0 = spv.FSub %arg0, %arg1 : vector<4xf32>
H A Dcooperative-matrix-ops.mlir83 // CHECK: {{%.*}} = spv.FSub {{%.*}}, {{%.*}} : !spv.coopmatrix<8x16xf32, Subgroup>
84 %r = spv.FSub %a, %b : !spv.coopmatrix<8x16xf32, Subgroup>
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsOs16.cpp83 case Instruction::FSub: in needsFP()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLowerAtomic.cpp75 case AtomicRMWInst::FSub: in buildAtomicRMWValue()
/llvm-project-15.0.7/llvm/lib/FuzzMutate/
H A DOperations.cpp47 Ops.push_back(binOpDescriptor(1, Instruction::FSub)); in describeFuzzerFloatOps()
112 case Instruction::FSub: in binOpDescriptor()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstrainedOps.def53 DAG_INSTRUCTION(FSub, 2, 1, experimental_constrained_fsub, FSUB)
H A DInstruction.def150 HANDLE_BINARY_INST(16, FSub , BinaryOperator)
H A DOperator.h306 case Instruction::FSub: in classof()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp775 case Instruction::FSub: in getConstantValue()
810 case Instruction::FSub: in getConstantValue()
825 case Instruction::FSub: in getConstantValue()
846 case Instruction::FSub: in getConstantValue()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DIVDescriptors.cpp785 case Instruction::FSub: in isRecurrenceInstr()
1267 InductionBinOp->getOpcode() == Instruction::FSub))) && in InductionDescriptor()
1323 } else if (BOp->getOpcode() == Instruction::FSub) in isFPInductionPHI()
H A DCFLGraph.h572 case Instruction::FSub: in visitConstantExpr()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DConvertFromLLVMIR.cpp614 INST(FSub, FSub), in lookupOperationNameFromOpcode()
795 case llvm::Instruction::FSub: in processInstruction()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h346 case Instruction::FSub: // 0.0 - X (doesn't simplify, but it is safe) in getSafeVectorConstantForBinop()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp475 if (Opcode == Instruction::FAdd || Opcode == Instruction::FSub || in getArithmeticInstrCost()
550 if (Opcode == Instruction::FAdd || Opcode == Instruction::FSub || in getArithmeticInstrCost()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp428 Opcode == Instruction::FNeg || Opcode == Instruction::FSub || in setFastMathFlags()
505 case Instruction::FSub: in execute()

1234