/external/clang/lib/CodeGen/ |
D | CGDeclCXX.cpp | 159 llvm::FunctionType *ty = llvm::FunctionType::get(CGM.VoidTy, false); in createAtExitStub() 166 CGF.StartFunction(GlobalDecl(), CGM.getContext().VoidTy, fn, in createAtExitStub() 241 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalVarDeclInitFunc() 277 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalInitFunc() 309 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalDtorFunc() 327 StartFunction(GlobalDecl(D), getContext().VoidTy, Fn, in GenerateCXXGlobalVarDeclInitFunc() 347 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalInitFunc() 372 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalDtorsFunc() 401 CGM.getTypes().arrangeFunctionDeclaration(getContext().VoidTy, args, in generateDestroyHelper() 408 StartFunction(GlobalDecl(), getContext().VoidTy, fn, FI, args, in generateDestroyHelper()
|
D | CGException.cpp | 38 llvm::FunctionType::get(CGF.VoidTy, CGF.Int8PtrTy, /*IsVarArgs=*/false); in getFreeExceptionFn() 49 llvm::FunctionType::get(CGF.VoidTy, Args, /*IsVarArgs=*/false); in getThrowFn() 58 llvm::FunctionType::get(CGF.VoidTy, /*IsVarArgs=*/false); in getReThrowFn() 85 llvm::FunctionType::get(CGF.VoidTy, /*IsVarArgs=*/false); in getEndCatchFn() 94 llvm::FunctionType::get(CGF.VoidTy, CGF.Int8PtrTy, /*IsVarArgs=*/false); in getUnexpectedFn() 101 llvm::FunctionType::get(VoidTy, Int8PtrTy, /*IsVarArgs=*/false); in getUnwindResumeFn() 110 llvm::FunctionType::get(VoidTy, Int8PtrTy, /*IsVarArgs=*/false); in getUnwindResumeOrRethrowFn() 121 llvm::FunctionType::get(CGF.VoidTy, /*IsVarArgs=*/false); in getTerminateFn() 139 llvm::FunctionType::get(CGF.VoidTy, CGF.Int8PtrTy, /*IsVarArgs=*/false); in getCatchallRethrowFn()
|
D | CGObjC.cpp | 423 CGF.getContext().VoidTy, in Emit() 510 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(Context.VoidTy, args, in emitStructGetterCall() 776 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(CGF.getContext().VoidTy, in emitCPPObjectAtomicGetterCall() 969 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(CGF.getContext().VoidTy, in emitStructSetterCall() 1007 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(CGF.getContext().VoidTy, in emitCPPObjectAtomicSetterCall() 1144 EmitCall(getTypes().arrangeFreeFunctionCall(getContext().VoidTy, args, in generateObjCSetterBody() 1157 EmitCall(getTypes().arrangeFreeFunctionCall(getContext().VoidTy, args, in generateObjCSetterBody() 1522 EmitCall(CGM.getTypes().arrangeFreeFunctionCall(getContext().VoidTy, Args2, in EmitObjCForCollectionStmt() 1903 llvm::FunctionType::get(VoidTy, /*variadic*/false); in EmitARCRetainAutoreleasedReturnValue() 2224 getContext().VoidTy, DrainSel, Arg, Args); in EmitObjCMRRAutoreleasePoolPop() [all …]
|
D | CGBlocks.cpp | 1194 CGM.getTypes().arrangeFunctionDeclaration(C.VoidTy, args, in GenerateCopyHelperFunction() 1216 SourceLocation(), II, C.VoidTy, 0, in GenerateCopyHelperFunction() 1221 StartFunction(FD, C.VoidTy, Fn, FI, args, SourceLocation()); in GenerateCopyHelperFunction() 1311 CGM.getTypes().arrangeFunctionDeclaration(C.VoidTy, args, in GenerateDestroyHelperFunction() 1332 SourceLocation(), II, C.VoidTy, 0, in GenerateDestroyHelperFunction() 1336 StartFunction(FD, C.VoidTy, Fn, FI, args, SourceLocation()); in GenerateDestroyHelperFunction() 1581 QualType R = Context.VoidTy; in generateByrefCopyHelper() 1654 QualType R = Context.VoidTy; in generateByrefDisposeHelper() 2015 = llvm::FunctionType::get(VoidTy, args, false); in getBlockObjectDispose() 2027 = llvm::FunctionType::get(VoidTy, args, false); in getBlockObjectAssign()
|
D | CGObjCGNU.cpp | 645 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() local 649 ExitCatchFn.init(&CGM, "__cxa_end_catch", VoidTy, NULL); in CGObjCGNUstep() 651 ExceptionReThrowFn.init(&CGM, "_Unwind_Resume_or_Rethrow", VoidTy, PtrTy, NULL); in CGObjCGNUstep() 806 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNU() local 809 ExceptionThrowFn.init(&CGM, "objc_exception_throw", VoidTy, IdTy, NULL); in CGObjCGNU() 810 ExceptionReThrowFn.init(&CGM, "objc_exception_throw", VoidTy, IdTy, NULL); in CGObjCGNU() 817 EnumerationMutationFn.init(&CGM, "objc_enumerationMutation", VoidTy, in CGObjCGNU() 824 SetPropertyFn.init(&CGM, "objc_setProperty", VoidTy, IdTy, SelectorTy, in CGObjCGNU() 827 GetStructPropertyFn.init(&CGM, "objc_getPropertyStruct", VoidTy, PtrTy, PtrTy, in CGObjCGNU() 830 SetStructPropertyFn.init(&CGM, "objc_setPropertyStruct", VoidTy, PtrTy, PtrTy, in CGObjCGNU()
|
D | CGObjCMac.cpp | 79 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(CGM.VoidTy, in getMessageSendStretFn() 144 llvm::FunctionType::get(CGM.VoidTy, params, true), in getMessageSendSuperStretFn() 155 llvm::FunctionType::get(CGM.VoidTy, params, true), in getMessageSendSuperStretFn2() 264 Types.GetFunctionType(Types.arrangeLLVMFunctionInfo(Ctx.VoidTy, Params, in getSetPropertyFn() 290 Types.GetFunctionType(Types.arrangeLLVMFunctionInfo(Ctx.VoidTy, Params, in getOptimizedSetPropertyFn() 317 Types.GetFunctionType(Types.arrangeLLVMFunctionInfo(Ctx.VoidTy, Params, in getCopyStructFn() 336 Types.GetFunctionType(Types.arrangeLLVMFunctionInfo(Ctx.VoidTy, Params, in getCppAtomicObjectFunction() 349 Types.GetFunctionType(Types.arrangeLLVMFunctionInfo(Ctx.VoidTy, Params, in getEnumerationMutationFn() 423 llvm::FunctionType::get(CGM.VoidTy, args, false); in getExceptionThrowFn() 430 llvm::FunctionType *FTy = llvm::FunctionType::get(CGM.VoidTy, false); in getExceptionRethrowFn() [all …]
|
D | ItaniumCXXABI.cpp | 939 llvm::FunctionType::get(CGM.VoidTy, GuardPtrTy, /*isVarArg=*/false); in getGuardReleaseFn() 949 llvm::FunctionType::get(CGM.VoidTy, GuardPtrTy, /*isVarArg=*/false); in getGuardAbortFn() 1116 llvm::FunctionType::get(CGF.VoidTy, CGF.Int8PtrTy, false)->getPointerTo(); in emitGlobalDtorWithCXAAtExit()
|
D | CodeGenFunction.cpp | 234 llvm::FunctionType::get(VoidTy, ProfileFuncArgs, false); in EmitFunctionInstrumentation() 248 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitMCountInstrumentation()
|
D | CGDebugInfo.cpp | 649 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in CreateType() 654 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in CreateType() 657 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in CreateType() 2203 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr() 2212 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr()
|
D | CodeGenModule.cpp | 83 VoidTy = llvm::Type::getVoidTy(LLVMContext); in CodeGenModule() 442 llvm::FunctionType* CtorFTy = llvm::FunctionType::get(VoidTy, false); in EmitCtorList() 1076 FTy = llvm::FunctionType::get(VoidTy, false); in GetOrCreateLLVMFunction() 2474 cxxSelector, getContext().VoidTy, 0, D, in EmitObjCIvarInitializations()
|
D | CodeGenModule.h | 104 llvm::Type *VoidTy; member
|
D | CGCall.cpp | 196 CanQualType resultType = Context.VoidTy; in arrangeCXXConstructorDeclaration() 221 CanQualType resultType = Context.VoidTy; in arrangeCXXDestructor() 385 return arrangeLLVMFunctionInfo(getContext().VoidTy, ArrayRef<CanQualType>(), in arrangeNullaryFunction()
|
D | CGRTTI.cpp | 999 QualType FundamentalTypes[] = { Context.VoidTy, Context.NullPtrTy, in EmitFundamentalRTTIDescriptors()
|
D | CGVTables.cpp | 577 llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false); in CreateVTableInitializer()
|
/external/clang/lib/AST/ |
D | LambdaMangleContext.cpp | 26 QualType Key = Context.getFunctionType(Context.VoidTy, in getManglingNumber()
|
D | ASTContext.cpp | 725 assert(VoidTy.isNull() && "Context reinitialized?"); in InitBuiltinTypes() 733 InitBuiltinType(VoidTy, BuiltinType::Void); in InitBuiltinTypes() 827 VoidPtrTy = getPointerType(VoidTy); in InitBuiltinTypes() 5319 QualType VoidPtrType = Context->getPointerType(Context->VoidTy); in CreateVoidPtrBuiltinVaListDecl() 5358 FieldTypes[3] = Context->getPointerType(Context->VoidTy); in CreatePowerABIBuiltinVaListDecl() 5362 FieldTypes[4] = Context->getPointerType(Context->VoidTy); in CreatePowerABIBuiltinVaListDecl() 5431 FieldTypes[2] = Context->getPointerType(Context->VoidTy); in CreateX86_64ABIBuiltinVaListDecl() 5435 FieldTypes[3] = Context->getPointerType(Context->VoidTy); in CreateX86_64ABIBuiltinVaListDecl() 6924 Type = Context.VoidTy; in DecodeTypeFromStr()
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 233 AlternateType = Ctx.VoidTy; in checkReturnValueType() 235 return Ctx.hasSameType(DeducedType, Ctx.VoidTy); in checkReturnValueType() 268 AlternateType = Ctx.VoidTy; in checkReturnValueType() 300 CSI.ReturnType = Ctx.VoidTy; in deduceClosureReturnType() 331 << (RetE ? RetE->getType() : Ctx.VoidTy) << CSI.ReturnType in deduceClosureReturnType() 335 AlternateType = Ctx.VoidTy; in deduceClosureReturnType() 804 LSI->ReturnType = Context.VoidTy; in ActOnLambdaExpr()
|
D | SemaExprCXX.cpp | 566 return Owned(new (Context) CXXThrowExpr(Ex, Context.VoidTy, OpLoc, in BuildCXXThrow() 1624 = Context.getFunctionType(Context.VoidTy, ArgTypes.data(), in FindAllocationFunctions() 1860 QualType VoidPtr = Context.getPointerType(Context.VoidTy); in DeclareGlobalNewDelete() 1872 Context.VoidTy, VoidPtr); in DeclareGlobalNewDelete() 1875 Context.VoidTy, VoidPtr); in DeclareGlobalNewDelete() 2244 return Owned(new (Context) CXXDeleteExpr(Context.VoidTy, UseGlobal, ArrayForm, in ActOnCXXDelete() 4178 return Context.VoidTy; in CXXCheckConditionalOperands() 4796 Expr *E = new (Context) StmtExpr(CompStmt, Context.VoidTy, SourceLocation(), in MaybeCreateStmtWithCleanups() 5467 E = ImpCastExprToType(E, Context.VoidTy, CK_ToVoid).take(); in IgnoredValueConversions()
|
/external/llvm/lib/VMCore/ |
D | LLVMContextImpl.cpp | 22 VoidTy(C, Type::VoidTyID), in LLVMContextImpl()
|
D | LLVMContextImpl.h | 297 Type VoidTy, LabelTy, HalfTy, FloatTy, DoubleTy, MetadataTy;
|
D | Type.cpp | 248 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Store.cpp | 99 if (CanonPointeeTy.getLocalUnqualifiedType() == Ctx.VoidTy) in castRegion()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CallAndMessageChecker.cpp | 410 if (CanRetTy != Ctx.VoidTy && C.getLocationContext()->getParentMap() in HandleNilReceiver()
|
/external/clang/include/clang/AST/ |
D | BuiltinTypes.def | 59 BUILTIN_TYPE(Void, VoidTy)
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteModernObjC.cpp | 2409 ArgTys.push_back(Context->VoidTy); in SynthMsgSendSuperFunctionDecl() 2448 ArgTys.push_back(Context->VoidTy); in SynthMsgSendSuperStretFunctionDecl() 2663 Context->getPointerType(Context->VoidTy), in RewriteObjCBoxedExpr() 2702 getSimpleFunctionType(Context->VoidTy, &IntQT, 1, true); in RewriteObjCArrayLiteralExpr() 2801 Context->getPointerType(Context->VoidTy), in RewriteObjCArrayLiteralExpr() 2840 getSimpleFunctionType(Context->VoidTy, &IntQT, 1, true); in RewriteObjCDictionaryLiteralExpr() 2975 Context->getPointerType(Context->VoidTy), in RewriteObjCDictionaryLiteralExpr() 3531 Context->getPointerType(Context->VoidTy), in SynthMessageExpr()
|