Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp153 const size_t BitSize = ByteSize * 8; in initializeCallbacks() local
162 Type *Ty = Type::getIntNTy(M.getContext(), BitSize); in initializeCallbacks()
164 SmallString<32> AtomicLoadName("__tsan_atomic" + itostr(BitSize) + in initializeCallbacks()
169 SmallString<32> AtomicStoreName("__tsan_atomic" + itostr(BitSize) + in initializeCallbacks()
195 SmallString<32> RMWName("__tsan_atomic" + itostr(BitSize) + NamePart); in initializeCallbacks()
200 SmallString<32> AtomicCASName("__tsan_atomic" + itostr(BitSize) + in initializeCallbacks()
500 const size_t BitSize = ByteSize * 8; in instrumentAtomic() local
501 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic()
515 const size_t BitSize = ByteSize * 8; in instrumentAtomic() local
516 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic()
[all …]
/freebsd-10-stable/contrib/llvm/lib/CodeGen/
DIntrinsicLowering.cpp169 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()
DTargetInstrInfo.cpp289 unsigned BitSize = TM->getRegisterInfo()->getSubRegIdxSize(SubIdx); in getStackSlotRange() local
292 if (BitSize % 8) in getStackSlotRange()
299 Size = BitSize /= 8; in getStackSlotRange()
/freebsd-10-stable/contrib/llvm/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp114 : Opcode(Op), BitSize(N.getValueType().getSizeInBits()), in RxSBGOperands()
115 Mask(allOnes(BitSize)), Input(N), Start(64 - BitSize), End(63), in RxSBGOperands()
119 unsigned BitSize; member
684 if (TII->isRxSBGMask(Mask, RxSBG.BitSize, RxSBG.Start, RxSBG.End)) { in refineRxSBGMask()
755 if (RxSBG.BitSize != 64 || N.getValueType() != MVT::i64) in expandRxSBG()
773 if (maskMatters(RxSBG, allOnes(RxSBG.BitSize) - allOnes(InnerBitSize))) in expandRxSBG()
787 unsigned BitSize = N.getValueType().getSizeInBits(); in expandRxSBG() local
788 if (Count < 1 || Count >= BitSize) in expandRxSBG()
798 if (!refineRxSBGMask(RxSBG, allOnes(BitSize - Count) << Count)) in expandRxSBG()
815 unsigned BitSize = N.getValueType().getSizeInBits(); in expandRxSBG() local
[all …]
DSystemZISelLowering.cpp1254 static unsigned getTestUnderMaskCond(unsigned BitSize, unsigned CCMask, in getTestUnderMaskCond() argument
1370 unsigned BitSize = CmpOp0.getValueType().getSizeInBits(); in adjustForTestUnderMask() local
1375 (NewCCMask = getTestUnderMaskCond(BitSize, CCMask, MaskVal >> ShiftVal, in adjustForTestUnderMask()
1383 (NewCCMask = getTestUnderMaskCond(BitSize, CCMask, in adjustForTestUnderMask()
1390 NewCCMask = getTestUnderMaskCond(BitSize, CCMask, MaskVal, CmpVal, in adjustForTestUnderMask()
1965 int64_t BitSize = NarrowVT.getSizeInBits(); in lowerATOMIC_LOAD() local
2002 DAG.getConstant(32 - BitSize, WideVT)); in lowerATOMIC_LOAD()
2006 DAG.getConstant(uint32_t(-1) >> BitSize, WideVT)); in lowerATOMIC_LOAD()
2011 DAG.getConstant(BitSize, WideVT) }; in lowerATOMIC_LOAD()
2019 DAG.getConstant(BitSize, WideVT)); in lowerATOMIC_LOAD()
[all …]
DSystemZISelLowering.h301 unsigned BinOpcode, unsigned BitSize,
307 unsigned BitSize) const;
DSystemZInstrInfo.h240 bool isRxSBGMask(uint64_t Mask, unsigned BitSize,
DSystemZInstrInfo.cpp1178 bool SystemZInstrInfo::isRxSBGMask(uint64_t Mask, unsigned BitSize, in isRxSBGMask() argument
1195 if (isStringOfOnes(Mask ^ allOnes(BitSize), LSB, Length)) { in isRxSBGMask()
1197 assert(LSB + Length < BitSize && "Top bit must be set"); in isRxSBGMask()
/freebsd-10-stable/contrib/llvm/include/llvm/CodeGen/
DValueTypes.h712 unsigned BitSize = getSizeInBits(); in isRound() local
713 return BitSize >= 8 && !(BitSize & (BitSize - 1)); in isRound()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
DItaniumMangle.cpp2185 unsigned BitSize = (T->getNumElements() * in mangleNeonVectorType() local
2187 if (BitSize == 64) in mangleNeonVectorType()
2190 assert(BitSize == 128 && "Neon vector type not 64 or 128 bits"); in mangleNeonVectorType()
2232 unsigned BitSize = in mangleAArch64NeonVectorType() local
2234 (void)BitSize; // Silence warning. in mangleAArch64NeonVectorType()
2236 assert((BitSize == 64 || BitSize == 128) && in mangleAArch64NeonVectorType()
DASTContext.cpp1727 CharUnits ASTContext::toCharUnitsFromBits(int64_t BitSize) const { in toCharUnitsFromBits()
1728 return CharUnits::fromQuantity(BitSize / getCharWidth()); in toCharUnitsFromBits()
/freebsd-10-stable/contrib/llvm/include/llvm/Target/
DTargetLowering.h1498 unsigned BitSize = VT.getSizeInBits(); in getTypeConversion() local
1500 if (BitSize < 8 || !isPowerOf2_32(BitSize)) { in getTypeConversion()
/freebsd-10-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2199 unsigned BitSize = getDataLayout()->getTypeSizeInBits(OpTy); in ParseConstraints() local
2200 switch (BitSize) { in ParseConstraints()
2209 MVT::getVT(IntegerType::get(OpTy->getContext(), BitSize), true); in ParseConstraints()
DSelectionDAGBuilder.cpp5986 unsigned BitSize = TD->getTypeSizeInBits(OpTy); in getCallOperandValEVT() local
5987 switch (BitSize) { in getCallOperandValEVT()
5995 OpTy = IntegerType::get(Context, BitSize); in getCallOperandValEVT()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
DASTContext.h1601 CharUnits toCharUnitsFromBits(int64_t BitSize) const;
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp863 unsigned BitSize; in isAllNegativeZeroVector() local
866 if (BV->isConstantSplat(APVal, APUndef, BitSize, HasAnyUndefs, 32, true)) in isAllNegativeZeroVector()