Home
last modified time | relevance | path

Searched refs:FCmp (Results 1 – 25 of 80) sorted by relevance

1234

/llvm-project-15.0.7/llvm/lib/FuzzMutate/
H A DOperations.cpp53 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_OEQ)); in describeFuzzerFloatOps()
54 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_OGT)); in describeFuzzerFloatOps()
55 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_OGE)); in describeFuzzerFloatOps()
56 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_OLT)); in describeFuzzerFloatOps()
57 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_OLE)); in describeFuzzerFloatOps()
58 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_ONE)); in describeFuzzerFloatOps()
59 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_ORD)); in describeFuzzerFloatOps()
60 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_UNO)); in describeFuzzerFloatOps()
61 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_UEQ)); in describeFuzzerFloatOps()
62 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_UGT)); in describeFuzzerFloatOps()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstrainedOps.def65 // Both of these match to FCmp / SETCC.
66 CMP_INSTRUCTION(FCmp, 2, 0, experimental_constrained_fcmp, FSETCC)
67 CMP_INSTRUCTION(FCmp, 2, 0, experimental_constrained_fcmps, FSETCCS)
H A DInstruction.def207 HANDLE_OTHER_INST(54, FCmp , FCmpInst ) // Floating point comparison instr.
H A DOperator.h315 case Instruction::FCmp: in classof()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp137 case Instruction::FCmp: in findRoots()
218 case Instruction::FCmp: in walkBackwards()
320 case Instruction::FCmp: in calcRange()
468 case Instruction::FCmp: { in convert()
H A DPartiallyInlineLibCalls.cpp90 Value *FCmp = TTI->isFCmpOrdCheaperThanFCmpZero(Ty) in optimizeSQRT() local
94 CurrBBTerm->setCondition(FCmp); in optimizeSQRT()
H A DSpeculativeExecution.cpp247 case Instruction::FCmp: in ComputeSpeculationCost()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DIVDescriptors.cpp393 if (auto *FCmp = dyn_cast<FCmpInst>(Sel->getCondition())) in AddReductionVar() local
394 CurFMF |= FCmp->getFastMathFlags(); in AddReductionVar()
793 case Instruction::FCmp: in isRecurrenceInstr()
1128 return Instruction::FCmp; in getOpcode()
1155 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) in getReductionOpChain()
1163 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) { in getReductionOpChain()
1175 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) { in getReductionOpChain()
H A DBranchProbabilityInfo.cpp1046 FCmpInst *FCmp = dyn_cast<FCmpInst>(Cond); in calcFloatingPointHeuristics() local
1047 if (!FCmp) in calcFloatingPointHeuristics()
1051 if (FCmp->isEquality()) { in calcFloatingPointHeuristics()
1052 ProbList = !FCmp->isTrueWhenEqual() ? in calcFloatingPointHeuristics()
1058 auto Search = FCmpTable.find(FCmp->getPredicate()); in calcFloatingPointHeuristics()
H A DCFLGraph.h186 CE->getOpcode() != Instruction::FCmp; in hasUsefulEdges()
588 case Instruction::FCmp: in visitConstantExpr()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp1088 const auto *FCmp = cast<FCmpInst>(I); in selectFCmp() local
1090 Register LHS = getRegForValue(FCmp->getOperand(0)); in selectFCmp()
1094 Register RHS = getRegForValue(FCmp->getOperand(1)); in selectFCmp()
1098 bool F32 = getSimpleType(FCmp->getOperand(0)->getType()) != MVT::f64; in selectFCmp()
1101 switch (FCmp->getPredicate()) { in selectFCmp()
1148 updateValueMap(FCmp, ResultReg); in selectFCmp()
1410 case Instruction::FCmp: in fastSelectInstruction()
/llvm-project-15.0.7/llvm/lib/IR/
H A DFPEnv.cpp92 case Instruction::FCmp: in getConstrainedIntrinsicID()
H A DConstantsContext.h267 CE->getOpcode() == Instruction::FCmp; in classof()
544 case Instruction::FCmp:
545 return new CompareConstantExpr(Ty, Instruction::FCmp, SubclassData,
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsOs16.cpp93 case Instruction::FCmp: in needsFP()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp465 Value *FCmp = IC.Builder.CreateFCmpUNO(Src0, Src0); in instCombineIntrinsic() local
466 FCmp->takeName(&II); in instCombineIntrinsic()
467 return IC.replaceInstUsesWith(II, FCmp); in instCombineIntrinsic()
472 Value *FCmp = in instCombineIntrinsic() local
475 FCmp->takeName(&II); in instCombineIntrinsic()
476 return IC.replaceInstUsesWith(II, FCmp); in instCombineIntrinsic()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp430 Opcode == Instruction::FCmp) && in setFastMathFlags()
558 case Instruction::FCmp: { in execute()
560 bool FCmp = (I.getOpcode() == Instruction::FCmp); in execute() local
567 if (FCmp) { in execute()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DExpandReductions.cpp52 return Instruction::FCmp; in getOpcode()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DIRBuilderTest.cpp528 Instruction *FDiv, *FAdd, *FCmp, *FCall; in TEST_F() local
614 FCmp = cast<Instruction>(FC); in TEST_F()
615 EXPECT_FALSE(FCmp->hasAllowReciprocal()); in TEST_F()
625 FCmp = cast<Instruction>(FC); in TEST_F()
626 EXPECT_TRUE(FCmp->hasAllowReciprocal()); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp258 case Instruction::FCmp: in remapConstantExpr()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DMVELaneInterleavingPass.cpp234 case Instruction::FCmp: in tryInterleave()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp329 if (I.getOpcode() == Instruction::FCmp) in runOnFunction()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp217 FunctionComparator FCmp(LHS.getFunc(), RHS.getFunc(), GlobalNumbers); in operator ()() local
218 return FCmp.compare() == -1; in operator ()()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2864 if (auto *FCmp = dyn_cast<FCmpInst>(CondVal)) { in visitSelectInst() local
2865 Value *Cmp0 = FCmp->getOperand(0), *Cmp1 = FCmp->getOperand(1); in visitSelectInst()
2874 if (FCmp->hasOneUse() && FCmpInst::isUnordered(FCmp->getPredicate())) { in visitSelectInst()
2875 FCmpInst::Predicate InvPred = FCmp->getInversePredicate(); in visitSelectInst()
2878 Builder.setFastMathFlags(FCmp->getFastMathFlags()); in visitSelectInst()
2880 FCmp->getName() + ".inv"); in visitSelectInst()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp258 if (Opcode == Instruction::FCmp) in getCmpSelInstrCost()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp867 auto FCmp = IsZero in getVectorFCMP() local
870 return MIB.buildNot(DstTy, FCmp).getReg(0); in getVectorFCMP()

1234