OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:NumBits
(Results
1 - 25
of
27
) sorted by relevancy
1
2
/src/external/apache2/llvm/dist/llvm/lib/Support/
APSInt.cpp
25
unsigned
NumBits
= ((Str.size() * 64) / 19) + 2;
26
APInt Tmp(
NumBits
, Str, /*radix=*/10);
29
if (MinBits <
NumBits
)
35
if (ActiveBits <
NumBits
)
/src/external/apache2/llvm/dist/clang/lib/AST/Interp/
ByteCodeExprGen.h
194
bool emitConst(PrimType T, unsigned
NumBits
, const llvm::APInt &Value,
200
unsigned
NumBits
= getIntWidth(Ty);
201
APInt WrappedValue(
NumBits
, Value, std::is_signed<T>::value);
202
return emitConst(*Ctx.classify(Ty),
NumBits
, WrappedValue, E);
/src/external/apache2/llvm/dist/llvm/include/llvm/Bitcode/
BitcodeAnalyzer.h
66
///
NumBits
- The total size in bits of all of these blocks.
67
uint64_t
NumBits
;
78
: NumInstances(0),
NumBits
(0), NumSubBlocks(0), NumAbbrevs(0),
/src/external/apache2/llvm/dist/clang/lib/Lex/
PPExpressions.cpp
384
unsigned
NumBits
;
386
NumBits
= TI.getIntWidth();
388
NumBits
= TI.getWCharWidth();
390
NumBits
= TI.getChar16Width();
392
NumBits
= TI.getChar32Width();
394
NumBits
= TI.getCharWidth();
397
llvm::APSInt Val(
NumBits
);
/src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
BitVector.h
155
unsigned
NumBits
= 0;
157
NumBits
+= countPopulation(Bit);
158
return
NumBits
;
/src/external/apache2/llvm/dist/llvm/lib/AsmParser/
LLLexer.cpp
478
uint64_t
NumBits
= atoull(StartChar, CurPtr);
479
if (
NumBits
< IntegerType::MIN_INT_BITS ||
480
NumBits
> IntegerType::MAX_INT_BITS) {
484
TyVal = IntegerType::get(Context,
NumBits
);
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
GISelKnownBits.cpp
607
unsigned
NumBits
=
609
if (
NumBits
> 1)
610
FirstAnswer = std::max(FirstAnswer,
NumBits
);
/src/external/apache2/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/
AVRAsmBackend.cpp
373
auto
NumBits
= Info.TargetSize + Info.TargetOffset;
374
auto NumBytes = (
NumBits
/ 8) + ((
NumBits
% 8) == 0 ? 0 : 1);
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/
TypePromotion.cpp
665
unsigned
NumBits
= DestTy->getScalarSizeInBits();
667
ConstantInt::get(SrcTy, APInt::getMaxValue(
NumBits
).getZExtValue());
/src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMBaseRegisterInfo.cpp
713
unsigned
NumBits
= 0;
723
NumBits
= 8;
726
NumBits
= 12;
731
NumBits
= 8;
736
NumBits
= 12;
739
NumBits
= 8;
742
NumBits
= (BaseReg == ARM::SP ? 8 : 5);
759
unsigned Mask = (1 <<
NumBits
) - 1;
ARMBaseInstrInfo.cpp
2666
unsigned
NumBits
= 0;
2672
NumBits
= 12;
2679
NumBits
= 12;
2686
NumBits
= 8;
2697
NumBits
= 8;
2705
NumBits
= 8;
2713
NumBits
= 7;
2729
if (
NumBits
> 0) {
2733
unsigned Mask = (1 <<
NumBits
) - 1;
2744
ImmedOffset |= 1 <<
NumBits
;
[
all
...]
/src/external/apache2/llvm/dist/llvm/utils/TableGen/
SearchableTableEmitter.cpp
165
unsigned
NumBits
= BI->getNumBits();
166
if (
NumBits
<= 8)
168
if (
NumBits
<= 16)
170
if (
NumBits
<= 32)
172
if (
NumBits
<= 64)
AsmWriterEmitter.cpp
372
unsigned
NumBits
= Log2_32_Ceil(UniqueOperandCommands.size());
375
if (
NumBits
> BitsLeft) {
376
LLVM_DEBUG(errs() << "Not enough bits to densely encode " <<
NumBits
397
BitsLeft -=
NumBits
;
487
unsigned
NumBits
= Log2_32_Ceil(Commands.size());
488
assert(
NumBits
<= BitsLeft && "consistency error");
491
O << "\n // Fragment " << i << " encoded into " <<
NumBits
498
<< ((1 <<
NumBits
)-1) << ") {\n"
509
<< ((1 <<
NumBits
)-1) << ") {\n"
520
BitsLeft -=
NumBits
;
[
all
...]
FixedLenDecoderEmitter.cpp
273
unsigned
NumBits
; // number of bits to filter
294
Filter(FilterChooser &owner, unsigned startBit, unsigned
numBits
, bool mixed);
456
unsigned
NumBits
) const;
548
: Owner(f.Owner), StartBit(f.StartBit),
NumBits
(f.
NumBits
), Mixed(f.Mixed),
555
Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned
numBits
,
557
: Owner(&owner), StartBit(startBit),
NumBits
(
numBits
), Mixed(mixed) {
558
assert(StartBit +
NumBits
- 1 < Owner->BitWidth);
571
bool ok = Owner->fieldFromInsn(Field, Insn, StartBit,
NumBits
);
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Analysis/
ConstantFolding.cpp
705
unsigned
NumBits
= Ty->getPrimitiveSizeInBits();
708
if ((
NumBits
>> 3) == StrLen + 1 && (
NumBits
& 7) == 0 &&
710
APInt StrVal(
NumBits
, 0);
711
APInt SingleChar(
NumBits
, 0);
ValueTracking.cpp
2906
unsigned
NumBits
= ComputeNumSignBits(U->getOperand(0), Depth + 1, Q);
2909
return std::min(TyBits,
NumBits
+ Denominator->logBase2());
/src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTXAsmPrinter.cpp
1276
unsigned
NumBits
= cast<IntegerType>(Ty)->getBitWidth();
1277
if (
NumBits
== 1)
1279
else if (
NumBits
<= 64) {
1281
return name + utostr(
NumBits
);
/src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64FastISel.cpp
710
uint64_t
NumBits
= DL.getTypeSizeInBits(Ty);
711
NumBytes =
NumBits
/ 8;
712
if (!isPowerOf2_64(
NumBits
))
792
uint64_t
NumBits
= DL.getTypeSizeInBits(Ty);
793
NumBytes =
NumBits
/ 8;
794
if (!isPowerOf2_64(
NumBits
))
/src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp
1081
unsigned
NumBits
;
1107
Type *TruncTy = V->getType()->getWithNewBitWidth(P.
NumBits
);
1142
if (L0->StartBit + L0->
NumBits
!= L1->StartBit ||
1143
R0->StartBit + R0->
NumBits
!= R1->StartBit) {
1144
if (L1->StartBit + L1->
NumBits
!= L0->StartBit ||
1145
R1->StartBit + R1->
NumBits
!= R0->StartBit)
1152
IntPart L = {L0->From, L0->StartBit, L0->
NumBits
+ L1->
NumBits
};
1153
IntPart R = {R0->From, R0->StartBit, R0->
NumBits
+ R1->
NumBits
};
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
BitcodeWriter.cpp
854
uint64_t
NumBits
= VE.computeBitsRequiredForTypeIndicies();
859
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed,
NumBits
));
874
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed,
NumBits
));
882
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed,
NumBits
));
897
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed,
NumBits
));
904
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed,
NumBits
));
/src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGExpr.cpp
1638
unsigned
NumBits
= std::max(NumNegativeBits, NumPositiveBits + 1);
1639
assert(
NumBits
<= Bitwidth);
1640
End = llvm::APInt(Bitwidth, 1) << (
NumBits
- 1);
/src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
SIInstrInfo.cpp
7449
const unsigned
NumBits
= AMDGPU::getNumFlatOffsetBits(ST, Signed);
7452
int64_t D = 1LL << (
NumBits
- 1);
7464
ImmField = COffsetVal & maskTrailingOnes<uint64_t>(
NumBits
);
SIISelLowering.cpp
2436
unsigned
NumBits
2439
DAG.getValueType(EVT::getIntegerVT(*DAG.getContext(),
NumBits
)));
/src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
SystemZISelLowering.cpp
2087
unsigned
NumBits
= Load->getMemoryVT().getSizeInBits();
2088
if ((
NumBits
!= 8 &&
NumBits
!= 16) ||
2089
NumBits
!= Load->getMemoryVT().getStoreSizeInBits())
2096
uint64_t Mask = (1 <<
NumBits
) - 1;
2100
if (uint64_t(SignedValue) + (uint64_t(1) << (
NumBits
- 1)) > Mask)
2106
} else if (
NumBits
== 8) {
/src/external/apache2/llvm/dist/clang/lib/Sema/
SemaExpr.cpp
9814
unsigned
NumBits
= IntSigned
9818
if (Order < 0 && S.Context.getIntWidth(OtherIntTy) <
NumBits
)
9825
NumBits
> S.Context.getIntWidth(OtherIntTy));
Completed in 127 milliseconds
1
2
Indexes created Fri Mar 06 19:51:54 UTC 2026