Home
last modified time | relevance | path

Searched refs:VoidTy (Results 1 – 25 of 61) sorted by relevance

123

/external/llvm/include/llvm/Support/
DThreadPool.h53 using VoidTy = void;
59 using VoidTy = bool;
77 inline std::shared_future<VoidTy> async(Function &&F, Args &&... ArgList) { in async()
85 return asyncImpl([Task](VoidTy) mutable -> VoidTy { in async()
87 return VoidTy(); in async()
95 inline std::shared_future<VoidTy> async(Function &&F) { in async()
99 return asyncImpl([F] (VoidTy) -> VoidTy { F(); return VoidTy(); }); in async()
110 std::shared_future<VoidTy> asyncImpl(TaskTy F);
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp190 llvm::FunctionType *ty = llvm::FunctionType::get(CGM.VoidTy, false); in createAtExitStub()
204 CGF.StartFunction(&VD, CGM.getContext().VoidTy, fn, FI, FunctionArgList()); in createAtExitStub()
312 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalVarDeclInitFunc()
397 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalInitFunc()
464 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalDtorFunc()
486 StartFunction(GlobalDecl(D), getContext().VoidTy, Fn, in GenerateCXXGlobalVarDeclInitFunc()
509 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalInitFunc()
560 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalDtorsFunc()
591 getContext().VoidTy, args, FunctionType::ExtInfo(), /*variadic=*/false); in generateDestroyHelper()
598 StartFunction(VD, getContext().VoidTy, fn, FI, args); in generateDestroyHelper()
DCGCUDANV.cpp32 llvm::Type *IntTy, *SizeTy, *VoidTy; member in __anonc32d20570111::CGNVCUDARuntime
87 VoidTy = llvm::Type::getVoidTy(Context); in CGNVCUDARuntime()
172 llvm::FunctionType::get(VoidTy, VoidPtrPtrTy, false), in makeRegisterKernelsFn()
229 llvm::FunctionType::get(VoidTy, VoidPtrTy, false), in makeModuleCtorFunction()
296 llvm::FunctionType::get(VoidTy, VoidPtrPtrTy, false), in makeModuleDtorFunction()
300 llvm::FunctionType::get(VoidTy, VoidPtrTy, false), in makeModuleDtorFunction()
DCGOpenMPRuntime.cpp312 Kmpc_MicroTy = llvm::FunctionType::get(CGM.VoidTy, MicroParams, true); in CGOpenMPRuntime()
528 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ true); in createRuntimeFunction()
558 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
569 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
587 llvm::FunctionType::get(CGM.VoidTy, CGM.VoidPtrTy, /*isVarArg*/ false) in createRuntimeFunction()
591 auto FnTy = llvm::FunctionType::get(CGM.VoidTy, FnTyArgs, in createRuntimeFunction()
603 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
620 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
628 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
638 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
[all …]
DCGObjC.cpp503 CGF.getContext().VoidTy, in Emit()
593 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(Context.VoidTy, args, in emitStructGetterCall()
859 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(CGF.getContext().VoidTy, in emitCPPObjectAtomicGetterCall()
1070 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(CGF.getContext().VoidTy, in emitStructSetterCall()
1108 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(CGF.getContext().VoidTy, in emitCPPObjectAtomicSetterCall()
1241 EmitCall(getTypes().arrangeFreeFunctionCall(getContext().VoidTy, args, in generateObjCSetterBody()
1254 EmitCall(getTypes().arrangeFreeFunctionCall(getContext().VoidTy, args, in generateObjCSetterBody()
1613 EmitCall(CGM.getTypes().arrangeFreeFunctionCall(getContext().VoidTy, Args2, in EmitObjCForCollectionStmt()
1795 llvm::FunctionType::get(CGM.VoidTy, None, true); in EmitARCIntrinsicUse()
2006 llvm::FunctionType::get(VoidTy, /*variadic*/false); in EmitARCRetainAutoreleasedReturnValue()
[all …]
DCodeGenTypeCache.h34 llvm::Type *VoidTy; member
DCGObjCGNU.cpp720 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() local
724 ExitCatchFn.init(&CGM, "__cxa_end_catch", VoidTy, nullptr); in CGObjCGNUstep()
726 ExceptionReThrowFn.init(&CGM, "_Unwind_Resume_or_Rethrow", VoidTy, in CGObjCGNUstep()
729 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() local
733 ExitCatchFn.init(&CGM, "objc_end_catch", VoidTy, nullptr); in CGObjCGNUstep()
735 ExceptionReThrowFn.init(&CGM, "objc_exception_rethrow", VoidTy, in CGObjCGNUstep()
738 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() local
739 SetPropertyAtomic.init(&CGM, "objc_setProperty_atomic", VoidTy, IdTy, in CGObjCGNUstep()
741 SetPropertyAtomicCopy.init(&CGM, "objc_setProperty_atomic_copy", VoidTy, in CGObjCGNUstep()
743 SetPropertyNonAtomic.init(&CGM, "objc_setProperty_nonatomic", VoidTy, in CGObjCGNUstep()
[all …]
DCGBlocks.cpp1333 C.VoidTy, args, FunctionType::ExtInfo(), /*variadic=*/false); in GenerateCopyHelperFunction()
1349 SourceLocation(), II, C.VoidTy, in GenerateCopyHelperFunction()
1357 StartFunction(FD, C.VoidTy, Fn, FI, args); in GenerateCopyHelperFunction()
1509 C.VoidTy, args, FunctionType::ExtInfo(), /*variadic=*/false); in GenerateDestroyHelperFunction()
1524 SourceLocation(), II, C.VoidTy, in GenerateDestroyHelperFunction()
1532 StartFunction(FD, C.VoidTy, Fn, FI, args); in GenerateDestroyHelperFunction()
1783 QualType R = Context.VoidTy; in generateByrefCopyHelper()
1860 QualType R = Context.VoidTy; in generateByrefDisposeHelper()
2301 = llvm::FunctionType::get(VoidTy, args, false); in getBlockObjectDispose()
2313 = llvm::FunctionType::get(VoidTy, args, false); in getBlockObjectAssign()
DItaniumCXXABI.cpp1049 llvm::FunctionType::get(CGM.VoidTy, /*IsVarArgs=*/false); in emitRethrow()
1074 llvm::FunctionType::get(CGM.VoidTy, Args, /*IsVarArgs=*/false); in getThrowFn()
1138 llvm::FunctionType *FTy = llvm::FunctionType::get(CGF.VoidTy, false); in getBadCastFn()
1196 llvm::FunctionType *FTy = llvm::FunctionType::get(CGF.VoidTy, false); in getBadTypeidFn()
1772 llvm::FunctionType::get(CGM.VoidTy, NumElementsPtr.getType(), false); in InitializeArrayCookie()
1878 llvm::FunctionType::get(CGM.VoidTy, GuardPtrTy, /*isVarArg=*/false); in getGuardReleaseFn()
1889 llvm::FunctionType::get(CGM.VoidTy, GuardPtrTy, /*isVarArg=*/false); in getGuardAbortFn()
2096 llvm::FunctionType::get(CGF.VoidTy, CGF.Int8PtrTy, false)->getPointerTo(); in emitGlobalDtorWithCXAAtExit()
2213 llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false); in EmitThreadLocalInitFuncs()
2263 llvm::FunctionType *FnTy = llvm::FunctionType::get(CGM.VoidTy, false); in EmitThreadLocalInitFuncs()
[all …]
DCGException.cpp36 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*IsVarArgs=*/false); in getFreeExceptionFn()
45 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*IsVarArgs=*/false); in getUnexpectedFn()
54 llvm::FunctionType::get(VoidTy, /*IsVarArgs=*/false); in getTerminateFn()
79 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*IsVarArgs=*/false); in getCatchallRethrowFn()
1427 Context.getFunctionType(Context.VoidTy, ArgTys, EPI)); in Emit()
1656 QualType RetTy = IsFilter ? getContext().LongTy : getContext().VoidTy; in startOutlinedSEHHelper()
DCGObjCMac.cpp81 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(CGM.VoidTy, in getMessageSendStretFn()
146 llvm::FunctionType::get(CGM.VoidTy, params, true), in getMessageSendSuperStretFn()
157 llvm::FunctionType::get(CGM.VoidTy, params, true), in getMessageSendSuperStretFn2()
268 Ctx.VoidTy, false, false, Params, FunctionType::ExtInfo(), in getSetPropertyFn()
294 Ctx.VoidTy, false, false, Params, FunctionType::ExtInfo(), in getOptimizedSetPropertyFn()
321 Ctx.VoidTy, false, false, Params, FunctionType::ExtInfo(), in getCopyStructFn()
339 Types.GetFunctionType(Types.arrangeLLVMFunctionInfo(Ctx.VoidTy, false, false, in getCppAtomicObjectFunction()
354 Ctx.VoidTy, false, false, Params, FunctionType::ExtInfo(), in getEnumerationMutationFn()
427 llvm::FunctionType::get(CGM.VoidTy, args, false); in getExceptionThrowFn()
434 llvm::FunctionType *FTy = llvm::FunctionType::get(CGM.VoidTy, false); in getExceptionRethrowFn()
[all …]
DCGVTables.cpp607 llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false); in CreateVTableInitializer()
617 llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false); in CreateVTableInitializer()
DCGAtomic.cpp898 RetTy = getContext().VoidTy; in EmitAtomicExpr()
989 RetTy = getContext().VoidTy; in EmitAtomicExpr()
1263 emitAtomicLibcall(CGF, "__atomic_load", CGF.getContext().VoidTy, Args); in EmitAtomicLoadLibcall()
1778 emitAtomicLibcall(*this, "__atomic_store", getContext().VoidTy, args); in EmitAtomicStore()
DCGStmt.cpp1987 ResultType = VoidTy; in EmitAsmStmt()
2150 CGM.getTypes().arrangeFreeFunctionDeclaration(Ctx.VoidTy, Args, ExtInfo, in GenerateCapturedStmtFunction()
2162 StartFunction(CD, Ctx.VoidTy, F, FuncInfo, Args, in GenerateCapturedStmtFunction()
/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp190 Type *VoidTy = Type::getVoidTy(*C); in runOnModule() local
198 M.getOrInsertFunction(kSanCovName, VoidTy, Int32PtrTy, nullptr)); in runOnModule()
200 M.getOrInsertFunction(kSanCovWithCheckName, VoidTy, Int32PtrTy, nullptr)); in runOnModule()
203 kSanCovIndirCallName, VoidTy, IntptrTy, IntptrTy, nullptr)); in runOnModule()
206 kSanCovTraceCmp, VoidTy, Int64Ty, Int64Ty, Int64Ty, nullptr)); in runOnModule()
209 kSanCovTraceSwitch, VoidTy, Int64Ty, Int64PtrTy, nullptr)); in runOnModule()
217 M.getOrInsertFunction(kSanCovTraceEnter, VoidTy, Int32PtrTy, nullptr)); in runOnModule()
219 M.getOrInsertFunction(kSanCovTraceBB, VoidTy, Int32PtrTy, nullptr)); in runOnModule()
DInstrProfiling.cpp382 auto *VoidTy = Type::getVoidTy(M->getContext()); in emitRegistration() local
384 auto *RegisterFTy = FunctionType::get(VoidTy, false); in emitRegistration()
390 auto *RuntimeRegisterTy = FunctionType::get(VoidTy, VoidPtrTy, false); in emitRegistration()
468 auto *VoidTy = Type::getVoidTy(M->getContext()); in emitInitialization() local
469 auto *F = Function::Create(FunctionType::get(VoidTy, false), in emitInitialization()
482 auto *SetNameTy = FunctionType::get(VoidTy, Int8PtrTy, false); in emitInitialization()
/external/llvm/lib/Support/
DThreadPool.cpp82 std::shared_future<ThreadPool::VoidTy> ThreadPool::asyncImpl(TaskTy Task) { in asyncImpl()
136 std::shared_future<ThreadPool::VoidTy> ThreadPool::asyncImpl(TaskTy Task) { in asyncImpl()
/external/clang/lib/AST/
DItaniumCXXABI.cpp67 Context.getFunctionType(Context.VoidTy, Proto->getParamTypes(), in getManglingNumber()
DASTContext.cpp989 assert(VoidTy.isNull() && "Context reinitialized?"); in InitBuiltinTypes()
999 InitBuiltinType(VoidTy, BuiltinType::Void); in InitBuiltinTypes()
1126 VoidPtrTy = getPointerType(VoidTy); in InitBuiltinTypes()
6087 QualType T = Context->getPointerType(Context->VoidTy); in CreateVoidPtrBuiltinVaListDecl()
6114 FieldTypes[0] = Context->getPointerType(Context->VoidTy); in CreateAArch64ABIBuiltinVaListDecl()
6118 FieldTypes[1] = Context->getPointerType(Context->VoidTy); in CreateAArch64ABIBuiltinVaListDecl()
6122 FieldTypes[2] = Context->getPointerType(Context->VoidTy); in CreateAArch64ABIBuiltinVaListDecl()
6179 FieldTypes[3] = Context->getPointerType(Context->VoidTy); in CreatePowerABIBuiltinVaListDecl()
6183 FieldTypes[4] = Context->getPointerType(Context->VoidTy); in CreatePowerABIBuiltinVaListDecl()
6238 FieldTypes[2] = Context->getPointerType(Context->VoidTy); in CreateX86_64ABIBuiltinVaListDecl()
[all …]
/external/clang/lib/Analysis/
DBodyFarm.cpp207 CallExpr *CE = new (C) CallExpr(C, ICE, None, C.VoidTy, VK_RValue, in create_dispatch_once()
268 CallExpr *CE = new (C) CallExpr(C, ICE, None, C.VoidTy, VK_RValue, in create_dispatch_sync()
/external/llvm/lib/IR/
DLLVMContextImpl.cpp24 VoidTy(C, Type::VoidTyID), in LLVMContextImpl()
/external/clang/lib/Sema/
DSemaExprCXX.cpp683 CXXThrowExpr(Ex, Context.VoidTy, OpLoc, IsThrownVarInScope); in BuildCXXThrow()
1860 = Context.getFunctionType(Context.VoidTy, ArgTypes, EPI); in FindAllocationFunctions()
2114 QualType VoidPtr = Context.getPointerType(Context.VoidTy); in DeclareGlobalNewDelete()
2126 Context.VoidTy, VoidPtr); in DeclareGlobalNewDelete()
2129 Context.VoidTy, VoidPtr); in DeclareGlobalNewDelete()
2133 Context.VoidTy, VoidPtr, Context.getSizeType()); in DeclareGlobalNewDelete()
2136 Context.VoidTy, VoidPtr, Context.getSizeType()); in DeclareGlobalNewDelete()
2814 Context.VoidTy, UseGlobal, ArrayForm, ArrayFormAsWritten, in ActOnCXXDelete()
4884 return Context.VoidTy; in CXXCheckConditionalOperands()
5508 Expr *E = new (Context) StmtExpr(CompStmt, Context.VoidTy, SourceLocation(), in MaybeCreateStmtWithCleanups()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp89 if (CanonPointeeTy.getLocalUnqualifiedType() == Ctx.VoidTy) in castRegion()
/external/clang/include/clang/AST/
DBuiltinTypes.def59 BUILTIN_TYPE(Void, VoidTy)
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp549 if (CanRetTy != Ctx.VoidTy && C.getLocationContext()->getParentMap() in HandleNilReceiver()

123