/external/clang/lib/CodeGen/ |
D | CGCUDANV.cpp | 33 llvm::Type *IntTy, *SizeTy; member in __anoncc315aab0111::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 | 511 = llvm::ConstantInt::get(CGF.SizeTy, typeSize.getQuantity()); in EmitCXXNewAllocSize() 516 unsigned sizeWidth = CGF.SizeTy->getBitWidth(); in EmitCXXNewAllocSize() 585 numElements = llvm::ConstantInt::get(CGF.SizeTy, in EmitCXXNewAllocSize() 598 sizeWithoutCookie = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); in EmitCXXNewAllocSize() 606 size = llvm::Constant::getAllOnesValue(CGF.SizeTy); in EmitCXXNewAllocSize() 608 size = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); in EmitCXXNewAllocSize() 639 numElements = CGF.Builder.CreateTrunc(numElements, CGF.SizeTy); in EmitCXXNewAllocSize() 644 numElements = CGF.Builder.CreateSExt(numElements, CGF.SizeTy); in EmitCXXNewAllocSize() 653 llvm::ConstantInt::get(CGF.SizeTy, minElements)); in EmitCXXNewAllocSize() 657 numElements = CGF.Builder.CreateZExt(numElements, CGF.SizeTy); in EmitCXXNewAllocSize() [all …]
|
D | CGExprAgg.cpp | 296 llvm::Value *size = llvm::ConstantInt::get(CGF.SizeTy, sz.getQuantity()); in EmitCopy() 411 llvm::Value *zero = llvm::ConstantInt::get(CGF.SizeTy, 0); in EmitArrayInit() 440 llvm::Value *one = llvm::ConstantInt::get(CGF.SizeTy, 1); in EmitArrayInit() 487 llvm::ConstantInt::get(CGF.SizeTy, NumArrayElements), in EmitArrayInit() 1481 llvm::Type *SizeTy = ConvertType(getContext().getSizeType()); in EmitAggregateCopy() local 1482 llvm::Value *SizeVal = llvm::ConstantInt::get(SizeTy, size.getQuantity()); in EmitAggregateCopy() 1492 llvm::Type *SizeTy = ConvertType(getContext().getSizeType()); in EmitAggregateCopy() local 1494 llvm::ConstantInt::get(SizeTy, size.getQuantity()); in EmitAggregateCopy()
|
D | ItaniumCXXABI.cpp | 929 llvm::FunctionType::get(CGM.Int8PtrTy, CGM.SizeTy, /*IsVarArgs=*/false); in getAllocateExceptionFn() 948 llvm::Type *SizeTy = CGF.ConvertType(getContext().getSizeType()); in emitThrow() local 953 AllocExceptionFn, llvm::ConstantInt::get(SizeTy, TypeSize), "exception"); in emitThrow() 1573 QualType SizeTy = Ctx.getSizeType(); in InitializeArrayCookie() local 1574 CharUnits SizeSize = Ctx.getTypeSizeInChars(SizeTy); in InitializeArrayCookie() 1589 llvm::Type *NumElementsTy = CGF.ConvertType(SizeTy)->getPointerTo(AS); in InitializeArrayCookie() 1624 CGF.Builder.CreateBitCast(numElementsPtr, CGF.SizeTy->getPointerTo(AS)); in readArrayCookieImpl() 1633 llvm::FunctionType::get(CGF.SizeTy, CGF.SizeTy->getPointerTo(0), false); in readArrayCookieImpl() 1666 cookie = CGF.Builder.CreateBitCast(cookie, CGF.SizeTy->getPointerTo(AS)); in InitializeArrayCookie() 1667 llvm::Value *elementSize = llvm::ConstantInt::get(CGF.SizeTy, in InitializeArrayCookie() [all …]
|
D | CGOpenMPRuntime.cpp | 472 CGM.VoidPtrTy, CGM.SizeTy, in createRuntimeFunction() 625 CGM.SizeTy, CGM.SizeTy, KmpRoutineEntryPtrTy}; in createRuntimeFunction() 665 getIdentTyPointerTy(), CGM.Int32Ty, CGM.Int32Ty, CGM.SizeTy, in createRuntimeFunction() 682 getIdentTyPointerTy(), CGM.Int32Ty, CGM.Int32Ty, CGM.SizeTy, in createRuntimeFunction() 1768 CGM.SizeTy, C.getTypeSizeInChars(ReductionArrayTy).getQuantity()); in emitReduction()
|
D | CGCXXABI.cpp | 246 return llvm::ConstantInt::get(CGF.SizeTy, 0); in readArrayCookieImpl()
|
D | CGClass.cpp | 624 llvm::Type *SizeTy = ConvertType(getContext().getSizeType()); in EmitInitializerForField() local 637 ArrayIndexVar = CreateTempAlloca(SizeTy, "object.index"); in EmitInitializerForField() 638 llvm::Value *Zero = llvm::Constant::getNullValue(SizeTy); in EmitInitializerForField() 1706 Builder.CreateInBoundsGEP(cur, llvm::ConstantInt::get(SizeTy, 1), in EmitCXXAggrConstructorCall()
|
D | CodeGenFunction.cpp | 1451 = llvm::ConstantInt::get(SizeTy, countFromCLAs); in emitArrayLength() 1477 assert(vlaSize->getType() == SizeTy); in getVLASize() 1590 entry = Builder.CreateIntCast(Size, SizeTy, /*signed*/ false); in EmitVariablyModifiedType()
|
D | CGBuiltin.cpp | 2703 ConstantInt *C0 = ConstantInt::get(CGF.SizeTy, 0); in EmitCommonNeonSISDBuiltinExpr() 2943 llvm::Constant *CI = ConstantInt::get(SizeTy, 0); in EmitCommonNeonBuiltinExpr() 3989 llvm::Constant *CI = ConstantInt::get(SizeTy, 0); in vectorWrapScalar16() 3998 llvm::Constant *CI = ConstantInt::get(SizeTy, 0); in vectorWrapScalar8() 4015 Constant *CI = ConstantInt::get(SizeTy, 0); in emitVectorWrappedScalar8Intrinsic() 4031 Constant *CI = ConstantInt::get(SizeTy, 0); in emitVectorWrappedScalar16Intrinsic() 4316 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() 4317 llvm::Value *Idx1 = llvm::ConstantInt::get(SizeTy, 1); in EmitAArch64BuiltinExpr() 4329 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() 4330 llvm::Value *Idx1 = llvm::ConstantInt::get(SizeTy, 1); in EmitAArch64BuiltinExpr() [all …]
|
D | CGExpr.cpp | 564 llvm::ConstantInt::get(SizeTy, AlignVal), in EmitTypeCheck() 712 llvm::Value *IndexVal = Builder.CreateIntCast(Index, SizeTy, IndexSigned); in EmitBoundsCheck() 713 llvm::Value *BoundVal = Builder.CreateIntCast(Bound, SizeTy, false); in EmitBoundsCheck() 1402 llvm::Value *Elt = llvm::ConstantInt::get(SizeTy, InIdx); in EmitLoadOfExtVectorElementLValue() 1436 llvm::ConstantInt::get(SizeTy, ix), "add.ptr"); in EmitExtVectorElementLValue() 1694 llvm::Value *Elt = llvm::ConstantInt::get(SizeTy, InIdx); in EmitStoreThroughExtVectorComponentLValue()
|
D | CGObjCGNU.cpp | 151 llvm::IntegerType *SizeTy; member in __anonbf5e84120111::CGObjCGNU 905 SizeTy = cast<llvm::IntegerType>( in CGObjCGNU() 1012 SizeTy, nullptr); in CGObjCGNU() 1693 SizeTy, in GenerateProtocolList() 1941 SizeTy, in GenerateProtocolHolderCategory()
|
D | CGDecl.cpp | 1482 llvm::Value *negativeOne = llvm::ConstantInt::get(SizeTy, -1, true); in emitArrayDestroy() 1520 llvm::Value *zero = llvm::ConstantInt::get(CGF.SizeTy, arrayDepth+1); in emitPartialArrayDestroy()
|
D | CodeGenModule.h | 124 llvm::IntegerType *SizeTy; member
|
D | CGAtomic.cpp | 784 Args.add(RValue::get(llvm::ConstantInt::get(SizeTy, Size)), in EmitAtomicExpr()
|
D | MicrosoftCXXABI.cpp | 1909 CGF.Builder.CreateBitCast(allocPtr, CGF.SizeTy->getPointerTo(AS)); in readArrayCookieImpl() 1929 = CGF.Builder.CreateBitCast(cookiePtr, CGF.SizeTy->getPointerTo(AS)); in InitializeArrayCookie()
|
D | CGExprScalar.cpp | 1026 Value *IIndx = llvm::ConstantInt::get(CGF.SizeTy, i); in VisitShuffleVectorExpr() 1835 llvm::ConstantInt::get(CGF.SizeTy, size.getQuantity()); in EmitScalarPrePostIncDec()
|
D | CodeGenModule.cpp | 501 return llvm::ConstantInt::get(SizeTy, size.getQuantity()); in getSize()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | VLASizeChecker.cpp | 155 QualType SizeTy = Ctx.getSizeType(); in checkPreStmt() local 157 svalBuilder.evalCast(sizeD, SizeTy, SE->getType()).castAs<NonLoc>(); in checkPreStmt() 161 SVal EleSizeVal = svalBuilder.makeIntVal(EleSize.getQuantity(), SizeTy); in checkPreStmt() 165 state, BO_Mul, ArrayLength, EleSizeVal.castAs<NonLoc>(), SizeTy); in checkPreStmt()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 2797 Type *SizeTy = II.getLength()->getType(); in visitMemSetInst() local 2798 Constant *Size = ConstantInt::get(SizeTy, NewEndOffset - NewBeginOffset); in visitMemSetInst() 2964 Type *SizeTy = II.getLength()->getType(); in visitMemTransferInst() local 2965 Constant *Size = ConstantInt::get(SizeTy, NewEndOffset - NewBeginOffset); in visitMemTransferInst()
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 11514 CanQualType SizeTy = in CheckOperatorNewDeclaration() local 11521 SizeTy, in CheckOperatorNewDeclaration()
|