Home
last modified time | relevance | path

Searched +full:loc +full:- +full:code (Results 1 – 25 of 831) sorted by relevance

12345678910>>...34

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPPCallbacks.h1 //===--- PPCallbacks.h - Callbacks for Preprocessor actions -----*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
46 /// \param Loc Indicates the new location.
49 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
69 /// \param Loc The location where the \p Lexer entered a new file from or the
73 FileID PrevFID, SourceLocation Loc) {} in LexedFileChanged() argument
91 /// source code.
103 /// source code.
[all …]
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DAVR.cpp1 //===- AVR.cpp ------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // AVR is a Harvard-architecture 8-bit microcontroller designed for small
10 // baremetal programs. All AVR-family processors have 32 8-bit registers.
12 // one supports up to 2^24 data address space and 2^22 code address space.
17 // can write the linked code to on-chip flush memory. You can do that with
20 // ld.lld -Ttext=0 -o foo foo.o
21 // objcopy -O binary --only-section=.text foo output.bin
26 //===----------------------------------------------------------------------===//
[all …]
H A DX86.cpp1 //===- X86.cpp ------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
28 const uint8_t *loc) const override;
37 void relocate(uint8_t *loc, const Relocation &rel,
62 // Align to the non-PAE large page size (known as a superpage or huge page). in X86()
63 // FreeBSD automatically promotes large, superpage-aligned allocations. in X86()
73 const uint8_t *loc) const { in getRelExpr()
97 // These relocations are arguably mis-designed because their calculations in getRelExpr()
103 // x86 does not support PC-relative data access. Therefore, in order to in getRelExpr()
[all …]
H A DMips.cpp1 //===- MIPS.cpp -----------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
29 const uint8_t *loc) const override;
39 void relocate(uint8_t *loc, const Relocation &rel,
78 const uint8_t *loc) const { in getRelExpr()
80 if (ELFT::Is64Bits || config->mipsN32Abi) in getRelExpr()
90 warn(getErrorLocation(loc) + in getRelExpr()
91 "found R_MIPS_JALR relocation against non-function symbol " + in getRelExpr()
194 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) + in getRelExpr()
[all …]
H A DX86_64.cpp1 //===- X86_64.cpp ---------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
32 const uint8_t *loc) const override;
40 void relocate(uint8_t *loc, const Relocation &rel,
43 void applyJumpInstrMod(uint8_t *loc, JumpModType type,
46 const uint8_t *loc) const override;
48 bool adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
90 // FreeBSD automatically promotes large, superpage-aligned allocations. in X86_64()
158 for (unsigned i = size - 1; i + 1 > 0; --i) { in getRelocationWithOffset()
[all …]
H A DLoongArch.cpp1 //===- LoongArch.cpp ------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
37 const uint8_t *loc) const override;
39 void relocate(uint8_t *loc, const Relocation &rel,
75 // produces a PC-relative intermediate value with the lowest 12 bits zeroed (the
80 // Here a "page" is in fact just another way to refer to the 12-bit range
95 // (lu32i.d and lu52i.d). Compensate all the sign-extensions is a bit in getLoongArchPageDelta()
103 pcalau12i_pc = pc - 8; in getLoongArchPageDelta()
109 pcalau12i_pc = pc - 12; in getLoongArchPageDelta()
[all …]
/freebsd/contrib/byacc/test/btyacc/
H A Dbtyacc_demo.tab.c10 #define YYEMPTY (-1)
14 #define YYENOMEM (-2)
130 typedef int Code; typedef
162 Code *code; member
205 #define YYERROR_DECL() yyerror(YYLTYPE *loc, const char *s)
212 #define YYDESTRUCT_DECL() yydestruct(const char *msg, int psymb, YYSTYPE *val, YYLTYPE *loc)
215 #define YYDESTRUCT_CALL(msg, psymb, val, loc) yydestruct(msg, psymb, val, loc) argument
235 static const YYINT demo_lhs[] = { -1,
283 0, 0, 0, -103, 0, 0, 0, 0, 0, 0,
284 0, -31, 0, 0, 0, -238, 0, 0, 0, 4,
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h1 //===----- CGOpenMPRuntime.h - Interface to OpenMP Runtimes -----*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This provides a class for OpenMP runtime code generation.
11 //===----------------------------------------------------------------------===//
56 /// A basic class for pre|post-action for advanced codegen sequence for OpenMP
67 /// an advanced with possible pre|post-actions in codegen.
145 /// List of reduction-based clauses.
177 /// Emits the code for the variable-modified type, if required.
180 /// Emits the code for the variable-modified type, if required.
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h1 //===- DiagnosticRenderer.h - Diagnostic Pretty-Printing --------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This is a utility class that provides support for pretty-printing of
10 // diagnostics. It is used to implement the different code paths which require
13 //===----------------------------------------------------------------------===//
41 /// Hints, and code snippets. In the presence of macros this involves
76 virtual void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
82 virtual void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
86 virtual void emitCodeContext(FullSourceLoc Loc,
[all …]
/freebsd/contrib/mandoc/
H A DTODO8 - loc = locality of the issue
11 *** cross-module issue, significantly impacts multiple modules
13 - exist = difficulty of the existing code in this area
14 * affected code is straightforward and easy to read and change
15 ** affected code is somewhat complex, but once you understand
17 *** affected code uses a special, exceptionally tricky design
18 - algo = difficulty of the new algorithm to be written
19 * the required logic and code is straightforward
23 - size = the amount of code to be written or changed
25 ** a considerable amount of code (several dozen to a few hundred)
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDiagnosticInfo.h1 //===- llvm/IR/DiagnosticInfo.h - Diagnostic Declaration --------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
17 #include "llvm-c/Types.h"
106 /// user-friendly message in the client of the backend (let us call it a
125 /// Print using the given \p DP a user-friendly message.
155 /// \p LocCookie if non-zero gives the line number for this report.
180 return DI->getKind() == DK_InlineAsm; in classof()
208 return DI->getKind() == DK_DebugMetadataVersion; in classof()
[all …]
/freebsd/sys/bsm/
H A Daudit_internal.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 2005-2008 Apple Inc.
8 * This code was developed in part by Robert N. M. Watson, Senior Principal
15 * 1. Redistributions of source code must retain the above copyright
74 #define AUDIT_HEADER_EX_SIZE(a) ((a)->ai_termid.at_type+18+sizeof(u_int32_t))
84 #define ADD_U_CHAR(loc, val) \ argument
86 *(loc) = (val); \
87 (loc) += sizeof(u_char); \
91 #define ADD_U_INT16(loc, val) \ argument
[all …]
/freebsd/contrib/openbsm/sys/bsm/
H A Daudit_internal.h1 /*-
2 * Copyright (c) 2005-2008 Apple Inc.
6 * This code was developed in part by Robert N. M. Watson, Senior Principal
13 * 1. Redistributions of source code must retain the above copyright
72 #define AUDIT_HEADER_EX_SIZE(a) ((a)->ai_termid.at_type+18+sizeof(u_int32_t))
82 #define ADD_U_CHAR(loc, val) \ argument
84 *(loc) = (val); \
85 (loc) += sizeof(u_char); \
89 #define ADD_U_INT16(loc, val) \ argument
91 be16enc((loc), (val)); \
[all …]
/freebsd/lib/libc/locale/
H A Diswalnum_l.37 .\" 1. Redistributions of source code must retain the above copyright
60 .Fn iswalnum_l "wint_t wc" "locale_t loc"
62 .Fn iswalpha_l "wint_t wc" "locale_t loc"
64 .Fn iswcntrl_l "wint_t wc" "locale_t loc"
66 .Fn iswctype_l "wint_t wc" "locale_t loc"
68 .Fn iswdigit_l "wint_t wc" "locale_t loc"
70 .Fn iswgraph_l "wint_t wc" "locale_t loc"
72 .Fn iswlower_l "wint_t wc" "locale_t loc"
74 .Fn iswprint_l "wint_t wc" "locale_t loc"
76 .Fn iswpunct_l "wint_t wc" "locale_t loc"
[all …]
H A Dctype_l.39 .\" 1. Redistributions of source code must retain the above copyright
58 .Fn digittoint_l "int c" "locale_t loc"
60 .Fn isalnum_l "int c" "locale_t loc"
62 .Fn isalpha_l "int c" "locale_t loc"
64 .Fn iscntrl_l "int c" "locale_t loc"
66 .Fn isdigit_l "int c" "locale_t loc"
68 .Fn isgraph_l "int c" "locale_t loc"
70 .Fn ishexnumber_l "int c" "locale_t loc"
72 .Fn isideogram_l "int c" "locale_t loc"
74 .Fn islower_l "int c" "locale_t loc"
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCAsmStreamer.cpp1 //===- lib/MC/MCAsmStreamer.cpp - Text Assembly Output ----------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
81 (asmbackend) ? asmbackend->createObjectWriter(NullStream) in MCAsmStreamer()
85 if (Assembler->getBackendPtr()) in MCAsmStreamer()
86 setAllowAutoPadding(Assembler->getBackend().allowAutoPadding()); in MCAsmStreamer()
93 IsVerboseAsm = TO->AsmVerbose; in MCAsmStreamer()
95 InstPrinter->setCommentStream(CommentStream); in MCAsmStreamer()
96 ShowInst = TO->ShowMCInst; in MCAsmStreamer()
97 switch (TO->MCUseDwarfDirectory) { in MCAsmStreamer()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCStreamer.h1 //===- MCStreamer.h - High-level Streaming Machine Code Output --*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
193 const MCExpr *addConstantPoolEntry(const MCExpr *, SMLoc Loc);
203 /// Streaming machine code generation interface.
239 /// The next unique ID to use when creating a WinCFI-related section (.pdata
240 /// or .xdata). This ID ensures that we have a one-to-one mapping from
241 /// code section to unwind info section, which MSVC's incremental linker
277 bool checkCVLocSection(unsigned FuncId, unsigned FileNo, SMLoc Loc);
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DTarget.h1 //===- Target.h ---------
90 relocateNoSym(uint8_t * loc,RelType type,uint64_t val) relocateNoSym() argument
98 applyJumpInstrMod(uint8_t * loc,JumpModType type,JumpModType val) applyJumpInstrMod() argument
194 std::string loc; global() member
201 getErrorLocation(const uint8_t * loc) getErrorLocation() argument
249 checkInt(uint8_t * loc,int64_t v,int n,const Relocation & rel) checkInt() argument
255 checkUInt(uint8_t * loc,uint64_t v,int n,const Relocation & rel) checkUInt() argument
261 checkIntUInt(uint8_t * loc,uint64_t v,int n,const Relocation & rel) checkIntUInt() argument
270 checkAlignment(uint8_t * loc,uint64_t v,int n,const Relocation & rel) checkAlignment() argument
[all...]
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegion.h1 //===-------------------------- CodeRegion.h -------------------*- C++ -* -===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 /// A CodeRegion describes a region of assembly code guarded by special LLVM-MCA
16 /// # LLVM-MCA-BEGIN foo
18 /// # LLVM-MCA-END
20 /// A comment starting with substring LLVM-MCA-BEGIN marks the beginning of a
21 /// new region of code.
22 /// A comment starting with substring LLVM-MCA-END marks the end of the
23 /// last-seen region of code.
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_itt.inl3 * kmp_itt.inl -- Inline functions of ITT Notify.
6 //===--------
71 __kmp_itthash_find(kmp_info_t * thread,kmp_itthash_t * h,ident_t * loc,int team_size) global() argument
134 ident_t *loc = th->th.th_ident; global() local
186 __kmp_itt_frame_submit(int gtid,__itt_timestamp begin,__itt_timestamp end,int imbalance,ident_t * loc,int team_size,int region) global() argument
295 __kmp_itt_metadata_loop(ident_t * loc,kmp_uint64 sched_type,kmp_uint64 iterations,kmp_uint64 chunk) global() argument
328 __kmp_itt_metadata_single(ident_t * loc) global() argument
375 ident_t *loc = th->th.th_ident; global() local
453 ident_t const *loc = NULL; global() local
583 ident_t const *loc = taskdata->td_taskwait_ident; global() local
652 ___kmp_itt_lock_init(kmp_user_lock_p lock,char const * type,const ident_t * loc) global() argument
669 ident_t const *loc = NULL; global() local
694 __kmp_itt_lock_creating(kmp_user_lock_p lock,const ident_t * loc) global() argument
773 __kmp_itt_critical_creating(kmp_user_lock_p lock,const ident_t * loc) global() argument
804 ident_t *loc = thr->th.th_ident; global() local
848 ident_t const *loc = thr->th.th_ident; global() local
[all...]
H A Dkmp_csupport.cpp2 * kmp_csupport.cpp -- kfront linkage support for OpenMP.
5 //===----------------------------------------------------------------------===//
9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
11 //===----------------------------------------------------------------------===//
14 #include "omp.h" /* extern "C" declarations of user-visible routines */
22 #include "ompt-specific.h"
31 * @param loc in source location information
37 void __kmpc_begin(ident_t *loc, kmp_int32 flags) { in __kmpc_begin() argument
38 // By default __kmpc_begin() is no-op. in __kmpc_begin()
54 * @param loc source location information
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h1 //===- SourceManager.h - Track and cache source files -----------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
16 /// \code
21 /// \code
26 /// The expansion location is the line in the source code where the macro
32 //===----------------------------------------------------------------------===//
74 /// Indicates whether a file or directory holds normal user code,
75 /// system code, or system code which is implicitly 'extern "C"' in C++ mode.
89 /// Determine whether a file / directory characteristic is for system code.
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/locale_base_api/
H A Dbsd_locale_defaults.h1 // -*- C++ -*-
2 //===------
21 __libcpp_mb_cur_max_l(loc) global() argument
22 __libcpp_btowc_l(ch,loc) global() argument
23 __libcpp_wctob_l(wch,loc) global() argument
24 __libcpp_wcsnrtombs_l(dst,src,nwc,len,ps,loc) global() argument
25 __libcpp_wcrtomb_l(src,wc,ps,loc) global() argument
26 __libcpp_mbsnrtowcs_l(dst,src,nms,len,ps,loc) global() argument
[all...]
/freebsd/lib/libc/stdio/
H A Dprintf_l.37 .\" 1. Redistributions of source code must retain the above copyright
46 .Fn printf_l "locale_t loc" "const char * restrict format" "..."
48 .Fn asprintf_l "char **ret" "locale_t loc" "const char * format" "..."
50 .Fn fprintf_l "FILE * restrict stream" "locale_t loc" "const char * restrict format" "..."
52 .Fn snprintf_l "char * restrict str" "size_t size" "locale_t loc" "const char * restrict format" ".…
54 .Fn sprintf_l "char * restrict str" "locale_t loc" "const char * restrict format" "..."
56 .Fn vasprintf_l "char **ret" "locale_t loc" "const char *format" "va_list ap"
58 .Fn vfprintf_l "FILE * restrict stream" "locale_t loc" "const char * restrict format" "va_list ap"
60 .Fn vprintf_l "locale_t loc" "const char * restrict format" "va_list ap"
62 .Fn vsnprintf_l "char * restrict str" "size_t size" "locale_t loc" "const char * restrict format" "…
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSwift.cpp1 //===------ SemaSwift.cpp ------ Swift language-specific routines ---------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
28 if (const auto *PrevSNA = D->getAttr<SwiftNameAttr>()) { in mergeNameAttr()
29 if (PrevSNA->getName() != Name && !PrevSNA->isImplicit()) { in mergeNameAttr()
30 Diag(PrevSNA->getLocation(), diag::err_attributes_are_not_compatible) in mergeNameAttr()
32 << (PrevSNA->isRegularKeywordAttribute() || in mergeNameAttr()
37 D->dropAttr<SwiftNameAttr>(); in mergeNameAttr()
42 /// Pointer-like types in the default address space.
[all …]

12345678910>>...34