/external/clang/lib/CodeGen/ |
D | CGCXX.cpp | 219 const CGFunctionInfo &FnInfo = in codegenCXXStructor() local 222 getAddrOfCXXStructor(MD, Type, &FnInfo, /*FnType=*/nullptr, in codegenCXXStructor() 236 CodeGenFunction(*this).GenerateCode(GD, Fn, FnInfo); in codegenCXXStructor() 243 const CXXMethodDecl *MD, StructorType Type, const CGFunctionInfo *FnInfo, in getAddrOfCXXStructor() argument 253 if (!FnInfo) in getAddrOfCXXStructor() 254 FnInfo = &getTypes().arrangeCXXStructorDeclaration(MD, Type); in getAddrOfCXXStructor() 255 FnType = getTypes().GetFunctionType(*FnInfo); in getAddrOfCXXStructor()
|
D | CGVTables.cpp | 145 const CGFunctionInfo &FnInfo, in GenerateVarArgsThunk() argument 152 assert(FnInfo.isVariadic()); in GenerateVarArgsThunk() 153 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FnInfo); in GenerateVarArgsThunk() 172 if (CGM.ReturnTypeUsesSRet(FnInfo)) in GenerateVarArgsThunk() 211 const CGFunctionInfo &FnInfo) { in StartThunk() argument 237 StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs, in StartThunk() 400 const CGFunctionInfo &FnInfo, in generateThunk() argument 402 StartThunk(Fn, GD, FnInfo); in generateThunk() 415 const CGFunctionInfo &FnInfo = CGM.getTypes().arrangeGlobalDeclaration(GD); in emitThunk() local 479 CodeGenFunction(CGM).GenerateVarArgsThunk(ThunkFn, FnInfo, GD, Thunk); in emitThunk() [all …]
|
D | CGException.cpp | 1428 const CGFunctionInfo &FnInfo = in Emit() local 1432 CGF.EmitCall(FnInfo, OutlinedFinally, ReturnValueSlot(), Args); in Emit() 1659 const CGFunctionInfo &FnInfo = CGM.getTypes().arrangeFreeFunctionDeclaration( in startOutlinedSEHHelper() local 1662 llvm::FunctionType *FnTy = CGM.getTypes().GetFunctionType(FnInfo); in startOutlinedSEHHelper() 1678 StartFunction(GlobalDecl(), RetTy, Fn, FnInfo, Args, in startOutlinedSEHHelper() 1681 CGM.SetLLVMFunctionAttributes(nullptr, FnInfo, CurFn); in startOutlinedSEHHelper()
|
D | CGDecl.cpp | 486 const CGFunctionInfo &FnInfo; member 491 : CleanupFn(CleanupFn), FnInfo(*Info), Var(*Var) {} in CallCleanupFunction() 506 QualType ArgTy = FnInfo.arg_begin()->type; in Emit() 513 CGF.EmitCall(FnInfo, CleanupFn, ReturnValueSlot(), Args); in Emit()
|
D | CodeGenFunction.h | 1296 const CGFunctionInfo &FnInfo); 1303 const CGFunctionInfo &FnInfo, 1333 const CGFunctionInfo &FnInfo); 1344 void generateThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo, 1348 const CGFunctionInfo &FnInfo, 2632 RValue EmitCall(const CGFunctionInfo &FnInfo, llvm::Value *Callee,
|
D | MicrosoftCXXABI.cpp | 1896 const CGFunctionInfo &FnInfo = CGM.getTypes().arrangeMSMemberPointerThunk(MD); in EmitVirtualMemPtrThunk() local 1897 llvm::FunctionType *ThunkTy = CGM.getTypes().GetFunctionType(FnInfo); in EmitVirtualMemPtrThunk() 1909 CGM.SetLLVMFunctionAttributes(MD, FnInfo, ThunkFn); in EmitVirtualMemPtrThunk() 1932 CGF.StartFunction(GlobalDecl(), FnInfo.getReturnType(), ThunkFn, FnInfo, in EmitVirtualMemPtrThunk() 3793 const CGFunctionInfo &FnInfo = CGM.getTypes().arrangeMSCtorClosure(CD, CT); in getAddrOfCXXCtorClosure() local 3794 llvm::FunctionType *ThunkTy = CGM.getTypes().GetFunctionType(FnInfo); in getAddrOfCXXCtorClosure() 3800 FnInfo.getEffectiveCallingConvention())); in getAddrOfCXXCtorClosure() 3835 CGF.StartFunction(GlobalDecl(), FnInfo.getReturnType(), ThunkFn, FnInfo, in getAddrOfCXXCtorClosure()
|
D | CodeGenFunction.cpp | 647 const CGFunctionInfo &FnInfo, in StartFunction() argument 661 CurFnInfo = &FnInfo; in StartFunction() 903 const CGFunctionInfo &FnInfo) { in GenerateCode() argument 957 StartFunction(GD, ResTy, Fn, FnInfo, Args, Loc, BodyRange.getBegin()); in GenerateCode()
|
D | CGBlocks.cpp | 986 const CGFunctionInfo &FnInfo = in EmitBlockCallExpr() local 990 llvm::Type *BlockFTy = CGM.getTypes().GetFunctionType(FnInfo); in EmitBlockCallExpr() 996 return EmitCall(FnInfo, Func, ReturnValue, Args); in EmitBlockCallExpr()
|
D | CodeGenModule.h | 816 const CGFunctionInfo *FnInfo = nullptr,
|
D | CGExpr.cpp | 3882 const CGFunctionInfo &FnInfo = CGM.getTypes().arrangeFreeFunctionCall( in EmitCall() local 3906 llvm::Type *CalleeTy = getTypes().GetFunctionType(FnInfo); in EmitCall() 3911 return EmitCall(FnInfo, Callee, ReturnValue, Args, in EmitCall()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocOverflowSecurityChecker.cpp | 317 IdentifierInfo *FnInfo = FD->getIdentifier(); in checkASTCodeBody() local 318 if (!FnInfo) in checkASTCodeBody() 321 if (FnInfo->isStr ("malloc") || FnInfo->isStr ("_MALLOC")) { in checkASTCodeBody()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 3240 IdentifierInfo *FnInfo = getIdentifier(); in getMemoryFunctionKind() local 3242 if (!FnInfo) in getMemoryFunctionKind() 3302 if (FnInfo->isStr("memset")) in getMemoryFunctionKind() 3304 else if (FnInfo->isStr("memcpy")) in getMemoryFunctionKind() 3306 else if (FnInfo->isStr("memmove")) in getMemoryFunctionKind() 3308 else if (FnInfo->isStr("memcmp")) in getMemoryFunctionKind() 3310 else if (FnInfo->isStr("strncpy")) in getMemoryFunctionKind() 3312 else if (FnInfo->isStr("strncmp")) in getMemoryFunctionKind() 3314 else if (FnInfo->isStr("strncasecmp")) in getMemoryFunctionKind() 3316 else if (FnInfo->isStr("strncat")) in getMemoryFunctionKind() [all …]
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 1455 IdentifierInfo *FnInfo = FDecl->getIdentifier(); in CheckFunctionCall() local 1458 if (!FnInfo) in CheckFunctionCall() 1461 CheckAbsoluteValueFunction(TheCall, FDecl, FnInfo); in CheckFunctionCall() 1471 CheckStrlcpycatArguments(TheCall, FnInfo); in CheckFunctionCall() 1473 CheckStrncatArguments(TheCall, FnInfo); in CheckFunctionCall() 1475 CheckMemaccessArguments(TheCall, CMId, FnInfo); in CheckFunctionCall() 4924 const IdentifierInfo *FnInfo = FDecl->getIdentifier(); in getAbsoluteValueFunctionKind() local 4925 if (!FnInfo) in getAbsoluteValueFunctionKind() 5063 IdentifierInfo *FnInfo) { in CheckAbsoluteValueFunction() argument
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 9067 IdentifierInfo *FnInfo);
|