Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp492 FCmpInst *FCmp = dyn_cast<FCmpInst>(Cond); in calcFloatingPointHeuristics() local
493 if (!FCmp) in calcFloatingPointHeuristics()
497 if (FCmp->isEquality()) { in calcFloatingPointHeuristics()
500 isProb = !FCmp->isTrueWhenEqual(); in calcFloatingPointHeuristics()
501 } else if (FCmp->getPredicate() == FCmpInst::FCMP_ORD) { in calcFloatingPointHeuristics()
504 } else if (FCmp->getPredicate() == FCmpInst::FCMP_UNO) { in calcFloatingPointHeuristics()
DInstructionSimplify.cpp403 Value *FCmp = SimplifyCmpInst(Pred, FV, RHS, Q, MaxRecurse); in ThreadCmpOverSelect() local
404 if (FCmp == Cond) { in ThreadCmpOverSelect()
407 FCmp = getFalse(Cond->getType()); in ThreadCmpOverSelect()
408 } else if (!FCmp) { in ThreadCmpOverSelect()
413 FCmp = getFalse(Cond->getType()); in ThreadCmpOverSelect()
418 if (TCmp == FCmp) in ThreadCmpOverSelect()
428 if (match(FCmp, m_Zero())) in ThreadCmpOverSelect()
434 if (Value *V = SimplifyOrInst(Cond, FCmp, Q, MaxRecurse)) in ThreadCmpOverSelect()
438 if (match(FCmp, m_One()) && match(TCmp, m_Zero())) in ThreadCmpOverSelect()
4180 case Instruction::FCmp: in SimplifyInstruction()
DCostModel.cpp422 case Instruction::FCmp: { in getInstructionCost()
DCFLGraph.h161 CE->getOpcode() != Instruction::FCmp; in hasUsefulEdges()
/external/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp72 Value *FCmp = Builder.CreateFCmpOEQ(Call, Call); in optimizeSQRT() local
73 Builder.CreateCondBr(FCmp, JoinBB, LibCallBB); in optimizeSQRT()
DFloat2Int.cpp130 case Instruction::FCmp: in findRoots()
216 case Instruction::FCmp: in walkBackwards()
284 case Instruction::FCmp: in walkForwards()
469 case Instruction::FCmp: { in convert()
DCorrelatedValuePropagation.cpp422 case Instruction::FCmp: in runImpl()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp134 Instruction *FDiv, *FAdd, *FCmp, *FCall; in TEST_F() local
195 FCmp = cast<Instruction>(FC); in TEST_F()
196 EXPECT_FALSE(FCmp->hasAllowReciprocal()); in TEST_F()
206 FCmp = cast<Instruction>(FC); in TEST_F()
207 EXPECT_TRUE(FCmp->hasAllowReciprocal()); in TEST_F()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp879 const FCmpInst *FCmp = cast<FCmpInst>(I); in selectFCmp() local
881 unsigned LHS = getRegForValue(FCmp->getOperand(0)); in selectFCmp()
885 unsigned RHS = getRegForValue(FCmp->getOperand(1)); in selectFCmp()
889 bool F32 = getSimpleType(FCmp->getOperand(0)->getType()) != MVT::f64; in selectFCmp()
892 switch (FCmp->getPredicate()) { in selectFCmp()
939 updateValueMap(FCmp, ResultReg); in selectFCmp()
1166 case Instruction::FCmp: return selectFCmp(I); in fastSelectInstruction()
/external/llvm/lib/Target/Mips/
DMipsOs16.cpp95 case Instruction::FCmp: in needsFP()
/external/llvm/lib/IR/
DConstantsContext.h276 CE->getOpcode() == Instruction::FCmp; in classof()
534 case Instruction::FCmp:
535 return new CompareConstantExpr(Ty, Instruction::FCmp, SubclassData,
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp193 case Instruction::FCmp: in runOnFunction()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantsContext.h446 if (V.opcode == Instruction::FCmp)
447 return new CompareConstantExpr(Ty, Instruction::FCmp, V.subclassdata,
DInstruction.cpp152 case FCmp: return "fcmp"; in getOpcodeName()
DConstants.cpp746 return getOpcode() == Instruction::ICmp || getOpcode() == Instruction::FCmp; in isCompare()
898 case Instruction::FCmp: in getWithOperands()
1661 const ExprMapKeyType Key(Instruction::FCmp, ArgVec, pred); in getFCmp()
2153 assert(getOpcode() == Instruction::FCmp); in replaceUsesOfWithOnConstant()
/external/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp319 if (I.getOpcode() == Instruction::FCmp) in runOnFunction()
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp450 case Instruction::FCmp: in isRecurrenceInstr()
606 return Instruction::FCmp; in getRecurrenceBinOp()
/external/llvm/include/llvm/IR/
DOperator.h309 I->getOpcode() == Instruction::FCmp; in classof()
DInstruction.def184 HANDLE_OTHER_INST(52, FCmp , FCmpInst ) // Floating point comparison instr.
/external/swiftshader/third_party/LLVM/include/llvm/
DInstruction.def163 HANDLE_OTHER_INST(47, FCmp , FCmpInst ) // Floating point comparison instr.
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp669 case Instruction::FCmp: in CanEvaluateShuffled()
751 case Instruction::FCmp: in buildNew()
832 case Instruction::FCmp: in EvaluateInDifferentElementOrder()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp425 if (Value *FCmp = SimplifyCmpInst(Pred, SI->getFalseValue(), RHS, TD, DT, in ThreadCmpOverSelect() local
429 if (TCmp == FCmp) in ThreadCmpOverSelect()
435 if (match(FCmp, m_Zero())) in ThreadCmpOverSelect()
441 if (Value *V = SimplifyOrInst(Cond, FCmp, TD, DT, MaxRecurse)) in ThreadCmpOverSelect()
445 if (match(FCmp, m_One()) && match(TCmp, m_Zero())) in ThreadCmpOverSelect()
2491 case Instruction::FCmp: in SimplifyInstruction()
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.cc1946 __ FCmp(); in DoMathMinMax()
1955 __ FCmp(); in DoMathMinMax()
1981 __ FCmp(); // NaN check. in DoMathMinMax()
2103 __ FCmp(); in DoBranch()
2211 __ FCmp(); in DoBranch()
2295 __ FCmp(); in DoCompareNumericAndBranch()
2344 __ FCmp(); in DoCmpHoleAndBranch()
3358 __ FCmp(); in DoMathFloor()
3402 __ FCmp(); in DoMathRound()
3428 __ FCmp(); in DoMathRound()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp313 case Instruction::FCmp: in remapConstantExpr()
/external/v8/src/compiler/x87/
Dcode-generator-x87.cc1108 __ FCmp(); in AssembleArchInstruction()
1307 __ FCmp(); in AssembleArchInstruction()
1343 __ FCmp(); in AssembleArchInstruction()
1379 __ FCmp(); in AssembleArchInstruction()
1415 __ FCmp(); in AssembleArchInstruction()
1724 __ FCmp(); in AssembleArchInstruction()

1234