Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp52 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_FALSE)); in describeFuzzerFloatOps()
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()
[all …]
H A DIRMutator.cpp262 case Instruction::FCmp: in mutate()
330 case Instruction::FCmp: in mutate()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPostLegalizerCombiner.cpp73 bool matchFMinFMaxLegacy(MachineInstr &MI, MachineInstr &FCmp,
162 MachineInstr &MI, MachineInstr &FCmp, FMinFMaxLegacyInfo &Info) const { in matchFMinFMaxLegacy() argument
163 if (!MRI.hasOneNonDBGUse(FCmp.getOperand(0).getReg())) in matchFMinFMaxLegacy()
167 static_cast<CmpInst::Predicate>(FCmp.getOperand(1).getPredicate()); in matchFMinFMaxLegacy()
168 Info.LHS = FCmp.getOperand(2).getReg(); in matchFMinFMaxLegacy()
169 Info.RHS = FCmp.getOperand(3).getReg(); in matchFMinFMaxLegacy()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DNumericalStabilitySanitizer.cpp527 void emitFCmpCheck(FCmpInst &FCmp, const ValueToShadowMap &Map);
942 void NumericalStabilitySanitizer::emitFCmpCheck(FCmpInst &FCmp, in emitFCmpCheck() argument
947 Function *F = FCmp.getFunction(); in emitFCmpCheck()
951 Value *LHS = FCmp.getOperand(0); in emitFCmpCheck()
954 Value *RHS = FCmp.getOperand(1); in emitFCmpCheck()
958 BasicBlock *FCmpBB = FCmp.getParent(); in emitFCmpCheck()
959 BasicBlock *NextBB = FCmpBB->splitBasicBlock(FCmp.getNextNode()); in emitFCmpCheck()
967 FCmpBuilder.SetCurrentDebugLocation(FCmp.getDebugLoc()); in emitFCmpCheck()
971 if (FCmp.isEquality() && ClTruncateFCmpEq) { in emitFCmpCheck()
979 FCmpBuilder.CreateFCmp(FCmp.getPredicate(), ShadowLHS, ShadowRHS); in emitFCmpCheck()
[all …]
/freebsd/contrib/llvm-project/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.h348 case Instruction::FCmp:
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp105 case Instruction::FCmp: in findRoots()
186 case Instruction::FCmp: in walkBackwards()
288 case Instruction::FCmp: in calcRange()
443 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()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp390 if (auto *FCmp = dyn_cast<FCmpInst>(Sel->getCondition())) in AddReductionVar() local
391 CurFMF |= FCmp->getFastMathFlags(); in AddReductionVar()
799 case Instruction::FCmp: in isRecurrenceInstr()
1124 return Instruction::FCmp; in getOpcode()
1151 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) in getReductionOpChain()
1159 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) { in getReductionOpChain()
1171 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) { in getReductionOpChain()
H A DBranchProbabilityInfo.cpp1036 FCmpInst *FCmp = dyn_cast<FCmpInst>(Cond); in calcFloatingPointHeuristics() local
1037 if (!FCmp) in calcFloatingPointHeuristics()
1041 if (FCmp->isEquality()) { in calcFloatingPointHeuristics()
1042 ProbList = !FCmp->isTrueWhenEqual() ? in calcFloatingPointHeuristics()
1048 auto Search = FCmpTable.find(FCmp->getPredicate()); in calcFloatingPointHeuristics()
H A DObjCARCInstKind.cpp274 case Instruction::FCmp: in GetARCInstKind()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp1095 const auto *FCmp = cast<FCmpInst>(I); in selectFCmp() local
1097 Register LHS = getRegForValue(FCmp->getOperand(0)); in selectFCmp()
1101 Register RHS = getRegForValue(FCmp->getOperand(1)); in selectFCmp()
1105 bool F32 = getSimpleType(FCmp->getOperand(0)->getType()) != MVT::f64; in selectFCmp()
1108 switch (FCmp->getPredicate()) { in selectFCmp()
1155 updateValueMap(FCmp, ResultReg); in selectFCmp()
1418 case Instruction::FCmp: in fastSelectInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanAnalysis.cpp93 case Instruction::FCmp: in inferScalarTypeForRecipe()
193 case Instruction::FCmp: in inferScalarTypeForRecipe()
H A DVPlanRecipes.cpp587 if (Op != Instruction::ICmp && Op != Instruction::FCmp) in generatePerPart()
698 Opcode == Instruction::FCmp || Opcode == Instruction::Select; in isFPMathOp()
1103 case Instruction::FCmp: { in execute()
1105 bool FCmp = Opcode == Instruction::FCmp; in execute() local
1110 if (FCmp) { in execute()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFPEnv.cpp93 case Instruction::FCmp: in getConstrainedIntrinsicID()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsOs16.cpp93 case Instruction::FCmp: in needsFP()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp329 if (I.getOpcode() == Instruction::FCmp) in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVELaneInterleavingPass.cpp241 case Instruction::FCmp: in tryInterleave()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp215 FunctionComparator FCmp(LHS.getFunc(), RHS.getFunc(), GlobalNumbers); in operator ()() local
216 return FCmp.compare() < 0; in operator ()()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp267 if (Opcode == Instruction::FCmp) in getCmpSelInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp3654 if (auto *FCmp = dyn_cast<FCmpInst>(CondVal)) { in visitSelectInst() local
3655 FCmpInst::Predicate Pred = FCmp->getPredicate(); in visitSelectInst()
3656 Value *Cmp0 = FCmp->getOperand(0), *Cmp1 = FCmp->getOperand(1); in visitSelectInst()
3665 if (FCmp->hasOneUse() && FCmpInst::isUnordered(Pred)) { in visitSelectInst()
3666 FCmpInst::Predicate InvPred = FCmp->getInversePredicate(); in visitSelectInst()
3669 Builder.setFastMathFlags(FCmp->getFastMathFlags()); in visitSelectInst()
3671 FCmp->getName() + ".inv"); in visitSelectInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp982 return Instruction::FCmp; in getArithmeticReductionInstruction()
1103 if (Op != Instruction::ICmp && Op != Instruction::FCmp) { in getOrderedReduction()
1138 if (Op != Instruction::ICmp && Op != Instruction::FCmp) { in getShuffleReduction()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrP10.td1996 multiclass FSetP10RevSetBool<SDNode SetCC, ValueType Ty, I FCmp> {
1998 (EXTRACT_SUBREG (FCmp $s1, $s2), sub_lt)>;
2000 (EXTRACT_SUBREG (FCmp $s1, $s2), sub_lt)>;
2002 (EXTRACT_SUBREG (FCmp $s1, $s2), sub_gt)>;
2004 (EXTRACT_SUBREG (FCmp $s1, $s2), sub_gt)>;
2006 (EXTRACT_SUBREG (FCmp $s1, $s2), sub_eq)>;
2008 (EXTRACT_SUBREG (FCmp $s1, $s2), sub_eq)>;
2010 (EXTRACT_SUBREG (FCmp $s1, $s2), sub_un)>;

123