/external/clang/lib/CodeGen/ |
D | CGCUDANV.cpp | 35 llvm::PointerType *CharPtrTy, *VoidPtrTy; member in __anone07f460f0111::CGNVCUDARuntime 56 VoidPtrTy = cast<llvm::PointerType>(Types.ConvertType(Ctx.VoidPtrTy)); in CGNVCUDARuntime() 62 Params.push_back(VoidPtrTy); in getSetupArgumentFn() 101 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy); in EmitDeviceStubBody()
|
D | CGBlocks.cpp | 65 llvm::Type *i8p = CGM.getTypes().ConvertType(C.VoidPtrTy); in buildBlockDescriptor() 254 llvm::tie(ptrSize, ptrAlign) = C.getTypeInfoInChars(C.VoidPtrTy); in initializeForBlockHeader() 269 llvm::Type *i8p = CGM.getTypes().ConvertType(C.VoidPtrTy); in initializeForBlockHeader() 333 QualType byRefPtrTy = C.VoidPtrTy; in computeBlockInfo() 632 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy); in EmitBlockLiteral() 641 isa = llvm::ConstantExpr::getBitCast(isa, VoidPtrTy); in EmitBlockLiteral() 724 src = Builder.CreateBitCast(src, VoidPtrTy); in EmitBlockLiteral() 833 VoidPtrTy, IntTy, IntTy, VoidPtrTy, in getGenericBlockLiteralType() 858 BlockLiteral = Builder.CreateBitCast(BlockLiteral, VoidPtrTy); in EmitBlockCallExpr() 862 Args.add(RValue::get(BlockLiteral), getContext().VoidPtrTy); in EmitBlockCallExpr() [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() 752 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 759 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 762 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 840 llvm::Value *self = Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy); in generateObjCGetterBody() 932 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() 940 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() [all …]
|
D | ItaniumCXXABI.cpp | 692 ArgTys.push_back(Context.getPointerType(Context.VoidPtrTy)); in BuildConstructorSignature() 716 ArgTys.push_back(Context.getPointerType(Context.VoidPtrTy)); in BuildDestructorSignature() 745 QualType T = Context.getPointerType(Context.VoidPtrTy); in BuildInstanceFunctionParams()
|
D | CGObjCRuntime.cpp | 319 lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy); in EmitAtSynchronizedStmt()
|
D | CGExprCXX.cpp | 43 QualType T = getContext().getPointerType(getContext().VoidPtrTy); in EmitCXXMemberCall() 1435 QualType VoidPtrTy = DeleteFTy->getArgType(0); in Emit() local 1437 = CGF.Builder.CreateBitCast(Ptr, CGF.ConvertType(VoidPtrTy)); in Emit() 1438 Args.add(RValue::get(DeletePtr), VoidPtrTy); in Emit()
|
D | CGExpr.cpp | 2974 getContext().VoidPtrTy); in EmitAtomicExpr() 2991 getContext().VoidPtrTy); in EmitAtomicExpr() 2993 getContext().VoidPtrTy); in EmitAtomicExpr() 3005 getContext().VoidPtrTy); in EmitAtomicExpr() 3007 getContext().VoidPtrTy); in EmitAtomicExpr() 3015 getContext().VoidPtrTy); in EmitAtomicExpr() 3023 getContext().VoidPtrTy); in EmitAtomicExpr()
|
D | CGDebugInfo.cpp | 366 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CreateType() 1135 unsigned Size = Context.getTypeSize(Context.VoidPtrTy); in getOrCreateVTablePtrType() 1169 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CollectVTableInfo() 2422 fields.push_back(createFieldType("__isa", C.VoidPtrTy, 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable() 2431 fields.push_back(createFieldType("__FuncPtr", C.VoidPtrTy, 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable() 2498 std::pair<uint64_t,unsigned> ptrInfo = C.getTypeInfo(C.VoidPtrTy); in EmitDeclareOfBlockLiteralArgVariable()
|
D | CGDeclCXX.cpp | 445 ImplicitParamDecl dst(0, SourceLocation(), 0, getContext().VoidPtrTy); in generateDestroyHelper()
|
D | CodeGenModule.h | 123 llvm::PointerType *VoidPtrTy; member
|
D | CGObjCMac.cpp | 311 Params.push_back(Ctx.VoidPtrTy); in getCopyStructFn() 312 Params.push_back(Ctx.VoidPtrTy); in getCopyStructFn() 332 Params.push_back(Ctx.VoidPtrTy); in getCppAtomicObjectFunction() 333 Params.push_back(Ctx.VoidPtrTy); in getCppAtomicObjectFunction() 334 Params.push_back(Ctx.VoidPtrTy); in getCppAtomicObjectFunction() 4758 Ctx.VoidPtrTy, 0, 0, false, false)); in ObjCNonFragileABITypesHelper()
|
D | CGExprScalar.cpp | 1964 Value *result = CGF.Builder.CreateBitCast(pointer, CGF.VoidPtrTy); in emitPointerArithmetic() 1993 Value *result = CGF.Builder.CreateBitCast(pointer, CGF.VoidPtrTy); in emitPointerArithmetic()
|
D | CGBuiltin.cpp | 980 getContext().VoidPtrTy); in EmitBuiltinExpr() 982 Args.add(RValue::get(llvm::Constant::getNullValue(VoidPtrTy)), in EmitBuiltinExpr() 983 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/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/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | BasicValueFactory.h | 153 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 157 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); in getIntWithPtrWidth()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleSValBuilder.cpp | 319 i = i.extOrTrunc(Context.getTypeSize(Context.VoidPtrTy)); in evalBinOpNN() 880 if (ctx.getTypeSize(ctx.VoidPtrTy) == x->getBitWidth()) { in evalBinOpLN()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CallAndMessageChecker.cpp | 347 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy); in HandleNilReceiver()
|
/external/clang/lib/Rewrite/ |
D | RewriteObjC.cpp | 3888 Context->VoidPtrTy, 0, in SynthesizeBlockCall() 3937 Context->VoidPtrTy, 0, in RewriteBlockDeclRefExpr() 3948 Context->VoidPtrTy, 0, in RewriteBlockDeclRefExpr() 4232 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper() 4451 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl() 4527 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() 4537 Context->VoidPtrTy, 0, in SynthBlockInitExpr() 4541 Context->VoidPtrTy, in SynthBlockInitExpr() 4545 Context->getPointerType(Context->VoidPtrTy), in SynthBlockInitExpr() 4571 Exp = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr()
|
D | RewriteModernObjC.cpp | 2633 Context->getPointerType(Context->VoidPtrTy), 0, in RewriteObjCArrayLiteralExpr() 2780 Context->getPointerType(Context->VoidPtrTy), 0, in RewriteObjCDictionaryLiteralExpr() 4344 Context->VoidPtrTy, 0, in SynthesizeBlockCall() 4393 Context->VoidPtrTy, 0, in RewriteBlockDeclRefExpr() 4404 Context->VoidPtrTy, 0, in RewriteBlockDeclRefExpr() 4705 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper() 4924 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl() 5017 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() 5027 Context->VoidPtrTy, 0, in SynthBlockInitExpr() 5031 Context->VoidPtrTy, in SynthBlockInitExpr() [all …]
|
/external/clang/lib/Analysis/ |
D | FormatString.cpp | 381 return C.VoidPtrTy; in getRepresentativeType()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 490 VoidPtrTy = getPointerType(VoidTy); in InitBuiltinTypes() 3881 getPointerType(VoidPtrTy), in getBlockDescriptorExtendedType() 3882 getPointerType(VoidPtrTy) in getBlockDescriptorExtendedType() 3948 getPointerType(VoidPtrTy), in BuildByRefType() 3952 getPointerType(VoidPtrTy), in BuildByRefType() 3953 getPointerType(VoidPtrTy), in BuildByRefType() 4019 sz = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingTypeSize() 4042 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingForBlock() 4149 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingForMethodDecl() 4803 CurOffs += getTypeSize(VoidPtrTy); in getObjCEncodingForStructureImpl()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 1568 ArgTypes.push_back(Context.VoidPtrTy); in FindAllocationFunctions() 1979 CXXNullPtrLiteralExpr Null(Context.VoidPtrTy, SourceLocation()); in FindDeallocationFunction() 2099 if (!Context.hasSameType(Ex.get()->getType(), Context.VoidPtrTy)) in ActOnCXXDelete() 2100 Ex = Owned(ImplicitCastExpr::Create(Context, Context.VoidPtrTy, in ActOnCXXDelete()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 568 CanQualType VoidPtrTy, NullPtrTy; variable
|