Home
last modified time | relevance | path

Searched full:builtin (Results 1 – 25 of 995) sorted by relevance

12345678910>>...40

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DBuiltinsVEVL.gen.def1 BUILTIN(__builtin_ve_vl_vld_vssl, "V256dLUivC*Ui", "n")
2 BUILTIN(__builtin_ve_vl_vld_vssvl, "V256dLUivC*V256dUi", "n")
3 BUILTIN(__builtin_ve_vl_vldnc_vssl, "V256dLUivC*Ui", "n")
4 BUILTIN(__builtin_ve_vl_vldnc_vssvl, "V256dLUivC*V256dUi", "n")
5 BUILTIN(__builtin_ve_vl_vldu_vssl, "V256dLUivC*Ui", "n")
6 BUILTIN(__builtin_ve_vl_vldu_vssvl, "V256dLUivC*V256dUi", "n")
7 BUILTIN(__builtin_ve_vl_vldunc_vssl, "V256dLUivC*Ui", "n")
8 BUILTIN(__builtin_ve_vl_vldunc_vssvl, "V256dLUivC*V256dUi", "n")
9 BUILTIN(__builtin_ve_vl_vldlsx_vssl, "V256dLUivC*Ui", "n")
10 BUILTIN(__builtin_ve_vl_vldlsx_vssvl, "V256dLUivC*V256dUi", "n")
[all …]
H A DBuiltinsMips.def1 //===-- BuiltinsMips.def - Mips Builtin function database --------*- C++ -*-==//
9 // This file defines the MIPS-specific builtin function database. Users of
10 // this file must define the BUILTIN macro to make use of this information.
19 BUILTIN(__builtin_mips_addu_qb, "V4ScV4ScV4Sc", "n")
20 BUILTIN(__builtin_mips_addu_s_qb, "V4ScV4ScV4Sc", "n")
21 BUILTIN(__builtin_mips_subu_qb, "V4ScV4ScV4Sc", "n")
22 BUILTIN(__builtin_mips_subu_s_qb, "V4ScV4ScV4Sc", "n")
24 BUILTIN(__builtin_mips_addq_ph, "V2sV2sV2s", "n")
25 BUILTIN(__builtin_mips_addq_s_ph, "V2sV2sV2s", "n")
26 BUILTIN(__builtin_mips_subq_ph, "V2sV2sV2s", "n")
[all …]
H A DBuiltinsNVPTX.def1 //===--- BuiltinsPTX.def - PTX Builtin function database ----*- C++ -*-===//
9 // This file defines the PTX-specific builtin function database. Users of
10 // this file must define the BUILTIN macro to make use of this information.
16 #if defined(BUILTIN) && !defined(TARGET_BUILTIN)
17 # define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE) BUILTIN(ID, TYPE, ATTRS)
94 BUILTIN(__nvvm_read_ptx_sreg_tid_x, "i", "nc")
95 BUILTIN(__nvvm_read_ptx_sreg_tid_y, "i", "nc")
96 BUILTIN(__nvvm_read_ptx_sreg_tid_z, "i", "nc")
97 BUILTIN(__nvvm_read_ptx_sreg_tid_w, "i", "nc")
99 BUILTIN(__nvvm_read_ptx_sreg_ntid_x, "i", "nc")
[all …]
H A DBuiltinsARM.def1 //===--- BuiltinsARM.def - ARM Builtin function database ----*- C++ -*-===//
9 // This file defines the ARM-specific builtin function database. Users of
10 // this file must define the BUILTIN macro to make use of this information.
16 #if defined(BUILTIN) && !defined(LANGBUILTIN)
17 # define LANGBUILTIN(ID, TYPE, ATTRS, BUILTIN_LANG) BUILTIN(ID, TYPE, ATTRS)
20 #if defined(BUILTIN) && !defined(TARGET_BUILTIN)
21 # define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE) BUILTIN(ID, TYPE, ATTRS)
24 #if defined(BUILTIN) && !defined(TARGET_HEADER_BUILTIN)
25 # define TARGET_HEADER_BUILTIN(ID, TYPE, ATTRS, HEADER, LANG, FEATURE) BUILTIN(ID, TYPE, ATTRS)
29 BUILTIN(__clear_cache, "vv*v*", "i")
[all …]
H A DBuiltinsAMDGPU.def1 //==- BuiltinsAMDGPU.def - AMDGPU Builtin function database ------*- C++ -*-==//
9 // This file defines the AMDGPU-specific builtin function database. Users of
10 // this file must define the BUILTIN macro to make use of this information.
12 // Note: (unsigned) long int type should be avoided in builtin definitions
15 // C/C++/HIP but is 128 bit for OpenCL. Use `W` as width modifier in builtin
21 #if defined(BUILTIN) && !defined(TARGET_BUILTIN)
22 # define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE) BUILTIN(ID, TYPE, ATTRS)
28 BUILTIN(__builtin_amdgcn_dispatch_ptr, "v*4", "nc")
29 BUILTIN(__builtin_amdgcn_kernarg_segment_ptr, "v*4", "nc")
30 BUILTIN(__builtin_amdgcn_implicitarg_ptr, "v*4", "nc")
[all …]
H A DBuiltins.h1 //===--- Builtins.h - Builtin function header -------------------*- C++ -*-===//
10 /// Defines enum values for all the target-independent builtin
33 GNU_LANG = 0x1, // builtin requires GNU mode.
34 C_LANG = 0x2, // builtin for c only.
35 CXX_LANG = 0x4, // builtin for cplusplus only.
36 OBJC_LANG = 0x8, // builtin for objective-c and objective-c++
37 MS_LANG = 0x10, // builtin requires MS mode.
38 OMP_LANG = 0x20, // builtin requires OpenMP.
39 CUDA_LANG = 0x40, // builtin requires CUDA.
40 COR_LANG = 0x80, // builtin requires use of 'fcoroutine-ts' option.
[all …]
H A DBuiltins.td75 // are a few builtin-specific types and qualifiers.
77 // builtin-specific types:
82 // builtin-specific qualifiers:
85 // __fp16 and __float128 builtin variants of libc/libm functions.
86 def AcosF16F128 : Builtin, F16F128MathTemplate {
93 def AcoshF128 : Builtin {
100 def AsinF16F128 : Builtin, F16F128MathTemplate {
107 def AsinhF128 : Builtin {
114 def AtanF16F128 : Builtin, F16F128MathTemplate {
121 def AtanhF128 : Builtin {
[all …]
H A DTargetBuiltins.h1 //===--- TargetBuiltins.h - Target specific builtin IDs ---------*- C++ -*-===//
28 LastTIBuiltin = clang::Builtin::FirstTSBuiltin - 1,
29 #define BUILTIN(ID, TYPE, ATTRS) BI##ID, macro
39 LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1,
41 #define BUILTIN(ID, TYPE, ATTRS) BI##ID, macro
50 #define BUILTIN(ID, TYPE, ATTRS) BI##ID, macro
60 #define BUILTIN(ID, TYPE, ATTRS) BI##ID, macro
70 LastTIBuiltin = clang::Builtin::FirstTSBuiltin - 1,
76 #define BUILTIN(ID, TYPE, ATTRS) BI##ID, macro
85 LastTIBuiltin = clang::Builtin::FirstTSBuiltin - 1,
[all …]
H A DBuiltinsAArch64.def1 //==- BuiltinsAArch64.def - AArch64 Builtin function database ----*- C++ -*-==//
9 // This file defines the AArch64-specific builtin function database. Users of
10 // this file must define the BUILTIN macro to make use of this information.
16 #if defined(BUILTIN) && !defined(LANGBUILTIN)
17 # define LANGBUILTIN(ID, TYPE, ATTRS, BUILTIN_LANG) BUILTIN(ID, TYPE, ATTRS)
20 #if defined(BUILTIN) && !defined(TARGET_BUILTIN)
21 # define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE) BUILTIN(ID, TYPE, ATTRS)
24 #if defined(BUILTIN) && !defined(TARGET_HEADER_BUILTIN)
25 # define TARGET_HEADER_BUILTIN(ID, TYPE, ATTRS, HEADER, LANG, FEATURE) BUILTIN(ID, TYPE, ATTRS)
29 BUILTIN(__clear_cache, "vv*v*", "i")
[all …]
H A DBuiltinsVE.def1 //===--- BuiltinsVE.def - VE Builtin function database ----------*- C++ -*-===//
9 // This file defines the VE-specific builtin function database. Users of
10 // this file must define the BUILTIN macro to make use of this information.
14 #if defined(BUILTIN) && !defined(TARGET_BUILTIN)
15 # define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE) BUILTIN(ID, TYPE, ATTRS)
20 BUILTIN(__builtin_ve_vl_pack_f32p, "ULifC*fC*", "n")
21 BUILTIN(__builtin_ve_vl_pack_f32a, "ULifC*", "n")
23 BUILTIN(__builtin_ve_vl_extract_vm512u, "V256bV512b", "n")
24 BUILTIN(__builtin_ve_vl_extract_vm512l, "V256bV512b", "n")
25 BUILTIN(__builtin_ve_vl_insert_vm512u, "V512bV512bV256b", "n")
[all …]
H A DBuiltinsWebAssembly.def1 // BuiltinsWebAssembly.def - WebAssembly builtin function database -*- C++ -*-//
10 /// This file defines the WebAssembly-specific builtin function database.
11 /// Users of this file must define the BUILTIN macro to make use of this
18 #if defined(BUILTIN) && !defined(TARGET_BUILTIN)
19 # define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE) BUILTIN(ID, TYPE, ATTRS)
25 BUILTIN(__builtin_wasm_memory_size, "zIi", "n")
26 BUILTIN(__builtin_wasm_memory_grow, "zIiz", "n")
34 BUILTIN(__builtin_wasm_min_f32, "fff", "nc")
35 BUILTIN(__builtin_wasm_max_f32, "fff", "nc")
36 BUILTIN(__builtin_wasm_min_f64, "ddd", "nc")
[all …]
/freebsd/share/man/man1/
H A DMakefile8 RUNTIME= builtin.1 intro.1
14 builtin.1 alias.1 \
15 builtin.1 alloc.1 \
16 builtin.1 bg.1 \
17 builtin.1 bind.1 \
18 builtin.1 bindkey.1 \
19 builtin.1 break.1 \
20 builtin.1 breaksw.1 \
21 builtin.1 builtins.1 \
22 builtin.1 case.1 \
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DOpenCLBuiltins.td1 //==--- OpenCLBuiltins.td - OpenCL builtin declarations -------------------===//
11 // This file contains TableGen definitions for OpenCL builtin function
50 // Extension associated to a builtin function.
54 // builtin function overloads containing a type that depends on an extension.
55 // During overload resolution, when a builtin function overload contains a type
182 // Extension that needs to be enabled to expose a builtin that uses this type.
303 // Builtin function attributes.
312 // OpenCL C class for builtin functions
314 class Builtin<string _Name, list<Type> _Signature, list<bit> _Attributes = Attr.None> {
315 // Name of the builtin function
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp129 llvm_unreachable("Unsupported return type for builtin function"); in retPrimValue()
681 if (BuiltinOp == Builtin::BI__builtin_add_overflow || in interp__builtin_overflowop()
682 BuiltinOp == Builtin::BI__builtin_sub_overflow || in interp__builtin_overflowop()
683 BuiltinOp == Builtin::BI__builtin_mul_overflow) { in interp__builtin_overflowop()
709 case Builtin::BI__builtin_add_overflow: in interp__builtin_overflowop()
710 case Builtin::BI__builtin_sadd_overflow: in interp__builtin_overflowop()
711 case Builtin::BI__builtin_saddl_overflow: in interp__builtin_overflowop()
712 case Builtin::BI__builtin_saddll_overflow: in interp__builtin_overflowop()
713 case Builtin::BI__builtin_uadd_overflow: in interp__builtin_overflowop()
714 case Builtin::BI__builtin_uaddl_overflow: in interp__builtin_overflowop()
[all …]
/freebsd/bin/sh/tests/builtins/
H A Dbuiltin1.011 builtin : || echo "Bad return code at $LINENO"
12 builtin true || echo "Bad return code at $LINENO"
13 builtin ls 2>/dev/null && echo "Bad return code at $LINENO"
14 check '"$(builtin pwd)" = "$(pwd)"'
15 check '-z "$(builtin :)"'
16 check '-z "$(builtin true)"'
17 check '-z "$( (builtin nosuchtool) 2>/dev/null)"'
18 check '-z "$(builtin nosuchtool 2>/dev/null)"'
19 check '-z "$(builtin nosuchtool 2>/dev/null; :)"'
20 check '-z "$( (builtin ls) 2>/dev/null)"'
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangBuiltinsEmitter.cpp23 Builtin, enumerator
32 PrototypeParser(StringRef Substitution, const Record *Builtin) in PrototypeParser() argument
33 : Loc(Builtin->getFieldLoc("Prototype")), Substitution(Substitution) { in PrototypeParser()
34 ParsePrototype(Builtin->getValueAsString("Prototype")); in PrototypeParser()
200 HeaderNameParser(const Record *Builtin) { in HeaderNameParser() argument
201 for (char c : Builtin->getValueAsString("Header")) { in HeaderNameParser()
207 PrintFatalError(Builtin->getLoc(), "Unexpected header name"); in HeaderNameParser()
217 void PrintAttributes(const Record *Builtin, BuiltinType BT, in PrintAttributes() argument
220 if (Builtin->isSubClassOf("LibBuiltin")) { in PrintAttributes()
225 if (Builtin->getValueAsBit("OnlyBuiltinPrefixedAliasIsConstexpr")) in PrintAttributes()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DBuiltins.cpp1 //===--- Builtins.cpp - Builtin function implementation -------------------===//
9 // This file implements various things for builtin functions.
32 static constexpr Builtin::Info BuiltinInfo[] = {
33 {"not a builtin function", nullptr, nullptr, nullptr, HeaderDesc::NO_HEADER,
35 #define BUILTIN(ID, TYPE, ATTRS) \ macro
44 const Builtin::Info &Builtin::Context::getRecord(unsigned ID) const { in getRecord()
45 if (ID < Builtin::FirstTSBuiltin) in getRecord()
47 assert(((ID - Builtin::FirstTSBuiltin) < in getRecord()
49 "Invalid builtin ID!"); in getRecord()
51 return AuxTSRecords[getAuxBuiltinID(ID) - Builtin::FirstTSBuiltin]; in getRecord()
[all …]
/freebsd/crypto/krb5/src/lib/crypto/
H A DMakefile.in3 SUBDIRS= krb builtin openssl crypto_tests
4 WINSUBDIRS= krb builtin crypto_tests
13 builtin/OBJS.ST builtin/des/OBJS.ST \
14 builtin/aes/OBJS.ST builtin/camellia/OBJS.ST \
15 builtin/md4/OBJS.ST builtin/md5/OBJS.ST \
16 builtin/sha1/OBJS.ST builtin/sha2/OBJS.ST \
17 builtin/enc_provider/OBJS.ST builtin/hash_provider/OBJS.ST \
31 …(OUTPRE)md4.lst $(OUTPRE)hash_provider.lst $(OUTPRE)sha2.lst $(OUTPRE)sha1.lst $(OUTPRE)builtin.lst
32 …PRE)md4.lst @$(OUTPRE)hash_provider.lst @$(OUTPRE)sha2.lst @$(OUTPRE)sha1.lst @$(OUTPRE)builtin.lst
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp9 // This file implements lowering builtin function calls and types using their
44 const DemangledBuiltin *Builtin; member
50 IncomingCall(const std::string BuiltinName, const DemangledBuiltin *Builtin, in IncomingCall()
53 : BuiltinName(BuiltinName), Builtin(Builtin), in IncomingCall()
117 BuiltIn::BuiltIn Value;
120 using namespace BuiltIn;
173 /// Parses the name part of the demangled builtin call.
182 // Extract the builtin function name and types of arguments from the call in lookupBuiltinNameHelper()
191 // brackets. If so, the builtin is an instantiated template - needs to have in lookupBuiltinNameHelper()
200 // plain builtin name without the type information. in lookupBuiltinNameHelper()
[all …]
H A DSPIRVBuiltins.h9 // Lowering builtin function calls and types using their demangled names.
22 /// Parses the name part of the demangled builtin call.
24 /// Lowers a builtin function call using the provided \p DemangledCall skeleton
28 /// builtin, std::nullopt otherwise.
30 /// \p DemangledCall is the skeleton of the lowered builtin function call.
31 /// \p Set is the external instruction set containing the given builtin.
35 /// \p Args are the arguments of the lowered builtin call.
43 /// Helper function for finding a builtin function attributes
51 /// element type (e.g. i8 for char*), or builtin type (TargetExtType).
55 /// \p DemangledCall is the skeleton of the lowered builtin function call.
[all …]
/freebsd/contrib/one-true-awk/testdir/
H A DT.builtin1 echo T.builtin: test miscellaneous builtin functions
7 diff foo1 foo2 || echo 'BAD: T.builtin (index/substr)'
15 diff foo1 foo2 || echo 'BAD: T.builtin (sin/cos)'
25 diff foo1 foo2 || echo 'BAD: T.builtin (rand)'
30 diff foo1 foo2 || echo 'BAD: T.builtin (toupper/tolower)'
37 diff foo1 foo2 || echo 'BAD: T.builtin (toupper/tolower) for utf-8'
40 diff foo1 foo2 || echo 'BAD: T.builtin LC_NUMERIC radix (.) handling'
46 print "BAD: T.builtin (printf arg list not evaluated)"
52 print "BAD: T.builtin (substr arg list not evaluated)"
58 print "BAD: T.builtin (sub() arg list not evaluated)"
[all …]
/freebsd/krb5/lib/crypto/builtin/
H A DMakefile.inc10 # .PATH: ${KRB5_DIR}/lib/crypto/builtin
17 # .include "${KRB5_SRCTOP}/lib/crypto/builtin/camellia/Makefile.inc"
18 .include "${KRB5_SRCTOP}/lib/crypto/builtin/aes/Makefile.inc"
19 .include "${KRB5_SRCTOP}/lib/crypto/builtin/des/Makefile.inc"
20 .include "${KRB5_SRCTOP}/lib/crypto/builtin/md4/Makefile.inc"
21 # .include "${KRB5_SRCTOP}/lib/crypto/builtin/md5/Makefile.inc"
22 # .include "${KRB5_SRCTOP}/lib/crypto/builtin/sha1/Makefile.inc"
23 # .include "${KRB5_SRCTOP}/lib/crypto/builtin/sha2/Makefile.inc"
24 .include "${KRB5_SRCTOP}/lib/crypto/builtin/enc_provider/Makefile.inc"
25 .include "${KRB5_SRCTOP}/lib/crypto/builtin/hash_provider/Makefile.inc"
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBuiltinFunctionChecker.cpp9 // This checker evaluates "standalone" clang builtin functions that are not
10 // just special-cased variants of well-known non-builtin functions.
11 // Builtin functions like __builtin_memcpy and __builtin_alloca should be
12 // evaluated by the same checker that handles their non-builtin variant to
89 case Builtin::BI__builtin_assume: in evalCall()
90 case Builtin::BI__assume: { in evalCall()
108 case Builtin::BI__builtin_unpredictable: in evalCall()
109 case Builtin::BI__builtin_expect: in evalCall()
110 case Builtin::BI__builtin_expect_with_probability: in evalCall()
111 case Builtin::BI__builtin_assume_aligned: in evalCall()
[all …]
/freebsd/krb5/lib/crypto/
H A DMakefile23 # .include "${KRB5_CRYPTOLIBDIR}/builtin/Makefile.inc"
27 .include "${KRB5_SRCTOP}/lib/crypto/builtin/Makefile.inc"
37 -I${KRB5_DIR}/lib/crypto/builtin/aes \
38 -I${KRB5_DIR}/lib/crypto/builtin/camellia \
39 -I${KRB5_DIR}/lib/crypto/builtin/des \
40 -I${KRB5_DIR}/lib/crypto/builtin/md4 \
41 -I${KRB5_DIR}/lib/crypto/builtin/md5 \
42 -I${KRB5_DIR}/lib/crypto/builtin/sha1 \
43 -I${KRB5_DIR}/lib/crypto/builtin/sha2 \
/freebsd/stand/man/
H A Dloader_4th.854 designed for direct use by the casual user, called "builtin
79 is initialized, the builtin words are added to its vocabulary, and
130 .Sh BUILTIN COMMANDS
133 builtin commands take parameters from the command line.
148 .Dq BUILTIN COMMANDS
150 .Ss BUILTIN ENVIRONMENT VARIABLES
153 .Dq BUILTIN ENVIRONMENT VARIABLES
155 .Ss BUILTIN PARSER
156 When a builtin command is executed, the rest of the line is taken
202 Space-delimited arguments are passed to the called builtin command.
[all …]

12345678910>>...40