/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() 170 if (CGM.ReturnTypeUsesSRet(FnInfo)) in GenerateVarArgsThunk() 209 const CGFunctionInfo &FnInfo) { in StartThunk() argument 235 StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs, in StartThunk() 397 const CGFunctionInfo &FnInfo, in generateThunk() argument 399 StartThunk(Fn, GD, FnInfo); in generateThunk() 412 const CGFunctionInfo &FnInfo = CGM.getTypes().arrangeGlobalDeclaration(GD); in emitThunk() local 476 CodeGenFunction(CGM).GenerateVarArgsThunk(ThunkFn, FnInfo, GD, Thunk); in emitThunk() [all …]
|
D | CGException.cpp | 1429 const CGFunctionInfo &FnInfo = in Emit() local 1432 CGF.EmitCall(FnInfo, OutlinedFinally, ReturnValueSlot(), Args); in Emit() 1658 const CGFunctionInfo &FnInfo = in startOutlinedSEHHelper() local 1661 llvm::FunctionType *FnTy = CGM.getTypes().GetFunctionType(FnInfo); in startOutlinedSEHHelper() 1677 StartFunction(GlobalDecl(), RetTy, Fn, FnInfo, Args, in startOutlinedSEHHelper() 1681 CGM.SetLLVMFunctionAttributes(nullptr, FnInfo, CurFn); in startOutlinedSEHHelper()
|
D | CGDecl.cpp | 502 const CGFunctionInfo &FnInfo; member 507 : CleanupFn(CleanupFn), FnInfo(*Info), Var(*Var) {} in CallCleanupFunction() 522 QualType ArgTy = FnInfo.arg_begin()->type; in Emit() 529 CGF.EmitCall(FnInfo, CleanupFn, ReturnValueSlot(), Args); in Emit()
|
D | MicrosoftCXXABI.cpp | 1901 const CGFunctionInfo &FnInfo = CGM.getTypes().arrangeMSMemberPointerThunk(MD); in EmitVirtualMemPtrThunk() local 1902 llvm::FunctionType *ThunkTy = CGM.getTypes().GetFunctionType(FnInfo); in EmitVirtualMemPtrThunk() 1914 CGM.SetLLVMFunctionAttributes(MD, FnInfo, ThunkFn); in EmitVirtualMemPtrThunk() 1937 CGF.StartFunction(GlobalDecl(), FnInfo.getReturnType(), ThunkFn, FnInfo, in EmitVirtualMemPtrThunk() 3807 const CGFunctionInfo &FnInfo = CGM.getTypes().arrangeMSCtorClosure(CD, CT); in getAddrOfCXXCtorClosure() local 3808 llvm::FunctionType *ThunkTy = CGM.getTypes().GetFunctionType(FnInfo); in getAddrOfCXXCtorClosure() 3814 FnInfo.getEffectiveCallingConvention())); in getAddrOfCXXCtorClosure() 3849 CGF.StartFunction(GlobalDecl(), FnInfo.getReturnType(), ThunkFn, FnInfo, in getAddrOfCXXCtorClosure()
|
D | CodeGenFunction.cpp | 656 const CGFunctionInfo &FnInfo, in StartFunction() argument 673 CurFnInfo = &FnInfo; in StartFunction() 998 const CGFunctionInfo &FnInfo) { in GenerateCode() argument 1027 StartFunction(GD, ResTy, Fn, FnInfo, Args, Loc, BodyRange.getBegin()); in GenerateCode()
|
D | CodeGenFunction.h | 1379 const CGFunctionInfo &FnInfo); 1386 const CGFunctionInfo &FnInfo, 1416 const CGFunctionInfo &FnInfo); 1427 void generateThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo, 1431 const CGFunctionInfo &FnInfo, 2817 RValue EmitCall(const CGFunctionInfo &FnInfo, llvm::Value *Callee,
|
D | CGBlocks.cpp | 989 const CGFunctionInfo &FnInfo = in EmitBlockCallExpr() local 993 llvm::Type *BlockFTy = CGM.getTypes().GetFunctionType(FnInfo); in EmitBlockCallExpr() 999 return EmitCall(FnInfo, Func, ReturnValue, Args); in EmitBlockCallExpr()
|
D | CodeGenModule.h | 825 const CGFunctionInfo *FnInfo = nullptr,
|
D | CGExpr.cpp | 4099 const CGFunctionInfo &FnInfo = CGM.getTypes().arrangeFreeFunctionCall( in EmitCall() local 4123 llvm::Type *CalleeTy = getTypes().GetFunctionType(FnInfo); in EmitCall() 4128 return EmitCall(FnInfo, Callee, ReturnValue, Args, in EmitCall()
|
D | CGOpenMPRuntime.cpp | 752 auto &FnInfo = in emitCombinerOrInitializer() local 754 auto *FnTy = CGM.getTypes().GetFunctionType(FnInfo); in emitCombinerOrInitializer() 758 CGM.SetInternalFunctionAttributes(/*D=*/nullptr, Fn, FnInfo); in emitCombinerOrInitializer() 763 CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, FnInfo, Args); in emitCombinerOrInitializer()
|
/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 | 3351 IdentifierInfo *FnInfo = getIdentifier(); in getMemoryFunctionKind() local 3353 if (!FnInfo) in getMemoryFunctionKind() 3413 if (FnInfo->isStr("memset")) in getMemoryFunctionKind() 3415 else if (FnInfo->isStr("memcpy")) in getMemoryFunctionKind() 3417 else if (FnInfo->isStr("memmove")) in getMemoryFunctionKind() 3419 else if (FnInfo->isStr("memcmp")) in getMemoryFunctionKind() 3421 else if (FnInfo->isStr("strncpy")) in getMemoryFunctionKind() 3423 else if (FnInfo->isStr("strncmp")) in getMemoryFunctionKind() 3425 else if (FnInfo->isStr("strncasecmp")) in getMemoryFunctionKind() 3427 else if (FnInfo->isStr("strncat")) in getMemoryFunctionKind() [all …]
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 2169 IdentifierInfo *FnInfo = FDecl->getIdentifier(); in CheckFunctionCall() local 2172 if (!FnInfo) in CheckFunctionCall() 2175 CheckAbsoluteValueFunction(TheCall, FDecl, FnInfo); in CheckFunctionCall() 2185 CheckStrlcpycatArguments(TheCall, FnInfo); in CheckFunctionCall() 2187 CheckStrncatArguments(TheCall, FnInfo); in CheckFunctionCall() 2189 CheckMemaccessArguments(TheCall, CMId, FnInfo); in CheckFunctionCall() 5813 const IdentifierInfo *FnInfo = FDecl->getIdentifier(); in getAbsoluteValueFunctionKind() local 5814 if (!FnInfo) in getAbsoluteValueFunctionKind() 5952 IdentifierInfo *FnInfo) { in CheckAbsoluteValueFunction() argument
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 9442 IdentifierInfo *FnInfo);
|