/external/clang/lib/CodeGen/ |
D | CGOpenMPRuntime.cpp | 472 CGM.VoidPtrTy, CGM.SizeTy, in createRuntimeFunction() 473 CGM.VoidPtrTy->getPointerTo()->getPointerTo()}; in createRuntimeFunction() 475 llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction() 495 llvm::FunctionType::get(CGM.VoidPtrTy, CGM.VoidPtrTy, in createRuntimeFunction() 498 llvm::Type *KmpcCopyCtorTyArgs[] = {CGM.VoidPtrTy, CGM.VoidPtrTy}; in createRuntimeFunction() 500 llvm::FunctionType::get(CGM.VoidPtrTy, KmpcCopyCtorTyArgs, in createRuntimeFunction() 504 llvm::FunctionType::get(CGM.VoidTy, CGM.VoidPtrTy, /*isVarArg*/ false) in createRuntimeFunction() 506 llvm::Type *FnTyArgs[] = {getIdentTyPointerTy(), CGM.VoidPtrTy, KmpcCtorTy, in createRuntimeFunction() 628 llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg=*/false); in createRuntimeFunction() 636 CGM.VoidPtrTy}; in createRuntimeFunction() [all …]
|
D | CGCUDANV.cpp | 34 llvm::PointerType *CharPtrTy, *VoidPtrTy; member in __anon9870150b0111::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 | 87 i8p = CGM.getTypes().ConvertType(C.VoidPtrTy); in buildBlockDescriptor() 309 std::tie(ptrSize, ptrAlign) = C.getTypeInfoInChars(C.VoidPtrTy); in initializeForBlockHeader() 324 llvm::Type *i8p = CGM.getTypes().ConvertType(C.VoidPtrTy); in initializeForBlockHeader() 387 QualType byRefPtrTy = C.VoidPtrTy; in computeBlockInfo() 710 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy); in EmitBlockLiteral() 719 isa = llvm::ConstantExpr::getBitCast(isa, VoidPtrTy); in EmitBlockLiteral() 815 src = Builder.CreateBitCast(src, VoidPtrTy); in EmitBlockLiteral() 946 VoidPtrTy, IntTy, IntTy, VoidPtrTy, in getGenericBlockLiteralType() 972 BlockLiteral = Builder.CreateBitCast(BlockLiteral, VoidPtrTy); in EmitBlockCallExpr() 976 Args.add(RValue::get(BlockLiteral), getContext().VoidPtrTy); in EmitBlockCallExpr() [all …]
|
D | CGObjC.cpp | 520 llvm::Value *dest = CGF.Builder.CreateBitCast(CGF.ReturnValue, CGF.VoidPtrTy); in emitStructGetterCall() 521 args.add(RValue::get(dest), Context.VoidPtrTy); in emitStructGetterCall() 523 src = CGF.Builder.CreateBitCast(src, CGF.VoidPtrTy); in emitStructGetterCall() 524 args.add(RValue::get(src), Context.VoidPtrTy); in emitStructGetterCall() 784 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 791 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 794 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 878 llvm::Value *self = Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy); in generateObjCGetterBody() 984 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() 992 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() [all …]
|
D | CGAtomic.cpp | 642 CGF.getContext().VoidPtrTy); in AddDirectArgument() 788 Args.add(RValue::get(EmitCastToVoidPtr(Ptr)), getContext().VoidPtrTy); in EmitAtomicExpr() 810 Args.add(RValue::get(EmitCastToVoidPtr(Val1)), getContext().VoidPtrTy); in EmitAtomicExpr() 895 Args.add(RValue::get(EmitCastToVoidPtr(Dest)), getContext().VoidPtrTy); in EmitAtomicExpr() 1138 CGF.getContext().VoidPtrTy); in EmitAtomicLoadLibcall() 1140 CGF.getContext().VoidPtrTy); in EmitAtomicLoadLibcall() 1349 CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall() 1351 CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall() 1353 CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall() 1436 getContext().VoidPtrTy); in EmitAtomicStore() [all …]
|
D | CGException.cpp | 1308 QualType ArgTys[2] = {Context.BoolTy, Context.VoidPtrTy}; in Emit() 1488 &getContext().Idents.get("exception_pointers"), getContext().VoidPtrTy); in GenerateSEHFilterFunction() 1493 &getContext().Idents.get("frame_pointer"), getContext().VoidPtrTy)); in GenerateSEHFilterFunction() 1538 &getContext().Idents.get("frame_pointer"), getContext().VoidPtrTy)); in GenerateSEHFinallyFunction() 1572 llvm::Type *PtrsTy = llvm::StructType::get(RecordTy, CGM.VoidPtrTy, nullptr); in EmitSEHExceptionCodeSave() 1580 Code = Builder.CreateIntToPtr(Code, CGM.VoidPtrTy); in EmitSEHExceptionCodeSave()
|
D | MicrosoftCXXABI.cpp | 874 emitRTtypeidCall(CGF, llvm::Constant::getNullValue(CGM.VoidPtrTy)); in EmitBadTypeidCall() 2138 fields.push_back(CGM.VoidPtrTy); // FunctionPointerOrVirtualThunk in ConvertMemberPointerType() 2163 fields.push_back(llvm::Constant::getNullValue(CGM.VoidPtrTy)); in GetNullMemberPointerFields() 2282 FirstField = llvm::ConstantExpr::getBitCast(FirstField, CGM.VoidPtrTy); in BuildMemberPointer() 2290 FirstField = llvm::Constant::getNullValue(CGM.VoidPtrTy); in BuildMemberPointer() 2293 FirstField = llvm::Constant::getNullValue(CGM.VoidPtrTy); in BuildMemberPointer() 2297 FirstField = llvm::Constant::getNullValue(CGM.VoidPtrTy); in BuildMemberPointer() 2300 FirstField = llvm::ConstantExpr::getBitCast(Thunk, CGM.VoidPtrTy); in BuildMemberPointer() 2382 fields.push_back(llvm::Constant::getNullValue(CGM.VoidPtrTy)); in EmitMemberPointerIsNotNull() 3607 CatchableTypes.insert(getCatchableType(getContext().VoidPtrTy)); in getCatchableTypeArray() [all …]
|
D | CGObjCRuntime.cpp | 328 lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy); in EmitAtSynchronizedStmt()
|
D | CGVTables.cpp | 202 ? CGM.getContext().VoidPtrTy in StartThunk() 283 ? CGM.getContext().VoidPtrTy in EmitCallAndReturnForThunk()
|
D | CGExprCXX.cpp | 1514 QualType VoidPtrTy = DeleteFTy->getParamType(0); in Emit() local 1516 = CGF.Builder.CreateBitCast(Ptr, CGF.ConvertType(VoidPtrTy)); in Emit() 1517 Args.add(RValue::get(DeletePtr), VoidPtrTy); in Emit()
|
D | CGDebugInfo.cpp | 423 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CreateType() 695 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in getOrCreateStructPtrType() 1402 unsigned Size = Context.getTypeSize(Context.VoidPtrTy); in getOrCreateVTablePtrType() 1429 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CollectVTableInfo() 3040 fields.push_back(createFieldType("__isa", C.VoidPtrTy, 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable() 3114 TypeInfo PtrInfo = C.getTypeInfo(C.VoidPtrTy); in EmitDeclareOfBlockLiteralArgVariable()
|
D | CGDeclCXX.cpp | 576 getContext().VoidPtrTy); in generateDestroyHelper()
|
D | ItaniumCXXABI.cpp | 1215 Context.getPointerType(Context.VoidPtrTy)); in buildStructorSignature() 1245 QualType T = Context.getPointerType(Context.VoidPtrTy); in addImplicitStructorParams() 1285 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy); in addImplicitConstructorArgs() 1297 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy); in EmitDestructorCall()
|
D | CodeGenModule.h | 130 llvm::PointerType *VoidPtrTy; member
|
/external/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 96 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() local 99 doubleUnderJBufTy = ArrayType::get(VoidPtrTy, 5); in doInitialization() 100 FunctionContextTy = StructType::get(VoidPtrTy, // __prev in doInitialization() 103 VoidPtrTy, // __personality in doInitialization() 104 VoidPtrTy, // __lsda in doInitialization()
|
/external/llvm/lib/Transforms/Instrumentation/ |
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()
|
/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/clang/lib/StaticAnalyzer/Core/ |
D | SimpleConstraintManager.cpp | 79 T = SVB.getContext().VoidPtrTy; in assume()
|
D | SimpleSValBuilder.cpp | 348 BasicVals.getAPSIntType(Context.VoidPtrTy).apply(i); in evalBinOpNN()
|
/external/lldb/source/Symbol/ |
D | ClangASTContext.cpp | 551 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/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 3821 Context->VoidPtrTy, nullptr, in SynthesizeBlockCall() 3869 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 3879 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 4160 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper() 4379 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl() 4455 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() 4465 Context->VoidPtrTy, nullptr, in SynthBlockInitExpr() 4469 Context->VoidPtrTy, in SynthBlockInitExpr() 4473 Context->getPointerType(Context->VoidPtrTy), in SynthBlockInitExpr() 4499 Exp = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr()
|
D | RewriteModernObjC.cpp | 2767 Context->getPointerType(Context->VoidPtrTy), in RewriteObjCArrayLiteralExpr() 2902 Context->getPointerType(Context->VoidPtrTy), in RewriteObjCDictionaryLiteralExpr() 4726 Context->VoidPtrTy, nullptr, in SynthesizeBlockCall() 4774 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 4784 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 5082 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper() 5301 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl() 5394 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() 5404 Context->VoidPtrTy, nullptr, in SynthBlockInitExpr() 5408 Context->VoidPtrTy, in SynthBlockInitExpr() [all …]
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 885 PointerType *VoidPtrTy = Type::getInt8Ty(GV->getContext())->getPointerTo(); in upgradeGlobalArray() local 887 VoidPtrTy}; in upgradeGlobalArray() 898 Value *Null = Constant::getNullValue(VoidPtrTy); in upgradeGlobalArray()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CallAndMessageChecker.cpp | 552 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy); in HandleNilReceiver()
|
/external/clang/lib/Analysis/ |
D | FormatString.cpp | 438 Res = C.VoidPtrTy; in getRepresentativeType()
|