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

12

/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.cpp112 // otherwise. The output value has BitSize bits, although Input may be
116 : Opcode(Op), BitSize(N.getValueType().getSizeInBits()),
117 Mask(allOnes(BitSize)), Input(N), Start(64 - BitSize), End(63),
121 unsigned BitSize; member in struct:__anon10890::RxSBGOperands
685 if (TII->isRxSBGMask(Mask, RxSBG.BitSize, RxSBG.Start, RxSBG.End)) {
754 if (RxSBG.BitSize != 64 || N.getValueType() != MVT::i64)
786 if (maskMatters(RxSBG, allOnes(RxSBG.BitSize) - allOnes(InnerBitSize)))
799 unsigned BitSize = N.getValueType().getSizeInBits(); local
800 if (Count < 1 || Count >= BitSize)
826 unsigned BitSize = N.getValueType().getSizeInBits(); local
[all...]
H A DSystemZISelLowering.cpp1464 // CCMask says which comparison result is being tested and BitSize is
1467 static unsigned getTestUnderMaskCond(unsigned BitSize, unsigned CCMask, argument
1604 unsigned BitSize = NewC.Op0.getValueType().getSizeInBits(); local
1609 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask,
1618 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask,
1625 NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, MaskVal, CmpVal,
2433 int64_t BitSize = (int64_t)1 << Log2_32_Ceil(NumSignificantBits);
2434 BitSize = std::min(BitSize, OrigBitSize);
2442 // position larger than BitSize remai
3028 emitAtomicLoadBinary(MachineInstr *MI, MachineBasicBlock *MBB, unsigned BinOpcode, unsigned BitSize, bool Invert) const argument
3278 int64_t BitSize = MI->getOperand(7).getImm(); local
[all...]
H A DSystemZISelLowering.h353 unsigned BinOpcode, unsigned BitSize,
359 unsigned BitSize) const;
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.cpp1185 bool SystemZInstrInfo::isRxSBGMask(uint64_t Mask, unsigned BitSize, argument
1202 if (isStringOfOnes(Mask ^ allOnes(BitSize), LSB, Length)) {
1204 assert(LSB + Length < BitSize && "Top bit must be set");
/external/llvm/include/llvm/Transforms/IPO/
H A DLowerBitSets.h40 uint64_t BitSize; member in struct:llvm::BitSetInfo
52 return Bits.size() == BitSize;
187 /// Allocate BitSize bits in the byte array where Bits contains the bits to
192 void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
/external/llvm/unittests/Transforms/IPO/
H A DLowerBitSets.cpp20 uint64_t BitSize; member in struct:__anon11331
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 unsigned NumConstants = (BitSize + 63) / 64;
134 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
137 if (BitSize
[all...]
H A DAArch64ExpandPseudoInsts.cpp43 unsigned BitSize);
393 unsigned BitSize) {
399 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize);
401 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) {
402 unsigned Opc = (BitSize == 32 ? AArch64::ORRWri : AArch64::ORRXri);
406 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR)
417 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) {
448 if (BitSize == 64 && OneChunks < 3 && ZeroChunks < 3) {
484 if (BitSize
[all...]
H A DAArch64InstrInfo.cpp2731 unsigned BitSize, OrrOpc, ZeroReg;
2735 BitSize = 32;
2742 BitSize = 64;
2754 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize);
2756 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) {
2823 unsigned BitSize, OrrOpc, ZeroReg;
2827 BitSize = 32;
2834 BitSize = 64;
2845 uint64_t UImm = -Imm << (64 - BitSize) >> (6
[all...]
/external/llvm/include/llvm/CodeGen/
H A DValueTypes.h166 unsigned BitSize = getSizeInBits(); local
167 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.cpp295 unsigned BitSize = TRI->getSubRegIdxSize(SubIdx); local
298 if (BitSize % 8)
305 Size = BitSize /= 8;
H A DTargetLoweringBase.cpp923 unsigned BitSize = VT.getSizeInBits(); local
925 if (BitSize < 8 || !isPowerOf2_32(BitSize)) {
/external/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp142 const size_t BitSize = ByteSize * 8; local
163 Type *Ty = Type::getIntNTy(M.getContext(), BitSize);
165 SmallString<32> AtomicLoadName("__tsan_atomic" + itostr(BitSize) +
170 SmallString<32> AtomicStoreName("__tsan_atomic" + itostr(BitSize) +
195 SmallString<32> RMWName("__tsan_atomic" + itostr(BitSize) + NamePart);
200 SmallString<32> AtomicCASName("__tsan_atomic" + itostr(BitSize) +
508 const size_t BitSize = ByteSize * 8; local
509 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
522 const size_t BitSize = ByteSize * 8; local
523 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
539 const size_t BitSize = ByteSize * 8; local
553 const size_t BitSize = ByteSize * 8; local
[all...]
/external/llvm/lib/Transforms/IPO/
H A DLowerBitSets.cpp54 if (BitOffset >= BitSize)
117 BSI.BitSize = ((Max - Min) >> BSI.AlignLog2) + 1;
156 uint64_t BitSize, uint64_t &AllocByteOffset,
167 unsigned ReqSize = AllocByteOffset + BitSize;
182 uint64_t BitSize; member in struct:__anon10974::ByteArrayInfo
317 BAI->BitSize = BSI.BitSize;
326 return BAI1.BitSize > BAI2.BitSize;
336 BAB.allocate(BAI->Bits, BAI->BitSize, ByteArrayOffset
155 allocate(const std::set<uint64_t> &Bits, uint64_t BitSize, uint64_t &AllocByteOffset, uint8_t &AllocMask) argument
[all...]
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp977 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
978 if (BitSize == 0)
985 if (BitSize > 128)
993 if (BitSize & 0x3f)
994 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU);
999 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) {
1012 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
1015 if (BitSize == 0)
1067 unsigned NumConstants = (BitSize + 63) / 64;
1081 unsigned BitSize local
[all...]
/external/v8/src/
H A Dbignum.cc22 static int BitSize(S value) { function in namespace:v8::internal
29 DCHECK(kBigitSize >= BitSize(value));
/external/clang/lib/AST/
H A DItaniumMangle.cpp2248 unsigned BitSize = (T->getNumElements() * local
2250 if (BitSize == 64)
2253 assert(BitSize == 128 && "Neon vector type not 64 or 128 bits");
2297 unsigned BitSize = local
2299 (void)BitSize; // Silence warning.
2301 assert((BitSize == 64 || BitSize == 128) &&
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2329 unsigned BitSize = getDataLayout()->getTypeSizeInBits(OpTy); local
2330 switch (BitSize) {
2339 MVT::getVT(IntegerType::get(OpTy->getContext(), BitSize), true);
H A DDAGCombiner.cpp4291 unsigned BitSize = VT.getScalarSizeInBits(); local
4293 DAG.getConstant(APInt::getHighBitsSet(BitSize,
4294 BitSize - N1C->getZExtValue()), VT);
4534 unsigned BitSize = N0.getScalarValueSizeInBits(); local
4535 if (BitSize <= 64) {
4536 uint64_t ShAmt = N1C->getZExtValue() + 64 - BitSize;
4546 unsigned BitSize = SmallVT.getScalarSizeInBits(); local
4547 if (N1C->getZExtValue() >= BitSize)
/external/clang/include/clang/AST/
H A DASTContext.h1655 CharUnits toCharUnitsFromBits(int64_t BitSize) const;
/external/llvm/lib/Target/R600/
H A DAMDGPUISelLowering.cpp1559 unsigned BitSize = VT.getScalarType().getSizeInBits(); local
1568 jq = DAG.getNode(ISD::SRA, DL, VT, jq, DAG.getConstant(BitSize - 2, VT));

Completed in 536 milliseconds

12