OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:FNeg
(Results
1 - 5
of
5
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUCodeGenPrepare.cpp
671
// -1.0 / x -> rcp (
fneg
x)
672
Value *
FNeg
= Builder.CreateFNeg(Den);
673
return Builder.CreateCall(Decl, {
FNeg
});
R600ISelLowering.cpp
1769
// (i32 fp_to_sint (
fneg
(select_cc f32, f32, 1.0, 0.0 cc))) ->
1775
SDValue
FNeg
= N->getOperand(0);
1776
if (
FNeg
.getOpcode() != ISD::
FNEG
) {
1779
SDValue SelectCC =
FNeg
.getOperand(0);
/src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineAddSub.cpp
669
createInstPostProc(I, true); //
fneg
's don't receive instruction numbers.
2125
/// This eliminates floating-point negation in either '
fneg
(X)' or
2132
//
fneg
is assumed better for analysis and cheaper in codegen than fmul/fdiv.
2135
// belief is that the
FNeg
allows for better reassociation opportunities.
2156
Value *
FNeg
;
2157
if (!match(&I, m_FNeg(m_Value(
FNeg
))))
2161
if (match(
FNeg
, m_OneUse(m_FMul(m_Value(X), m_Value(Y)))))
2164
if (match(
FNeg
, m_OneUse(m_FDiv(m_Value(X), m_Value(Y)))))
2221
// Subtraction from -0.0 is the canonical form of
fneg
.
2222
// fsub -0.0, X ==>
fneg
[
all
...]
InstCombineSelect.cpp
2846
// fast-math-flags (nsz) or fsub with +0.0 (not
fneg
) for this to work. We
2850
// fsub or
fneg
.
2871
Instruction *
FNeg
;
2874
match(TrueVal, m_Instruction(
FNeg
)) &&
2875
FNeg
->hasNoNaNs() &&
FNeg
->hasNoSignedZeros() &&
2878
Value *Fabs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, FalseVal,
FNeg
);
2886
match(FalseVal, m_Instruction(
FNeg
)) &&
2887
FNeg
->hasNoNaNs() &&
FNeg
->hasNoSignedZeros() &
[
all
...]
InstCombineCalls.cpp
1310
Instruction *
FNeg
= UnaryOperator::CreateFNeg(NewCall);
1311
FNeg
->copyIRFlags(II);
1312
return
FNeg
;
1392
// fma
fneg
(x),
fneg
(y), z -> fma x, y, z
1442
// copysign Mag, -Sign -->
fneg
(fabs Mag)
1455
// copysign (
fneg
X), Sign --> copysign X, Sign
1512
Instruction *
FNeg
= UnaryOperator::CreateFNeg(NewSin);
1513
FNeg
->copyFastMathFlags(II);
1514
return
FNeg
;
[
all
...]
Completed in 36 milliseconds
Indexes created Tue Feb 24 08:35:24 UTC 2026