Home
last modified time | relevance | path

Searched refs:BitSize (Results 1 – 25 of 46) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ExpandImm.cpp246 static inline void expandMOVImmSimple(uint64_t Imm, unsigned BitSize, in expandMOVImmSimple() argument
264 if (BitSize == 32) { in expandMOVImmSimple()
291 unsigned Opc = (BitSize == 32 ? AArch64::MOVKWi : AArch64::MOVKXi); in expandMOVImmSimple()
305 void expandMOVImm(uint64_t Imm, unsigned BitSize, in expandMOVImm() argument
313 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm()
322 if ((BitSize / 16) - OneChunks <= 1 || (BitSize / 16) - ZeroChunks <= 1) { in expandMOVImm()
323 expandMOVImmSimple(Imm, BitSize, OneChunks, ZeroChunks, Insn); in expandMOVImm()
328 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in expandMOVImm()
330 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) { in expandMOVImm()
331 unsigned Opc = (BitSize == 32 ? AArch64::ORRWri : AArch64::ORRXri); in expandMOVImm()
[all …]
DAArch64TargetTransformInfo.cpp63 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
64 if (BitSize == 0) in getIntImmCost()
69 if (BitSize & 0x3f) in getIntImmCost()
70 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost()
75 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) { in getIntImmCost()
88 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local
91 if (BitSize == 0) in getIntImmCostInst()
141 int NumConstants = (BitSize + 63) / 64; in getIntImmCostInst()
154 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local
157 if (BitSize == 0) in getIntImmCostIntrin()
[all …]
DAArch64ExpandImm.h28 void expandMOVImm(uint64_t Imm, unsigned BitSize,
DAArch64ExpandPseudoInsts.cpp69 unsigned BitSize);
110 unsigned BitSize) { in expandMOVImm() argument
125 AArch64_IMM::expandMOVImm(Imm, BitSize, Insn); in expandMOVImm()
139 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR) in expandMOVImm()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIntrinsicLowering.cpp57 unsigned BitSize = V->getType()->getScalarSizeInBits(); in LowerBSWAP() local
61 switch(BitSize) { in LowerBSWAP()
160 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP() local
161 unsigned WordSize = (BitSize + 63) / 64; in LowerCTPOP()
166 for (unsigned i = 1, ct = 0; i < (BitSize>64 ? 64 : BitSize); in LowerCTPOP()
177 if (BitSize > 64) { in LowerCTPOP()
180 BitSize -= 64; in LowerCTPOP()
192 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ() local
193 for (unsigned i = 1; i < BitSize; i <<= 1) { in LowerCTLZ()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCAsmBackend.cpp104 unsigned BitSize = getFixupKindInfo(Kind).TargetSize; in applyFixup() local
105 unsigned Size = (BitSize + 7) / 8; in applyFixup()
111 if (BitSize < 64) in applyFixup()
112 Value &= ((uint64_t)1 << BitSize) - 1; in applyFixup()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp220 const unsigned BitSize = ByteSize * 8; in initialize() local
222 std::string BitSizeStr = utostr(BitSize); in initialize()
239 Type *Ty = Type::getIntNTy(M.getContext(), BitSize); in initialize()
269 SmallString<32> RMWName("__tsan_atomic" + itostr(BitSize) + NamePart); in initialize()
637 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local
638 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic()
652 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local
653 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic()
669 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local
670 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGAddressAnalysis.h68 bool contains(const SelectionDAG &DAG, int64_t BitSize,
72 bool contains(const SelectionDAG &DAG, int64_t BitSize, in contains() argument
75 return contains(DAG, BitSize, Other, OtherBitSize, BitOffset); in contains()
DValueTypes.h220 unsigned BitSize = getSizeInBits(); in isRound() local
221 return BitSize >= 8 && !(BitSize & (BitSize - 1)); in isRound()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DLowerTypeTests.h41 uint64_t BitSize; member
53 return Bits.size() == BitSize; in isAllOnes()
192 void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp36 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
39 if (BitSize == 0) in getIntImmCost()
42 if (BitSize > 64) in getIntImmCost()
69 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local
72 if (BitSize == 0) in getIntImmCostInst()
75 if (BitSize > 64) in getIntImmCostInst()
91 if (BitSize == 8) in getIntImmCostInst()
140 if (BitSize <= 32) in getIntImmCostInst()
151 if (TII->isRxSBGMask(Imm.getZExtValue(), BitSize, Start, End)) in getIntImmCostInst()
187 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local
[all …]
DSystemZISelDAGToDAG.cpp121 : Opcode(Op), BitSize(N.getValueSizeInBits()), in RxSBGOperands()
122 Mask(allOnes(BitSize)), Input(N), Start(64 - BitSize), End(63), in RxSBGOperands()
126 unsigned BitSize; member
757 if (TII->isRxSBGMask(Mask, RxSBG.BitSize, RxSBG.Start, RxSBG.End)) { in refineRxSBGMask()
779 uint64_t BitSize = N.getValueSizeInBits(); in expandRxSBG() local
780 uint64_t Mask = allOnes(BitSize); in expandRxSBG()
834 if (RxSBG.BitSize != 64 || N.getValueType() != MVT::i64) in expandRxSBG()
865 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local
867 if (maskMatters(RxSBG, allOnes(BitSize) - allOnes(InnerBitSize))) { in expandRxSBG()
871 RxSBG.Rotate += (BitSize - InnerBitSize); in expandRxSBG()
[all …]
DSystemZISelLowering.cpp2285 static unsigned getTestUnderMaskCond(unsigned BitSize, unsigned CCMask, in getTestUnderMaskCond() argument
2423 unsigned BitSize = NewC.Op0.getValueSizeInBits(); in adjustForTestUnderMask() local
2430 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, in adjustForTestUnderMask()
2441 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, in adjustForTestUnderMask()
2448 NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, MaskVal, CmpVal, in adjustForTestUnderMask()
3752 int64_t BitSize = (int64_t)1 << Log2_32_Ceil(NumSignificantBits); in lowerCTPOP() local
3753 BitSize = std::min(BitSize, OrigBitSize); in lowerCTPOP()
3762 for (int64_t I = BitSize / 2; I >= 8; I = I / 2) { in lowerCTPOP()
3764 if (BitSize != OrigBitSize) in lowerCTPOP()
3766 DAG.getConstant(((uint64_t)1 << BitSize) - 1, DL, VT)); in lowerCTPOP()
[all …]
DSystemZISelLowering.h660 unsigned BinOpcode, unsigned BitSize,
666 unsigned BitSize) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h133 BaseTypeRef(unsigned BitSize, dwarf::TypeKind Encoding) : in BaseTypeRef()
134 BitSize(BitSize), Encoding(Encoding) {} in BaseTypeRef()
135 unsigned BitSize; member
DDwarfExpression.cpp450 unsigned BitSize = Op->getArg(0); in addExpression() local
458 if (CU.ExprRefedBaseTypes[I].BitSize == BitSize && in addExpression()
463 CU.ExprRefedBaseTypes.emplace_back(BitSize, Encoding); in addExpression()
473 if (PrevConvertOp && PrevConvertOp->getArg(0) < BitSize) { in addExpression()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp128 if (BitOffset >= BitSize) in containsGlobalOffset()
135 OS << "offset " << ByteOffset << " size " << BitSize << " align " in print()
173 BSI.BitSize = ((Max - Min) >> BSI.AlignLog2) + 1; in build()
212 uint64_t BitSize, uint64_t &AllocByteOffset, in allocate() argument
223 unsigned ReqSize = AllocByteOffset + BitSize; in allocate()
248 uint64_t BitSize; member
603 BAI->BitSize = BSI.BitSize; in createByteArray()
612 return BAI1.BitSize > BAI2.BitSize; in allocateByteArrays()
622 BAB.allocate(BAI->Bits, BAI->BitSize, ByteArrayOffsets[I], Mask); in allocateByteArrays()
931 uint64_t BitSize = cast<ConstantInt>(TIL.SizeM1)->getZExtValue() + 1; in exportTypeId() local
[all …]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Dbitfield.inl246 int const BitSize = static_cast<genIType>(sizeof(genIType) * 8); local
247 return (In << static_cast<genIType>(Shift)) | (In >> static_cast<genIType>(BitSize - Shift));
255 int const BitSize = static_cast<int>(sizeof(T) * 8); local
256 return (In << static_cast<T>(Shift)) | (In >> static_cast<T>(BitSize - Shift));
264 int const BitSize = static_cast<genIType>(sizeof(genIType) * 8); local
265 return (In >> static_cast<genIType>(Shift)) | (In << static_cast<genIType>(BitSize - Shift));
273 int const BitSize = static_cast<int>(sizeof(T) * 8); local
274 return (In >> static_cast<T>(Shift)) | (In << static_cast<T>(BitSize - Shift));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp64 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local
65 if (BitSize == 0) in getIntImmCost()
94 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local
95 if (BitSize == 0) in getIntImmCostIntrin()
128 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local
129 if (BitSize == 0) in getIntImmCostInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGAddressAnalysis.cpp146 bool BaseIndexOffset::contains(const SelectionDAG &DAG, int64_t BitSize, in contains() argument
158 return BitOffset + OtherBitSize <= BitSize; in contains()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h544 BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset) in BitFieldRecord() argument
545 : TypeRecord(TypeRecordKind::BitField), Type(Type), BitSize(BitSize), in BitFieldRecord()
550 uint8_t getBitSize() const { return BitSize; } in getBitSize()
553 uint8_t BitSize = 0; variable
/third_party/icu/vendor/double-conversion/upstream/double-conversion/
Dbignum.cc49 static int BitSize(const S value) { in BitSize() function
56 DOUBLE_CONVERSION_ASSERT(kBigitSize >= BitSize(value)); in AssignUInt16()
/third_party/node/deps/v8/src/base/numbers/
Dbignum.cc20 static int BitSize(S value) { in BitSize() function
26 DCHECK_GE(kBigitSize, BitSize(value)); in AssignUInt16()
/third_party/skia/third_party/externals/icu/source/i18n/
Ddouble-conversion-bignum.cpp63 static int BitSize(const S value) { in BitSize() function
70 DOUBLE_CONVERSION_ASSERT(kBigitSize >= BitSize(value)); in AssignUInt16()
/third_party/icu/icu4c/source/i18n/
Ddouble-conversion-bignum.cpp63 static int BitSize(const S value) { in BitSize() function
70 DOUBLE_CONVERSION_ASSERT(kBigitSize >= BitSize(value)); in AssignUInt16()

12