Searched refs:isExactlyValue (Results 1 - 16 of 16) sorted by relevance

/freebsd-10-stable/contrib/llvm/lib/Target/R600/
H A DSIInstrInfo.cpp285 return MO.getFPImm()->isExactlyValue(0.0) ||
286 MO.getFPImm()->isExactlyValue(0.5) ||
287 MO.getFPImm()->isExactlyValue(-0.5) ||
288 MO.getFPImm()->isExactlyValue(1.0) ||
289 MO.getFPImm()->isExactlyValue(-1.0) ||
290 MO.getFPImm()->isExactlyValue(2.0) ||
291 MO.getFPImm()->isExactlyValue(-2.0) ||
292 MO.getFPImm()->isExactlyValue(4.0) ||
293 MO.getFPImm()->isExactlyValue(-4.0);
H A DAMDGPUISelLowering.cpp769 return CFP->isExactlyValue(1.0);
H A DR600ISelLowering.cpp1413 } else if (C->isExactlyValue(1.0)) {
/freebsd-10-stable/contrib/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp235 assert(MO.getFPImm()->isExactlyValue(0.0) && "Only FP 0.0 expected");
H A DAArch64ISelLowering.cpp4484 if (CFP->isExactlyValue(0.0)) {
/freebsd-10-stable/contrib/llvm/include/llvm/IR/
H A DConstants.h274 /// isExactlyValue - We don't rely on operator== working on double values, as
278 /// because it's so convenient to write isExactlyValue(2.0), but please use
280 bool isExactlyValue(const APFloat &V) const;
282 bool isExactlyValue(double V) const { function in class:llvm::ConstantFP
286 return isExactlyValue(FV);
/freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1158 if (Op1C->isExactlyValue(1.0))
1161 if (Op1C->isExactlyValue(2.0) &&
1173 if (Op2C->isExactlyValue(0.5) &&
1194 if (Op2C->isExactlyValue(1.0)) // pow(x, 1.0) -> x
1196 if (Op2C->isExactlyValue(2.0)) // pow(x, 2.0) -> x*x
1198 if (Op2C->isExactlyValue(-1.0)) // pow(x, -1.0) -> 1.0/x
/freebsd-10-stable/contrib/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1288 /// isExactlyValue - We don't rely on operator== working on double values, as
1296 bool isExactlyValue(double V) const { function in class:ConstantFPSDNode
1301 return isExactlyValue(Tmp);
1303 bool isExactlyValue(const APFloat& V) const;
/freebsd-10-stable/contrib/llvm/include/llvm/Support/
H A DPatternMatch.h334 return CFP->isExactlyValue(Val);
338 return CFP->isExactlyValue(Val);
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp317 if (CFP && CFP->isExactlyValue(0.5)) {
322 if (CFP && CFP->isExactlyValue(0.5))
/freebsd-10-stable/contrib/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.cpp632 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) {
/freebsd-10-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp6304 if (N1CFP && N1CFP->isExactlyValue(1.0))
6307 if (N1CFP && N1CFP->isExactlyValue(+2.0))
6310 if (N1CFP && N1CFP->isExactlyValue(-1.0))
6354 if (N0CFP && N0CFP->isExactlyValue(1.0))
6356 if (N1CFP && N1CFP->isExactlyValue(1.0))
6386 if (N1CFP->isExactlyValue(1.0))
6389 if (N1CFP->isExactlyValue(-1.0) &&
H A DSelectionDAG.cpp70 /// isExactlyValue - We don't rely on operator== working on double values, as
74 bool ConstantFPSDNode::isExactlyValue(const APFloat& V) const { function in class:ConstantFPSDNode
2985 if (CFP->isExactlyValue(1.0))
H A DSelectionDAGBuilder.cpp4303 IsExp10 = LHSC->isExactlyValue(Ten);
/freebsd-10-stable/contrib/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp247 (CFP->isExactlyValue(atof(StrVal.c_str())))) {
/freebsd-10-stable/contrib/llvm/lib/IR/
H A DConstants.cpp650 bool ConstantFP::isExactlyValue(const APFloat &V) const { function in class:ConstantFP

Completed in 402 milliseconds