Searched refs:Fabs (Results 1 - 10 of 10) sorted by relevance

/openbsd-current/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2618 Value *Fabs = IC.Builder.CreateUnaryIntrinsic(Intrinsic::fabs, X, &SI); local
2619 return IC.replaceInstUsesWith(SI, Fabs);
2622 Value *Fabs = IC.Builder.CreateUnaryIntrinsic(Intrinsic::fabs, X, &SI); local
2623 return IC.replaceInstUsesWith(SI, Fabs);
2665 Value *Fabs = IC.Builder.CreateUnaryIntrinsic(Intrinsic::fabs, X, &SI); local
2666 return IC.replaceInstUsesWith(SI, Fabs);
2669 Value *Fabs = IC.Builder.CreateUnaryIntrinsic(Intrinsic::fabs, X, &SI); local
2670 Instruction *NewFNeg = UnaryOperator::CreateFNeg(Fabs);
3211 if (Instruction *Fabs = foldSelectWithFCmpToFabs(SI, *this))
3212 return Fabs;
[all...]
H A DInstCombineMulDivRem.cpp513 Value *Fabs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, XY); local
514 Fabs->takeName(&I);
515 return replaceInstUsesWith(I, Fabs);
H A DInstCombineCalls.cpp1989 Value *Fabs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, Mag, II); local
1990 return replaceInstUsesWith(*II, Fabs);
1997 Value *Fabs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, Mag, II); local
1998 return replaceInstUsesWith(*II, Builder.CreateFNegFMF(Fabs, II));
H A DInstCombineCompares.cpp7000 APFloat Fabs = TruncC; local
7001 Fabs.clearSign();
7003 (Fabs.isZero() || !(Fabs < APFloat::getSmallestNormalized(FPSem)))) {
/openbsd-current/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp2527 MachineInstr *Fabs = getOpcodeDef(TargetOpcode::G_FABS, Src, *MRI); local
2528 if (Fabs)
2529 Src = Fabs->getOperand(1).getReg();
2550 unsigned Opc = Fabs ? AMDGPU::S_OR_B32 : AMDGPU::S_XOR_B32;
H A DAMDGPUISelLowering.cpp2247 SDValue Fabs = DAG.getNode(ISD::FABS, SL, MVT::f64, Src); local
2254 SDValue Cond = DAG.getSetCC(SL, SetCCVT, Fabs, C2, ISD::SETOGT);
H A DAMDGPULegalizerInfo.cpp2059 auto Fabs = B.buildFAbs(Ty, Src);
2061 auto Cond = B.buildFCmp(CmpInst::FCMP_OGT, LLT::scalar(1), Fabs, C2);
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2474 Function *Fabs = Intrinsic::getDeclaration(M, Intrinsic::fabs, ArgType);
2475 Value *FabsCall = B.CreateCall(Fabs, RepeatOp, "fabs");
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp6757 SDValue Fabs = DAG.getNode(ISD::FABS, DL, VT, Op); local
6758 return DAG.getSetCC(DL, CCVT, Fabs, NormC, ISD::SETLT);
/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DCGBuiltin.cpp3267 Value *Fabs = EmitFAbs(*this, V);
3272 Value *FCmp = Builder.CreateFCmp(Pred, Fabs, Infinity, "cmpinf");

Completed in 514 milliseconds