/external/clang/lib/Basic/ |
D | Builtins.cpp | 21 static const Builtin::Info BuiltinInfo[] = { variable 34 return BuiltinInfo[ID]; in getRecord() 54 if (FuncName.equals(BuiltinInfo[i].Name)) in isBuiltinFunc() 55 return strchr(BuiltinInfo[i].Attributes, 'f') != nullptr; in isBuiltinFunc() 60 bool Builtin::Context::builtinIsSupported(const Builtin::Info &BuiltinInfo, in builtinIsSupported() argument 63 (LangOpts.NoBuiltin || LangOpts.isNoBuiltinFunc(BuiltinInfo.Name)) && in builtinIsSupported() 64 strchr(BuiltinInfo.Attributes, 'f'); in builtinIsSupported() 66 LangOpts.NoMathBuiltin && BuiltinInfo.HeaderName && in builtinIsSupported() 67 llvm::StringRef(BuiltinInfo.HeaderName).equals("math.h"); in builtinIsSupported() 68 bool GnuModeUnsupported = !LangOpts.GNUMode && (BuiltinInfo.Langs & GNU_LANG); in builtinIsSupported() [all …]
|
D | Targets.cpp | 847 static const Builtin::Info BuiltinInfo[]; member in __anond4862fe70111::PPCTargetInfo 963 return llvm::makeArrayRef(BuiltinInfo, in getTargetBuiltins() 1118 const Builtin::Info PPCTargetInfo::BuiltinInfo[] = { member in __anond4862fe70111::PPCTargetInfo 1697 static const Builtin::Info BuiltinInfo[]; member in __anond4862fe70111::NVPTXTargetInfo 1814 return llvm::makeArrayRef(BuiltinInfo, in getTargetBuiltins() 1868 const Builtin::Info NVPTXTargetInfo::BuiltinInfo[] = { member in __anond4862fe70111::NVPTXTargetInfo 1930 static const Builtin::Info BuiltinInfo[]; member in __anond4862fe70111::AMDGPUTargetInfo 2018 return llvm::makeArrayRef(BuiltinInfo, in getTargetBuiltins() 2133 const Builtin::Info AMDGPUTargetInfo::BuiltinInfo[] = { member in __anond4862fe70111::AMDGPUTargetInfo 2249 const Builtin::Info BuiltinInfo[] = { variable [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerContext.cpp | 55 StringRef BName = FD->getASTContext().BuiltinInfo.getName(BId); in isCLibraryFunction()
|
/external/clang/include/clang/Basic/ |
D | Builtins.h | 209 bool builtinIsSupported(const Builtin::Info &BuiltinInfo,
|
/external/clang/include/clang/Lex/ |
D | Preprocessor.h | 203 Builtin::Context BuiltinInfo; variable 700 Builtin::Context &getBuiltinInfo() { return BuiltinInfo; } in getBuiltinInfo()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 1790 << getHeaderName(Error) << Context.BuiltinInfo.getName(ID); in LazilyCreateBuiltin() 1794 if (!ForRedeclaration && Context.BuiltinInfo.isPredefinedLibFunction(ID)) { in LazilyCreateBuiltin() 1796 << Context.BuiltinInfo.getName(ID) << R; in LazilyCreateBuiltin() 1797 if (Context.BuiltinInfo.getHeaderName(ID) && in LazilyCreateBuiltin() 1800 << Context.BuiltinInfo.getHeaderName(ID) in LazilyCreateBuiltin() 1801 << Context.BuiltinInfo.getName(ID); in LazilyCreateBuiltin() 3227 if (Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) { in MergeFunctionDecl() 8883 Context.BuiltinInfo.forgetBuiltin(BuiltinID, Context.Idents); in CheckFunctionDeclaration() 11276 if (!Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID) && in ActOnStartOfFunctionDef() 11277 !Context.BuiltinInfo.isPredefinedRuntimeFunction(BuiltinID)) { in ActOnStartOfFunctionDef() [all …]
|
D | SemaChecking.cpp | 1071 if (Context.BuiltinInfo.isTSBuiltin(BuiltinID)) { in CheckBuiltinFunctionCall() 2942 const char *NewBuiltinName = Context.BuiltinInfo.getName(NewBuiltinID); in SemaBuiltinAtomicOverloaded() 5892 FunctionName = S.Context.BuiltinInfo.getName(AbsKind); in emitReplacement() 5893 HeaderName = S.Context.BuiltinInfo.getHeaderName(AbsKind); in emitReplacement() 5968 IsStdAbs ? "std::abs" : Context.BuiltinInfo.getName(AbsKind); in CheckAbsoluteValueFunction()
|
D | SemaLookup.cpp | 318 if (!getSema().Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in configure() 698 S.Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in LookupBuiltin()
|
D | SemaExpr.cpp | 2545 Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID))) { in LookupInObjCMethod() 2972 if (!Context.BuiltinInfo.isPredefinedLibFunction(BID)) { in BuildDeclarationNameExpr() 4695 if (Context.BuiltinInfo.hasCustomTypechecking(ID)) in ConvertArgumentsForCall() 5044 if (!Context.BuiltinInfo.hasPtrArgsOrResult(FDecl->getBuiltinID()) || in rewriteBuiltinFunctionDecl() 5359 if (BuiltinID && Context.BuiltinInfo.hasCustomTypechecking(BuiltinID)) in BuildResolvedCallExpr()
|
/external/clang/lib/Lex/ |
D | Preprocessor.cpp | 187 BuiltinInfo.InitializeTarget(Target, AuxTarget); in Initialize()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 1976 CGM.getContext().BuiltinInfo.getRequiredFeatures(BuiltinID); in checkTargetFeatures() 1984 << CGM.getContext().BuiltinInfo.getRequiredFeatures(BuiltinID); in checkTargetFeatures()
|
D | CGBuiltin.cpp | 40 assert(Context.BuiltinInfo.isLibFunction(BuiltinID)); in getBuiltinLibFunction() 52 Name = Context.BuiltinInfo.getName(BuiltinID) + 10; in getBuiltinLibFunction() 2380 if (getContext().BuiltinInfo.isLibFunction(BuiltinID)) in EmitBuiltinExpr() 2386 if (getContext().BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in EmitBuiltinExpr() 2397 const char *Name = getContext().BuiltinInfo.getName(BuiltinID); in EmitBuiltinExpr() 2512 if (getContext().BuiltinInfo.isAuxBuiltinID(BuiltinID)) { in EmitTargetBuiltinExpr() 2515 this, getContext().BuiltinInfo.getAuxBuiltinID(BuiltinID), E, in EmitTargetBuiltinExpr()
|
D | CodeGenModule.cpp | 1726 FunctionIsDirectlyRecursive Walker(Name, Context.BuiltinInfo); in isTriviallyRecursive()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 2718 if (!Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in getBuiltinID() 2732 Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in getBuiltinID()
|
D | ASTContext.cpp | 749 BuiltinInfo(builtins), DeclarationNames(*this), ExternalSource(nullptr), in ASTContext() 8347 const char *TypeStr = BuiltinInfo.getTypeString(Id); in GetBuiltinType() 8384 if (BuiltinInfo.isNoReturn(Id)) EI = EI.withNoReturn(true); in GetBuiltinType()
|
D | Expr.cpp | 1268 return Ctx.BuiltinInfo.isUnevaluated(BI); in isUnevaluatedBuiltinCall()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 461 Builtin::Context &BuiltinInfo; variable
|