/external/clang/lib/CodeGen/ |
D | CGCUDANV.cpp | 33 llvm::Type *IntTy, *SizeTy; member in __anon3815324f0111::CGNVCUDARuntime 52 SizeTy = Types.ConvertType(Ctx.getSizeType()); in CGNVCUDARuntime() 62 Params.push_back(SizeTy); in getSetupArgumentFn() 63 Params.push_back(SizeTy); in getSetupArgumentFn() 103 SizeTy, false); in EmitDeviceStubBody() 106 SizeTy, false); in EmitDeviceStubBody()
|
D | CGExprCXX.cpp | 474 = llvm::ConstantInt::get(CGF.SizeTy, typeSize.getQuantity()); in EmitCXXNewAllocSize() 479 unsigned sizeWidth = CGF.SizeTy->getBitWidth(); in EmitCXXNewAllocSize() 548 numElements = llvm::ConstantInt::get(CGF.SizeTy, in EmitCXXNewAllocSize() 561 sizeWithoutCookie = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); in EmitCXXNewAllocSize() 569 size = llvm::Constant::getAllOnesValue(CGF.SizeTy); in EmitCXXNewAllocSize() 571 size = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); in EmitCXXNewAllocSize() 602 numElements = CGF.Builder.CreateTrunc(numElements, CGF.SizeTy); in EmitCXXNewAllocSize() 607 numElements = CGF.Builder.CreateSExt(numElements, CGF.SizeTy); in EmitCXXNewAllocSize() 616 llvm::ConstantInt::get(CGF.SizeTy, minElements)); in EmitCXXNewAllocSize() 620 numElements = CGF.Builder.CreateZExt(numElements, CGF.SizeTy); in EmitCXXNewAllocSize() [all …]
|
D | CGExprAgg.cpp | 291 llvm::Value *size = llvm::ConstantInt::get(CGF.SizeTy, sz.getQuantity()); in EmitCopy() 406 llvm::Value *zero = llvm::ConstantInt::get(CGF.SizeTy, 0); in EmitArrayInit() 435 llvm::Value *one = llvm::ConstantInt::get(CGF.SizeTy, 1); in EmitArrayInit() 482 llvm::ConstantInt::get(CGF.SizeTy, NumArrayElements), in EmitArrayInit() 1464 llvm::Type *SizeTy = ConvertType(getContext().getSizeType()); in EmitAggregateCopy() local 1465 llvm::Value *SizeVal = llvm::ConstantInt::get(SizeTy, size.getQuantity()); in EmitAggregateCopy() 1475 llvm::Type *SizeTy = ConvertType(getContext().getSizeType()); in EmitAggregateCopy() local 1477 llvm::ConstantInt::get(SizeTy, size.getQuantity()); in EmitAggregateCopy()
|
D | ItaniumCXXABI.cpp | 1460 QualType SizeTy = Ctx.getSizeType(); in InitializeArrayCookie() local 1461 CharUnits SizeSize = Ctx.getTypeSizeInChars(SizeTy); in InitializeArrayCookie() 1478 CGF.ConvertType(SizeTy)->getPointerTo(AS)); in InitializeArrayCookie() 1501 CGF.Builder.CreateBitCast(numElementsPtr, CGF.SizeTy->getPointerTo(AS)); in readArrayCookieImpl() 1532 cookie = CGF.Builder.CreateBitCast(cookie, CGF.SizeTy->getPointerTo(AS)); in InitializeArrayCookie() 1533 llvm::Value *elementSize = llvm::ConstantInt::get(CGF.SizeTy, in InitializeArrayCookie() 1558 CGF.Builder.CreateBitCast(numElementsPtr, CGF.SizeTy->getPointerTo(AS)); in readArrayCookieImpl() 1633 guardTy = (UseARMGuardVarABI ? CGF.SizeTy : CGF.Int64Ty); in EmitGuardedInit()
|
D | CGCXXABI.cpp | 246 return llvm::ConstantInt::get(CGF.SizeTy, 0); in readArrayCookieImpl()
|
D | CGException.cpp | 30 llvm::FunctionType::get(CGM.Int8PtrTy, CGM.SizeTy, /*IsVarArgs=*/false); in getAllocateExceptionFn() 438 llvm::Type *SizeTy = ConvertType(getContext().getSizeType()); in EmitCXXThrowExpr() local 444 llvm::ConstantInt::get(SizeTy, TypeSize), in EmitCXXThrowExpr()
|
D | CodeGenFunction.cpp | 1376 = llvm::ConstantInt::get(SizeTy, countFromCLAs); in emitArrayLength() 1402 assert(vlaSize->getType() == SizeTy); in getVLASize() 1514 entry = Builder.CreateIntCast(Size, SizeTy, /*signed*/ false); in EmitVariablyModifiedType()
|
D | CGClass.cpp | 612 llvm::Type *SizeTy = ConvertType(getContext().getSizeType()); in EmitInitializerForField() local 625 ArrayIndexVar = CreateTempAlloca(SizeTy, "object.index"); in EmitInitializerForField() 626 llvm::Value *Zero = llvm::Constant::getNullValue(SizeTy); in EmitInitializerForField() 1617 Builder.CreateInBoundsGEP(cur, llvm::ConstantInt::get(SizeTy, 1), in EmitCXXAggrConstructorCall()
|
D | CGBuiltin.cpp | 2509 ConstantInt *C0 = ConstantInt::get(CGF.SizeTy, 0); in EmitCommonNeonSISDBuiltinExpr() 2749 llvm::Constant *CI = ConstantInt::get(SizeTy, 0); in EmitCommonNeonBuiltinExpr() 3755 llvm::Constant *CI = ConstantInt::get(SizeTy, 0); in vectorWrapScalar16() 3764 llvm::Constant *CI = ConstantInt::get(SizeTy, 0); in vectorWrapScalar8() 3781 Constant *CI = ConstantInt::get(SizeTy, 0); in emitVectorWrappedScalar8Intrinsic() 3797 Constant *CI = ConstantInt::get(SizeTy, 0); in emitVectorWrappedScalar16Intrinsic() 4031 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() 4032 llvm::Value *Idx1 = llvm::ConstantInt::get(SizeTy, 1); in EmitAArch64BuiltinExpr() 4044 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() 4045 llvm::Value *Idx1 = llvm::ConstantInt::get(SizeTy, 1); in EmitAArch64BuiltinExpr() [all …]
|
D | CGObjCGNU.cpp | 151 llvm::IntegerType *SizeTy; member in __anona7bd50360111::CGObjCGNU 902 SizeTy = cast<llvm::IntegerType>( in CGObjCGNU() 1009 SizeTy, nullptr); in CGObjCGNU() 1687 SizeTy, in GenerateProtocolList() 1935 SizeTy, in GenerateProtocolHolderCategory()
|
D | CGExpr.cpp | 519 llvm::ConstantInt::get(SizeTy, AlignVal), in EmitTypeCheck() 660 llvm::Value *IndexVal = Builder.CreateIntCast(Index, SizeTy, IndexSigned); in EmitBoundsCheck() 661 llvm::Value *BoundVal = Builder.CreateIntCast(Bound, SizeTy, false); in EmitBoundsCheck() 1339 llvm::Value *Elt = llvm::ConstantInt::get(SizeTy, InIdx); in EmitLoadOfExtVectorElementLValue() 1608 llvm::Value *Elt = llvm::ConstantInt::get(SizeTy, InIdx); in EmitStoreThroughExtVectorComponentLValue()
|
D | CGDecl.cpp | 1444 llvm::Value *negativeOne = llvm::ConstantInt::get(SizeTy, -1, true); in emitArrayDestroy() 1482 llvm::Value *zero = llvm::ConstantInt::get(CGF.SizeTy, arrayDepth+1); in emitPartialArrayDestroy()
|
D | CodeGenModule.h | 121 llvm::IntegerType *SizeTy; member
|
D | CGAtomic.cpp | 609 Args.add(RValue::get(llvm::ConstantInt::get(SizeTy, Size)), in EmitAtomicExpr()
|
D | MicrosoftCXXABI.cpp | 1681 CGF.Builder.CreateBitCast(allocPtr, CGF.SizeTy->getPointerTo(AS)); in readArrayCookieImpl() 1701 = CGF.Builder.CreateBitCast(cookiePtr, CGF.SizeTy->getPointerTo(AS)); in InitializeArrayCookie()
|
D | CGExprScalar.cpp | 946 Value *IIndx = llvm::ConstantInt::get(CGF.SizeTy, i); in VisitShuffleVectorExpr() 1725 llvm::ConstantInt::get(CGF.SizeTy, size.getQuantity()); in EmitScalarPrePostIncDec()
|
D | CodeGenModule.cpp | 473 return llvm::ConstantInt::get(SizeTy, size.getQuantity()); in getSize()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | VLASizeChecker.cpp | 133 QualType SizeTy = Ctx.getSizeType(); in checkPreStmt() local 135 svalBuilder.evalCast(sizeD, SizeTy, SE->getType()).castAs<NonLoc>(); in checkPreStmt() 139 SVal EleSizeVal = svalBuilder.makeIntVal(EleSize.getQuantity(), SizeTy); in checkPreStmt() 143 state, BO_Mul, ArrayLength, EleSizeVal.castAs<NonLoc>(), SizeTy); in checkPreStmt()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 2419 Type *SizeTy = II.getLength()->getType(); in visitMemSetInst() local 2420 Constant *Size = ConstantInt::get(SizeTy, NewEndOffset - NewBeginOffset); in visitMemSetInst() 2585 Type *SizeTy = II.getLength()->getType(); in visitMemTransferInst() local 2586 Constant *Size = ConstantInt::get(SizeTy, NewEndOffset - NewBeginOffset); in visitMemTransferInst()
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 10911 CanQualType SizeTy = in CheckOperatorNewDeclaration() local 10918 SizeTy, in CheckOperatorNewDeclaration()
|