Home
last modified time | relevance | path

Searched refs:VoidPtrTy (Results 1 – 25 of 30) sorted by relevance

12

/external/clang/lib/CodeGen/
DCGCUDANV.cpp34 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()
DCGBlocks.cpp79 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 …]
DCGAtomic.cpp435 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 …]
DCGObjC.cpp498 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 …]
DItaniumCXXABI.cpp744 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()
DCGObjCRuntime.cpp327 lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy); in EmitAtSynchronizedStmt()
DCGDebugInfo.cpp391 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()
DCGDeclCXX.cpp441 ImplicitParamDecl dst(0, SourceLocation(), 0, getContext().VoidPtrTy); in generateDestroyHelper()
DCGExprCXX.cpp1492 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()
DCodeGenModule.h130 llvm::PointerType *VoidPtrTy; member
DCGClass.cpp1743 QualType VoidPP = getContext().getPointerType(getContext().VoidPtrTy); in EmitDelegateCXXConstructorCall()
1826 VTT, getContext().getPointerType(getContext().VoidPtrTy), in EmitCXXDestructorCall()
DCGObjCMac.cpp312 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()
DCGBuiltin.cpp1052 getContext().VoidPtrTy); in EmitBuiltinExpr()
1054 Args.add(RValue::get(llvm::Constant::getNullValue(VoidPtrTy)), in EmitBuiltinExpr()
1055 getContext().VoidPtrTy); in EmitBuiltinExpr()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp93 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/
DBasicValueFactory.h154 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
158 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); in getIntWithPtrWidth()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp358 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()
DLowerInvoke.cpp122 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() local
127 Type *JmpBufTy = ArrayType::get(VoidPtrTy, JBSize); in doInitialization()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp349 BasicVals.getAPSIntType(Context.VoidPtrTy).apply(i); in evalBinOpNN()
869 if (ctx.getTypeSize(ctx.VoidPtrTy) == x->getBitWidth()) { in evalBinOpLN()
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp418 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy); in HandleNilReceiver()
/external/clang/lib/Rewrite/Frontend/
DRewriteObjC.cpp3886 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()
DRewriteModernObjC.cpp2793 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/
DFormatString.cpp407 Res = C.VoidPtrTy; in getRepresentativeType()
/external/clang/lib/AST/
DASTContext.cpp922 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/
DSemaExprCXX.cpp1590 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/
DASTContext.h753 CanQualType VoidPtrTy, NullPtrTy; variable

12