| /llvm-project-15.0.7/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 53 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 D | ConstrainedOps.def | 65 // 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 D | Instruction.def | 207 HANDLE_OTHER_INST(54, FCmp , FCmpInst ) // Floating point comparison instr.
|
| H A D | Operator.h | 315 case Instruction::FCmp: in classof()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | Float2Int.cpp | 137 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 D | PartiallyInlineLibCalls.cpp | 90 Value *FCmp = TTI->isFCmpOrdCheaperThanFCmpZero(Ty) in optimizeSQRT() local 94 CurrBBTerm->setCondition(FCmp); in optimizeSQRT()
|
| H A D | SpeculativeExecution.cpp | 247 case Instruction::FCmp: in ComputeSpeculationCost()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | IVDescriptors.cpp | 393 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 D | BranchProbabilityInfo.cpp | 1046 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 D | CFLGraph.h | 186 CE->getOpcode() != Instruction::FCmp; in hasUsefulEdges() 588 case Instruction::FCmp: in visitConstantExpr()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFastISel.cpp | 1088 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 D | FPEnv.cpp | 92 case Instruction::FCmp: in getConstrainedIntrinsicID()
|
| H A D | ConstantsContext.h | 267 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 D | MipsOs16.cpp | 93 case Instruction::FCmp: in needsFP()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 465 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 D | VPlanRecipes.cpp | 430 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 D | ExpandReductions.cpp | 52 return Instruction::FCmp; in getOpcode()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | IRBuilderTest.cpp | 528 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 D | NVPTXGenericToNVVM.cpp | 258 case Instruction::FCmp: in remapConstantExpr()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | MVELaneInterleavingPass.cpp | 234 case Instruction::FCmp: in tryInterleave()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTDC.cpp | 329 if (I.getOpcode() == Instruction::FCmp) in runOnFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | MergeFunctions.cpp | 217 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 D | InstCombineSelect.cpp | 2864 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 D | HexagonTargetTransformInfo.cpp | 258 if (Opcode == Instruction::FCmp) in getCmpSelInstrCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64PostLegalizerLowering.cpp | 867 auto FCmp = IsZero in getVectorFCMP() local 870 return MIB.buildNot(DstTy, FCmp).getReg(0); in getVectorFCMP()
|