Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
DOperations.cpp53 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_FALSE)); in describeFuzzerFloatOps()
54 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_OEQ)); in describeFuzzerFloatOps()
55 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_OGT)); in describeFuzzerFloatOps()
56 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_OGE)); in describeFuzzerFloatOps()
57 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_OLT)); in describeFuzzerFloatOps()
58 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_OLE)); in describeFuzzerFloatOps()
59 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_ONE)); in describeFuzzerFloatOps()
60 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_ORD)); in describeFuzzerFloatOps()
61 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_UNO)); in describeFuzzerFloatOps()
62 Ops.push_back(cmpOpDescriptor(1, Instruction::FCmp, CmpInst::FCMP_UEQ)); in describeFuzzerFloatOps()
[all …]
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp70 Value *FCmp = TTI->isFCmpOrdCheaperThanFCmpZero(Ty) in optimizeSQRT() local
74 Builder.CreateCondBr(FCmp, JoinBB, LibCallBB); in optimizeSQRT()
DFloat2Int.cpp130 case Instruction::FCmp: in findRoots()
209 case Instruction::FCmp: in walkBackwards()
269 case Instruction::FCmp: in walkForwards()
455 case Instruction::FCmp: { in convert()
DSpeculativeExecution.cpp245 case Instruction::FCmp: in ComputeSpeculationCost()
/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()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp772 FCmpInst *FCmp = dyn_cast<FCmpInst>(Cond); in calcFloatingPointHeuristics() local
773 if (!FCmp) in calcFloatingPointHeuristics()
777 if (FCmp->isEquality()) { in calcFloatingPointHeuristics()
780 isProb = !FCmp->isTrueWhenEqual(); in calcFloatingPointHeuristics()
781 } else if (FCmp->getPredicate() == FCmpInst::FCMP_ORD) { in calcFloatingPointHeuristics()
784 } else if (FCmp->getPredicate() == FCmpInst::FCMP_UNO) { in calcFloatingPointHeuristics()
DCFLGraph.h189 CE->getOpcode() != Instruction::FCmp; in hasUsefulEdges()
579 case Instruction::FCmp: in visitConstantExpr()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp1026 const FCmpInst *FCmp = cast<FCmpInst>(I); in selectFCmp() local
1028 unsigned LHS = getRegForValue(FCmp->getOperand(0)); in selectFCmp()
1032 unsigned RHS = getRegForValue(FCmp->getOperand(1)); in selectFCmp()
1036 bool F32 = getSimpleType(FCmp->getOperand(0)->getType()) != MVT::f64; in selectFCmp()
1039 switch (FCmp->getPredicate()) { in selectFCmp()
1086 updateValueMap(FCmp, ResultReg); in selectFCmp()
1342 case Instruction::FCmp: return selectFCmp(I); in fastSelectInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DIRBuilderTest.cpp155 Instruction *FDiv, *FAdd, *FCmp, *FCall; in TEST_F() local
241 FCmp = cast<Instruction>(FC); in TEST_F()
242 EXPECT_FALSE(FCmp->hasAllowReciprocal()); in TEST_F()
252 FCmp = cast<Instruction>(FC); in TEST_F()
253 EXPECT_TRUE(FCmp->hasAllowReciprocal()); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsOs16.cpp93 case Instruction::FCmp: in needsFP()
/external/llvm/lib/Target/Mips/
DMipsOs16.cpp95 case Instruction::FCmp: in needsFP()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DOperator.h369 I->getOpcode() == Instruction::FCmp; in classof()
374 CE->getOpcode() == Instruction::FCmp; in classof()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp523 case Instruction::FCmp: in isRecurrenceInstr()
705 return Instruction::FCmp; in getRecurrenceBinOp()
1547 if (Op != Instruction::ICmp && Op != Instruction::FCmp) { in getOrderedReduction()
1590 if (Op != Instruction::ICmp && Op != Instruction::FCmp) { in getShuffleReduction()
1666 case Instruction::FCmp: in createSimpleTargetReduction()
1717 return createSimpleTargetReduction(B, TTI, Instruction::FCmp, Src, Flags); in createTargetReduction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantsContext.h289 CE->getOpcode() == Instruction::FCmp; in classof()
560 case Instruction::FCmp:
561 return new CompareConstantExpr(Ty, Instruction::FCmp, SubclassData,
/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-7.0/llvm/lib/CodeGen/
DExpandReductions.cpp54 return Instruction::FCmp; in getOpcode()
/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,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp219 FunctionComparator FCmp(LHS.getFunc(), RHS.getFunc(), GlobalNumbers); in operator ()() local
220 return FCmp.compare() == -1; in operator ()()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp319 if (I.getOpcode() == Instruction::FCmp) in runOnFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp263 case Instruction::FCmp: in remapConstantExpr()

123456