Home
last modified time | relevance | path

Searched refs:BuiltinID (Results 1 – 11 of 11) sorted by relevance

/external/clang/lib/CodeGen/
DCGBuiltin.cpp39 unsigned BuiltinID) { in getBuiltinLibFunction() argument
40 assert(Context.BuiltinInfo.isLibFunction(BuiltinID)); in getBuiltinLibFunction()
52 Name = Context.BuiltinInfo.getName(BuiltinID) + 10; in getBuiltinLibFunction()
466 unsigned BuiltinID, const CallExpr *E, in EmitBuiltinExpr() argument
480 switch (BuiltinID) { in EmitBuiltinExpr()
490 EmitVAStartEnd(BuiltinID == Builtin::BI__va_start in EmitBuiltinExpr()
493 BuiltinID != Builtin::BI__builtin_va_end)); in EmitBuiltinExpr()
824 switch (BuiltinID) { in EmitBuiltinExpr()
862 CmpInst::Predicate Pred = (BuiltinID == Builtin::BI__builtin_isinf) in EmitBuiltinExpr()
1383 if (BuiltinID == Builtin::BI__atomic_is_lock_free) in EmitBuiltinExpr()
[all …]
DCodeGenFunction.h2897 unsigned BuiltinID, const CallExpr *E,
2904 llvm::Value *EmitTargetBuiltinExpr(unsigned BuiltinID, const CallExpr *E);
2910 llvm::Value *EmitARMBuiltinExpr(unsigned BuiltinID, const CallExpr *E);
2912 llvm::Value *EmitCommonNeonBuiltinExpr(unsigned BuiltinID,
2933 llvm::Value *EmitAArch64BuiltinExpr(unsigned BuiltinID, const CallExpr *E);
2936 llvm::Value *EmitX86BuiltinExpr(unsigned BuiltinID, const CallExpr *E);
2937 llvm::Value *EmitPPCBuiltinExpr(unsigned BuiltinID, const CallExpr *E);
2938 llvm::Value *EmitAMDGPUBuiltinExpr(unsigned BuiltinID, const CallExpr *E);
2939 llvm::Value *EmitSystemZBuiltinExpr(unsigned BuiltinID, const CallExpr *E);
2940 llvm::Value *EmitNVPTXBuiltinExpr(unsigned BuiltinID, const CallExpr *E);
[all …]
DCodeGenFunction.cpp1971 unsigned BuiltinID = TargetDecl->getBuiltinID(); in checkTargetFeatures() local
1973 if (BuiltinID) { in checkTargetFeatures()
1976 CGM.getContext().BuiltinInfo.getRequiredFeatures(BuiltinID); in checkTargetFeatures()
1984 << CGM.getContext().BuiltinInfo.getRequiredFeatures(BuiltinID); in checkTargetFeatures()
DCodeGenModule.h832 unsigned BuiltinID);
DCodeGenModule.cpp1667 unsigned BuiltinID = FD->getBuiltinID(); in TraverseCallExpr() local
1668 if (!BuiltinID || !BI.isLibFunction(BuiltinID)) in TraverseCallExpr()
1670 StringRef BuiltinName = BI.getName(BuiltinID); in TraverseCallExpr()
/external/clang/lib/Sema/
DSemaChecking.cpp683 static bool SemaOpenCLBuiltinToAddr(Sema &S, unsigned BuiltinID, in SemaOpenCLBuiltinToAddr() argument
701 switch (BuiltinID) { in SemaOpenCLBuiltinToAddr()
718 Sema::CheckBuiltinFunctionCall(FunctionDecl *FDecl, unsigned BuiltinID, in CheckBuiltinFunctionCall() argument
725 Context.GetBuiltinType(BuiltinID, Error, &ICEArguments); in CheckBuiltinFunctionCall()
740 switch (BuiltinID) { in CheckBuiltinFunctionCall()
959 << (BuiltinID == Builtin::BI__builtin_operator_new in CheckBuiltinFunctionCall()
1055 if (SemaOpenCLBuiltinToAddr(*this, BuiltinID, TheCall)) in CheckBuiltinFunctionCall()
1071 if (Context.BuiltinInfo.isTSBuiltin(BuiltinID)) { in CheckBuiltinFunctionCall()
1077 if (CheckARMBuiltinFunctionCall(BuiltinID, TheCall)) in CheckBuiltinFunctionCall()
1082 if (CheckAArch64BuiltinFunctionCall(BuiltinID, TheCall)) in CheckBuiltinFunctionCall()
[all …]
DSemaDecl.cpp3223 unsigned BuiltinID; in MergeFunctionDecl() local
3224 if (Old->isImplicit() && (BuiltinID = Old->getBuiltinID())) { in MergeFunctionDecl()
3227 if (Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) { in MergeFunctionDecl()
8876 if (unsigned BuiltinID = NewFD->getBuiltinID()) { in CheckFunctionDeclaration() local
8879 QualType T = Context.GetBuiltinType(BuiltinID, Error); in CheckFunctionDeclaration()
8883 Context.BuiltinInfo.forgetBuiltin(BuiltinID, Context.Idents); in CheckFunctionDeclaration()
11275 if (unsigned BuiltinID = FD->getBuiltinID()) { in ActOnStartOfFunctionDef() local
11276 if (!Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID) && in ActOnStartOfFunctionDef()
11277 !Context.BuiltinInfo.isPredefinedRuntimeFunction(BuiltinID)) { in ActOnStartOfFunctionDef()
11830 if (unsigned BuiltinID = FD->getBuiltinID()) { in AddKnownFunctionAttributes() local
[all …]
DSemaLookup.cpp317 if (unsigned BuiltinID = Id->getBuiltinID()) { in configure() local
318 if (!getSema().Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in configure()
694 if (unsigned BuiltinID = II->getBuiltinID()) { in LookupBuiltin() local
698 S.Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in LookupBuiltin()
702 BuiltinID, S.TUScope, in LookupBuiltin()
DSemaExpr.cpp2543 if (unsigned BuiltinID = II->getBuiltinID()) { in LookupInObjCMethod() local
2545 Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID))) { in LookupInObjCMethod()
2546 NamedDecl *D = LazilyCreateBuiltin((IdentifierInfo *)II, BuiltinID, in LookupInObjCMethod()
5311 unsigned BuiltinID = (FDecl ? FDecl->getBuiltinID() : 0); in BuildResolvedCallExpr() local
5323 if (BuiltinID && in BuildResolvedCallExpr()
5359 if (BuiltinID && Context.BuiltinInfo.hasCustomTypechecking(BuiltinID)) in BuildResolvedCallExpr()
5360 return CheckBuiltinFunctionCall(FDecl, BuiltinID, TheCall); in BuildResolvedCallExpr()
5487 if (BuiltinID) in BuildResolvedCallExpr()
5488 return CheckBuiltinFunctionCall(FDecl, BuiltinID, TheCall); in BuildResolvedCallExpr()
/external/clang/lib/AST/
DDecl.cpp2691 unsigned BuiltinID = getIdentifier()->getBuiltinID(); in getBuiltinID() local
2692 if (!BuiltinID) in getBuiltinID()
2704 if (BuiltinID == Builtin::BI__GetExceptionInfo && in getBuiltinID()
2718 if (!Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in getBuiltinID()
2719 return BuiltinID; in getBuiltinID()
2732 Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in getBuiltinID()
2735 return BuiltinID; in getBuiltinID()
/external/clang/include/clang/Sema/
DSema.h9364 unsigned BuiltinID, CallExpr *TheCall);
9366 bool CheckARMBuiltinExclusiveCall(unsigned BuiltinID, CallExpr *TheCall,
9368 bool CheckNeonBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
9369 bool CheckARMBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
9371 bool CheckAArch64BuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
9372 bool CheckMipsBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
9373 bool CheckSystemZBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
9374 bool CheckX86BuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
9375 bool CheckPPCBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
9405 bool SemaBuiltinARMSpecialReg(unsigned BuiltinID, CallExpr *TheCall,