Home
last modified time | relevance | path

Searched refs:Directives (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/clang/unittests/Lex/
H A DDependencyDirectivesScannerTest.cpp23 Directives.clear(); in minimizeSourceToDependencyDirectives()
40 SmallVector<Directive, 32> Directives; in minimizeSourceToDependencyDirectives() local
49 SmallVector<Directive, 4> Directives; in TEST() local
55 ASSERT_EQ(1u, Directives.size()); in TEST()
62 ASSERT_EQ(1u, Directives.size()); in TEST()
69 SmallVector<Directive, 4> Directives; in TEST() local
97 EXPECT_EQ(pp_if, Directives[3].Kind); in TEST()
129 SmallVector<Directive, 4> Directives; in TEST() local
135 ASSERT_EQ(2u, Directives.size()); in TEST()
746 ASSERT_EQ(Directives.size(), 3u); in TEST()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCLinkerOptimizationHint.h141 SmallVector<MCLOHDirective, 32> Directives; variable
150 return Directives; in getDirectives()
156 Directives.push_back(MCLOHDirective(Kind, Args)); in addDirective()
163 for (const MCLOHDirective &D : Directives) in getEmitSize()
172 for (const MCLOHDirective &D : Directives) in emit()
177 Directives.clear(); in reset()
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/
H A DDirectiveTree.cpp232 int Directives = 0; member
237 return std::make_tuple(-Errors, Tokens, Directives) > in operator >()
238 std::make_tuple(-Other.Errors, Other.Tokens, Other.Directives); in operator >()
243 Directives += Other.Directives; in operator +=()
259 S.Directives = 1; in walk()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DDependencyDirectivesScanner.h115 SmallVectorImpl<dependency_directives_scan::Directive> &Directives,
131 ArrayRef<dependency_directives_scan::Directive> Directives,
/llvm-project-15.0.7/clang/lib/Lex/
H A DDependencyDirectivesScanner.cpp80 bool scan(SmallVectorImpl<Directive> &Directives);
801 bool Scanner::scan(SmallVectorImpl<Directive> &Directives) { in scan() argument
812 Directives.emplace_back(DirWithToks.Kind, in scan()
823 SmallVectorImpl<Directive> &Directives, DiagnosticsEngine *Diags, in scanSourceForDependencyDirectives() argument
825 return Scanner(Input, Tokens, Diags, InputSourceLoc).scan(Directives); in scanSourceForDependencyDirectives()
830 ArrayRef<dependency_directives_scan::Directive> Directives, in printDependencyDirectivesAsSource() argument
853 for (const dependency_directives_scan::Directive &Directive : Directives) { in printDependencyDirectivesAsSource()
/llvm-project-15.0.7/clang/unittests/Format/
H A DFormatTestVerilog.cpp181 std::string Directives[] = { in TEST_F() local
203 for (auto &Name : Directives) { in TEST_F()
/llvm-project-15.0.7/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h96 if (auto *Directives = Contents->DepDirectives.load()) { in getDirectiveTokens() local
97 if (Directives->has_value()) in getDirectiveTokens()
99 Directives->value()); in getDirectiveTokens()
/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp62 SmallVector<dependency_directives_scan::Directive, 64> Directives; in scanForDirectivesIfNecessary() local
67 Directives)) { in scanForDirectivesIfNecessary()
79 new Optional<DependencyDirectivesTy>(std::move(Directives))); in scanForDirectivesIfNecessary()
/llvm-project-15.0.7/flang/docs/
H A Dindex.md44 Directives
/llvm-project-15.0.7/libclc/
H A DREADME.TXT12 * 6.9: Preprocessor Directives and Macros
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DPFTBuilder.h137 using Directives = variable
161 static constexpr bool isDirective{common::HasMember<A, Directives>};
203 Constructs, Directives>;
/llvm-project-15.0.7/compiler-rt/docs/
H A DTestingGuide.rst63 is ``x86_64-linux-gnu``. Directives that use these ``target-is-${arch}`` string
/llvm-project-15.0.7/clang/lib/Frontend/
H A DFrontendActions.cpp1162 llvm::SmallVector<dependency_directives_scan::Directive, 32> Directives; in ExecuteAction() local
1164 FromFile.getBuffer(), Tokens, Directives, &CI.getDiagnostics(), in ExecuteAction()
1183 printDependencyDirectivesAsSource(FromFile.getBuffer(), Directives, in ExecuteAction()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDirectiveEmitter.cpp139 bool HasDuplicateClausesInDirectives(const std::vector<Record *> &Directives) { in HasDuplicateClausesInDirectives() argument
141 for (const auto &D : Directives) { in HasDuplicateClausesInDirectives()
/llvm-project-15.0.7/mlir/docs/
H A DOpDefinitions.md632 #### Directives subsubsection
649 - See the [Custom Directives](#custom-directives) section below for more
749 #### Custom Directives
787 * Ref Directives
797 * Type Directives
821 * Ref Directives
831 * Type Directives
H A DAttributesAndTypes.md670 printed as `(5 : i32)`. If it is not present, it will be `x`. Directives that
705 ##### Assembly Format Directives
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DStmtNodes.td219 // OpenMP Directives.
/llvm-project-15.0.7/llvm/test/FileCheck/dump-input/
H A Dfilter.txt53 ; Directives for checking the dump.
/llvm-project-15.0.7/clang/docs/
H A DOpenMPSupport.rst61 Directives execution modes
/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dop-format-spec.td17 // Directives
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPC.td22 // CPU Directives //
/llvm-project-15.0.7/llvm/include/llvm/Frontend/OpenMP/
H A DOMPKinds.def17 /// OpenMP Directives, combined directives and Clauses
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestOps.td1645 // Test Patterns (Trailing Directives)
2176 // Custom Directives
/llvm-project-15.0.7/mlir/docs/Tutorials/Toy/
H A DCh-2.md661 * Directives
/llvm-project-15.0.7/llvm/docs/
H A DAMDGPUUsage.rst14595 Code Object V2 Directives
14778 Code Object V3 and Above Directives
14781 Directives which begin with ``.amdgcn`` are valid for all ``amdgcn``
14782 architecture processors, and are not OS-specific. Directives which begin with
14813 Directives which may appear in this list are described in
14814 :ref:`amdhsa-kernel-directives-table`. Directives may appear in any order, must
14815 be valid for the target being assembled for, and cannot be repeated. Directives
14822 .. table:: AMDHSA Kernel Assembler Directives

12