/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 38 unsigned BuiltinID) { in getBuiltinLibFunction() argument 39 assert(Context.BuiltinInfo.isLibFunction(BuiltinID)); in getBuiltinLibFunction() 51 Name = Context.BuiltinInfo.getName(BuiltinID) + 10; in getBuiltinLibFunction() 411 unsigned BuiltinID, const CallExpr *E, in EmitBuiltinExpr() argument 425 switch (BuiltinID) { in EmitBuiltinExpr() 435 EmitVAStartEnd(BuiltinID == Builtin::BI__va_start in EmitBuiltinExpr() 438 BuiltinID != Builtin::BI__builtin_va_end)); in EmitBuiltinExpr() 724 switch (BuiltinID) { in EmitBuiltinExpr() 1290 if (BuiltinID == Builtin::BI__atomic_is_lock_free) in EmitBuiltinExpr() 1455 if (BuiltinID == Builtin::BI__atomic_signal_fence || in EmitBuiltinExpr() [all …]
|
D | CodeGenFunction.h | 2711 unsigned BuiltinID, const CallExpr *E, 2718 llvm::Value *EmitTargetBuiltinExpr(unsigned BuiltinID, const CallExpr *E); 2724 llvm::Value *EmitARMBuiltinExpr(unsigned BuiltinID, const CallExpr *E); 2726 llvm::Value *EmitCommonNeonBuiltinExpr(unsigned BuiltinID, 2747 llvm::Value *EmitAArch64BuiltinExpr(unsigned BuiltinID, const CallExpr *E); 2750 llvm::Value *EmitX86BuiltinExpr(unsigned BuiltinID, const CallExpr *E); 2751 llvm::Value *EmitPPCBuiltinExpr(unsigned BuiltinID, const CallExpr *E); 2752 llvm::Value *EmitAMDGPUBuiltinExpr(unsigned BuiltinID, const CallExpr *E); 2753 llvm::Value *EmitSystemZBuiltinExpr(unsigned BuiltinID, const CallExpr *E); 2754 llvm::Value *EmitNVPTXBuiltinExpr(unsigned BuiltinID, const CallExpr *E); [all …]
|
D | CodeGenFunction.cpp | 1910 unsigned BuiltinID = TargetDecl->getBuiltinID(); in checkTargetFeatures() local 1912 if (BuiltinID) { in checkTargetFeatures() 1915 CGM.getContext().BuiltinInfo.getRequiredFeatures(BuiltinID); in checkTargetFeatures() 1923 << CGM.getContext().BuiltinInfo.getRequiredFeatures(BuiltinID); in checkTargetFeatures()
|
D | CodeGenModule.cpp | 1572 unsigned BuiltinID = FD->getBuiltinID(); in TraverseCallExpr() local 1573 if (!BuiltinID || !BI.isLibFunction(BuiltinID)) in TraverseCallExpr() 1575 StringRef BuiltinName = BI.getName(BuiltinID); in TraverseCallExpr()
|
D | CodeGenModule.h | 823 unsigned BuiltinID);
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 262 Sema::CheckBuiltinFunctionCall(FunctionDecl *FDecl, unsigned BuiltinID, in CheckBuiltinFunctionCall() argument 269 Context.GetBuiltinType(BuiltinID, Error, &ICEArguments); in CheckBuiltinFunctionCall() 284 switch (BuiltinID) { in CheckBuiltinFunctionCall() 503 << (BuiltinID == Builtin::BI__builtin_operator_new in CheckBuiltinFunctionCall() 571 if (Context.BuiltinInfo.isTSBuiltin(BuiltinID)) { in CheckBuiltinFunctionCall() 577 if (CheckARMBuiltinFunctionCall(BuiltinID, TheCall)) in CheckBuiltinFunctionCall() 582 if (CheckAArch64BuiltinFunctionCall(BuiltinID, TheCall)) in CheckBuiltinFunctionCall() 589 if (CheckMipsBuiltinFunctionCall(BuiltinID, TheCall)) in CheckBuiltinFunctionCall() 593 if (CheckSystemZBuiltinFunctionCall(BuiltinID, TheCall)) in CheckBuiltinFunctionCall() 598 if (CheckX86BuiltinFunctionCall(BuiltinID, TheCall)) in CheckBuiltinFunctionCall() [all …]
|
D | SemaDecl.cpp | 3149 unsigned BuiltinID; in MergeFunctionDecl() local 3150 if (Old->isImplicit() && (BuiltinID = Old->getBuiltinID())) { in MergeFunctionDecl() 3153 if (Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) { in MergeFunctionDecl() 8542 if (unsigned BuiltinID = NewFD->getBuiltinID()) { in CheckFunctionDeclaration() local 8545 QualType T = Context.GetBuiltinType(BuiltinID, Error); in CheckFunctionDeclaration() 8549 Context.BuiltinInfo.forgetBuiltin(BuiltinID, Context.Idents); in CheckFunctionDeclaration() 10865 if (unsigned BuiltinID = FD->getBuiltinID()) { in ActOnStartOfFunctionDef() local 10866 if (!Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID) && in ActOnStartOfFunctionDef() 10867 !Context.BuiltinInfo.isPredefinedRuntimeFunction(BuiltinID)) { in ActOnStartOfFunctionDef() 11422 if (unsigned BuiltinID = FD->getBuiltinID()) { in AddKnownFunctionAttributes() local [all …]
|
D | SemaLookup.cpp | 314 if (unsigned BuiltinID = Id->getBuiltinID()) { in configure() local 315 if (!getSema().Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in configure() 679 if (unsigned BuiltinID = II->getBuiltinID()) { in LookupBuiltin() local 683 S.Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in LookupBuiltin() 687 BuiltinID, S.TUScope, in LookupBuiltin()
|
D | SemaExpr.cpp | 2480 if (unsigned BuiltinID = II->getBuiltinID()) { in LookupInObjCMethod() local 2482 Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID))) { in LookupInObjCMethod() 2483 NamedDecl *D = LazilyCreateBuiltin((IdentifierInfo *)II, BuiltinID, in LookupInObjCMethod() 5040 unsigned BuiltinID = (FDecl ? FDecl->getBuiltinID() : 0); in BuildResolvedCallExpr() local 5046 if (BuiltinID && in BuildResolvedCallExpr() 5082 if (BuiltinID && Context.BuiltinInfo.hasCustomTypechecking(BuiltinID)) in BuildResolvedCallExpr() 5083 return CheckBuiltinFunctionCall(FDecl, BuiltinID, TheCall); in BuildResolvedCallExpr() 5210 if (BuiltinID) in BuildResolvedCallExpr() 5211 return CheckBuiltinFunctionCall(FDecl, BuiltinID, TheCall); in BuildResolvedCallExpr()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 2615 unsigned BuiltinID = getIdentifier()->getBuiltinID(); in getBuiltinID() local 2616 if (!BuiltinID) in getBuiltinID() 2628 if (BuiltinID == Builtin::BI__GetExceptionInfo && in getBuiltinID() 2643 if (!Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in getBuiltinID() 2644 return BuiltinID; in getBuiltinID() 2654 return BuiltinID; in getBuiltinID()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 8982 unsigned BuiltinID, CallExpr *TheCall); 8984 bool CheckARMBuiltinExclusiveCall(unsigned BuiltinID, CallExpr *TheCall, 8986 bool CheckNeonBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 8987 bool CheckARMBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 8989 bool CheckAArch64BuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 8990 bool CheckMipsBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 8991 bool CheckSystemZBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 8992 bool CheckX86BuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 8993 bool CheckPPCBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 9023 bool SemaBuiltinARMSpecialReg(unsigned BuiltinID, CallExpr *TheCall,
|