OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NBits
(Results
1 - 6
of
6
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonStoreWidening.cpp
409
unsigned
NBits
= MMO.getSize()*8;
410
unsigned Mask = (0xFFFFFFFFU >> (32-
NBits
));
413
Shift +=
NBits
;
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopIdiomRecognize.cpp
2415
/// %
nbits
= add nsw i8 %iv, %extraoffset
2416
/// %val.shifted = lshr i8 %val, %
nbits
2424
/// %
nbits
.res = phi i8 [ %
nbits
, %loop ] <...>
2444
Instruction *ValShifted, *
NBits
, *IVNext;
2469
if (!match(ValShifted, m_LShr(m_Value(Val), m_Instruction(
NBits
)))) {
2476
if (match(
NBits
, m_c_Add(m_Instruction(IV),
2478
(
NBits
->hasNoSignedWrap() ||
NBits
->hasNoUnsignedWrap()))
2480
else if (match(
NBits
,
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Object/
ELF.cpp
343
const size_t
NBits
= 8*WordSize - 1;
368
// Advance base offset by
NBits
words.
369
Base +=
NBits
* WordSize;
/src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineAddSub.cpp
1104
/// (1 <<
NBits
) - 1
1106
/// ~(-(1 <<
NBits
))
1111
Value *
NBits
;
1112
if (!match(&I, m_Add(m_OneUse(m_Shl(m_One(), m_Value(
NBits
))), m_AllOnes())))
1115
Constant *MinusOne = Constant::getAllOnesValue(
NBits
->getType());
1116
Value *NotMask = Builder.CreateShl(MinusOne,
NBits
, "notmask");
1179
// Extraction should extract high
NBits
bits, with shift amount calculated as:
1182
// when matching
NBits
, that will matter for matching later.
1184
Value *
NBits
;
1187
m_ZExtOrSelf(m_Sub(m_Constant(C), m_ZExtOrSelf(m_Value(
NBits
))))) ||
[
all
...]
InstCombineShifts.cpp
1206
// (Val << (bitwidth(Val)-
Nbits
)) a>> (bitwidth(Val)-
Nbits
)
1207
Value *
NBits
;
1213
m_ZExtOrSelf(m_Value(
NBits
))))),
1215
m_ZExtOrSelf(m_Deferred(
NBits
)))))) ||
1229
// Said right-shift must extract high
NBits
bits - C0 must be it's bitwidth.
1233
m_Sub(m_Constant(C0), m_ZExtOrSelf(m_Specific(
NBits
))))) ||
1237
// Since the
NBits
is identical for all shifts, if the outermost and
/src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86ISelDAGToDAG.cpp
3370
// a) x & (1 <<
nbits
) - 1
3371
// b) x & ~(-1 <<
nbits
)
3389
SDValue
NBits
;
3411
// a) x & ((1 <<
nbits
) + (-1))
3413
&
NBits
](SDValue Mask) -> bool {
3420
// Match `1 <<
nbits
`. Might be truncated. Must only have one use!
3426
NBits
= M0->getOperand(1);
3437
// b) x & ~(-1 <<
nbits
)
3439
&
NBits
](SDValue Mask) -> bool {
3446
// Match `-1 <<
nbits
`. Might be truncated. Must only have one use
[
all
...]
Completed in 110 milliseconds
Indexes created Mon Sep 07 00:24:45 UTC 2026