Searched refs:getTypeSize (Results 1 - 25 of 60) sorted by relevance

123

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDILPeepholeOptimizer.cpp117 size_t getTypeSize(Type * const T, bool dereferencePtr = false);
118 size_t getTypeSize(StructType * const ST, bool dereferencePtr = false);
119 size_t getTypeSize(IntegerType * const IT, bool dereferencePtr = false);
120 size_t getTypeSize(FunctionType * const FT,bool dereferencePtr = false);
121 size_t getTypeSize(ArrayType * const AT, bool dereferencePtr = false);
122 size_t getTypeSize(VectorType * const VT, bool dereferencePtr = false);
123 size_t getTypeSize(PointerType * const PT, bool dereferencePtr = false);
124 size_t getTypeSize(OpaqueType * const OT, bool dereferencePtr = false);
958 unsigned size = getTypeSize(Ty);
1174 size_t AMDGPUPeepholeOpt::getTypeSize(Typ function in class:AMDGPUPeepholeOpt
1212 size_t AMDGPUPeepholeOpt::getTypeSize(StructType * const ST, function in class:AMDGPUPeepholeOpt
1228 size_t AMDGPUPeepholeOpt::getTypeSize(IntegerType * const IT, function in class:AMDGPUPeepholeOpt
1233 size_t AMDGPUPeepholeOpt::getTypeSize(FunctionType * const FT, function in class:AMDGPUPeepholeOpt
1239 size_t AMDGPUPeepholeOpt::getTypeSize(ArrayType * const AT, function in class:AMDGPUPeepholeOpt
1246 size_t AMDGPUPeepholeOpt::getTypeSize(VectorType * const VT, function in class:AMDGPUPeepholeOpt
1251 size_t AMDGPUPeepholeOpt::getTypeSize(PointerType * const PT, function in class:AMDGPUPeepholeOpt
1271 size_t AMDGPUPeepholeOpt::getTypeSize(OpaqueType * const OT, function in class:AMDGPUPeepholeOpt
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDILPeepholeOptimizer.cpp117 size_t getTypeSize(Type * const T, bool dereferencePtr = false);
118 size_t getTypeSize(StructType * const ST, bool dereferencePtr = false);
119 size_t getTypeSize(IntegerType * const IT, bool dereferencePtr = false);
120 size_t getTypeSize(FunctionType * const FT,bool dereferencePtr = false);
121 size_t getTypeSize(ArrayType * const AT, bool dereferencePtr = false);
122 size_t getTypeSize(VectorType * const VT, bool dereferencePtr = false);
123 size_t getTypeSize(PointerType * const PT, bool dereferencePtr = false);
124 size_t getTypeSize(OpaqueType * const OT, bool dereferencePtr = false);
958 unsigned size = getTypeSize(Ty);
1174 size_t AMDGPUPeepholeOpt::getTypeSize(Typ function in class:AMDGPUPeepholeOpt
1212 size_t AMDGPUPeepholeOpt::getTypeSize(StructType * const ST, function in class:AMDGPUPeepholeOpt
1228 size_t AMDGPUPeepholeOpt::getTypeSize(IntegerType * const IT, function in class:AMDGPUPeepholeOpt
1233 size_t AMDGPUPeepholeOpt::getTypeSize(FunctionType * const FT, function in class:AMDGPUPeepholeOpt
1239 size_t AMDGPUPeepholeOpt::getTypeSize(ArrayType * const AT, function in class:AMDGPUPeepholeOpt
1246 size_t AMDGPUPeepholeOpt::getTypeSize(VectorType * const VT, function in class:AMDGPUPeepholeOpt
1251 size_t AMDGPUPeepholeOpt::getTypeSize(PointerType * const PT, function in class:AMDGPUPeepholeOpt
1271 size_t AMDGPUPeepholeOpt::getTypeSize(OpaqueType * const OT, function in class:AMDGPUPeepholeOpt
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h97 return APSIntType(Ctx.getTypeSize(T),
154 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
158 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
162 return getValue(b ? 1 : 0, Ctx.getTypeSize(T), false);
H A DSValBuilder.h69 ArrayIndexWidth(context.getTypeSize(ArrayIndexTy)) {}
/external/clang/lib/CodeGen/
H A DTargetInfo.cpp278 if (Found && Context.getTypeSize(Found) != Context.getTypeSize(T))
296 uint64_t Size = Context.getTypeSize(Ty);
334 Size += Context.getTypeSize(FD->getType());
338 if (Size != Context.getTypeSize(Ty))
613 uint64_t Size = Context.getTypeSize(Ty);
676 uint64_t Size = getContext().getTypeSize(RetTy);
712 uint64_t Size = getContext().getTypeSize(RetTy);
741 return Ty->getAs<VectorType>() && Context.getTypeSize(Ty) == 128;
832 unsigned Size = getContext().getTypeSize(T
[all...]
H A DCodeGenTypes.cpp93 (unsigned)Context.getTypeSize(T));
351 static_cast<unsigned>(Context.getTypeSize(T)));
594 uint64_t valueSize = Context.getTypeSize(valueType);
595 uint64_t atomicSize = Context.getTypeSize(Ty);
620 return Context.getTypeSize(type) != Context.getTypeSize(type->getValueType());
H A DCGDebugInfo.cpp420 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
460 CGM.getContext().getTypeSize(BT),
502 uint64_t Size = CGM.getContext().getTypeSize(BT);
515 uint64_t Size = CGM.getContext().getTypeSize(Ty);
643 // Size is always the size of a pointer. We can't use getTypeSize here
659 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
693 uint64_t Size = CGM.getContext().getTypeSize(Ty);
708 FieldSize = CGM.getContext().getTypeSize(Ty);
1379 unsigned Size = Context.getTypeSize(Context.VoidPtrTy);
1408 unsigned Size = CGM.getContext().getTypeSize(CG
[all...]
H A DCGStmt.cpp1840 uint64_t InputSize = getContext().getTypeSize(InputTy);
1841 if (getContext().getTypeSize(OutputType) < InputSize) {
1917 if (getContext().getTypeSize(OutputType) >
1918 getContext().getTypeSize(InputTy)) {
/external/clang/lib/Sema/
H A DSemaStmtAsm.cpp182 unsigned Size = Context.getTypeSize(Ty);
258 unsigned Size = Context.getTypeSize(Ty);
314 uint64_t OutSize = Context.getTypeSize(OutTy);
315 uint64_t InSize = Context.getTypeSize(InTy);
H A DSemaCast.cpp1652 if (Context.getTypeSize(DestTy) == Context.getTypeSize(SrcTy)) {
1689 && Self.Context.getTypeSize(DestType) >
1690 Self.Context.getTypeSize(SrcType)) {
1805 if (Self.Context.getTypeSize(DestMemPtr) !=
1806 Self.Context.getTypeSize(SrcMemPtr)) {
1823 if (Self.Context.getTypeSize(SrcType) >
1824 Self.Context.getTypeSize(DestType)) {
1845 if (Self.Context.getTypeSize(SrcType)
1846 == Self.Context.getTypeSize(DestTyp
[all...]
H A DSemaChecking.cpp561 if (Context.getTypeSize(ValType) > MaxWidth) {
3161 if (V.getActiveBits() <= S.Context.getTypeSize(IntendedTy))
3660 uint64_t ArgSize = Context.getTypeSize(ArgType);
3664 if (Context.getTypeSize(ParamType) >= ArgSize) {
3830 S.Context.getTypeSize(ArgType) <=
3831 S.Context.getTypeSize(ParamType)) {
3933 if (Context.getTypeSize(ArgType) <= Context.getTypeSize(ParamType))
4117 (Context.getTypeSize(PointeeTy) == Context.getCharWidth()))
5883 if (S.Context.getTypeSize(Sourc
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersASTChecker.cpp41 return (ASTC.getTypeSize(T) == PtrWidth);
H A DCallAndMessageChecker.cpp552 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy);
553 const uint64_t returnTypeSize = Ctx.getTypeSize(CanRetTy);
H A DBasicObjCFoundationChecks.cpp402 return Ctx.getTypeSize(T);
486 uint64_t SourceSize = Ctx.getTypeSize(T);
/external/clang/lib/AST/
H A DMangle.cpp168 ArgWords += llvm::RoundUpToAlignment(ASTContext.getTypeSize(AT), 32) / 32;
H A DASTContext.cpp1328 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType)))
1791 return std::max(ABIAlign, (unsigned)getTypeSize(T));
4427 uint64_t IntSize = getTypeSize(IntTy);
4465 uint64_t FromSize = getTypeSize(BT);
4469 uint64_t ToSize = getTypeSize(PromoteTypes[Idx]);
5654 CurOffs += getTypeSize(VoidPtrTy);
5716 CurOffs += getTypeSize(field->getType());
5914 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1);
5974 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1);
5983 llvm::APInt Size(Context->getTypeSize(Contex
[all...]
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeVendor.cpp450 if (ast_ctx.getTypeSize(ast_ctx.VoidTy) == 64)
463 if (ast_ctx.getTypeSize(ast_ctx.VoidTy) == 64)
/external/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp77 unsigned castSize = Context.getTypeSize(castTy);
167 unsigned BitWidth = Context.getTypeSize(castTy);
286 uint64_t TypeWidth = Ctx.getTypeSize(SymbolType);
/external/lldb/source/Symbol/
H A DClangASTContext.cpp531 uint64_t qual_type_bit_size = ast->getTypeSize(qual_type);
2135 if (bit_size == ast->getTypeSize(ast->FloatTy))
2137 else if (bit_size == ast->getTypeSize(ast->DoubleTy))
2139 else if (bit_size == ast->getTypeSize(ast->LongDoubleTy))
2141 else if (bit_size == ast->getTypeSize(ast->HalfTy))
H A DClangASTType.cpp1053 return m_ast->getTypeSize(m_ast->VoidPtrTy) / 8;
1713 const uint32_t bit_size = m_ast->getTypeSize (qual_type);
1717 return m_ast->getTypeSize (qual_type->getArrayElementTypeNoTypeQual()->getCanonicalTypeUnqualified());
1720 return bit_size + m_ast->getTypeSize(m_ast->ObjCBuiltinClassTy);
2929 child_byte_size = m_ast->getTypeSize(m_ast->ObjCBuiltinClassTy) / CHAR_BIT;
4323 APInt bitfield_bit_size_apint(m_ast->getTypeSize(m_ast->IntTy), bitfield_bit_size);
5359 if (m_ast->getTypeSize(enum_decl->getIntegerType()) < m_ast->getTypeSize(m_ast->IntTy))
5478 const uint64_t bit_size = m_ast->getTypeSize (qual_type);
/external/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp993 uint64_t FinalTySize = Ctx.getTypeSize(FinalTy);
994 uint64_t OrigTySize = Ctx.getTypeSize(OrigTy);
1017 OrigTySize >= Ctx.getTypeSize(Ctx.IntTy))
/external/clang/lib/Analysis/
H A DBodyFarm.cpp214 IntegerLiteral::Create(C, llvm::APInt(C.getTypeSize(C.IntTy), (uint64_t) 1),
/external/lldb/source/Core/
H A DDataExtractor.cpp1765 if (item_bit_size == ast->getTypeSize(ast->FloatTy))
1771 else if (item_bit_size == ast->getTypeSize(ast->DoubleTy))
1780 else if (item_bit_size == ast->getTypeSize(ast->LongDoubleTy))
1806 else if (item_bit_size == ast->getTypeSize(ast->HalfTy))
/external/clang/include/clang/AST/
H A DASTContext.h1623 uint64_t getTypeSize(QualType T) const { function in class:clang::ASTContext
1626 uint64_t getTypeSize(const Type *T) const { function in class:clang::ASTContext
1632 return getTypeSize(CharTy);
/external/deqp/modules/gles31/functional/
H A Des31fProgramInterfaceQueryTestCase.cpp75 static int getTypeSize (glu::DataType type) function in namespace:deqp::gles31::Functional::__anon20285
93 return glu::getDataTypeScalarSize(type.getBasicType()) * getTypeSize(glu::getDataTypeScalarType(type.getBasicType()));
481 const int elementSize = glu::getDataTypeScalarSize(component.getVariableType()->getBasicType()) * getTypeSize(glu::getDataTypeScalarType(component.getVariableType()->getBasicType()));
641 const int majorSize = numMajorElements * getTypeSize(glu::getDataTypeScalarType(component.getVariableType()->getBasicType()));

Completed in 3616 milliseconds

123