Searched refs:BitSize (Results 1 - 25 of 32) sorted by relevance

12

/external/llvm/include/llvm/Transforms/IPO/
H A DLowerBitSets.h41 uint64_t BitSize; member in struct:llvm::BitSetInfo
53 return Bits.size() == BitSize;
190 /// Allocate BitSize bits in the byte array where Bits contains the bits to
195 void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
/external/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp37 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
40 if (BitSize == 0)
43 if (BitSize > 64)
70 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
73 if (BitSize == 0)
76 if (BitSize > 64)
92 if (BitSize == 8)
141 if (BitSize <= 32)
152 if (TII->isRxSBGMask(Imm.getZExtValue(), BitSize, Start, End))
188 unsigned BitSize local
[all...]
H A DSystemZISelDAGToDAG.cpp115 // otherwise. The output value has BitSize bits, although Input may be
119 : Opcode(Op), BitSize(N.getValueType().getSizeInBits()),
120 Mask(allOnes(BitSize)), Input(N), Start(64 - BitSize), End(63),
124 unsigned BitSize; member in struct:__anon12321::RxSBGOperands
725 if (TII->isRxSBGMask(Mask, RxSBG.BitSize, RxSBG.Start, RxSBG.End)) {
794 if (RxSBG.BitSize != 64 || N.getValueType() != MVT::i64)
826 if (maskMatters(RxSBG, allOnes(RxSBG.BitSize) - allOnes(InnerBitSize)))
839 unsigned BitSize = N.getValueType().getSizeInBits(); local
840 if (Count < 1 || Count >= BitSize)
866 unsigned BitSize = N.getValueType().getSizeInBits(); local
[all...]
H A DSystemZISelLowering.h528 unsigned BinOpcode, unsigned BitSize,
534 unsigned BitSize) const;
H A DSystemZISelLowering.cpp1823 // CCMask says which comparison result is being tested and BitSize is
1826 static unsigned getTestUnderMaskCond(unsigned BitSize, unsigned CCMask, argument
1963 unsigned BitSize = NewC.Op0.getValueType().getSizeInBits(); local
1968 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask,
1977 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask,
1984 NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, MaskVal, CmpVal,
3008 int64_t BitSize = (int64_t)1 << Log2_32_Ceil(NumSignificantBits);
3009 BitSize = std::min(BitSize, OrigBitSize);
3017 // position larger than BitSize remai
[all...]
H A DSystemZInstrInfo.h227 // Mask of the R2 operand, given that only the low BitSize bits of Mask are
229 bool isRxSBGMask(uint64_t Mask, unsigned BitSize,
H A DSystemZInstrInfo.cpp1224 bool SystemZInstrInfo::isRxSBGMask(uint64_t Mask, unsigned BitSize, argument
1227 Mask &= allOnes(BitSize);
1242 if (isStringOfOnes(Mask ^ allOnes(BitSize), LSB, Length)) {
1244 assert(LSB + Length < BitSize && "Top bit must be set");
/external/llvm/unittests/Transforms/IPO/
H A DLowerBitSets.cpp20 uint64_t BitSize; member in struct:__anon12828
62 EXPECT_EQ(T.BitSize, BSI.BitSize);
112 uint64_t BitSize; member in struct:BABAlloc
148 BABuilder.allocate(A.Bits, A.BitSize, GotByteOffset, GotMask);
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp44 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
45 if (BitSize == 0)
74 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
75 if (BitSize == 0)
108 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
109 if (BitSize == 0)
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp43 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
44 if (BitSize == 0)
49 if (BitSize & 0x3f)
50 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU);
55 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) {
68 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
71 if (BitSize == 0)
121 int NumConstants = (BitSize + 63) / 64;
134 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
137 if (BitSize
[all...]
H A DAArch64ExpandPseudoInsts.cpp51 unsigned BitSize);
404 unsigned BitSize) {
410 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize);
412 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) {
413 unsigned Opc = (BitSize == 32 ? AArch64::ORRWri : AArch64::ORRXri);
417 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR)
428 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) {
459 if (BitSize == 64 && OneChunks < 3 && ZeroChunks < 3) {
495 if (BitSize
[all...]
H A DAArch64InstrInfo.cpp536 static bool canBeExpandedToORR(const MachineInstr *MI, unsigned BitSize) { argument
538 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize);
540 return AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding);
2756 unsigned BitSize, OrrOpc, ZeroReg;
2760 BitSize = 32;
2767 BitSize = 64;
2779 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize);
2781 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encodin
[all...]
/external/llvm/include/llvm/CodeGen/
H A DValueTypes.h184 unsigned BitSize = getSizeInBits(); local
185 return BitSize >= 8 && !(BitSize & (BitSize - 1));
/external/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp169 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); local
173 switch(BitSize) {
273 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); local
274 unsigned WordSize = (BitSize + 63) / 64;
279 for (unsigned i = 1, ct = 0; i < (BitSize>64 ? 64 : BitSize);
290 if (BitSize > 64) {
293 BitSize -= 64;
306 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); local
307 for (unsigned i = 1; i < BitSize;
[all...]
H A DTargetInstrInfo.cpp352 unsigned BitSize = TRI->getSubRegIdxSize(SubIdx); local
355 if (BitSize % 8)
362 Size = BitSize /= 8;
H A DTargetLoweringBase.cpp925 unsigned BitSize = VT.getSizeInBits(); local
927 if (BitSize < 8 || !isPowerOf2_32(BitSize)) {
/external/llvm/lib/Transforms/IPO/
H A DLowerBitSets.cpp58 if (BitOffset >= BitSize)
98 OS << "offset " << ByteOffset << " size " << BitSize << " align "
136 BSI.BitSize = ((Max - Min) >> BSI.AlignLog2) + 1;
175 uint64_t BitSize, uint64_t &AllocByteOffset,
186 unsigned ReqSize = AllocByteOffset + BitSize;
201 uint64_t BitSize; member in struct:__anon12434::ByteArrayInfo
357 BAI->BitSize = BSI.BitSize;
366 return BAI1.BitSize > BAI2.BitSize;
174 allocate(const std::set<uint64_t> &Bits, uint64_t BitSize, uint64_t &AllocByteOffset, uint8_t &AllocMask) argument
[all...]
/external/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp146 const unsigned BitSize = ByteSize * 8; local
148 std::string BitSizeStr = utostr(BitSize);
167 Type *Ty = Type::getIntNTy(M.getContext(), BitSize);
197 SmallString<32> RMWName("__tsan_atomic" + itostr(BitSize) + NamePart);
515 const unsigned BitSize = ByteSize * 8; local
516 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
529 const unsigned BitSize = ByteSize * 8; local
530 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
546 const unsigned BitSize = ByteSize * 8; local
547 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
560 const unsigned BitSize = ByteSize * 8; local
[all...]
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp1147 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
1148 if (BitSize == 0)
1155 if (BitSize > 128)
1163 if (BitSize & 0x3f)
1164 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU);
1169 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) {
1182 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
1185 if (BitSize == 0)
1255 int NumConstants = (BitSize + 63) / 64;
1269 unsigned BitSize local
[all...]
/external/v8/src/
H A Dbignum.cc20 static int BitSize(S value) { function in namespace:v8::internal
27 DCHECK(kBigitSize >= BitSize(value));
/external/clang/lib/AST/
H A DItaniumMangle.cpp2376 unsigned BitSize = (T->getNumElements() * local
2378 if (BitSize == 64)
2381 assert(BitSize == 128 && "Neon vector type not 64 or 128 bits");
2425 unsigned BitSize = local
2427 (void)BitSize; // Silence warning.
2429 assert((BitSize == 64 || BitSize == 128) &&
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2389 unsigned BitSize = DL.getTypeSizeInBits(OpTy); local
2390 switch (BitSize) {
2399 MVT::getVT(IntegerType::get(OpTy->getContext(), BitSize), true);
H A DDAGCombiner.cpp4529 unsigned BitSize = VT.getScalarSizeInBits(); local
4532 DAG.getConstant(APInt::getHighBitsSet(BitSize,
4533 BitSize - N1C->getZExtValue()),
4785 unsigned BitSize = N0.getScalarValueSizeInBits(); local
4786 if (BitSize <= 64) {
4787 uint64_t ShAmt = N1C->getZExtValue() + 64 - BitSize;
4798 unsigned BitSize = SmallVT.getScalarSizeInBits(); local
4799 if (N1C->getZExtValue() >= BitSize)
/external/clang/include/clang/AST/
H A DASTContext.h1797 CharUnits toCharUnitsFromBits(int64_t BitSize) const;
/external/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp1331 unsigned BitSize = 8 * OpSize;
1332 return isInlineConstant(APInt(BitSize, MO.getImm(), true));

Completed in 645 milliseconds

12