/external/clang/lib/CodeGen/ |
D | CGCUDANV.cpp | 33 llvm::PointerType *CharPtrTy, *VoidPtrTy, *VoidPtrPtrTy; member in __anon19ff64340111::CGNVCUDARuntime 95 VoidPtrTy = cast<llvm::PointerType>(Types.ConvertType(Ctx.VoidPtrTy)); in CGNVCUDARuntime() 96 VoidPtrPtrTy = VoidPtrTy->getPointerTo(); in CGNVCUDARuntime() 101 llvm::Type *Params[] = {VoidPtrTy, SizeTy, SizeTy}; in getSetupArgumentFn() 140 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy); in emitDeviceStubBody() 194 VoidPtrTy, VoidPtrTy, VoidPtrTy, VoidPtrTy, IntTy->getPointerTo()}; in makeRegisterGlobalsFn() 205 llvm::Constant *NullPtr = llvm::ConstantPointerNull::get(VoidPtrTy); in makeRegisterGlobalsFn() 207 &GpuBinaryHandlePtr, Builder.CreateBitCast(Kernel, VoidPtrTy), in makeRegisterGlobalsFn() 230 Builder.CreateBitCast(Var, VoidPtrTy), in makeRegisterGlobalsFn() 263 llvm::FunctionType::get(VoidPtrPtrTy, VoidPtrTy, false), in makeModuleCtorFunction() [all …]
|
D | CGOpenMPRuntime.cpp | 1081 CGM.VoidPtrTy, CGM.SizeTy, in createRuntimeFunction() 1082 CGM.VoidPtrTy->getPointerTo()->getPointerTo()}; in createRuntimeFunction() 1084 llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction() 1115 llvm::FunctionType::get(CGM.VoidPtrTy, CGM.VoidPtrTy, in createRuntimeFunction() 1118 llvm::Type *KmpcCopyCtorTyArgs[] = {CGM.VoidPtrTy, CGM.VoidPtrTy}; in createRuntimeFunction() 1120 llvm::FunctionType::get(CGM.VoidPtrTy, KmpcCopyCtorTyArgs, in createRuntimeFunction() 1124 llvm::FunctionType::get(CGM.VoidTy, CGM.VoidPtrTy, /*isVarArg*/ false) in createRuntimeFunction() 1126 llvm::Type *FnTyArgs[] = {getIdentTyPointerTy(), CGM.VoidPtrTy, KmpcCtorTy, in createRuntimeFunction() 1256 llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg=*/false); in createRuntimeFunction() 1264 CGM.VoidPtrTy}; in createRuntimeFunction() [all …]
|
D | CGBlocks.cpp | 87 i8p = CGM.getTypes().ConvertType(C.VoidPtrTy); in buildBlockDescriptor() 310 elementTypes.push_back(CGM.VoidPtrTy); in initializeForBlockHeader() 313 elementTypes.push_back(CGM.VoidPtrTy); in initializeForBlockHeader() 378 CGM.VoidPtrTy)); in computeBlockInfo() 700 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy); in EmitBlockLiteral() 709 isa = llvm::ConstantExpr::getBitCast(isa, VoidPtrTy); in EmitBlockLiteral() 822 byrefPointer = Builder.CreateBitCast(src.getPointer(), VoidPtrTy); in EmitBlockLiteral() 949 VoidPtrTy, IntTy, IntTy, VoidPtrTy, in getGenericBlockLiteralType() 974 BlockLiteral = Builder.CreateBitCast(BlockLiteral, VoidPtrTy); in EmitBlockCallExpr() 978 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() 843 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 850 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 853 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 942 llvm::Value *self = Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy); in generateObjCGetterBody() 1049 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() 1057 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() [all …]
|
D | CodeGenTypeCache.h | 53 llvm::PointerType *VoidPtrTy; member
|
D | CGAtomic.cpp | 657 CGF.getContext().VoidPtrTy); in AddDirectArgument() 837 getContext().VoidPtrTy); in EmitAtomicExpr() 864 getContext().VoidPtrTy); in EmitAtomicExpr() 979 getContext().VoidPtrTy); in EmitAtomicExpr() 1244 CGF.getContext().VoidPtrTy); in EmitAtomicLoadLibcall() 1246 CGF.getContext().VoidPtrTy); in EmitAtomicLoadLibcall() 1440 CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall() 1442 CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall() 1444 CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall() 1753 getContext().VoidPtrTy); in EmitAtomicStore() [all …]
|
D | CGException.cpp | 899 TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy); in emitCatchPadBlock() 906 llvm::Constant::getNullValue(CGF.VoidPtrTy)}); in emitCatchPadBlock() 1420 QualType ArgTys[2] = {Context.UnsignedCharTy, Context.VoidPtrTy}; in Emit() 1643 getContext().VoidPtrTy)); in startOutlinedSEHHelper() 1652 &getContext().Idents.get("frame_pointer"), getContext().VoidPtrTy)); in startOutlinedSEHHelper() 1749 llvm::Type *PtrsTy = llvm::StructType::get(RecordTy, CGM.VoidPtrTy, nullptr); in EmitSEHExceptionCodeSave()
|
D | CGExpr.cpp | 2657 getContext().VoidPtrTy); in EmitCfiCheckFail() 2659 getContext().VoidPtrTy); in EmitCfiCheckFail() 2667 llvm::FunctionType::get(VoidTy, {VoidPtrTy, VoidPtrTy}, false), in EmitCfiCheckFail() 2676 CGM.getContext().VoidPtrTy, ArgData.getLocation()); in EmitCfiCheckFail() 2679 CGM.getContext().VoidPtrTy, ArgAddr.getLocation()); in EmitCfiCheckFail() 2687 llvm::StructType::get(VoidPtrTy, Int32Ty, Int32Ty, nullptr); in EmitCfiCheckFail() 2689 llvm::StructType::get(Int8Ty, SourceLocationTy, VoidPtrTy, nullptr); in EmitCfiCheckFail() 4094 Args.add(RValue::get(Builder.CreateBitCast(Chain, CGM.VoidPtrTy)), in EmitCall() 4095 CGM.getContext().VoidPtrTy); in EmitCall()
|
D | CGObjCRuntime.cpp | 335 lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy); in EmitAtSynchronizedStmt()
|
D | CGVTables.cpp | 221 ? CGM.getContext().VoidPtrTy in StartThunk() 313 ? CGM.getContext().VoidPtrTy in EmitCallAndReturnForThunk()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 86 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() local 89 doubleUnderJBufTy = ArrayType::get(VoidPtrTy, 5); in doInitialization() 90 FunctionContextTy = StructType::get(VoidPtrTy, // __prev in doInitialization() 93 VoidPtrTy, // __personality in doInitialization() 94 VoidPtrTy, // __lsda in doInitialization()
|
/external/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 86 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() local 89 doubleUnderJBufTy = ArrayType::get(VoidPtrTy, 5); in doInitialization() 90 FunctionContextTy = StructType::get(VoidPtrTy, // __prev in doInitialization() 93 VoidPtrTy, // __personality in doInitialization() 94 VoidPtrTy, // __lsda in doInitialization()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 505 auto *VoidPtrTy = Type::getInt8PtrTy(M->getContext()); in emitRegistration() local 514 auto *RuntimeRegisterTy = FunctionType::get(VoidTy, VoidPtrTy, false); in emitRegistration() 522 IRB.CreateCall(RuntimeRegisterF, IRB.CreateBitCast(Data, VoidPtrTy)); in emitRegistration() 525 Type *ParamTypes[] = {VoidPtrTy, Int64Ty}; in emitRegistration() 531 IRB.CreateCall(NamesRegisterF, {IRB.CreateBitCast(NamesVar, 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 885 auto *VoidPtrTy = Type::getInt8PtrTy(M->getContext()); in emitRegistration() local 894 auto *RuntimeRegisterTy = FunctionType::get(VoidTy, VoidPtrTy, false); in emitRegistration() 902 IRB.CreateCall(RuntimeRegisterF, IRB.CreateBitCast(Data, VoidPtrTy)); in emitRegistration() 905 Type *ParamTypes[] = {VoidPtrTy, Int64Ty}; in emitRegistration() 911 IRB.CreateCall(NamesRegisterF, {IRB.CreateBitCast(NamesVar, VoidPtrTy), in emitRegistration()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 758 Type *VoidPtrTy = Type::getInt8PtrTy(Context); in HandleByValArgument() local 775 Type *Tys[3] = {VoidPtrTy, VoidPtrTy, Type::getInt64Ty(Context)}; in HandleByValArgument() 779 Value *DestCast = new BitCastInst(NewAlloca, VoidPtrTy, "tmp", TheCall); in HandleByValArgument() 780 Value *SrcCast = new BitCastInst(Arg, VoidPtrTy, "tmp", TheCall); in HandleByValArgument()
|
D | LowerInvoke.cpp | 123 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() local 128 Type *JmpBufTy = ArrayType::get(VoidPtrTy, JBSize); in doInitialization()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 102 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() local 105 StructType::get(VoidPtrTy, // __prev in doInitialization() 108 VoidPtrTy, // __personality in doInitialization() 109 VoidPtrTy, // __lsda in doInitialization() 110 ArrayType::get(VoidPtrTy, 5), // __jbuf in doInitialization()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 969 PointerType *VoidPtrTy; in mapAppendingVariable() local 974 VoidPtrTy = Type::getInt8Ty(GV.getContext())->getPointerTo(); in mapAppendingVariable() 976 Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy}; in mapAppendingVariable() 986 Constant *Null = Constant::getNullValue(VoidPtrTy); in mapAppendingVariable()
|
/external/llvm/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 949 PointerType *VoidPtrTy; in mapAppendingVariable() local 954 VoidPtrTy = Type::getInt8Ty(GV.getContext())->getPointerTo(); in mapAppendingVariable() 956 Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy}; in mapAppendingVariable() 966 Value *Null = Constant::getNullValue(VoidPtrTy); in mapAppendingVariable()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleConstraintManager.cpp | 79 T = SVB.getContext().VoidPtrTy; in assume()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 3794 Context->VoidPtrTy, nullptr, in SynthesizeBlockCall() 3842 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 3852 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 4128 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper() 4346 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl() 4422 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() 4432 Context->VoidPtrTy, nullptr, in SynthBlockInitExpr() 4436 Context->VoidPtrTy, in SynthBlockInitExpr() 4440 Context->getPointerType(Context->VoidPtrTy), in SynthBlockInitExpr() 4466 Exp = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr()
|
D | RewriteModernObjC.cpp | 2738 Context->getPointerType(Context->VoidPtrTy), in RewriteObjCArrayLiteralExpr() 2869 Context->getPointerType(Context->VoidPtrTy), in RewriteObjCDictionaryLiteralExpr() 4635 Context->VoidPtrTy, nullptr, in SynthesizeBlockCall() 4683 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 4693 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 4984 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper() 5202 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl() 5294 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() 5304 Context->VoidPtrTy, nullptr, in SynthBlockInitExpr() 5308 Context->VoidPtrTy, in SynthBlockInitExpr() [all …]
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVUtil.cpp | 1084 auto VoidPtrTy = new SPIR::PointerType(VoidTyRef); in transTypeDesc() local 1085 VoidPtrTy->setAddressSpace(SPIR::ATTR_LOCAL); in transTypeDesc() 1087 BlockTy->setParam(0, SPIR::RefParamType(VoidPtrTy)); in transTypeDesc()
|
/external/llvm/lib/Linker/ |
D | IRMover.cpp | 764 PointerType *VoidPtrTy = Type::getInt8Ty(SrcGV->getContext())->getPointerTo(); in linkAppendingVarProto() local 767 Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy}; in linkAppendingVarProto()
|