Home
last modified time | relevance | path

Searched refs:SizeTy (Results 1 – 15 of 15) sorted by relevance

/external/clang/lib/CodeGen/
DCGCUDANV.cpp34 llvm::Type *IntTy, *SizeTy; member in __anone07f460f0111::CGNVCUDARuntime
53 SizeTy = Types.ConvertType(Ctx.getSizeType()); in CGNVCUDARuntime()
63 Params.push_back(SizeTy); in getSetupArgumentFn()
64 Params.push_back(SizeTy); in getSetupArgumentFn()
104 SizeTy, false); in EmitDeviceStubBody()
107 SizeTy, false); in EmitDeviceStubBody()
DCGExprCXX.cpp519 = llvm::ConstantInt::get(CGF.SizeTy, typeSize.getQuantity()); in EmitCXXNewAllocSize()
524 unsigned sizeWidth = CGF.SizeTy->getBitWidth(); in EmitCXXNewAllocSize()
593 numElements = llvm::ConstantInt::get(CGF.SizeTy, in EmitCXXNewAllocSize()
606 sizeWithoutCookie = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); in EmitCXXNewAllocSize()
614 size = llvm::Constant::getAllOnesValue(CGF.SizeTy); in EmitCXXNewAllocSize()
616 size = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); in EmitCXXNewAllocSize()
647 numElements = CGF.Builder.CreateTrunc(numElements, CGF.SizeTy); in EmitCXXNewAllocSize()
652 numElements = CGF.Builder.CreateSExt(numElements, CGF.SizeTy); in EmitCXXNewAllocSize()
661 llvm::ConstantInt::get(CGF.SizeTy, minElements)); in EmitCXXNewAllocSize()
665 numElements = CGF.Builder.CreateZExt(numElements, CGF.SizeTy); in EmitCXXNewAllocSize()
[all …]
DItaniumCXXABI.cpp859 QualType SizeTy = Ctx.getSizeType(); in InitializeArrayCookie() local
860 CharUnits SizeSize = Ctx.getTypeSizeInChars(SizeTy); in InitializeArrayCookie()
876 CGF.ConvertType(SizeTy)->getPointerTo(AS)); in InitializeArrayCookie()
904 QualType SizeTy = getContext().getSizeType(); in ReadArrayCookie() local
905 CharUnits SizeSize = getContext().getTypeSizeInChars(SizeTy); in ReadArrayCookie()
906 llvm::Type *SizeLTy = CGF.ConvertType(SizeTy); in ReadArrayCookie()
955 llvm::IntegerType *SizeTy = in InitializeArrayCookie() local
962 CookiePtr = CGF.Builder.CreateBitCast(CookiePtr, SizeTy->getPointerTo(AS)); in InitializeArrayCookie()
963 llvm::Value *ElementSize = llvm::ConstantInt::get(SizeTy, in InitializeArrayCookie()
997 QualType SizeTy = getContext().getSizeType(); in ReadArrayCookie() local
[all …]
DCGExprAgg.cpp271 llvm::Type *SizeTy = CGF.ConvertType(CGF.getContext().getSizeType()); in EmitFinalDestCopy() local
272 llvm::Value *SizeVal = llvm::ConstantInt::get(SizeTy, size.getQuantity()); in EmitFinalDestCopy()
391 llvm::Value *zero = llvm::ConstantInt::get(CGF.SizeTy, 0); in EmitArrayInit()
420 llvm::Value *one = llvm::ConstantInt::get(CGF.SizeTy, 1); in EmitArrayInit()
480 llvm::ConstantInt::get(CGF.SizeTy, NumArrayElements), in EmitArrayInit()
1263 llvm::Type *SizeTy = ConvertType(getContext().getSizeType()); in EmitAggregateCopy() local
1264 llvm::Value *SizeVal = llvm::ConstantInt::get(SizeTy, size.getQuantity()); in EmitAggregateCopy()
1274 llvm::Type *SizeTy = ConvertType(getContext().getSizeType()); in EmitAggregateCopy() local
1276 llvm::ConstantInt::get(SizeTy, size.getQuantity()); in EmitAggregateCopy()
1316 llvm::Value *offset = llvm::ConstantInt::get(CGF.SizeTy, i); in EmitRecursiveStdInitializerListCleanup()
DCodeGenFunction.cpp913 = llvm::ConstantInt::get(SizeTy, countFromCLAs); in emitArrayLength()
939 assert(vlaSize->getType() == SizeTy); in getVLASize()
1024 entry = Builder.CreateIntCast(EmitScalarExpr(size), SizeTy, in EmitVariablyModifiedType()
DCGClass.cpp622 llvm::Type *SizeTy = ConvertType(getContext().getSizeType()); in EmitInitializerForField() local
635 ArrayIndexVar = CreateTempAlloca(SizeTy, "object.index"); in EmitInitializerForField()
636 llvm::Value *Zero = llvm::Constant::getNullValue(SizeTy); in EmitInitializerForField()
1195 Builder.CreateInBoundsGEP(cur, llvm::ConstantInt::get(SizeTy, 1), in EmitCXXAggrConstructorCall()
DCGException.cpp29 llvm::FunctionType::get(CGF.Int8PtrTy, CGF.SizeTy, /*IsVarArgs=*/false); in getAllocateExceptionFn()
425 llvm::Type *SizeTy = ConvertType(getContext().getSizeType()); in EmitCXXThrowExpr() local
431 llvm::ConstantInt::get(SizeTy, TypeSize), in EmitCXXThrowExpr()
DCGObjCGNU.cpp152 llvm::IntegerType *SizeTy; member in __anon5d69dbf60111::CGObjCGNU
700 SizeTy = cast<llvm::IntegerType>( in CGObjCGNU()
807 SizeTy, NULL); in CGObjCGNU()
1483 SizeTy, in GenerateProtocolList()
1739 SizeTy, in GenerateProtocolHolderCategory()
DCGDecl.cpp1311 llvm::Value *negativeOne = llvm::ConstantInt::get(SizeTy, -1, true); in emitArrayDestroy()
1349 llvm::Value *zero = llvm::ConstantInt::get(CGF.SizeTy, arrayDepth+1); in emitPartialArrayDestroy()
DCodeGenModule.h117 llvm::IntegerType *SizeTy; member
DCodeGenModule.cpp231 return llvm::ConstantInt::get(SizeTy, size.getQuantity()); in getSize()
DCGExprScalar.cpp1400 llvm::ConstantInt::get(CGF.SizeTy, size.getQuantity()); in EmitScalarPrePostIncDec()
DCGExpr.cpp2970 Args.add(RValue::get(llvm::ConstantInt::get(SizeTy, Size)), in EmitAtomicExpr()
/external/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp132 QualType SizeTy = Ctx.getSizeType(); in checkPreStmt() local
133 NonLoc ArrayLength = cast<NonLoc>(svalBuilder.evalCast(sizeD, SizeTy, in checkPreStmt()
138 SVal EleSizeVal = svalBuilder.makeIntVal(EleSize.getQuantity(), SizeTy); in checkPreStmt()
142 cast<NonLoc>(EleSizeVal), SizeTy); in checkPreStmt()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp9316 CanQualType SizeTy = in CheckOperatorNewDeclaration() local
9323 SizeTy, in CheckOperatorNewDeclaration()