/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 …]
|
/external/syzkaller/prog/ |
D | size.go | 17 bitSize := lenType.BitSize 27 if lenType.BitSize != 0 { 62 if typ.BitSize != 0 { 63 a.Val = a.Val * 8 / typ.BitSize 77 if typ.BitSize != 0 { 78 a.Val = a.Val * 8 / typ.BitSize 121 elemSize := typ.BitSize / 8
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ExpandPseudoInsts.cpp | 68 unsigned BitSize); 71 unsigned BitSize, 384 unsigned BitSize) { in expandMOVImm() argument 401 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() 413 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in expandMOVImm() 415 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) { in expandMOVImm() 416 unsigned Opc = (BitSize == 32 ? AArch64::ORRWri : AArch64::ORRXri); in expandMOVImm() 420 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR) in expandMOVImm() 431 if (OneChunks >= (BitSize / 16) - 2 || ZeroChunks >= (BitSize / 16) - 2) in expandMOVImm() 432 return expandMOVImmSimple(MBB, MBBI, BitSize, OneChunks, ZeroChunks); in expandMOVImm() [all …]
|
D | AArch64TargetTransformInfo.cpp | 61 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 62 if (BitSize == 0) in getIntImmCost() 67 if (BitSize & 0x3f) in getIntImmCost() 68 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost() 73 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) { in getIntImmCost() 86 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 89 if (BitSize == 0) in getIntImmCost() 139 int NumConstants = (BitSize + 63) / 64; in getIntImmCost() 152 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 155 if (BitSize == 0) in getIntImmCost() [all …]
|
/external/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/MCTargetDesc/ |
D | SystemZMCAsmBackend.cpp | 105 unsigned BitSize = getFixupKindInfo(Kind).TargetSize; in applyFixup() local 106 unsigned Size = (BitSize + 7) / 8; in applyFixup() 112 if (BitSize < 64) in applyFixup() 113 Value &= ((uint64_t)1 << BitSize) - 1; in applyFixup()
|
/external/swiftshader/third_party/llvm-7.0/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 | 121 : Opcode(Op), BitSize(N.getValueSizeInBits()), in RxSBGOperands() 122 Mask(allOnes(BitSize)), Input(N), Start(64 - BitSize), End(63), in RxSBGOperands() 126 unsigned BitSize; member 747 if (TII->isRxSBGMask(Mask, RxSBG.BitSize, RxSBG.Start, RxSBG.End)) { in refineRxSBGMask() 769 uint64_t BitSize = N.getValueSizeInBits(); in expandRxSBG() local 770 uint64_t Mask = allOnes(BitSize); in expandRxSBG() 826 if (RxSBG.BitSize != 64 || N.getValueType() != MVT::i64) in expandRxSBG() 857 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local 859 if (maskMatters(RxSBG, allOnes(BitSize) - allOnes(InnerBitSize))) { in expandRxSBG() 863 RxSBG.Rotate += (BitSize - InnerBitSize); in expandRxSBG() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/IPO/ |
D | LowerTypeTests.h | 42 uint64_t BitSize; member 54 return Bits.size() == BitSize; in isAllOnes() 193 void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 173 const unsigned BitSize = ByteSize * 8; in initializeCallbacks() local 175 std::string BitSizeStr = utostr(BitSize); in initializeCallbacks() 194 Type *Ty = Type::getIntNTy(M.getContext(), BitSize); in initializeCallbacks() 224 SmallString<32> RMWName("__tsan_atomic" + itostr(BitSize) + NamePart); in initializeCallbacks() 605 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local 606 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic() 620 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local 621 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic() 637 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local 638 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 …]
|
/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()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 168 unsigned BitSize = V->getType()->getScalarSizeInBits(); in LowerBSWAP() local 172 switch(BitSize) { in LowerBSWAP() 271 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP() local 272 unsigned WordSize = (BitSize + 63) / 64; in LowerCTPOP() 277 for (unsigned i = 1, ct = 0; i < (BitSize>64 ? 64 : BitSize); in LowerCTPOP() 288 if (BitSize > 64) { in LowerCTPOP() 291 BitSize -= 64; in LowerCTPOP() 303 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ() local 304 for (unsigned i = 1; i < BitSize; i <<= 1) { in LowerCTLZ()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 56 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 57 if (BitSize == 0) in getIntImmCost() 86 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 87 if (BitSize == 0) in getIntImmCost() 120 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 121 if (BitSize == 0) in getIntImmCost()
|
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 218 unsigned BitSize = getSizeInBits(); in isRound() local 219 return BitSize >= 8 && !(BitSize & (BitSize - 1)); in isRound()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/COFF/ |
D | bitfields.ll | 34 ; CHECK: BitSize: 8 57 ; CHECK: BitSize: 23 63 ; CHECK: BitSize: 2 94 ; CHECK: BitSize: 3 146 ; CHECK: BitSize: 1
|