Searched refs:FnInfo (Results 1 - 11 of 11) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
H A DMallocOverflowSecurityChecker.cpp249 IdentifierInfo *FnInfo = FD->getIdentifier();
250 if (!FnInfo)
253 if (FnInfo->isStr ("malloc") || FnInfo->isStr ("_MALLOC")) {
/external/clang/lib/CodeGen/
H A DCGVTables.cpp128 const CGFunctionInfo &FnInfo,
135 assert(FnInfo.isVariadic());
136 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FnInfo);
155 if (CGM.ReturnTypeUsesSRet(FnInfo))
194 const CGFunctionInfo &FnInfo) {
219 StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs, local
299 const CGFunctionInfo &FnInfo,
301 StartThunk(Fn, GD, FnInfo);
321 const CGFunctionInfo &FnInfo = CGM.getTypes().arrangeGlobalDeclaration(GD); local
323 // FIXME: re-use FnInfo i
126 GenerateVarArgsThunk( llvm::Function *Fn, const CGFunctionInfo &FnInfo, GlobalDecl GD, const ThunkInfo &Thunk) argument
193 StartThunk(llvm::Function *Fn, GlobalDecl GD, const CGFunctionInfo &FnInfo) argument
298 GenerateThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo, GlobalDecl GD, const ThunkInfo &Thunk) argument
[all...]
H A DCodeGenFunction.h1148 const CGFunctionInfo &FnInfo);
1155 const CGFunctionInfo &FnInfo,
1181 void StartThunk(llvm::Function *Fn, GlobalDecl GD, const CGFunctionInfo &FnInfo);
1187 void GenerateThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo,
1190 void GenerateVarArgsThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo,
2131 RValue EmitCall(const CGFunctionInfo &FnInfo,
H A DCGDecl.cpp441 const CGFunctionInfo &FnInfo; member in struct:__anon17823::CallCleanupFunction
446 : CleanupFn(CleanupFn), FnInfo(*Info), Var(*Var) {}
461 QualType ArgTy = FnInfo.arg_begin()->type;
468 CGF.EmitCall(FnInfo, CleanupFn, ReturnValueSlot(), Args);
H A DCodeGenFunction.cpp524 const CGFunctionInfo &FnInfo,
535 CurFnInfo = &FnInfo;
758 const CGFunctionInfo &FnInfo) {
800 StartFunction(GD, ResTy, Fn, FnInfo, Args, Loc, BodyRange.getBegin());
521 StartFunction(GlobalDecl GD, QualType RetTy, llvm::Function *Fn, const CGFunctionInfo &FnInfo, const FunctionArgList &Args, SourceLocation Loc, SourceLocation StartLoc) argument
757 GenerateCode(GlobalDecl GD, llvm::Function *Fn, const CGFunctionInfo &FnInfo) argument
H A DMicrosoftCXXABI.cpp1445 const CGFunctionInfo &FnInfo = CGM.getTypes().arrangeGlobalDeclaration(MD); local
1446 llvm::FunctionType *ThunkTy = CGM.getTypes().GetFunctionType(FnInfo);
1456 CGM.SetLLVMFunctionAttributes(MD, FnInfo, ThunkFn);
1461 CGF.StartThunk(ThunkFn, MD, FnInfo);
1474 CGM.ConstructAttributeList(FnInfo, MD, AttributeList, CallingConv, true);
H A DCGBlocks.cpp965 const CGFunctionInfo &FnInfo = local
969 llvm::Type *BlockFTy = CGM.getTypes().GetFunctionType(FnInfo);
975 return EmitCall(FnInfo, Func, ReturnValue, Args);
H A DCGExpr.cpp3275 const CGFunctionInfo &FnInfo = local
3296 llvm::Type *CalleeTy = getTypes().GetFunctionType(FnInfo);
3301 return EmitCall(FnInfo, Callee, ReturnValue, Args, TargetDecl);
/external/clang/lib/AST/
H A DDecl.cpp3148 IdentifierInfo *FnInfo = getIdentifier(); local
3150 if (!FnInfo)
3207 if (FnInfo->isStr("memset"))
3209 else if (FnInfo->isStr("memcpy"))
3211 else if (FnInfo->isStr("memmove"))
3213 else if (FnInfo->isStr("memcmp"))
3215 else if (FnInfo->isStr("strncpy"))
3217 else if (FnInfo->isStr("strncmp"))
3219 else if (FnInfo->isStr("strncasecmp"))
3221 else if (FnInfo
[all...]
/external/clang/lib/Sema/
H A DSemaChecking.cpp833 IdentifierInfo *FnInfo = FDecl->getIdentifier(); local
836 if (!FnInfo)
839 CheckAbsoluteValueFunction(TheCall, FDecl, FnInfo);
847 CheckStrlcpycatArguments(TheCall, FnInfo);
849 CheckStrncatArguments(TheCall, FnInfo);
851 CheckMemaccessArguments(TheCall, CMId, FnInfo);
3760 const IdentifierInfo *FnInfo = FDecl->getIdentifier(); local
3761 if (!FnInfo)
3898 IdentifierInfo *FnInfo) {
3896 CheckAbsoluteValueFunction(const CallExpr *Call, const FunctionDecl *FDecl, IdentifierInfo *FnInfo) argument
/external/clang/include/clang/Sema/
H A DSema.h8286 IdentifierInfo *FnInfo);

Completed in 166 milliseconds