/external/clang/lib/CodeGen/ |
D | CGCUDANV.cpp | 33 llvm::PointerType *CharPtrTy, *VoidPtrTy, *VoidPtrPtrTy; member in __anon73e3156c0111::CGNVCUDARuntime 90 VoidPtrTy = cast<llvm::PointerType>(Types.ConvertType(Ctx.VoidPtrTy)); in CGNVCUDARuntime() 91 VoidPtrPtrTy = VoidPtrTy->getPointerTo(); in CGNVCUDARuntime() 97 Params.push_back(VoidPtrTy); in getSetupArgumentFn() 138 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy); in emitDeviceStubBody() 183 VoidPtrTy, VoidPtrTy, VoidPtrTy, VoidPtrTy, IntTy->getPointerTo()}; in makeRegisterKernelsFn() 194 llvm::Constant *NullPtr = llvm::ConstantPointerNull::get(VoidPtrTy); in makeRegisterKernelsFn() 196 &GpuBinaryHandlePtr, Builder.CreateBitCast(Kernel, VoidPtrTy), in makeRegisterKernelsFn() 222 llvm::FunctionType::get(VoidPtrPtrTy, VoidPtrTy, false), in makeModuleCtorFunction() 226 llvm::StructType::get(IntTy, IntTy, VoidPtrTy, VoidPtrTy, nullptr); in makeModuleCtorFunction() [all …]
|
D | CGOpenMPRuntime.cpp | 544 CGM.VoidPtrTy, CGM.SizeTy, in createRuntimeFunction() 545 CGM.VoidPtrTy->getPointerTo()->getPointerTo()}; in createRuntimeFunction() 547 llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction() 578 llvm::FunctionType::get(CGM.VoidPtrTy, CGM.VoidPtrTy, in createRuntimeFunction() 581 llvm::Type *KmpcCopyCtorTyArgs[] = {CGM.VoidPtrTy, CGM.VoidPtrTy}; in createRuntimeFunction() 583 llvm::FunctionType::get(CGM.VoidPtrTy, KmpcCopyCtorTyArgs, in createRuntimeFunction() 587 llvm::FunctionType::get(CGM.VoidTy, CGM.VoidPtrTy, /*isVarArg*/ false) in createRuntimeFunction() 589 llvm::Type *FnTyArgs[] = {getIdentTyPointerTy(), CGM.VoidPtrTy, KmpcCtorTy, in createRuntimeFunction() 719 llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg=*/false); in createRuntimeFunction() 727 CGM.VoidPtrTy}; in createRuntimeFunction() [all …]
|
D | CGBlocks.cpp | 87 i8p = CGM.getTypes().ConvertType(C.VoidPtrTy); in buildBlockDescriptor() 305 elementTypes.push_back(CGM.VoidPtrTy); in initializeForBlockHeader() 308 elementTypes.push_back(CGM.VoidPtrTy); in initializeForBlockHeader() 373 CGM.VoidPtrTy)); in computeBlockInfo() 695 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy); in EmitBlockLiteral() 704 isa = llvm::ConstantExpr::getBitCast(isa, VoidPtrTy); in EmitBlockLiteral() 818 byrefPointer = Builder.CreateBitCast(src.getPointer(), VoidPtrTy); in EmitBlockLiteral() 946 VoidPtrTy, IntTy, IntTy, VoidPtrTy, in getGenericBlockLiteralType() 971 BlockLiteral = Builder.CreateBitCast(BlockLiteral, VoidPtrTy); in EmitBlockCallExpr() 975 Args.add(RValue::get(BlockLiteral), getContext().VoidPtrTy); in EmitBlockCallExpr() [all …]
|
D | CGObjC.cpp | 581 Address dest = CGF.Builder.CreateBitCast(CGF.ReturnValue, CGF.VoidPtrTy); in emitStructGetterCall() 582 args.add(RValue::get(dest.getPointer()), Context.VoidPtrTy); in emitStructGetterCall() 584 src = CGF.Builder.CreateBitCast(src, CGF.VoidPtrTy); in emitStructGetterCall() 585 args.add(RValue::get(src.getPointer()), Context.VoidPtrTy); in emitStructGetterCall() 845 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 852 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 855 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 938 llvm::Value *self = Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy); in generateObjCGetterBody() 1047 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() 1055 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() [all …]
|
D | CodeGenTypeCache.h | 53 llvm::PointerType *VoidPtrTy; member
|
D | CGAtomic.cpp | 669 CGF.getContext().VoidPtrTy); in AddDirectArgument() 849 getContext().VoidPtrTy); in EmitAtomicExpr() 876 getContext().VoidPtrTy); in EmitAtomicExpr() 991 getContext().VoidPtrTy); in EmitAtomicExpr() 1257 CGF.getContext().VoidPtrTy); in EmitAtomicLoadLibcall() 1259 CGF.getContext().VoidPtrTy); in EmitAtomicLoadLibcall() 1460 CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall() 1462 CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall() 1464 CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall() 1772 getContext().VoidPtrTy); in EmitAtomicStore() [all …]
|
D | CGException.cpp | 897 TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy); in emitCatchPadBlock() 904 llvm::Constant::getNullValue(CGF.VoidPtrTy)}); in emitCatchPadBlock() 1416 QualType ArgTys[2] = {Context.UnsignedCharTy, Context.VoidPtrTy}; in Emit() 1644 getContext().VoidPtrTy)); in startOutlinedSEHHelper() 1653 &getContext().Idents.get("frame_pointer"), getContext().VoidPtrTy)); in startOutlinedSEHHelper() 1755 llvm::Type *PtrsTy = llvm::StructType::get(RecordTy, CGM.VoidPtrTy, nullptr); in EmitSEHExceptionCodeSave()
|
D | CGObjCRuntime.cpp | 336 lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy); in EmitAtSynchronizedStmt()
|
D | CGVTables.cpp | 223 ? CGM.getContext().VoidPtrTy in StartThunk() 316 ? CGM.getContext().VoidPtrTy in EmitCallAndReturnForThunk()
|
D | MicrosoftCXXABI.cpp | 970 emitRTtypeidCall(CGF, llvm::Constant::getNullValue(CGM.VoidPtrTy)); in EmitBadTypeidCall() 2507 fields.push_back(CGM.VoidPtrTy); // FunctionPointerOrVirtualThunk in ConvertMemberPointerType() 2532 fields.push_back(llvm::Constant::getNullValue(CGM.VoidPtrTy)); in GetNullMemberPointerFields() 2702 FirstField = llvm::ConstantExpr::getBitCast(FirstField, CGM.VoidPtrTy); in EmitMemberFunctionPointer() 2778 fields.push_back(llvm::Constant::getNullValue(CGM.VoidPtrTy)); in EmitMemberPointerIsNotNull() 4050 CatchableTypes.insert(getCatchableType(getContext().VoidPtrTy)); in getCatchableTypeArray() 4061 CatchableTypes.insert(getCatchableType(getContext().VoidPtrTy)); in getCatchableTypeArray()
|
D | CGExprCXX.cpp | 1615 QualType VoidPtrTy = DeleteFTy->getParamType(0); in Emit() local 1617 = CGF.Builder.CreateBitCast(Ptr, CGF.ConvertType(VoidPtrTy)); in Emit() 1618 Args.add(RValue::get(DeletePtr), VoidPtrTy); in Emit()
|
D | CGDeclCXX.cpp | 587 getContext().VoidPtrTy); in generateDestroyHelper()
|
D | CGDebugInfo.cpp | 444 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CreateType() 746 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in getOrCreateStructPtrType() 1416 unsigned Size = Context.getTypeSize(Context.VoidPtrTy); in getOrCreateVTablePtrType() 1440 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CollectVTableInfo() 3170 fields.push_back(createFieldType("__isa", C.VoidPtrTy, 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable() 3244 TypeInfo PtrInfo = C.getTypeInfo(C.VoidPtrTy); in EmitDeclareOfBlockLiteralArgVariable()
|
D | CGClass.cpp | 1683 llvm::Value *Args[] = {CGF.Builder.CreateBitCast(Ptr, CGF.VoidPtrTy), in EmitSanitizerDtorCallback() 1686 llvm::Type *ArgTypes[] = {CGF.VoidPtrTy, CGF.SizeTy}; in EmitSanitizerDtorCallback() 2202 QualType VoidPP = getContext().getPointerType(getContext().VoidPtrTy); in EmitDelegateCXXConstructorCall()
|
/external/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 95 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() local 98 doubleUnderJBufTy = ArrayType::get(VoidPtrTy, 5); in doInitialization() 99 FunctionContextTy = StructType::get(VoidPtrTy, // __prev in doInitialization() 102 VoidPtrTy, // __personality in doInitialization() 103 VoidPtrTy, // __lsda in doInitialization()
|
/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/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 383 auto *VoidPtrTy = Type::getInt8PtrTy(M->getContext()); in emitRegistration() local 390 auto *RuntimeRegisterTy = FunctionType::get(VoidTy, VoidPtrTy, false); in emitRegistration() 397 IRB.CreateCall(RuntimeRegisterF, IRB.CreateBitCast(Data, VoidPtrTy)); in emitRegistration()
|
/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/llvm/lib/Linker/ |
D | IRMover.cpp | 863 PointerType *VoidPtrTy = Type::getInt8Ty(SrcGV->getContext())->getPointerTo(); in linkAppendingVarProto() local 866 Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy}; in linkAppendingVarProto() 959 Value *Null = Constant::getNullValue(VoidPtrTy); in linkAppendingVarProto()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 3807 Context->VoidPtrTy, nullptr, in SynthesizeBlockCall() 3855 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 3865 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 4146 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper() 4365 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl() 4441 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() 4451 Context->VoidPtrTy, nullptr, in SynthBlockInitExpr() 4455 Context->VoidPtrTy, in SynthBlockInitExpr() 4459 Context->getPointerType(Context->VoidPtrTy), in SynthBlockInitExpr() 4485 Exp = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr()
|
D | RewriteModernObjC.cpp | 2765 Context->getPointerType(Context->VoidPtrTy), in RewriteObjCArrayLiteralExpr() 2897 Context->getPointerType(Context->VoidPtrTy), in RewriteObjCDictionaryLiteralExpr() 4704 Context->VoidPtrTy, nullptr, in SynthesizeBlockCall() 4752 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 4762 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 5060 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper() 5279 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl() 5372 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() 5382 Context->VoidPtrTy, nullptr, in SynthBlockInitExpr() 5386 Context->VoidPtrTy, in SynthBlockInitExpr() [all …]
|
/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()
|