/llvm-project/clang/include/clang/Sema/ |
H A D | SemaOpenCL.h | 1 //===----- SemaOpenCL.h --- Semantic Analysis for OpenCL constructs -------===// 9 /// This file declares semantic analysis routines for OpenCL. 32 // Performs semantic analysis for the read/write_pipe call. 33 // \param S Reference to the semantic analyzer. 35 // \return True if a semantic error has been found, false otherwise. 38 // Performs a semantic analysis on the {work_group_/sub_group_ 40 // \param S Reference to the semantic analyzer. 42 // \return True if a semantic error was found, false otherwise. 47 // Performs a semantic analysis on {work_group_/sub_group_ 49 // \param S Reference to the semantic analyze [all...] |
H A D | SemaConsumer.h | 11 // additional semantic analysis. 23 /// clients that read ASTs and then require further semantic 32 /// Initialize the semantic consumer with the Sema instance 33 /// being used to perform semantic analysis on the abstract syntax 37 /// Inform the semantic consumer that Sema is no longer available.
|
H A D | HLSLExternalSemaSource.h | 39 /// Initialize the semantic source with the Sema instance 40 /// being used to perform semantic analysis on the abstract syntax 44 /// Inform the semantic consumer that Sema is no longer available.
|
/llvm-project/clang/test/Driver/ |
H A D | fsemantic-interposition.c | 9 // NOOP-NOT: "-fno-semantic-interposition" 11 /// If -fno-semantic-interposition is specified and the target supports local 13 // RUN: %clang --sysroot=%S/Inputs --target=aarch64 %s -Werror -fPIC -fno-semantic-interposition -c… 14 // RUN: %clang --sysroot=%S/Inputs --target=riscv32 %s -Werror -fPIC -fno-semantic-interposition -c… 15 // RUN: %clang --sysroot=%S/Inputs --target=riscv64 %s -Werror -fPIC -fno-semantic-interposition -c… 16 // RUN: %clang --sysroot=%S/Inputs --target=i386 %s -Werror -fPIC -fno-semantic-interposition -c -#… 17 // RUN: %clang --sysroot=%S/Inputs --target=x86_64 %s -Werror -fPIC -fno-semantic-interposition -c … 19 // NO-NOT: "-fhalf-no-semantic-interposition" 21 /// If neither -fsemantic-interposition or -fno-semantic-interposition is specified, 22 /// or -fno-semantic-interposition is specified but the target does not support [all …]
|
/llvm-project/llvm/include/llvm/IR/ |
H A D | FixedPointBuilder.h | 112 /// Get the common semantic for two semantics, with the added imposition that 125 /// Given a floating point type and a fixed-point semantic, return a floating 126 /// point type which can accommodate the fixed-point semantic. This is either 139 /// fixed-point semantic to another fixed-point semantic. 141 /// \p SrcSema - The fixed-point semantic of the source value 142 /// \p DstSema - The resulting fixed-point semantic 151 /// \p SrcSema - The fixed-point semantic of the source value 162 /// representing the given fixed-point semantic. 165 /// \p DstSema - The resulting fixed-point semantic 223 /// Add two fixed-point values and return the result in their common semantic. [all …]
|
/llvm-project/flang/docs/ |
H A D | Semantics.md | 9 # Semantic Analysis 17 The semantic analysis pass determines if a syntactically correct Fortran 24 The semantic analysis pass takes a parse tree for a syntactically 28 If the program is not legal, the results of the semantic pass will be a list of 31 If the program is legal, the semantic pass will produce a (possibly modified) 35 All user errors are detected either prior to or during semantic analysis. 39 ## Phases of Semantic Analysis 55 Perform remaining semantic checks on the execution parts of subprograms 66 Perform semantic checks related to labels and branches: 146 perform the remaining semantic checks.
|
H A D | Overview.md | 88 ### Semantic processing 103 For more detail on semantic analysis, see: [Semantics.md](Semantics.md). 104 Semantic processing performs several tasks: 109 * rewrites the parse tree to correct parsing mistakes (when needed) once semantic information is available to clarify the program's meaning 115 In the course of semantic analysis, the compiler: 117 * decorates the parse tree with semantic information (such as pointers into the symbol table) 121 At the end of semantic processing, all validation of the user's program is complete. This is the last detailed phase of analysis processing. 124 - `flang -fc1 -fdebug-dump-parse-tree src.f90` dumps the parse tree after semantic analysis
|
H A D | ImplementingASemanticCheck.md | 16 I recently added a semantic check to the Flang compiler front end. This document 32 `INTENT(INOUT)`. I implemented this semantic check. Specifically, I changed 112 This new semantic check would depend on several types of information -- the 115 been created, name resolution had already happened, and expression semantic 118 Most semantic checks for statements are implemented by walking the parse tree 120 method. The infrastructure for walking the parse tree for statement semantic 157 Since my semantic check was focused on DO CONCURRENT statements, I added it to 158 the file `lib/Semantics/check-do.cpp` where most of the semantic checking for 198 depends is established during semantic processing for expressions, and the 199 semantic processin [all...] |
/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
H A D | InitListExprPreOrder.cpp | 16 // syntactic and semantic form. 24 Match(ILE->isSemanticForm() ? "semantic" : "syntactic", ILE->getBeginLoc()); 32 Visitor.ExpectMatch("semantic", 2, 21); 41 Visitor.DisallowMatch("semantic", 2, 21); in TEST()
|
/llvm-project/clang/test/Misc/ |
H A D | serialized-diags.m | 20 …-diags.m:8:4: error: use of undeclared identifier '_self'; did you mean 'self'? [] [Semantic Issue] 24 // CHECK: +-(null):0:0: note: 'self' is an implicit parameter [] [Semantic Issue] 26 …: warning: class 'Foo' defined without specifying a base class [-Wobjc-root-class] [Semantic Issue] 28 …{{.*[/\\]}}serialized-diags.m:1:15: note: add a super class to fix this problem [] [Semantic Issue]
|
/llvm-project/llvm/include/llvm/ADT/ |
H A D | APFixedPoint.h | 56 /// Check if the Semantic follow the requirements of an older more limited 84 /// precision semantic that can precisely represent the precision and ranges 93 /// Returns true if this fixed-point semantic with its value bits interpreted 94 /// as an integer can fit in the given floating point semantic without 96 /// For example, a signed 8-bit fixed-point semantic has a maximum and 99 /// point semantic without overflowing, this returns true. 207 // semantic. 275 /// Given a floating point semantic, return the next floating point semantic 292 /// semantic i [all...] |
/llvm-project/flang/test/Semantics/OpenMP/ |
H A D | target01.f90 | 42 !WARNING: Variable 'c' in IS_DEVICE_PTR clause must be a dummy argument. This semantic check is deprecated from OpenMP 5.2 and later. 46 !WARNING: Variable 'b1' in IS_DEVICE_PTR clause must be a dummy argument that does not have the ALLOCATABLE, POINTER or VALUE attribute. This semantic check is deprecated from OpenMP 5.2 and later. 50 !WARNING: Variable 'b2' in IS_DEVICE_PTR clause must be a dummy argument that does not have the ALLOCATABLE, POINTER or VALUE attribute. This semantic check is deprecated from OpenMP 5.2 and later. 54 !WARNING: Variable 'b3' in IS_DEVICE_PTR clause must be a dummy argument that does not have the ALLOCATABLE, POINTER or VALUE attribute. This semantic check is deprecated from OpenMP 5.2 and later.
|
/llvm-project/llvm/unittests/tools/llvm-exegesis/ |
H A D | RegisterValueTest.cpp | 20 bitcastFloatValue(Semantic, PredefinedValues::ACTUAL)) 24 const auto &Semantic = APFloatBase::IEEEhalf(); in TEST() local 40 const auto &Semantic = APFloatBase::IEEEsingle(); in TEST() local 56 const auto &Semantic = APFloatBase::IEEEdouble(); in TEST() local
|
/llvm-project/clang/docs/HLSL/ |
H A D | EntryFunctions.rst | 17 All scalar parameters to entry functions must have semantic annotations, and all 18 struct parameters must have semantic annotations on every field in the struct 19 declaration. Additionally if the entry function has a return type, a semantic 46 their semantic values populated, and a call to the user-defined function.
|
/llvm-project/clang/docs/ |
H A D | InternalsManual.rst | 1115 tokens represent semantic information and are produced by the parser, replacing 1163 don't contain any semantic information about the lexed value. For example, if 1180 semantic information found by the parser. For example, if "``foo``" is found 1185 reparse does not need to redo semantic analysis to determine whether a token 1402 range-based for statement, but also holds a semantic representation of the 1424 Typedefs in C make semantic analysis a bit more complex than it would be without 1468 with this: first, various semantic checks need to make judgements about the 1677 semantics. The two views are kept synchronized by semantic analysis while 1751 declarations of "``g``". Clients that perform semantic analysis on a program 1757 Lexical and Semantic Context [all...] |
/llvm-project/flang/test/Driver/ |
H A D | werror-sema.f90 | 2 ! actions that extend the PrescanAndSemaAction, particularly for Semantic warnings/errors. 18 ! WITH: Semantic errors in 20 ! WITHOUT-NOT: Semantic errors in
|
H A D | dump-all-bad.f90 | 1 ! Verify that -fdebug-dump-all dumps both symbols and the parse tree, even when semantic errors are… 8 ! CHECK: error: Semantic errors in
|
/llvm-project/llvm/lib/Support/ |
H A D | APFixedPoint.cpp | 150 // A fixed point semantic fits in a floating point semantic if the maximum in fitsInFloatSemantics() 151 // and minimum values as integers of the fixed point semantic can fit in the in fitsInFloatSemantics() 152 // floating point semantic. in fitsInFloatSemantics() 155 // maximum/minimum value will not fit either, so the floating point semantic in fitsInFloatSemantics() 282 // semantic, we either have overflow or saturation. in mul() 343 // semantic, we either have overflow or saturation. in div() 380 // semantic, we either have overflow or saturation. in shl() 511 // semantic. in convertToFloat() 568 // semantic in getFromFloatValue() [all...] |
/llvm-project/libc/test/src/string/memory_utils/ |
H A D | memory_check_utils.h | 88 // Checks that FnImpl implements the memcpy semantic. 96 // Checks that FnImpl implements the memset semantic. 107 // Checks that FnImpl implements the bcmp semantic. 127 // Checks that FnImpl implements the memcmp semantic. 178 // Checks that FnImpl implements the memmove semantic.
|
/llvm-project/clang/lib/Sema/ |
H A D | TreeTransform.h | 1 //===------- TreeTransform.h - Semantic Tree Transformation -----*- C++ -*-===// 8 // This file implements a semantic tree transformation that takes a given 58 /// A semantic tree transformation that allows one to transform one 76 /// Semantic tree transformations are split into two stages, either of which 99 /// By default, \c TreeTransform will invoke semantic analysis to rebuild 155 /// Retrieves a reference to the semantic analysis object used for 442 /// semantic nodes added by initialization, then passing the result to 839 /// By default, performs semantic analysis when building the pointer type. 845 /// By default, performs semantic analysis when building the block pointer 851 /// By default, performs semantic analysi [all...] |
/llvm-project/clang/test/CodeGenCXX/ |
H A D | ps-dllstorage-vtable-rtti.cpp | 11 …clspec -triple x86_64-unknown-windows-itanium -emit-llvm -o - %s -fhalf-no-semantic-interposition \ 13 …clspec -triple x86_64-scei-windows-itanium -emit-llvm -o - %s -fhalf-no-semantic-interposition \ 15 // RUN: %clang_cc1 -I%S -fdeclspec -triple x86_64-scei-ps4 -emit-llvm -o - %s -fhalf-no-semantic-in… 17 // RUN: %clang_cc1 -I%S -fdeclspec -triple x86_64-sie-ps5 -emit-llvm -o - %s -fhalf-no-semantic-in…
|
/llvm-project/clang/include/clang/AST/ |
H A D | DependenceFlags.h | 139 Semantic = in LLVM_COMMON_DEPENDENCE() enumerator 186 /// Extract the semantic portions of this type's dependence that apply even in LLVM_COMMON_DEPENDENCE() 188 Dependence semantic() { in LLVM_COMMON_DEPENDENCE() 190 Result.V &= Semantic; in LLVM_COMMON_DEPENDENCE() 251 return Dependence(D).semantic().expr(); in toExprDependenceForImpliedType() 292 return Dependence(D).semantic().type(); in toSemanticDependence()
|
/llvm-project/clang-tools-extra/clang-tidy/utils/ |
H A D | DesignatedInitializers.cpp | 117 // represented by the semantic InitListExpr Sem. 137 // The elements of the semantic form all correspond to direct subobjects of in collectDesignators() 162 // Descend into the semantic list describing the subobject. in collectDesignators() 178 // collectDesignators needs to know which InitListExprs in the semantic tree in getUnwrittenDesignators() 186 // Traverse the semantic form to find the designators. in getUnwrittenDesignators()
|
/llvm-project/clang/test/ParserHLSL/ |
H A D | semantic_parsing.hlsl | 3 // expected-error@+1 {{expected HLSL Semantic identifier}} 6 // expected-error@+1 {{unknown HLSL semantic 'SV_IWantAPony'}}
|
/llvm-project/flang/lib/Frontend/ |
H A D | FrontendAction.cpp | 181 assert(parseTree && "Cannot run semantic checks without a parse tree!"); in runSemanticChecks() 196 // Run semantic checks in runSemanticChecks() 203 // Report the diagnostics from parsing and the semantic checks in generateRtTypeTables() 215 // semantic errors. Report them. 257 "Semantic errors in %0");
|