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

12

/external/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp144 const size_t BitSize = ByteSize * 8; local
153 Type *Ty = Type::getIntNTy(M.getContext(), BitSize);
155 SmallString<32> AtomicLoadName("__tsan_atomic" + itostr(BitSize) +
160 SmallString<32> AtomicStoreName("__tsan_atomic" + itostr(BitSize) +
186 SmallString<32> RMWName("__tsan_atomic" + itostr(BitSize) + NamePart);
191 SmallString<32> AtomicCASName("__tsan_atomic" + itostr(BitSize) +
479 const size_t BitSize = ByteSize * 8; local
480 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
494 const size_t BitSize = ByteSize * 8; local
495 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
512 const size_t BitSize = ByteSize * 8; local
526 const size_t BitSize = ByteSize * 8; local
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp144 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
145 if (BitSize == 0)
174 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
175 if (BitSize == 0)
198 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
199 if (BitSize == 0)
H A DPPCISelLowering.cpp1042 unsigned BitSize; local
1045 if (BV->isConstantSplat(APVal, APUndef, BitSize, HasAnyUndefs, 32, true))
8904 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
8905 if (BitSize == 0 || BitSize > 64)
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp161 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
162 if (BitSize == 0)
167 if (BitSize & 0x3f)
168 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU);
173 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) {
186 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
189 if (BitSize == 0)
239 unsigned NumConstants = (BitSize + 63) / 64;
251 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
254 if (BitSize
[all...]
H A DAArch64ExpandPseudoInsts.cpp42 unsigned BitSize);
392 unsigned BitSize) {
398 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize);
400 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) {
401 unsigned Opc = (BitSize == 32 ? AArch64::ORRWri : AArch64::ORRXri);
405 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR)
416 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) {
447 if (BitSize == 64 && OneChunks < 3 && ZeroChunks < 3) {
483 if (BitSize
[all...]
H A DAArch64ISelDAGToDAG.cpp327 unsigned BitSize = N.getValueType().getSizeInBits(); local
328 unsigned Val = RHS->getZExtValue() & (BitSize - 1);
H A DAArch64ISelLowering.cpp6305 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
6306 if (BitSize == 0)
6310 if (Val == 0 || AArch64_AM::isLogicalImmediate(Val, BitSize))
6315 if (BitSize == 32)
/external/llvm/include/llvm/CodeGen/
H A DValueTypes.h167 unsigned BitSize = getSizeInBits(); local
168 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.cpp293 unsigned BitSize = TM->getRegisterInfo()->getSubRegIdxSize(SubIdx); local
296 if (BitSize % 8)
303 Size = BitSize /= 8;
/external/llvm/lib/Target/SystemZ/
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:__anon26152::RxSBGOperands
683 if (TII->isRxSBGMask(Mask, RxSBG.BitSize, RxSBG.Start, RxSBG.End)) {
752 if (RxSBG.BitSize != 64 || N.getValueType() != MVT::i64)
784 if (maskMatters(RxSBG, allOnes(RxSBG.BitSize) - allOnes(InnerBitSize)))
797 unsigned BitSize = N.getValueType().getSizeInBits(); local
798 if (Count < 1 || Count >= BitSize)
824 unsigned BitSize = N.getValueType().getSizeInBits(); local
[all...]
H A DSystemZISelLowering.h306 unsigned BinOpcode, unsigned BitSize,
312 unsigned BitSize) const;
H A DSystemZISelLowering.cpp1396 // CCMask says which comparison result is being tested and BitSize is
1399 static unsigned getTestUnderMaskCond(unsigned BitSize, unsigned CCMask, argument
1534 unsigned BitSize = NewC.Op0.getValueType().getSizeInBits(); local
1539 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask,
1548 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask,
1555 NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, MaskVal, CmpVal,
2223 int64_t BitSize = NarrowVT.getSizeInBits();
2260 DAG.getConstant(32 - BitSize, WideVT));
2264 DAG.getConstant(uint32_t(-1) >> BitSize, WideVT));
2269 DAG.getConstant(BitSize, WideV
2728 emitAtomicLoadBinary(MachineInstr *MI, MachineBasicBlock *MBB, unsigned BinOpcode, unsigned BitSize, bool Invert) const argument
2982 int64_t BitSize = MI->getOperand(7).getImm(); local
[all...]
H A DSystemZInstrInfo.h224 // Mask of the R2 operand, given that only the low BitSize bits of Mask are
226 bool isRxSBGMask(uint64_t Mask, unsigned BitSize,
H A DSystemZInstrInfo.cpp1178 bool SystemZInstrInfo::isRxSBGMask(uint64_t Mask, unsigned BitSize, argument
1195 if (isStringOfOnes(Mask ^ allOnes(BitSize), LSB, Length)) {
1197 assert(LSB + Length < BitSize && "Top bit must be set");
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp933 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
934 if (BitSize == 0)
941 if (BitSize > 128)
949 if (BitSize & 0x3f)
950 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU);
955 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) {
968 unsigned BitSize = Ty->getPrimitiveSizeInBits(); local
971 if (BitSize == 0)
1022 unsigned NumConstants = (BitSize + 63) / 64;
1036 unsigned BitSize local
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
H A Dbignum.cc46 static int BitSize(S value) { function in namespace:WTF::double_conversion
52 ASSERT(kBigitSize >= BitSize(value));
/external/chromium_org/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.cpp2210 unsigned BitSize = (T->getNumElements() * local
2212 if (BitSize == 64)
2215 assert(BitSize == 128 && "Neon vector type not 64 or 128 bits");
2259 unsigned BitSize = local
2261 (void)BitSize; // Silence warning.
2263 assert((BitSize == 64 || BitSize == 128) &&
/external/llvm/include/llvm/Target/
H A DTargetLowering.h1654 unsigned BitSize = VT.getSizeInBits();
1656 if (BitSize < 8 || !isPowerOf2_32(BitSize)) {
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dwindows_usb.h880 USHORT BitSize; member in struct:_HIDP_VALUE_CAPS
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2304 unsigned BitSize = getDataLayout()->getTypeSizeInBits(OpTy); local
2305 switch (BitSize) {
2314 MVT::getVT(IntegerType::get(OpTy->getContext(), BitSize), true);
H A DDAGCombiner.cpp4096 unsigned BitSize = VT.getScalarSizeInBits(); local
4098 DAG.getConstant(APInt::getHighBitsSet(BitSize,
4099 BitSize - N1C->getZExtValue()), VT);
4327 unsigned BitSize = N0.getScalarValueSizeInBits(); local
4328 if (BitSize <= 64) {
4329 uint64_t ShAmt = N1C->getZExtValue() + 64 - BitSize;
4339 unsigned BitSize = SmallVT.getScalarSizeInBits(); local
4340 if (N1C->getZExtValue() >= BitSize)
H A DSelectionDAGBuilder.cpp6081 unsigned BitSize = DL->getTypeSizeInBits(OpTy);
6082 switch (BitSize) {
6090 OpTy = IntegerType::get(Context, BitSize);
/external/clang/include/clang/AST/
H A DASTContext.h1636 CharUnits toCharUnitsFromBits(int64_t BitSize) const;

Completed in 7951 milliseconds

12