Home
last modified time | relevance | path

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

1234

/external/llvm/include/llvm/Support/
DThreadPool.h54 using VoidTy = void;
60 using VoidTy = bool;
78 inline std::shared_future<VoidTy> async(Function &&F, Args &&... ArgList) { in async()
86 return asyncImpl([Task](VoidTy) mutable -> VoidTy { in async()
88 return VoidTy(); in async()
96 inline std::shared_future<VoidTy> async(Function &&F) { in async()
100 return asyncImpl([F] (VoidTy) -> VoidTy { F(); return VoidTy(); }); in async()
111 std::shared_future<VoidTy> asyncImpl(TaskTy F);
/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp214 Type *VoidTy = Type::getVoidTy(*C); in runOnModule() local
222 M.getOrInsertFunction(SanCovName, VoidTy, Int32PtrTy, nullptr)); in runOnModule()
224 M.getOrInsertFunction(SanCovWithCheckName, VoidTy, Int32PtrTy, nullptr)); in runOnModule()
226 M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy, nullptr)); in runOnModule()
229 SanCovIndirCallName, VoidTy, IntptrTy, IntptrTy, nullptr)); in runOnModule()
232 SanCovTraceCmpName, VoidTy, Int64Ty, Int64Ty, Int64Ty, nullptr)); in runOnModule()
235 SanCovTraceSwitchName, VoidTy, Int64Ty, Int64PtrTy, nullptr)); in runOnModule()
243 M.getOrInsertFunction(SanCovTracePCName, VoidTy, nullptr)); in runOnModule()
245 M.getOrInsertFunction(SanCovTraceEnterName, VoidTy, Int32PtrTy, nullptr)); in runOnModule()
247 M.getOrInsertFunction(SanCovTraceBBName, VoidTy, Int32PtrTy, nullptr)); in runOnModule()
DInstrProfiling.cpp504 auto *VoidTy = Type::getVoidTy(M->getContext()); in emitRegistration() local
507 auto *RegisterFTy = FunctionType::get(VoidTy, false); in emitRegistration()
514 auto *RuntimeRegisterTy = FunctionType::get(VoidTy, VoidPtrTy, false); in emitRegistration()
527 FunctionType::get(VoidTy, makeArrayRef(ParamTypes), false); in emitRegistration()
610 auto *VoidTy = Type::getVoidTy(M->getContext()); in emitInitialization() local
611 auto *F = Function::Create(FunctionType::get(VoidTy, false), in emitInitialization()
625 auto *SetNameTy = FunctionType::get(VoidTy, Int8PtrTy, false); in emitInitialization()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp198 llvm::FunctionType *ty = llvm::FunctionType::get(CGM.VoidTy, false); in createAtExitStub()
212 CGF.StartFunction(&VD, CGM.getContext().VoidTy, fn, FI, FunctionArgList()); in createAtExitStub()
331 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalVarDeclInitFunc()
416 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalInitFunc()
483 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalDtorFunc()
505 StartFunction(GlobalDecl(D), getContext().VoidTy, Fn, in GenerateCXXGlobalVarDeclInitFunc()
528 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalInitFunc()
579 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalDtorsFunc()
610 CGM.getTypes().arrangeBuiltinFunctionDeclaration(getContext().VoidTy, args); in generateDestroyHelper()
617 StartFunction(VD, getContext().VoidTy, fn, FI, args); in generateDestroyHelper()
DCGCUDANV.cpp32 llvm::Type *IntTy, *SizeTy, *VoidTy; member in __anonc70876280111::CGNVCUDARuntime
92 VoidTy = llvm::Type::getVoidTy(Context); in CGNVCUDARuntime()
183 llvm::FunctionType::get(VoidTy, VoidPtrPtrTy, false), in makeRegisterGlobalsFn()
270 llvm::FunctionType::get(VoidTy, VoidPtrTy, false), in makeModuleCtorFunction()
344 llvm::FunctionType::get(VoidTy, VoidPtrPtrTy, false), in makeModuleDtorFunction()
348 llvm::FunctionType::get(VoidTy, VoidPtrTy, false), in makeModuleDtorFunction()
DCGOpenMPRuntime.cpp753 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args); in emitCombinerOrInitializer()
763 CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, FnInfo, Args); in emitCombinerOrInitializer()
1050 Kmpc_MicroTy = llvm::FunctionType::get(CGM.VoidTy, MicroParams, true); in getKmpc_MicroPointerTy()
1065 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ true); in createRuntimeFunction()
1095 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
1106 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
1124 llvm::FunctionType::get(CGM.VoidTy, CGM.VoidPtrTy, /*isVarArg*/ false) in createRuntimeFunction()
1128 auto FnTy = llvm::FunctionType::get(CGM.VoidTy, FnTyArgs, in createRuntimeFunction()
1140 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
1157 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
[all …]
DCGObjCGNU.cpp751 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() local
755 ExitCatchFn.init(&CGM, "__cxa_end_catch", VoidTy, nullptr); in CGObjCGNUstep()
757 ExceptionReThrowFn.init(&CGM, "_Unwind_Resume_or_Rethrow", VoidTy, in CGObjCGNUstep()
760 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() local
764 ExitCatchFn.init(&CGM, "objc_end_catch", VoidTy, nullptr); in CGObjCGNUstep()
766 ExceptionReThrowFn.init(&CGM, "objc_exception_rethrow", VoidTy, in CGObjCGNUstep()
769 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() local
770 SetPropertyAtomic.init(&CGM, "objc_setProperty_atomic", VoidTy, IdTy, in CGObjCGNUstep()
772 SetPropertyAtomicCopy.init(&CGM, "objc_setProperty_atomic_copy", VoidTy, in CGObjCGNUstep()
774 SetPropertyNonAtomic.init(&CGM, "objc_setProperty_nonatomic", VoidTy, in CGObjCGNUstep()
[all …]
DCGObjC.cpp503 CGF.getContext().VoidTy, in Emit()
593 CGF.EmitCall(CGF.getTypes().arrangeBuiltinFunctionCall(Context.VoidTy, args), in emitStructGetterCall()
858 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitCPPObjectAtomicGetterCall()
1073 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitStructSetterCall()
1109 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitCPPObjectAtomicSetterCall()
1239 EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args), in generateObjCSetterBody()
1250 EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args), in generateObjCSetterBody()
1610 CGM.getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, Args2), in EmitObjCForCollectionStmt()
1787 llvm::FunctionType::get(CGM.VoidTy, None, true); in EmitARCIntrinsicUse()
1992 llvm::FunctionType::get(CGF.VoidTy, /*variadic*/false); in emitAutoreleasedReturnValueMarker()
[all …]
DCodeGenTypeCache.h34 llvm::Type *VoidTy; member
DCGBlocks.cpp1335 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, args); in GenerateCopyHelperFunction()
1351 SourceLocation(), II, C.VoidTy, in GenerateCopyHelperFunction()
1359 StartFunction(FD, C.VoidTy, Fn, FI, args); in GenerateCopyHelperFunction()
1511 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, args); in GenerateDestroyHelperFunction()
1526 SourceLocation(), II, C.VoidTy, in GenerateDestroyHelperFunction()
1534 StartFunction(FD, C.VoidTy, Fn, FI, args); in GenerateDestroyHelperFunction()
1785 QualType R = Context.VoidTy; in generateByrefCopyHelper()
1862 QualType R = Context.VoidTy; in generateByrefDisposeHelper()
2330 = llvm::FunctionType::get(VoidTy, args, false); in getBlockObjectDispose()
2342 = llvm::FunctionType::get(VoidTy, args, false); in getBlockObjectAssign()
DCGOpenMPRuntimeNVPTX.cpp137 CGF.StartFunction(GlobalDecl(), Ctx.VoidTy, WST.WorkerFn, *WST.CGFI, {}); in emitWorkerFunction()
277 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in createNVPTXRuntimeFunction()
DItaniumCXXABI.cpp1042 llvm::FunctionType::get(CGM.VoidTy, /*IsVarArgs=*/false); in emitRethrow()
1067 llvm::FunctionType::get(CGM.VoidTy, Args, /*IsVarArgs=*/false); in getThrowFn()
1131 llvm::FunctionType *FTy = llvm::FunctionType::get(CGF.VoidTy, false); in getBadCastFn()
1189 llvm::FunctionType *FTy = llvm::FunctionType::get(CGF.VoidTy, false); in getBadTypeidFn()
1770 llvm::FunctionType::get(CGM.VoidTy, NumElementsPtr.getType(), false); in InitializeArrayCookie()
1876 llvm::FunctionType::get(CGM.VoidTy, GuardPtrTy, /*isVarArg=*/false); in getGuardReleaseFn()
1887 llvm::FunctionType::get(CGM.VoidTy, GuardPtrTy, /*isVarArg=*/false); in getGuardAbortFn()
2106 llvm::FunctionType::get(CGF.VoidTy, CGF.Int8PtrTy, false)->getPointerTo(); in emitGlobalDtorWithCXAAtExit()
2234 llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false); in EmitThreadLocalInitFuncs()
2289 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()
1430 CGM.getTypes().arrangeBuiltinFunctionCall(Context.VoidTy, Args); in Emit()
1655 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()
265 Types.arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, Params)); in getSetPropertyFn()
290 Types.arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, Params)); in getOptimizedSetPropertyFn()
316 Types.arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, Params)); in getCopyStructFn()
334 Types.arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, Params)); in getCppAtomicObjectFunction()
346 Types.arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, Params)); in getEnumerationMutationFn()
432 llvm::FunctionType::get(CGM.VoidTy, args, false); in getExceptionThrowFn()
439 llvm::FunctionType *FTy = llvm::FunctionType::get(CGM.VoidTy, false); in getExceptionRethrowFn()
[all …]
/external/llvm/lib/Transforms/Utils/
DSanitizerStats.cpp80 Type *VoidTy = Type::getVoidTy(M->getContext()); in finish() local
95 auto F = Function::Create(FunctionType::get(VoidTy, false), in finish()
100 FunctionType *StatInitTy = FunctionType::get(VoidTy, Int8PtrTy, false); in finish()
/external/llvm/lib/Support/
DThreadPool.cpp85 std::shared_future<ThreadPool::VoidTy> ThreadPool::asyncImpl(TaskTy Task) { in asyncImpl()
139 std::shared_future<ThreadPool::VoidTy> ThreadPool::asyncImpl(TaskTy Task) { in asyncImpl()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DLLVMContextImpl.cpp22 VoidTy(C, Type::VoidTyID), in LLVMContextImpl()
DLLVMContextImpl.h172 Type VoidTy, LabelTy, FloatTy, DoubleTy, MetadataTy; variable
/external/clang/lib/AST/
DItaniumCXXABI.cpp67 Context.getFunctionType(Context.VoidTy, Proto->getParamTypes(), in getManglingNumber()
/external/clang/lib/Analysis/
DBodyFarm.cpp207 CallExpr *CE = new (C) CallExpr(C, ICE, None, C.VoidTy, VK_RValue, in create_dispatch_once()
269 CallExpr *CE = new (C) CallExpr(C, ICE, None, C.VoidTy, VK_RValue, in create_dispatch_sync()
/external/turbine/java/com/google/turbine/tree/
DTree.java194 public static class VoidTy extends Type { class in Tree
206 public VoidTy(int position) { in VoidTy() method in Tree.VoidTy
947 O visitVoidTy(VoidTy primTy, I input); in visitVoidTy()
/external/llvm/lib/IR/
DLLVMContextImpl.cpp26 VoidTy(C, Type::VoidTyID), in LLVMContextImpl()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp284 Type *VoidTy = Builder.getVoidTy(); in emitExceptionRegistrationRecord() local
304 FunctionType::get(VoidTy, Int8PtrType, /*isVarArg=*/false)); in emitExceptionRegistrationRecord()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp167 Context.getFunctionType(Context.VoidTy, {}, {}), nullptr, SC_Static); in CorrectTypo()
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp89 if (CanonPointeeTy.getLocalUnqualifiedType() == Ctx.VoidTy) in castRegion()

1234