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

/external/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp264 Value *Addr, uint32_t TypeSize, bool IsWrite,
267 Value *ShadowValue, uint32_t TypeSize);
525 static size_t TypeSizeToSizeIndex(uint32_t TypeSize) { argument
526 size_t Res = CountTrailingZeros_32(TypeSize / 8);
648 uint32_t TypeSize = TD->getTypeStoreSizeInBits(OrigTy); local
650 assert((TypeSize % 8) == 0);
653 if (TypeSize == 8 || TypeSize == 16 ||
654 TypeSize == 32 || TypeSize
696 createSlowPathCmp(IRBuilder< &IRB, Value *AddrLong, Value *ShadowValue, uint32_t TypeSize) argument
714 instrumentAddress(Instruction *OrigIns, Instruction *InsertBefore, Value *Addr, uint32_t TypeSize, bool IsWrite, Value *SizeArgument) argument
[all...]
H A DThreadSanitizer.cpp513 uint32_t TypeSize = TD->getTypeStoreSizeInBits(OrigTy); local
514 if (TypeSize != 8 && TypeSize != 16 &&
515 TypeSize != 32 && TypeSize != 64 && TypeSize != 128) {
520 size_t Idx = CountTrailingZeros_32(TypeSize / 8);
H A DMemorySanitizer.cpp594 uint32_t TypeSize = MS.TD->getTypeSizeInBits(OrigTy); local
595 return IntegerType::get(*MS.C, TypeSize);
/external/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...]
/external/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;
/external/llvm/lib/Transforms/Scalar/
H A DCodeGenPrepare.cpp1102 uint64_t TypeSize = TD->getTypeAllocSize(GTI.getIndexedType()); local
1104 ConstantOffset += CI->getSExtValue()*TypeSize;
1105 } else if (TypeSize) { // Scales of zero don't do anything.
1112 VariableScale = TypeSize;
H A DSROA.cpp3245 uint64_t TypeSize = DL.getTypeSizeInBits(Ty);
3259 TypeSize > DL.getTypeSizeInBits(InnerTy))
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp751 unsigned TypeSize = (size_t)TD.getTypeAllocSize(Ty);
754 unsigned MemToAlloc = std::max(1U, NumElements * TypeSize);
759 DEBUG(dbgs() << "Allocated Type: " << *Ty << " (" << TypeSize << " bytes) x "
/external/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);
/external/clang/lib/CodeGen/
H A DCGException.cpp449 uint64_t TypeSize = getContext().getTypeSizeInChars(ThrowType).getQuantity(); local
454 llvm::ConstantInt::get(SizeTy, TypeSize),
/external/llvm/lib/Analysis/
H A DValueTracking.cpp643 uint64_t TypeSize = TD ? TD->getTypeAllocSize(IndexedTy) : 1; local
647 unsigned(CountTrailingZeros_64(TypeSize) +
/external/clang/lib/Sema/
H A DSemaDecl.cpp10193 uint64_t TypeSize = Context.getTypeSize(FieldTy); local
10194 if (Value.getZExtValue() > TypeSize) {
10199 << (unsigned)TypeSize;
10202 << (unsigned)Value.getZExtValue() << (unsigned)TypeSize;
10208 << (unsigned)TypeSize;
10211 << (unsigned)Value.getZExtValue() << (unsigned)TypeSize;
H A DSemaExpr.cpp7409 unsigned TypeSize = Context.getTypeSize(VTy->getElementType()); local
7410 if (TypeSize == Context.getTypeSize(Context.CharTy))
7412 else if (TypeSize == Context.getTypeSize(Context.ShortTy))
7414 else if (TypeSize == Context.getTypeSize(Context.IntTy))
7416 else if (TypeSize == Context.getTypeSize(Context.LongTy))
7418 assert(TypeSize == Context.getTypeSize(Context.LongLongTy) &&

Completed in 342 milliseconds