/external/clang/lib/CodeGen/ |
D | CGCUDANV.cpp | 34 llvm::PointerType *CharPtrTy, *VoidPtrTy; member in __anon325c2a310111::CGNVCUDARuntime 55 VoidPtrTy = cast<llvm::PointerType>(Types.ConvertType(Ctx.VoidPtrTy)); in CGNVCUDARuntime() 61 Params.push_back(VoidPtrTy); in getSetupArgumentFn() 100 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy); in EmitDeviceStubBody()
|
D | CGBlocks.cpp | 79 llvm::Type *i8p = CGM.getTypes().ConvertType(C.VoidPtrTy); in buildBlockDescriptor() 301 llvm::tie(ptrSize, ptrAlign) = C.getTypeInfoInChars(C.VoidPtrTy); in initializeForBlockHeader() 316 llvm::Type *i8p = CGM.getTypes().ConvertType(C.VoidPtrTy); in initializeForBlockHeader() 385 QualType byRefPtrTy = C.VoidPtrTy; in computeBlockInfo() 700 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy); in EmitBlockLiteral() 709 isa = llvm::ConstantExpr::getBitCast(isa, VoidPtrTy); in EmitBlockLiteral() 801 src = Builder.CreateBitCast(src, VoidPtrTy); in EmitBlockLiteral() 910 VoidPtrTy, IntTy, IntTy, VoidPtrTy, in getGenericBlockLiteralType() 935 BlockLiteral = Builder.CreateBitCast(BlockLiteral, VoidPtrTy); in EmitBlockCallExpr() 939 Args.add(RValue::get(BlockLiteral), getContext().VoidPtrTy); in EmitBlockCallExpr() [all …]
|
D | CGAtomic.cpp | 435 getContext().VoidPtrTy); in EmitAtomicExpr() 452 getContext().VoidPtrTy); in EmitAtomicExpr() 454 getContext().VoidPtrTy); in EmitAtomicExpr() 466 getContext().VoidPtrTy); in EmitAtomicExpr() 468 getContext().VoidPtrTy); in EmitAtomicExpr() 476 getContext().VoidPtrTy); in EmitAtomicExpr() 484 getContext().VoidPtrTy); in EmitAtomicExpr() 693 getContext().VoidPtrTy); in EmitAtomicLoad() 695 getContext().VoidPtrTy); in EmitAtomicLoad() 850 getContext().VoidPtrTy); in EmitAtomicStore() [all …]
|
D | CGObjC.cpp | 498 llvm::Value *dest = CGF.Builder.CreateBitCast(CGF.ReturnValue, CGF.VoidPtrTy); in emitStructGetterCall() 499 args.add(RValue::get(dest), Context.VoidPtrTy); in emitStructGetterCall() 501 src = CGF.Builder.CreateBitCast(src, CGF.VoidPtrTy); in emitStructGetterCall() 502 args.add(RValue::get(src), Context.VoidPtrTy); in emitStructGetterCall() 762 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 769 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 772 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 856 llvm::Value *self = Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy); in generateObjCGetterBody() 957 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() 965 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() [all …]
|
D | ItaniumCXXABI.cpp | 744 ArgTys.push_back(Context.getPointerType(Context.VoidPtrTy)); in BuildConstructorSignature() 768 ArgTys.push_back(Context.getPointerType(Context.VoidPtrTy)); in BuildDestructorSignature() 797 QualType T = Context.getPointerType(Context.VoidPtrTy); in BuildInstanceFunctionParams() 846 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy); in EmitConstructorCall()
|
D | CGObjCRuntime.cpp | 327 lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy); in EmitAtSynchronizedStmt()
|
D | CGDebugInfo.cpp | 391 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CreateType() 668 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in getOrCreateStructPtrType() 1261 unsigned Size = Context.getTypeSize(Context.VoidPtrTy); in getOrCreateVTablePtrType() 1295 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CollectVTableInfo() 2703 fields.push_back(createFieldType("__isa", C.VoidPtrTy, 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable() 2712 fields.push_back(createFieldType("__FuncPtr", C.VoidPtrTy, 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable() 2779 std::pair<uint64_t,unsigned> ptrInfo = C.getTypeInfo(C.VoidPtrTy); in EmitDeclareOfBlockLiteralArgVariable()
|
D | CGDeclCXX.cpp | 441 ImplicitParamDecl dst(0, SourceLocation(), 0, getContext().VoidPtrTy); in generateDestroyHelper()
|
D | CGExprCXX.cpp | 1492 QualType VoidPtrTy = DeleteFTy->getArgType(0); in Emit() local 1494 = CGF.Builder.CreateBitCast(Ptr, CGF.ConvertType(VoidPtrTy)); in Emit() 1495 Args.add(RValue::get(DeletePtr), VoidPtrTy); in Emit()
|
D | CodeGenModule.h | 130 llvm::PointerType *VoidPtrTy; member
|
D | CGClass.cpp | 1743 QualType VoidPP = getContext().getPointerType(getContext().VoidPtrTy); in EmitDelegateCXXConstructorCall() 1826 VTT, getContext().getPointerType(getContext().VoidPtrTy), in EmitCXXDestructorCall()
|
D | CGObjCMac.cpp | 312 Params.push_back(Ctx.VoidPtrTy); in getCopyStructFn() 313 Params.push_back(Ctx.VoidPtrTy); in getCopyStructFn() 333 Params.push_back(Ctx.VoidPtrTy); in getCppAtomicObjectFunction() 334 Params.push_back(Ctx.VoidPtrTy); in getCppAtomicObjectFunction() 335 Params.push_back(Ctx.VoidPtrTy); in getCppAtomicObjectFunction() 5456 Ctx.VoidPtrTy, 0, 0, false, ICIS_NoInit)); in ObjCNonFragileABITypesHelper()
|
D | CGBuiltin.cpp | 1052 getContext().VoidPtrTy); in EmitBuiltinExpr() 1054 Args.add(RValue::get(llvm::Constant::getNullValue(VoidPtrTy)), in EmitBuiltinExpr() 1055 getContext().VoidPtrTy); in EmitBuiltinExpr()
|
/external/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 93 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() local 96 StructType::get(VoidPtrTy, // __prev in doInitialization() 99 VoidPtrTy, // __personality in doInitialization() 100 VoidPtrTy, // __lsda in doInitialization() 101 ArrayType::get(VoidPtrTy, 5), // __jbuf in doInitialization()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | BasicValueFactory.h | 154 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 158 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); in getIntWithPtrWidth()
|
/external/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 358 Type *VoidPtrTy = Type::getInt8PtrTy(Context); in HandleByValArgument() local 375 Type *Tys[3] = {VoidPtrTy, VoidPtrTy, Type::getInt64Ty(Context)}; in HandleByValArgument() 379 Value *DestCast = new BitCastInst(NewAlloca, VoidPtrTy, "tmp", TheCall); in HandleByValArgument() 380 Value *SrcCast = new BitCastInst(Arg, VoidPtrTy, "tmp", TheCall); in HandleByValArgument()
|
D | LowerInvoke.cpp | 122 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() local 127 Type *JmpBufTy = ArrayType::get(VoidPtrTy, JBSize); in doInitialization()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleSValBuilder.cpp | 349 BasicVals.getAPSIntType(Context.VoidPtrTy).apply(i); in evalBinOpNN() 869 if (ctx.getTypeSize(ctx.VoidPtrTy) == x->getBitWidth()) { in evalBinOpLN()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CallAndMessageChecker.cpp | 418 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy); in HandleNilReceiver()
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteObjC.cpp | 3886 Context->VoidPtrTy, 0, in SynthesizeBlockCall() 3934 Context->VoidPtrTy, 0, in RewriteBlockDeclRefExpr() 3945 Context->VoidPtrTy, 0, in RewriteBlockDeclRefExpr() 4229 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper() 4448 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl() 4524 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() 4534 Context->VoidPtrTy, 0, in SynthBlockInitExpr() 4538 Context->VoidPtrTy, in SynthBlockInitExpr() 4542 Context->getPointerType(Context->VoidPtrTy), in SynthBlockInitExpr() 4568 Exp = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr()
|
D | RewriteModernObjC.cpp | 2793 Context->getPointerType(Context->VoidPtrTy), 0, in RewriteObjCArrayLiteralExpr() 2938 Context->getPointerType(Context->VoidPtrTy), 0, in RewriteObjCDictionaryLiteralExpr() 4820 Context->VoidPtrTy, 0, in SynthesizeBlockCall() 4868 Context->VoidPtrTy, 0, in RewriteBlockDeclRefExpr() 4879 Context->VoidPtrTy, 0, in RewriteBlockDeclRefExpr() 5180 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper() 5399 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl() 5492 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() 5502 Context->VoidPtrTy, 0, in SynthBlockInitExpr() 5506 Context->VoidPtrTy, in SynthBlockInitExpr() [all …]
|
/external/clang/lib/Analysis/ |
D | FormatString.cpp | 407 Res = C.VoidPtrTy; in getRepresentativeType()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 922 VoidPtrTy = getPointerType(VoidTy); in InitBuiltinTypes() 4438 getPointerType(VoidPtrTy), in getBlockDescriptorExtendedType() 4439 getPointerType(VoidPtrTy) in getBlockDescriptorExtendedType() 4566 sz = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingTypeSize() 4595 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingForBlock() 4708 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingForMethodDecl() 5423 CurOffs += getTypeSize(VoidPtrTy); in getObjCEncodingForStructureImpl()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 1590 ArgTypes.push_back(Context.VoidPtrTy); in FindAllocationFunctions() 2000 CXXNullPtrLiteralExpr Null(Context.VoidPtrTy, SourceLocation()); in FindDeallocationFunction() 2193 if (!Context.hasSameType(Arg->getType(), Context.VoidPtrTy)) in ActOnCXXDelete() 2194 Arg = ImplicitCastExpr::Create(Context, Context.VoidPtrTy, in ActOnCXXDelete()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 753 CanQualType VoidPtrTy, NullPtrTy; variable
|