Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DCGCUDANV.cpp34 llvm::PointerType *CharPtrTy, *VoidPtrTy; member in __anon9fd029020111::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.cpp81 llvm::Type *i8p = CGM.getTypes().ConvertType(C.VoidPtrTy); in buildBlockDescriptor()
303 std::tie(ptrSize, ptrAlign) = C.getTypeInfoInChars(C.VoidPtrTy); in initializeForBlockHeader()
318 llvm::Type *i8p = CGM.getTypes().ConvertType(C.VoidPtrTy); in initializeForBlockHeader()
381 QualType byRefPtrTy = C.VoidPtrTy; in computeBlockInfo()
694 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy); in EmitBlockLiteral()
703 isa = llvm::ConstantExpr::getBitCast(isa, VoidPtrTy); in EmitBlockLiteral()
796 src = Builder.CreateBitCast(src, VoidPtrTy); in EmitBlockLiteral()
924 VoidPtrTy, IntTy, IntTy, VoidPtrTy, in getGenericBlockLiteralType()
949 BlockLiteral = Builder.CreateBitCast(BlockLiteral, VoidPtrTy); in EmitBlockCallExpr()
953 Args.add(RValue::get(BlockLiteral), getContext().VoidPtrTy); in EmitBlockCallExpr()
[all …]
DCGObjC.cpp529 llvm::Value *dest = CGF.Builder.CreateBitCast(CGF.ReturnValue, CGF.VoidPtrTy); in emitStructGetterCall()
530 args.add(RValue::get(dest), Context.VoidPtrTy); in emitStructGetterCall()
532 src = CGF.Builder.CreateBitCast(src, CGF.VoidPtrTy); in emitStructGetterCall()
533 args.add(RValue::get(src), Context.VoidPtrTy); in emitStructGetterCall()
793 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
800 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
803 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
887 llvm::Value *self = Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy); in generateObjCGetterBody()
993 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1001 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
[all …]
DCGAtomic.cpp473 CGF.getContext().VoidPtrTy); in AddDirectArgument()
613 Args.add(RValue::get(EmitCastToVoidPtr(Ptr)), getContext().VoidPtrTy); in EmitAtomicExpr()
635 Args.add(RValue::get(EmitCastToVoidPtr(Val1)), getContext().VoidPtrTy); in EmitAtomicExpr()
719 getContext().VoidPtrTy); in EmitAtomicExpr()
906 getContext().VoidPtrTy); in EmitAtomicLoad()
908 getContext().VoidPtrTy); in EmitAtomicLoad()
1056 getContext().VoidPtrTy); in EmitAtomicStore()
1058 getContext().VoidPtrTy); in EmitAtomicStore()
DCodeGenPGO.cpp85 auto *VoidPtrTy = llvm::Type::getInt8PtrTy(CGM.getLLVMContext()); in getOrInsertRuntimeRegister() local
86 auto *RuntimeRegisterTy = llvm::FunctionType::get(VoidTy, VoidPtrTy, false); in getOrInsertRuntimeRegister()
169 auto *VoidPtrTy = llvm::Type::getInt8PtrTy(CGM.getLLVMContext()); in emitInstrumentationData() local
171 Builder.CreateBitCast(Data, VoidPtrTy)); in emitInstrumentationData()
DMicrosoftCXXABI.cpp666 emitRTtypeidCall(CGF, llvm::Constant::getNullValue(CGM.VoidPtrTy)); in EmitBadTypeidCall()
1825 fields.push_back(CGM.VoidPtrTy); // FunctionPointerOrVirtualThunk in ConvertMemberPointerType()
1850 fields.push_back(llvm::Constant::getNullValue(CGM.VoidPtrTy)); in GetNullMemberPointerFields()
1969 FirstField = llvm::ConstantExpr::getBitCast(FirstField, CGM.VoidPtrTy); in BuildMemberPointer()
1975 FirstField = llvm::Constant::getNullValue(CGM.VoidPtrTy); in BuildMemberPointer()
1980 FirstField = llvm::Constant::getNullValue(CGM.VoidPtrTy); in BuildMemberPointer()
1984 FirstField = llvm::Constant::getNullValue(CGM.VoidPtrTy); in BuildMemberPointer()
1987 FirstField = llvm::ConstantExpr::getBitCast(Thunk, CGM.VoidPtrTy); in BuildMemberPointer()
2069 fields.push_back(llvm::Constant::getNullValue(CGM.VoidPtrTy)); in EmitMemberPointerIsNotNull()
DCGObjCRuntime.cpp328 lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy); in EmitAtSynchronizedStmt()
DItaniumCXXABI.cpp1083 Context.getPointerType(Context.VoidPtrTy)); in BuildConstructorSignature()
1115 ArgTys.push_back(Context.getPointerType(Context.VoidPtrTy)); in BuildDestructorSignature()
1145 QualType T = Context.getPointerType(Context.VoidPtrTy); in addImplicitStructorParams()
1185 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy); in addImplicitConstructorArgs()
1197 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy); in EmitDestructorCall()
DCGDebugInfo.cpp420 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CreateType()
659 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in getOrCreateStructPtrType()
1379 unsigned Size = Context.getTypeSize(Context.VoidPtrTy); in getOrCreateVTablePtrType()
1408 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CollectVTableInfo()
2959 fields.push_back(createFieldType("__isa", C.VoidPtrTy, 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable()
2968 fields.push_back(createFieldType("__FuncPtr", C.VoidPtrTy, 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable()
3032 std::pair<uint64_t,unsigned> ptrInfo = C.getTypeInfo(C.VoidPtrTy); in EmitDeclareOfBlockLiteralArgVariable()
DCGExprCXX.cpp1494 QualType VoidPtrTy = DeleteFTy->getParamType(0); in Emit() local
1496 = CGF.Builder.CreateBitCast(Ptr, CGF.ConvertType(VoidPtrTy)); in Emit()
1497 Args.add(RValue::get(DeletePtr), VoidPtrTy); in Emit()
DCGDeclCXX.cpp529 getContext().VoidPtrTy); in generateDestroyHelper()
DCodeGenModule.h127 llvm::PointerType *VoidPtrTy; member
/external/llvm/lib/CodeGen/
DJumpInstrTables.cpp201 Type *VoidPtrTy = Type::getInt8PtrTy(FunTy->getContext()); in transformType() local
204 Type *RetTy = VoidPtrTy; in transformType()
223 ParamTys[i] = VoidPtrTy; in transformType()
236 ParamTys[i] = VoidPtrTy; in transformType()
DSjLjEHPrepare.cpp93 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() local
95 FunctionContextTy = StructType::get(VoidPtrTy, // __prev in doInitialization()
98 VoidPtrTy, // __personality in doInitialization()
99 VoidPtrTy, // __lsda in doInitialization()
100 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.cpp331 Type *VoidPtrTy = Type::getInt8PtrTy(Context); in HandleByValArgumentInit() local
333 Type *Tys[3] = { VoidPtrTy, VoidPtrTy, Type::getInt64Ty(Context) }; in HandleByValArgumentInit()
336 Value *DstCast = builder.CreateBitCast(Dst, VoidPtrTy, "tmp"); in HandleByValArgumentInit()
337 Value *SrcCast = builder.CreateBitCast(Src, VoidPtrTy, "tmp"); in HandleByValArgumentInit()
/external/llvm/lib/IR/
DAutoUpgrade.cpp187 PointerType *VoidPtrTy = Type::getInt8Ty(GV->getContext())->getPointerTo(); in UpgradeGlobalStructors() local
191 VoidPtrTy in UpgradeGlobalStructors()
207 Constant::getNullValue(VoidPtrTy), nullptr); in UpgradeGlobalStructors()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleConstraintManager.cpp79 T = SVB.getContext().VoidPtrTy; in assume()
DSimpleSValBuilder.cpp348 BasicVals.getAPSIntType(Context.VoidPtrTy).apply(i); in evalBinOpNN()
/external/lldb/source/Symbol/
DClangASTContext.cpp551 if (QualTypeMatchesBitSize (bit_size, ast, ast->VoidPtrTy)) in GetBuiltinTypeForEncodingAndBitSize()
552 return ClangASTType (ast, ast->VoidPtrTy.getAsOpaquePtr()); in GetBuiltinTypeForEncodingAndBitSize()
823 if (QualTypeMatchesBitSize (bit_size, ast, ast->VoidPtrTy)) in GetBuiltinTypeForDWARFEncodingAndBitSize()
824 return ClangASTType (ast, ast->VoidPtrTy.getAsOpaquePtr()); in GetBuiltinTypeForDWARFEncodingAndBitSize()
/external/clang/lib/Rewrite/Frontend/
DRewriteObjC.cpp3838 Context->VoidPtrTy, nullptr, in SynthesizeBlockCall()
3886 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr()
3897 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr()
4179 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper()
4398 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl()
4474 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr()
4484 Context->VoidPtrTy, nullptr, in SynthBlockInitExpr()
4488 Context->VoidPtrTy, in SynthBlockInitExpr()
4492 Context->getPointerType(Context->VoidPtrTy), in SynthBlockInitExpr()
4518 Exp = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr()
DRewriteModernObjC.cpp2779 Context->getPointerType(Context->VoidPtrTy), in RewriteObjCArrayLiteralExpr()
2916 Context->getPointerType(Context->VoidPtrTy), in RewriteObjCDictionaryLiteralExpr()
4754 Context->VoidPtrTy, nullptr, in SynthesizeBlockCall()
4802 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr()
4813 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr()
5112 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper()
5331 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl()
5424 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr()
5434 Context->VoidPtrTy, nullptr, in SynthBlockInitExpr()
5438 Context->VoidPtrTy, in SynthBlockInitExpr()
[all …]
/external/clang/lib/Analysis/
DFormatString.cpp428 Res = C.VoidPtrTy; in getRepresentativeType()
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp552 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy); in HandleNilReceiver()
/external/clang/lib/AST/
DASTContext.cpp1048 VoidPtrTy = getPointerType(VoidTy); in InitBuiltinTypes()
4661 getPointerType(VoidPtrTy), in getBlockDescriptorExtendedType()
4662 getPointerType(VoidPtrTy) in getBlockDescriptorExtendedType()
4782 sz = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingTypeSize()
4810 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingForBlock()
4917 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingForMethodDecl()
5654 CurOffs += getTypeSize(VoidPtrTy); in getObjCEncodingForStructureImpl()

12