/minix/external/bsd/llvm/dist/clang/lib/CodeGen/ |
H A D | CGCUDANV.cpp | 34 llvm::PointerType *CharPtrTy, *VoidPtrTy; member in __anon2d5d24740111::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()
|
H A D | CGOpenMPRuntime.cpp | 276 CGM.VoidPtrTy, CGM.SizeTy, in CreateRuntimeFunction() 299 llvm::FunctionType::get(CGM.VoidPtrTy, CGM.VoidPtrTy, in CreateRuntimeFunction() 302 llvm::Type *KmpcCopyCtorTyArgs[] = {CGM.VoidPtrTy, CGM.VoidPtrTy}; in CreateRuntimeFunction() 304 llvm::FunctionType::get(CGM.VoidPtrTy, KmpcCopyCtorTyArgs, in CreateRuntimeFunction() 540 CGM.getContext().VoidPtrTy, Args, FunctionType::ExtInfo(), in EmitOMPThreadPrivateVarDefinition() 550 CGM.getContext().VoidPtrTy, Dst.getLocation()); in EmitOMPThreadPrivateVarDefinition() 559 CGM.getContext().VoidPtrTy, Dst.getLocation()); in EmitOMPThreadPrivateVarDefinition() 584 CGM.getContext().VoidPtrTy, Dst.getLocation()); in EmitOMPThreadPrivateVarDefinition() 595 llvm::Type *CopyCtorTyArgs[] = {CGM.VoidPtrTy, CGM.VoidPtrTy}; in EmitOMPThreadPrivateVarDefinition() 597 llvm::FunctionType::get(CGM.VoidPtrTy, CopyCtorTyArgs, in EmitOMPThreadPrivateVarDefinition() [all …]
|
H A D | CGBlocks.cpp | 87 i8p = CGM.getTypes().ConvertType(C.VoidPtrTy); in buildBlockDescriptor() 387 QualType byRefPtrTy = C.VoidPtrTy; in computeBlockInfo() 813 src = Builder.CreateBitCast(src, VoidPtrTy); in EmitBlockLiteral() 944 VoidPtrTy, IntTy, IntTy, VoidPtrTy, in getGenericBlockLiteralType() 1131 QualType selfTy = getContext().VoidPtrTy; in GenerateBlockFunction() 1304 C.VoidPtrTy); in GenerateCopyHelperFunction() 1307 C.VoidPtrTy); in GenerateCopyHelperFunction() 1480 C.VoidPtrTy); in GenerateDestroyHelperFunction() 1766 Context.VoidPtrTy); in generateByrefCopyHelper() 1770 Context.VoidPtrTy); in generateByrefCopyHelper() [all …]
|
H A D | CGAtomic.cpp | 490 CGF.getContext().VoidPtrTy); in AddDirectArgument() 636 Args.add(RValue::get(EmitCastToVoidPtr(Ptr)), getContext().VoidPtrTy); in EmitAtomicExpr() 658 Args.add(RValue::get(EmitCastToVoidPtr(Val1)), getContext().VoidPtrTy); in EmitAtomicExpr() 743 Args.add(RValue::get(EmitCastToVoidPtr(Dest)), getContext().VoidPtrTy); in EmitAtomicExpr() 977 getContext().VoidPtrTy); in EmitAtomicLoad() 979 getContext().VoidPtrTy); in EmitAtomicLoad() 1115 getContext().VoidPtrTy); in EmitAtomicStore() 1117 getContext().VoidPtrTy); in EmitAtomicStore() 1175 getContext().VoidPtrTy); in EmitAtomicCompareExchange() 1177 getContext().VoidPtrTy); in EmitAtomicCompareExchange() [all …]
|
H A D | CGObjC.cpp | 525 args.add(RValue::get(dest), Context.VoidPtrTy); in emitStructGetterCall() 527 src = CGF.Builder.CreateBitCast(src, CGF.VoidPtrTy); in emitStructGetterCall() 528 args.add(RValue::get(src), Context.VoidPtrTy); in emitStructGetterCall() 795 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 988 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() 996 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() 1042 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall() 1171 Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy); in generateObjCSetterBody() 2853 object = Builder.CreateBitCast(object, VoidPtrTy); in EmitExtendGCLifetime() 2933 HelperFn = llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateObjCAtomicSetterCopyHelperFunction() [all …]
|
H A D | MicrosoftCXXABI.cpp | 743 emitRTtypeidCall(CGF, llvm::Constant::getNullValue(CGM.VoidPtrTy)); in EmitBadTypeidCall() 1986 fields.push_back(CGM.VoidPtrTy); // FunctionPointerOrVirtualThunk in ConvertMemberPointerType() 2011 fields.push_back(llvm::Constant::getNullValue(CGM.VoidPtrTy)); in GetNullMemberPointerFields() 2130 FirstField = llvm::ConstantExpr::getBitCast(FirstField, CGM.VoidPtrTy); in BuildMemberPointer() 2138 FirstField = llvm::Constant::getNullValue(CGM.VoidPtrTy); in BuildMemberPointer() 2141 FirstField = llvm::Constant::getNullValue(CGM.VoidPtrTy); in BuildMemberPointer() 2145 FirstField = llvm::Constant::getNullValue(CGM.VoidPtrTy); in BuildMemberPointer() 2148 FirstField = llvm::ConstantExpr::getBitCast(Thunk, CGM.VoidPtrTy); in BuildMemberPointer() 2230 fields.push_back(llvm::Constant::getNullValue(CGM.VoidPtrTy)); in EmitMemberPointerIsNotNull()
|
H A D | CGObjCRuntime.cpp | 328 lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy); in EmitAtSynchronizedStmt()
|
H A D | CGVTables.cpp | 202 ? CGM.getContext().VoidPtrTy in StartThunk() 283 ? CGM.getContext().VoidPtrTy in EmitCallAndReturnForThunk()
|
H A D | CGExprCXX.cpp | 1510 QualType VoidPtrTy = DeleteFTy->getParamType(0); in Emit() local 1512 = CGF.Builder.CreateBitCast(Ptr, CGF.ConvertType(VoidPtrTy)); in Emit() 1513 Args.add(RValue::get(DeletePtr), VoidPtrTy); in Emit()
|
H A D | CGDeclCXX.cpp | 558 getContext().VoidPtrTy); in generateDestroyHelper()
|
H A D | CGDebugInfo.cpp | 410 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CreateType() 667 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in getOrCreateStructPtrType() 1383 unsigned Size = Context.getTypeSize(Context.VoidPtrTy); in getOrCreateVTablePtrType() 1410 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CollectVTableInfo() 3027 fields.push_back(createFieldType("__isa", C.VoidPtrTy, 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable() 3101 TypeInfo PtrInfo = C.getTypeInfo(C.VoidPtrTy); in EmitDeclareOfBlockLiteralArgVariable()
|
H A D | ItaniumCXXABI.cpp | 1146 Context.getPointerType(Context.VoidPtrTy)); in buildStructorSignature() 1176 QualType T = Context.getPointerType(Context.VoidPtrTy); in addImplicitStructorParams() 1216 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy); in addImplicitConstructorArgs() 1228 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy); in EmitDestructorCall()
|
H A D | CodeGenModule.h | 130 llvm::PointerType *VoidPtrTy; member
|
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
H A D | ForwardControlFlowIntegrity.cpp | 177 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in runOnModule() local 199 Constant *JumpTableStartValue = ConstantExpr::getBitCast(First, VoidPtrTy); in runOnModule() 365 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in insertWarning() local 371 Value *ParentNamePtr = WarningInserter.CreateBitCast(ParentNameGV, VoidPtrTy); in insertWarning() 372 Value *FunVoidPtr = WarningInserter.CreateBitCast(FunPtr, VoidPtrTy); in insertWarning()
|
H A D | JumpInstrTables.cpp | 200 Type *VoidPtrTy = Type::getInt8PtrTy(FunTy->getContext()); in transformType() local 203 Type *RetTy = VoidPtrTy; in transformType() 222 ParamTys[i] = VoidPtrTy; in transformType() 235 ParamTys[i] = VoidPtrTy; in transformType()
|
H A D | SjLjEHPrepare.cpp | 94 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() local 96 FunctionContextTy = StructType::get(VoidPtrTy, // __prev in doInitialization() 99 VoidPtrTy, // __personality in doInitialization() 100 VoidPtrTy, // __lsda in doInitialization() 101 ArrayType::get(VoidPtrTy, 5), // __jbuf in doInitialization()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | InstrProfiling.cpp | 251 auto *VoidPtrTy = Type::getInt8PtrTy(M->getContext()); in emitRegistration() local 259 auto *RuntimeRegisterTy = llvm::FunctionType::get(VoidTy, VoidPtrTy, false); in emitRegistration() 266 IRB.CreateCall(RuntimeRegisterF, IRB.CreateBitCast(Data, VoidPtrTy)); in emitRegistration()
|
/minix/external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | BasicValueFactory.h | 154 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 158 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); in getIntWithPtrWidth()
|
/minix/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
H A D | SimpleConstraintManager.cpp | 79 T = SVB.getContext().VoidPtrTy; in assume()
|
H A D | SimpleSValBuilder.cpp | 348 BasicVals.getAPSIntType(Context.VoidPtrTy).apply(i); in evalBinOpNN()
|
/minix/external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/ |
H A D | RewriteObjC.cpp | 3821 Context->VoidPtrTy, nullptr, in SynthesizeBlockCall() 3870 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 3881 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 4163 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper() 4382 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl() 4458 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() 4468 Context->VoidPtrTy, nullptr, in SynthBlockInitExpr() 4472 Context->VoidPtrTy, in SynthBlockInitExpr() 4476 Context->getPointerType(Context->VoidPtrTy), in SynthBlockInitExpr() 4502 Exp = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr()
|
H A D | RewriteModernObjC.cpp | 2767 Context->getPointerType(Context->VoidPtrTy), in RewriteObjCArrayLiteralExpr() 4732 Context->VoidPtrTy, nullptr, in SynthesizeBlockCall() 4781 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 4792 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 5091 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper() 5310 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl() 5403 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() 5413 Context->VoidPtrTy, nullptr, in SynthBlockInitExpr() 5417 Context->VoidPtrTy, in SynthBlockInitExpr() 5421 Context->getPointerType(Context->VoidPtrTy), in SynthBlockInitExpr() [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 890 PointerType *VoidPtrTy = Type::getInt8Ty(GV->getContext())->getPointerTo(); in upgradeGlobalArray() local 892 VoidPtrTy}; in upgradeGlobalArray() 903 Value *Null = Constant::getNullValue(VoidPtrTy); in upgradeGlobalArray()
|
/minix/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CallAndMessageChecker.cpp | 552 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy); in HandleNilReceiver()
|
/minix/external/bsd/llvm/dist/clang/lib/Analysis/ |
H A D | FormatString.cpp | 430 Res = C.VoidPtrTy; in getRepresentativeType()
|