OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SignBit
(Results
1 - 7
of
7
) sorted by relevancy
/src/external/apache2/llvm/dist/clang/lib/AST/Interp/
Integral.h
144
const T
SignBit
= T(1) << (TruncBits - 1);
146
return Integral((V & BitMask) | (Signed && (V &
SignBit
) ? ExtMask : 0));
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
LegalizeDAG.cpp
71
uint8_t
SignBit
;
1496
State.
SignBit
= NumBits - 1;
1532
State.
SignBit
= 7;
1561
SDValue
SignBit
= DAG.getNode(ISD::AND, DL, IntVT, SignAsInt.IntValue,
1570
SDValue Cond = DAG.getSetCC(DL, getSetCCResultType(IntVT),
SignBit
,
1583
// Get the
signbit
at the right position for MagAsInt.
1584
int ShiftAmount = SignAsInt.
SignBit
- MagAsInt.
SignBit
;
1586
if (
SignBit
.getScalarValueSizeInBits() <
1588
SignBit
= DAG.getNode(ISD::ZERO_EXTEND, DL, MagVT, SignBit)
[
all
...]
LegalizeFloatTypes.cpp
321
SDValue
SignBit
= DAG.getNode(
325
SignBit
= DAG.getNode(ISD::AND, dl, RVT, RHS,
SignBit
);
330
SignBit
=
331
DAG.getNode(ISD::SRL, dl, RVT,
SignBit
,
333
TLI.getShiftAmountTy(
SignBit
.getValueType(),
335
SignBit
= DAG.getNode(ISD::TRUNCATE, dl, LVT,
SignBit
);
337
SignBit
= DAG.getNode(ISD::ANY_EXTEND, dl, LVT,
SignBit
);
[
all
...]
DAGCombiner.cpp
12501
// fold (bitconvert (fneg x)) -> (xor (bitconvert x),
signbit
)
12502
// fold (bitconvert (fabs x)) -> (and (bitconvert x), (not
signbit
))
12506
// flipbit =
signbit
12510
// flipbit = (and (extract_element (bitcast x), 0),
signbit
)
12523
SDValue
SignBit
= DAG.getConstant(
12527
FlipBit =
SignBit
;
12536
FlipBit = DAG.getNode(ISD::AND, SDLoc(N0), MVT::i64, Hi,
SignBit
);
12544
APInt
SignBit
= APInt::getSignMask(VT.getSizeInBits());
12547
NewConv, DAG.getConstant(
SignBit
, DL, VT));
12550
NewConv, DAG.getConstant(~
SignBit
, DL, VT))
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUISelLowering.cpp
2173
SDValue
SignBit
= DAG.getNode(ISD::AND, SL, MVT::i32, Hi, SignBitMask);
2176
SDValue SignBit64 = DAG.getBuildVector(MVT::v2i32, SL, {Zero,
SignBit
});
2426
const SDValue
SignBit
= DAG.getConstant(63, SL, MVT::i64);
2427
S = DAG.getNode(ISD::SRA, SL, MVT::i64, L,
SignBit
);
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
LegalizerHelper.cpp
360
// In the sign extend padding case, re-use the first all-
signbit
merge.
5707
auto
SignBit
= MIRBuilder.buildConstant(S64, 63);
5708
auto S = MIRBuilder.buildAShr(S64, L,
SignBit
);
/src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
RISCVISelLowering.cpp
5543
// fold (bitconvert (fneg x)) -> (xor (bitconvert x),
signbit
)
5544
// fold (bitconvert (fabs x)) -> (and (bitconvert x), (not
signbit
))
5553
APInt
SignBit
= APInt::getSignMask(32);
5556
DAG.getConstant(
SignBit
, DL, MVT::i32));
5561
DAG.getConstant(~
SignBit
, DL, MVT::i32));
5717
// fold (bitconvert (fneg x)) -> (xor (bitconvert x),
signbit
)
5718
// fold (bitconvert (fabs x)) -> (and (bitconvert x), (not
signbit
))
5724
APInt
SignBit
= APInt::getSignMask(32).sext(64);
5727
DAG.getConstant(
SignBit
, DL, MVT::i64));
5731
DAG.getConstant(~
SignBit
, DL, MVT::i64))
[
all
...]
Completed in 109 milliseconds
Indexes created Sat Feb 28 05:31:39 UTC 2026