/external/clang/lib/CodeGen/ |
D | CGCUDANV.cpp | 32 llvm::Type *IntTy, *SizeTy, *VoidTy; member in __anon9870150b0111::CGNVCUDARuntime 59 llvm::Constant *Zeros[] = {llvm::ConstantInt::get(SizeTy, 0), in makeConstantString() 60 llvm::ConstantInt::get(SizeTy, 0)}; in makeConstantString() 91 SizeTy = Types.ConvertType(Ctx.getSizeType()); in CGNVCUDARuntime() 101 llvm::Type *Params[] = {VoidPtrTy, SizeTy, SizeTy}; in getSetupArgumentFn() 143 SizeTy, false); in emitDeviceStubBody() 146 SizeTy, false); in emitDeviceStubBody()
|
D | CGExprCXX.cpp | 557 = llvm::ConstantInt::get(CGF.SizeTy, typeSize.getQuantity()); in EmitCXXNewAllocSize() 562 unsigned sizeWidth = CGF.SizeTy->getBitWidth(); in EmitCXXNewAllocSize() 631 numElements = llvm::ConstantInt::get(CGF.SizeTy, in EmitCXXNewAllocSize() 644 sizeWithoutCookie = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); in EmitCXXNewAllocSize() 652 size = llvm::Constant::getAllOnesValue(CGF.SizeTy); in EmitCXXNewAllocSize() 654 size = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); in EmitCXXNewAllocSize() 685 numElements = CGF.Builder.CreateTrunc(numElements, CGF.SizeTy); in EmitCXXNewAllocSize() 690 numElements = CGF.Builder.CreateSExt(numElements, CGF.SizeTy); in EmitCXXNewAllocSize() 699 llvm::ConstantInt::get(CGF.SizeTy, minElements)); in EmitCXXNewAllocSize() 703 numElements = CGF.Builder.CreateZExt(numElements, CGF.SizeTy); in EmitCXXNewAllocSize() [all …]
|
D | CGExprAgg.cpp | 298 llvm::Value *size = llvm::ConstantInt::get(CGF.SizeTy, sz.getQuantity()); in EmitCopy() 411 llvm::Value *zero = llvm::ConstantInt::get(CGF.SizeTy, 0); in EmitArrayInit() 445 llvm::Value *one = llvm::ConstantInt::get(CGF.SizeTy, 1); in EmitArrayInit() 493 llvm::ConstantInt::get(CGF.SizeTy, NumArrayElements), in EmitArrayInit() 1516 llvm::ConstantInt::get(SizeTy, TypeInfo.first.getQuantity())); in EmitAggregateCopy() 1520 llvm::ConstantInt::get(SizeTy, TypeInfo.first.getQuantity())); in EmitAggregateCopy() 1523 SizeTy, LastElementTypeInfo.first.getQuantity())); in EmitAggregateCopy() 1528 SizeVal = llvm::ConstantInt::get(SizeTy, TypeInfo.first.getQuantity()); in EmitAggregateCopy()
|
D | CodeGenTypeCache.h | 47 llvm::IntegerType *SizeTy; member
|
D | CGBuilder.h | 62 return llvm::ConstantInt::get(TypeCache.SizeTy, N.getQuantity()); in getSize() 65 return llvm::ConstantInt::get(TypeCache.SizeTy, N); in getSize()
|
D | CGOpenMPRuntime.cpp | 1081 CGM.VoidPtrTy, CGM.SizeTy, in createRuntimeFunction() 1253 CGM.SizeTy, CGM.SizeTy, KmpRoutineEntryPtrTy}; in createRuntimeFunction() 1277 llvm::Type *TypeParams[] = {getIdentTyPointerTy(), CGM.Int32Ty, CGM.SizeTy, in createRuntimeFunction() 1293 getIdentTyPointerTy(), CGM.Int32Ty, CGM.Int32Ty, CGM.SizeTy, in createRuntimeFunction() 1310 getIdentTyPointerTy(), CGM.Int32Ty, CGM.Int32Ty, CGM.SizeTy, in createRuntimeFunction() 1544 CGM.SizeTy->getPointerTo(), in createRuntimeFunction() 1560 CGM.SizeTy->getPointerTo(), in createRuntimeFunction() 1596 CGM.SizeTy->getPointerTo(), in createRuntimeFunction() 1610 CGM.SizeTy->getPointerTo(), in createRuntimeFunction() 1624 CGM.SizeTy->getPointerTo(), in createRuntimeFunction() [all …]
|
D | ItaniumCXXABI.cpp | 1056 llvm::FunctionType::get(CGM.Int8PtrTy, CGM.SizeTy, /*IsVarArgs=*/false); in getAllocateExceptionFn() 1075 llvm::Type *SizeTy = CGF.ConvertType(getContext().getSizeType()); in emitThrow() local 1080 AllocExceptionFn, llvm::ConstantInt::get(SizeTy, TypeSize), "exception"); in emitThrow() 1761 CGF.Builder.CreateElementBitCast(CookiePtr, CGF.SizeTy); in InitializeArrayCookie() 1792 numElementsPtr = CGF.Builder.CreateElementBitCast(numElementsPtr, CGF.SizeTy); in readArrayCookieImpl() 1801 llvm::FunctionType::get(CGF.SizeTy, CGF.SizeTy->getPointerTo(0), false); in readArrayCookieImpl() 1831 cookie = CGF.Builder.CreateElementBitCast(cookie, CGF.SizeTy); in InitializeArrayCookie() 1832 llvm::Value *elementSize = llvm::ConstantInt::get(CGF.SizeTy, in InitializeArrayCookie() 1854 numElementsPtr = CGF.Builder.CreateElementBitCast(numElementsPtr, CGF.SizeTy); in readArrayCookieImpl() 1940 guardTy = CGF.SizeTy; in EmitGuardedInit()
|
D | CGCXXABI.cpp | 259 return llvm::ConstantInt::get(CGF.SizeTy, 0); in readArrayCookieImpl()
|
D | CodeGenFunction.cpp | 1624 = llvm::ConstantInt::get(SizeTy, countFromCLAs); in emitArrayLength() 1650 assert(vlaSize->getType() == SizeTy); in getVLASize() 1763 entry = Builder.CreateIntCast(Size, SizeTy, /*signed*/ false); in EmitVariablyModifiedType()
|
D | CGClass.cpp | 1682 llvm::ConstantInt::get(CGF.SizeTy, PoisonSize)}; in EmitSanitizerDtorCallback() 1684 llvm::Type *ArgTypes[] = {CGF.VoidPtrTy, CGF.SizeTy}; in EmitSanitizerDtorCallback() 1753 CGF.SizeTy, in PoisonMembers() 2020 Builder.CreateInBoundsGEP(cur, llvm::ConstantInt::get(SizeTy, 1), in EmitCXXAggrConstructorCall()
|
D | CGObjCGNU.cpp | 144 llvm::IntegerType *SizeTy; member in __anon13748a720111::CGObjCGNU 945 SizeTy = cast<llvm::IntegerType>( in CGObjCGNU() 1052 SizeTy, nullptr); in CGObjCGNU() 1730 SizeTy, in GenerateProtocolList() 1971 SizeTy, in GenerateProtocolHolderCategory()
|
D | CGDecl.cpp | 1572 llvm::Value *negativeOne = llvm::ConstantInt::get(SizeTy, -1, true); in emitArrayDestroy() 1611 llvm::Value *zero = llvm::ConstantInt::get(CGF.SizeTy, 0); in emitPartialArrayDestroy()
|
D | CGBuiltin.cpp | 3308 ConstantInt *C0 = ConstantInt::get(CGF.SizeTy, 0); in EmitCommonNeonSISDBuiltinExpr() 3529 llvm::Constant *CI = ConstantInt::get(SizeTy, 0); in EmitCommonNeonBuiltinExpr() 4779 llvm::Constant *CI = ConstantInt::get(SizeTy, 0); in vectorWrapScalar16() 5111 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() 5112 llvm::Value *Idx1 = llvm::ConstantInt::get(SizeTy, 1); in EmitAArch64BuiltinExpr() 5124 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() 5125 llvm::Value *Idx1 = llvm::ConstantInt::get(SizeTy, 1); in EmitAArch64BuiltinExpr() 5137 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() 5138 llvm::Value *Idx1 = llvm::ConstantInt::get(SizeTy, 1); in EmitAArch64BuiltinExpr() 5378 Constant *CI = ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() [all …]
|
D | CGExpr.cpp | 607 llvm::ConstantInt::get(SizeTy, AlignVal), in EmitTypeCheck() 756 llvm::Value *IndexVal = Builder.CreateIntCast(Index, SizeTy, IndexSigned); in EmitBoundsCheck() 757 llvm::Value *BoundVal = Builder.CreateIntCast(Bound, SizeTy, false); in EmitBoundsCheck() 1528 llvm::Value *Elt = llvm::ConstantInt::get(SizeTy, InIdx); in EmitLoadOfExtVectorElementLValue() 1811 llvm::Value *Elt = llvm::ConstantInt::get(SizeTy, InIdx); in EmitStoreThroughExtVectorComponentLValue()
|
D | CGCall.cpp | 3187 auto SizeTy = Context.getSizeType(); in EmitCallArgs() local 3188 auto T = Builder.getIntNTy(Context.getTypeSize(SizeTy)); in EmitCallArgs() 3190 Args.add(RValue::get(V), SizeTy); in EmitCallArgs()
|
D | CGExprScalar.cpp | 1014 Value *IIndx = llvm::ConstantInt::get(CGF.SizeTy, i); in VisitShuffleVectorExpr() 1819 llvm::ConstantInt::get(CGF.SizeTy, size.getQuantity()); in EmitScalarPrePostIncDec() 2028 return llvm::ConstantInt::get(CGF.SizeTy, Alignment); in VisitUnaryExprOrTypeTraitExpr()
|
D | CGAtomic.cpp | 832 Args.add(RValue::get(llvm::ConstantInt::get(SizeTy, Size)), in EmitAtomicExpr()
|
D | MicrosoftCXXABI.cpp | 2147 CGF.Builder.CreateElementBitCast(allocPtr, CGF.SizeTy); in readArrayCookieImpl() 2166 = CGF.Builder.CreateElementBitCast(cookiePtr, CGF.SizeTy); in InitializeArrayCookie()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | VLASizeChecker.cpp | 154 QualType SizeTy = Ctx.getSizeType(); in checkPreStmt() local 156 svalBuilder.evalCast(sizeD, SizeTy, SE->getType()).castAs<NonLoc>(); in checkPreStmt() 160 SVal EleSizeVal = svalBuilder.makeIntVal(EleSize.getQuantity(), SizeTy); in checkPreStmt() 164 state, BO_Mul, ArrayLength, EleSizeVal.castAs<NonLoc>(), SizeTy); in checkPreStmt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 933 SDValue Size, Type *SizeTy, unsigned ElemSz, 939 SDValue Size, Type *SizeTy, unsigned ElemSz, 945 Type *SizeTy, unsigned ElemSz, bool isTailCall,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | IRTranslator.cpp | 660 LLT SizeTy = getLLTForType(*CI.getArgOperand(2)->getType(), *DL); in translateMemfunc() local 663 SizeTy.getSizeInBits() != DL->getPointerSizeInBits(0)) in translateMemfunc()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 2744 Type *SizeTy = II.getLength()->getType(); in visitMemSetInst() local 2745 Constant *Size = ConstantInt::get(SizeTy, NewEndOffset - NewBeginOffset); in visitMemSetInst() 2916 Type *SizeTy = II.getLength()->getType(); in visitMemTransferInst() local 2917 Constant *Size = ConstantInt::get(SizeTy, NewEndOffset - NewBeginOffset); in visitMemTransferInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 2626 Type *SizeTy = II.getLength()->getType(); in visitMemSetInst() local 2627 Constant *Size = ConstantInt::get(SizeTy, NewEndOffset - NewBeginOffset); in visitMemSetInst() 2793 Type *SizeTy = II.getLength()->getType(); in visitMemTransferInst() local 2794 Constant *Size = ConstantInt::get(SizeTy, NewEndOffset - NewBeginOffset); in visitMemTransferInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 5750 SDValue Size, Type *SizeTy, in getAtomicMemcpy() argument 5764 Entry.Ty = SizeTy; in getAtomicMemcpy() 5852 SDValue Size, Type *SizeTy, in getAtomicMemmove() argument 5866 Entry.Ty = SizeTy; in getAtomicMemmove() 5954 SDValue Value, SDValue Size, Type *SizeTy, in getAtomicMemset() argument 5968 Entry.Ty = SizeTy; in getAtomicMemset()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVReader.cpp | 1579 Type* SizeTy = transType(BC->getSize()->getType()); in transValueWithoutDecoration() local 1580 Type* ArgTy[] = { TrgTy, SrcTy, SizeTy, Int32Ty, Int1Ty }; in transValueWithoutDecoration()
|