Searched refs:TypeSize (Results 1 - 13 of 13) sorted by relevance

/freebsd-10.0-release/contrib/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp264 Value *Addr, uint32_t TypeSize, bool IsWrite,
267 Value *ShadowValue, uint32_t TypeSize);
522 static size_t TypeSizeToSizeIndex(uint32_t TypeSize) { argument
523 size_t Res = CountTrailingZeros_32(TypeSize / 8);
645 uint32_t TypeSize = TD->getTypeStoreSizeInBits(OrigTy); local
647 assert((TypeSize % 8) == 0);
650 if (TypeSize == 8 || TypeSize == 16 ||
651 TypeSize == 32 || TypeSize
693 createSlowPathCmp(IRBuilder< &IRB, Value *AddrLong, Value *ShadowValue, uint32_t TypeSize) argument
711 instrumentAddress(Instruction *OrigIns, Instruction *InsertBefore, Value *Addr, uint32_t TypeSize, bool IsWrite, Value *SizeArgument) argument
[all...]
H A DThreadSanitizer.cpp575 uint32_t TypeSize = TD->getTypeStoreSizeInBits(OrigTy); local
576 if (TypeSize != 8 && TypeSize != 16 &&
577 TypeSize != 32 && TypeSize != 64 && TypeSize != 128) {
582 size_t Idx = CountTrailingZeros_32(TypeSize / 8);
H A DMemorySanitizer.cpp597 uint32_t TypeSize = MS.TD->getTypeSizeInBits(OrigTy); local
598 return IntegerType::get(*MS.C, TypeSize);
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/
H A DRecordLayoutBuilder.cpp675 void LayoutWideBitField(uint64_t FieldSize, uint64_t TypeSize,
1759 uint64_t TypeSize = FieldInfo.first; local
1762 if (TypeSize > FieldAlign &&
1767 FieldAlign = TypeSize;
1779 if (TypeSizeLastFD != TypeSize) {
1816 RemainingInAlignment = TypeSize - FieldSize;
1825 uint64_t TypeSize = FieldInfo.first; local
1826 RemainingInAlignment = TypeSize - FieldSize;
1851 uint64_t TypeSize,
1922 uint64_t TypeSize local
1850 LayoutWideBitField(uint64_t FieldSize, uint64_t TypeSize, bool FieldPacked, const FieldDecl *D) argument
2104 CharUnits TypeSize = Context.getTypeSizeInChars(BTy); local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp274 APInt TypeSize(IntPtrWidth, TD->getTypeAllocSize(GTI.getIndexedType()));
275 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
923 unsigned TypeSize = TD->getTypeSizeInBits(PTy->getElementType()); local
926 unsigned NumStores = (TypeSize + PointerSize - 1) / PointerSize;
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DCodeGenPrepare.cpp1103 uint64_t TypeSize = TD->getTypeAllocSize(GTI.getIndexedType()); local
1105 ConstantOffset += CI->getSExtValue()*TypeSize;
1106 } else if (TypeSize) { // Scales of zero don't do anything.
1113 VariableScale = TypeSize;
H A DSROA.cpp3289 uint64_t TypeSize = DL.getTypeSizeInBits(Ty);
3303 TypeSize > DL.getTypeSizeInBits(InnerTy))
/freebsd-10.0-release/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1504 unsigned TypeSize = TD->getTypeAllocSize(FieldTy); local
1506 TypeSize = TD->getStructLayout(ST)->getSizeInBytes();
1509 ConstantInt::get(IntPtrTy, TypeSize),
1738 unsigned TypeSize = TD->getStructLayout(AllocSTy)->getSizeInBytes(); local
1739 Value *AllocSize = ConstantInt::get(IntPtrTy, TypeSize);
/freebsd-10.0-release/contrib/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp987 unsigned TypeSize = (size_t)TD.getTypeAllocSize(Ty);
990 unsigned MemToAlloc = std::max(1U, NumElements * TypeSize);
995 DEBUG(dbgs() << "Allocated Type: " << *Ty << " (" << TypeSize << " bytes) x "
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGException.cpp452 uint64_t TypeSize = getContext().getTypeSizeInChars(ThrowType).getQuantity(); local
457 llvm::ConstantInt::get(SizeTy, TypeSize),
/freebsd-10.0-release/contrib/llvm/lib/Analysis/
H A DValueTracking.cpp643 uint64_t TypeSize = TD ? TD->getTypeAllocSize(IndexedTy) : 1; local
647 unsigned(CountTrailingZeros_64(TypeSize) +
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDecl.cpp10388 uint64_t TypeSize = Context.getTypeSize(FieldTy); local
10389 if (Value.getZExtValue() > TypeSize) {
10394 << (unsigned)TypeSize;
10397 << (unsigned)Value.getZExtValue() << (unsigned)TypeSize;
10403 << (unsigned)TypeSize;
10406 << (unsigned)Value.getZExtValue() << (unsigned)TypeSize;
H A DSemaExpr.cpp7617 unsigned TypeSize = Context.getTypeSize(VTy->getElementType()); local
7618 if (TypeSize == Context.getTypeSize(Context.CharTy))
7620 else if (TypeSize == Context.getTypeSize(Context.ShortTy))
7622 else if (TypeSize == Context.getTypeSize(Context.IntTy))
7624 else if (TypeSize == Context.getTypeSize(Context.LongTy))
7626 assert(TypeSize == Context.getTypeSize(Context.LongLongTy) &&

Completed in 229 milliseconds