HomeSort by: relevance | last modified time | path
    Searched defs:TypeSize (Results 1 - 22 of 22) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Support/
TypeSize.cpp 1 //===- TypeSize.cpp - Wrapper around type sizes------------------*- C++ -*-===//
9 #include "llvm/Support/TypeSize.h"
33 TypeSize::operator TypeSize::ScalarTy() const {
37 "`TypeSize::operator ScalarTy()`");
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Instrumentation/
AddressSanitizerCommon.h 27 uint64_t TypeSize;
38 TypeSize = DL.getTypeStoreSizeInBits(OpType);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGOpenCLRuntime.cpp 102 unsigned TypeSize = CGM.getContext()
105 return llvm::ConstantInt::get(Int32Ty, TypeSize, false);
112 unsigned TypeSize = CGM.getContext()
115 return llvm::ConstantInt::get(Int32Ty, TypeSize, false);
CGClass.cpp 822 uint64_t TypeSize = Info.getNonVirtualSize().getQuantity();
827 uint64_t NextField = i == SSV.size() - 1 ? TypeSize : SSV[i + 1].Offset;
ItaniumCXXABI.cpp 1319 uint64_t TypeSize = getContext().getTypeSizeInChars(ThrowType).getQuantity();
1323 AllocExceptionFn, llvm::ConstantInt::get(SizeTy, TypeSize), "exception");
CGOpenMPRuntime.cpp 7854 CharUnits TypeSize = CGF.getContext().getTypeSizeInChars(
7859 TypeSize.getQuantity() - 1);
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
CheckPlacementNew.cpp 77 CharUnits TypeSize = AstContext.getTypeSizeInChars(ElementType);
84 // size in Bytes = ElementCountNL * TypeSize
87 SvalBuilder.makeArrayIndex(TypeSize.getQuantity()),
96 TypeSize.getQuantity());
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
TypeSize.h 1 //===- TypeSize.h - Wrapper around type sizes -------------------*- C++ -*-===//
159 /// UnivariateLinearPolyBase is a base class for ElementCount and TypeSize.
258 // +-------- TypeSize - Leaf class to represent a type size
405 class TypeSize;
406 template <> struct LinearPolyBaseTypeTraits<TypeSize> {
414 // TypeSize is used to represent the size of types. If the type is of fixed
417 class TypeSize : public LinearPolySize<TypeSize> {
419 TypeSize(const LinearPolySize<TypeSize> &V) : LinearPolySize(V) {
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
StackProtector.cpp 208 unsigned TypeSize = DL.getIndexTypeSizeInBits(I->getType());
209 APInt Offset(TypeSize, 0);
210 APInt MaxOffset(TypeSize, AllocSize);
TypePromotion.cpp 146 unsigned TypeSize = 0;
153 // Does V have the same size result type as TypeSize.
155 // Does V have the same size, or narrower, result type as TypeSize.
157 // Does V have a result type that is wider than TypeSize.
159 // Does V have a result type that is narrower than TypeSize.
208 return V->getType()->getScalarSizeInBits() == TypeSize;
212 return V->getType()->getScalarSizeInBits() <= TypeSize;
216 return V->getType()->getScalarSizeInBits() > TypeSize;
220 return V->getType()->getScalarSizeInBits() < TypeSize;
224 /// a narrow 'TypeSize' value. These values will be zext to start the promotio
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
MemProfiler.cpp 152 uint64_t TypeSize;
174 Value *Addr, uint32_t TypeSize, bool IsWrite);
177 unsigned Alignment, uint32_t TypeSize,
337 Access.TypeSize = DL.getTypeStoreSizeInBits(LI->getType());
344 Access.TypeSize =
352 Access.TypeSize =
360 Access.TypeSize =
383 Access.TypeSize = DL.getTypeStoreSizeInBits(Ty);
416 uint32_t TypeSize, bool IsWrite) {
458 Access.Alignment, Access.TypeSize,
    [all...]
ThreadSanitizer.cpp 662 const uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy);
664 if (Alignment == 0 || Alignment >= 8 || (Alignment % (TypeSize / 8)) == 0) {
838 uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy);
839 if (TypeSize != 8 && TypeSize != 16 &&
840 TypeSize != 32 && TypeSize != 64 && TypeSize != 128) {
845 size_t Idx = countTrailingZeros(TypeSize / 8);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUCallLowering.cpp 420 unsigned TypeSize = DL.getTypeStoreSize(ParamTy);
430 TypeSize, Alignment);
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMTargetTransformInfo.cpp 1536 unsigned TypeSize =
1538 if (((TypeSize == 32 && (EltSize == 8 || EltSize == 16)) ||
1539 (TypeSize == 16 && EltSize == 8)) &&
1540 TypeSize * NumElems == 128) {
1541 ExtSize = TypeSize;
1551 unsigned TypeSize = T->getOperand(0)->getType()->getScalarSizeInBits();
1552 if (((EltSize == 16 && TypeSize == 32) ||
1553 (EltSize == 8 && (TypeSize == 32 || TypeSize == 16))) &&
1554 TypeSize * NumElems == 128
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
RecordLayoutBuilder.cpp 1924 CharUnits TypeSize = Context.getTypeSizeInChars(BTy);
1926 if (!llvm::isPowerOf2_64(TypeSize.getQuantity())) {
1951 if (TypeSize > FieldAlign &&
1952 llvm::isPowerOf2_64(TypeSize.getQuantity()))
1953 FieldAlign = TypeSize;
ASTContext.cpp 1761 uint64_t TypeSize = getTypeSize(T.getTypePtr());
1762 Align = std::max(Align, getTargetInfo().getMinGlobalAlign(TypeSize));
2506 uint64_t TypeSize = getTypeSize(T.getTypePtr());
2508 getTargetInfo().getMinGlobalAlign(TypeSize));
6245 /// point or a complex type (based on typeDomain/typeSize).
6247 /// 'typeSize' is a real floating point or complex type.
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
PatternMatch.h 2331 unsigned TypeSize = V->getType()->getScalarSizeInBits();
2332 if (TypeSize == 0)
2335 unsigned ShiftWidth = TypeSize - 1;
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
InlineCost.cpp 1019 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType()));
1020 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
2447 unsigned TypeSize = DL.getTypeSizeInBits(Call.getParamByValType(I));
2451 unsigned NumStores = (TypeSize + PointerSize - 1) / PointerSize;
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaType.cpp 1746 unsigned typeSize = static_cast<unsigned>(Context.getTypeSize(Result));
1747 assert(typeSize > 0 && "type size for vector must be greater than 0 bits");
1753 Result = Context.getVectorType(Result, 128/typeSize, VecKind);
2578 unsigned TypeSize = static_cast<unsigned>(Context.getTypeSize(CurType));
2586 if (VectorSizeBits % TypeSize) {
2592 if (VectorSizeBits / TypeSize > std::numeric_limits<uint32_t>::max()) {
2598 return Context.getVectorType(CurType, VectorSizeBits / TypeSize,
7828 unsigned typeSize = static_cast<unsigned>(S.Context.getTypeSize(CurType));
7830 unsigned vecSize = typeSize * numElts;
7894 unsigned TypeSize = S.Context.getTypeSize(EltType)
    [all...]
SemaDeclAttr.cpp 6662 unsigned TypeSize =
6668 S.Context.getTypeSize(getFunctionOrMethodParamType(D, 1)) != TypeSize)) {
6674 << 3 << S.Context.getIntTypeForBitwidth(TypeSize, /*Signed=*/false);
SemaChecking.cpp 633 size_t TypeSize = T->getSize().getZExtValue();
637 std::min(std::max(TypeSize, size_t(1)) - 1, FormatStrRef.find(0));
9265 size_t TypeSize = T->getSize().getZExtValue();
9266 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size());
9276 if (TypeSize <= StrRef.size() &&
9277 StrRef.substr(0, TypeSize).find('\0') == StringRef::npos) {
9328 size_t TypeSize = T->getSize().getZExtValue();
9329 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size());
SemaExpr.cpp 835 "Unexpected typesize for LongLongTy");
12126 unsigned TypeSize = Context.getTypeSize(VTy->getElementType());
12129 if (TypeSize == Context.getTypeSize(Context.CharTy))
12131 else if (TypeSize == Context.getTypeSize(Context.ShortTy))
12133 else if (TypeSize == Context.getTypeSize(Context.IntTy))
12135 else if (TypeSize == Context.getTypeSize(Context.LongTy))
12137 assert(TypeSize == Context.getTypeSize(Context.LongLongTy) &&
12142 if (TypeSize == Context.getTypeSize(Context.LongLongTy))
12145 else if (TypeSize == Context.getTypeSize(Context.LongTy))
12148 else if (TypeSize == Context.getTypeSize(Context.IntTy)
    [all...]

Completed in 136 milliseconds