/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 37 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 40 if (BitSize == 0) in getIntImmCost() 43 if (BitSize > 64) in getIntImmCost() 70 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 73 if (BitSize == 0) in getIntImmCost() 76 if (BitSize > 64) in getIntImmCost() 92 if (BitSize == 8) in getIntImmCost() 141 if (BitSize <= 32) in getIntImmCost() 152 if (TII->isRxSBGMask(Imm.getZExtValue(), BitSize, Start, End)) in getIntImmCost() 188 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local [all …]
|
D | SystemZISelDAGToDAG.cpp | 120 : Opcode(Op), BitSize(N.getValueType().getSizeInBits()), in RxSBGOperands() 121 Mask(allOnes(BitSize)), Input(N), Start(64 - BitSize), End(63), in RxSBGOperands() 125 unsigned BitSize; member 730 if (TII->isRxSBGMask(Mask, RxSBG.BitSize, RxSBG.Start, RxSBG.End)) { in refineRxSBGMask() 752 uint64_t BitSize = N.getValueType().getSizeInBits(); in expandRxSBG() local 753 uint64_t Mask = allOnes(BitSize); in expandRxSBG() 809 if (RxSBG.BitSize != 64 || N.getValueType() != MVT::i64) in expandRxSBG() 841 if (maskMatters(RxSBG, allOnes(RxSBG.BitSize) - allOnes(InnerBitSize))) in expandRxSBG() 854 unsigned BitSize = N.getValueType().getSizeInBits(); in expandRxSBG() local 855 if (Count < 1 || Count >= BitSize) in expandRxSBG() [all …]
|
D | SystemZISelLowering.cpp | 1879 static unsigned getTestUnderMaskCond(unsigned BitSize, unsigned CCMask, in getTestUnderMaskCond() argument 2017 unsigned BitSize = NewC.Op0.getValueType().getSizeInBits(); in adjustForTestUnderMask() local 2022 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, in adjustForTestUnderMask() 2031 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, in adjustForTestUnderMask() 2038 NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, MaskVal, CmpVal, in adjustForTestUnderMask() 3136 int64_t BitSize = (int64_t)1 << Log2_32_Ceil(NumSignificantBits); in lowerCTPOP() local 3137 BitSize = std::min(BitSize, OrigBitSize); in lowerCTPOP() 3146 for (int64_t I = BitSize / 2; I >= 8; I = I / 2) { in lowerCTPOP() 3148 if (BitSize != OrigBitSize) in lowerCTPOP() 3150 DAG.getConstant(((uint64_t)1 << BitSize) - 1, DL, VT)); in lowerCTPOP() [all …]
|
D | SystemZISelLowering.h | 575 unsigned BinOpcode, unsigned BitSize, 581 unsigned BitSize) const;
|
D | SystemZInstrInfo.h | 249 bool isRxSBGMask(uint64_t Mask, unsigned BitSize,
|
/external/llvm/unittests/Transforms/IPO/ |
D | LowerTypeTests.cpp | 21 uint64_t BitSize; in TEST() member 63 EXPECT_EQ(T.BitSize, BSI.BitSize); in TEST() 113 uint64_t BitSize; in TEST() member 149 BABuilder.allocate(A.Bits, A.BitSize, GotByteOffset, GotMask); in TEST()
|
/external/llvm/include/llvm/Transforms/IPO/ |
D | LowerTypeTests.h | 46 uint64_t BitSize; member 58 return Bits.size() == BitSize; in isAllOnes() 200 void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 160 const unsigned BitSize = ByteSize * 8; in initializeCallbacks() local 162 std::string BitSizeStr = utostr(BitSize); in initializeCallbacks() 181 Type *Ty = Type::getIntNTy(M.getContext(), BitSize); in initializeCallbacks() 211 SmallString<32> RMWName("__tsan_atomic" + itostr(BitSize) + NamePart); in initializeCallbacks() 574 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local 575 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic() 595 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local 596 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic() 612 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local 613 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 43 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 44 if (BitSize == 0) in getIntImmCost() 49 if (BitSize & 0x3f) in getIntImmCost() 50 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost() 55 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) { in getIntImmCost() 68 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 71 if (BitSize == 0) in getIntImmCost() 121 int NumConstants = (BitSize + 63) / 64; in getIntImmCost() 134 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 137 if (BitSize == 0) in getIntImmCost() [all …]
|
D | AArch64ExpandPseudoInsts.cpp | 53 unsigned BitSize); 414 unsigned BitSize) { in expandMOVImm() argument 428 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in expandMOVImm() 430 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) { in expandMOVImm() 431 unsigned Opc = (BitSize == 32 ? AArch64::ORRWri : AArch64::ORRXri); in expandMOVImm() 435 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR) in expandMOVImm() 446 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() 477 if (BitSize == 64 && OneChunks < 3 && ZeroChunks < 3) { in expandMOVImm() 513 if (BitSize == 64 && tryToreplicateChunks(UImm, MI, MBB, MBBI, TII)) in expandMOVImm() 521 if (BitSize == 64 && trySequenceOfOnes(UImm, MI, MBB, MBBI, TII)) in expandMOVImm() [all …]
|
D | AArch64InstrInfo.cpp | 542 static bool canBeExpandedToORR(const MachineInstr &MI, unsigned BitSize) { in canBeExpandedToORR() argument 544 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in canBeExpandedToORR() 546 return AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding); in canBeExpandedToORR() 3438 unsigned BitSize, OrrOpc, ZeroReg; in genAlternativeCodeSequence() local 3442 BitSize = 32; in genAlternativeCodeSequence() 3449 BitSize = 64; in genAlternativeCodeSequence() 3461 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in genAlternativeCodeSequence() 3463 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) { in genAlternativeCodeSequence() 3530 unsigned BitSize, OrrOpc, ZeroReg; in genAlternativeCodeSequence() local 3534 BitSize = 32; in genAlternativeCodeSequence() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 169 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerBSWAP() local 173 switch(BitSize) { in LowerBSWAP() 273 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP() local 274 unsigned WordSize = (BitSize + 63) / 64; in LowerCTPOP() 279 for (unsigned i = 1, ct = 0; i < (BitSize>64 ? 64 : BitSize); in LowerCTPOP() 290 if (BitSize > 64) { in LowerCTPOP() 293 BitSize -= 64; in LowerCTPOP() 306 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ() local 307 for (unsigned i = 1; i < BitSize; i <<= 1) { in LowerCTLZ()
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 169 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerBSWAP() local 173 switch(BitSize) { in LowerBSWAP() 273 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP() local 274 unsigned WordSize = (BitSize + 63) / 64; in LowerCTPOP() 279 for (unsigned i = 1, ct = 0; i < (BitSize>64 ? 64 : BitSize); in LowerCTPOP() 290 if (BitSize > 64) { in LowerCTPOP() 293 BitSize -= 64; in LowerCTPOP() 306 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ() local 307 for (unsigned i = 1; i < BitSize; i <<= 1) { in LowerCTLZ()
|
D | TargetInstrInfo.cpp | 354 unsigned BitSize = TRI->getSubRegIdxSize(SubIdx); in getStackSlotRange() local 357 if (BitSize % 8) in getStackSlotRange() 364 Size = BitSize /= 8; in getStackSlotRange()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 51 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 52 if (BitSize == 0) in getIntImmCost() 81 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 82 if (BitSize == 0) in getIntImmCost() 115 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 116 if (BitSize == 0) in getIntImmCost()
|
/external/llvm/lib/Transforms/IPO/ |
D | LowerTypeTests.cpp | 59 if (BitOffset >= BitSize) in containsGlobalOffset() 99 OS << "offset " << ByteOffset << " size " << BitSize << " align " in print() 137 BSI.BitSize = ((Max - Min) >> BSI.AlignLog2) + 1; in build() 176 uint64_t BitSize, uint64_t &AllocByteOffset, in allocate() argument 187 unsigned ReqSize = AllocByteOffset + BitSize; in allocate() 202 uint64_t BitSize; member 321 BAI->BitSize = BSI.BitSize; in createByteArray() 330 return BAI1.BitSize > BAI2.BitSize; in allocateByteArrays() 340 BAB.allocate(BAI->Bits, BAI->BitSize, ByteArrayOffsets[I], Mask); in allocateByteArrays() 382 if (BSI.BitSize <= 64) { in createBitSetTest() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 189 unsigned BitSize = getSizeInBits(); in isRound() local 190 return BitSize >= 8 && !(BitSize & (BitSize - 1)); in isRound()
|
/external/llvm/test/DebugInfo/COFF/ |
D | bitfields.ll | 34 ; CHECK: BitSize: 8 57 ; CHECK: BitSize: 23 63 ; CHECK: BitSize: 2 80 ; CHECK: BitSize: 3 155 ; CHECK: BitSize: 1
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | ValueTypes.h | 525 unsigned BitSize = getSizeInBits(); in isRound() local 526 return BitSize >= 8 && !(BitSize & (BitSize - 1)); in isRound()
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
D | bit.inl | 173 std::size_t BitSize = sizeof(genType) * 8; local 174 for(std::size_t i = 0; i < BitSize; ++i) 176 Out |= genType(1) << (BitSize - 1 - i); 187 std::size_t BitSize = sizeof(genType) * 8; local 188 return (In << Shift) | (In >> (BitSize - Shift)); 235 std::size_t BitSize = sizeof(genType) * 8; local 236 return (In >> Shift) | (In << (BitSize - Shift));
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeRecord.h | 590 BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset) in BitFieldRecord() argument 591 : TypeRecord(TypeRecordKind::BitField), Type(Type), BitSize(BitSize), in BitFieldRecord() 603 uint8_t getBitSize() const { return BitSize; } in getBitSize() 608 uint8_t BitSize; member 613 uint8_t BitSize; variable
|
/external/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.cpp | 1281 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 1282 if (BitSize == 0) in getIntImmCost() 1289 if (BitSize > 128) in getIntImmCost() 1297 if (BitSize & 0x3f) in getIntImmCost() 1298 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost() 1303 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) { in getIntImmCost() 1316 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 1319 if (BitSize == 0) in getIntImmCost() 1389 int NumConstants = (BitSize + 63) / 64; in getIntImmCost() 1403 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local [all …]
|
/external/vulkan-validation-layers/libs/glm/detail/ |
D | func_integer.inl | 419 std::size_t BitSize = sizeof(genIUType) * 8; local 420 for(std::size_t i = 0; i < BitSize; ++i) 422 Out |= genIUType(1) << (BitSize - 1 - i);
|
/external/v8/src/ |
D | bignum.cc | 20 static int BitSize(S value) { in BitSize() function 27 DCHECK(kBigitSize >= BitSize(value)); in AssignUInt16()
|
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
D | TargetLowering.h | 1833 unsigned BitSize = VT.getSizeInBits(); in getTypeConversion() local 1835 if (BitSize < 8 || !isPowerOf2_32(BitSize)) { in getTypeConversion()
|