Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp472 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 …]
DCGCUDANV.cpp34 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()
DCGBlocks.cpp87 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 …]
DCGObjC.cpp520 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 …]
DCGAtomic.cpp642 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 …]
DCGException.cpp1308 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()
DMicrosoftCXXABI.cpp874 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 …]
DCGObjCRuntime.cpp328 lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy); in EmitAtSynchronizedStmt()
DCGVTables.cpp202 ? CGM.getContext().VoidPtrTy in StartThunk()
283 ? CGM.getContext().VoidPtrTy in EmitCallAndReturnForThunk()
DCGExprCXX.cpp1514 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()
DCGDebugInfo.cpp423 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()
DCGDeclCXX.cpp576 getContext().VoidPtrTy); in generateDestroyHelper()
DItaniumCXXABI.cpp1215 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()
DCodeGenModule.h130 llvm::PointerType *VoidPtrTy; member
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp96 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/
DInstrProfiling.cpp251 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/
DBasicValueFactory.h154 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
158 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); in getIntWithPtrWidth()
/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/Frontend/Rewrite/
DRewriteObjC.cpp3821 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()
DRewriteModernObjC.cpp2767 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/
DLinkModules.cpp885 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/
DCallAndMessageChecker.cpp552 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy); in HandleNilReceiver()
/external/clang/lib/Analysis/
DFormatString.cpp438 Res = C.VoidPtrTy; in getRepresentativeType()

12