Home
last modified time | relevance | path

Searched +refs:llvm +refs:mode (Results 1 – 25 of 960) sorted by relevance

12345678910>>...39

/external/llvm-project/llvm/test/Feature/
Dfp-intrinsics.ll3 ; Test to verify that constants aren't folded when the rounding mode is unknown.
5 ; CHECK: call double @llvm.experimental.constrained.fdiv.f64
8 %div = call double @llvm.experimental.constrained.fdiv.f64(
16 ; Verify that 'a - 0' isn't simplified to 'a' when the rounding mode is unknown.
19 ; // Because the result of '0 - 0' is negative zero if rounding mode is
25 ; CHECK: call double @llvm.experimental.constrained.fsub.f64
28 %div = call double @llvm.experimental.constrained.fsub.f64(
35 ; Verify that '-((-a)*b)' isn't simplified to 'a*b' when the rounding mode is
45 ; CHECK: call double @llvm.experimental.constrained.fsub.f64
46 ; CHECK: call double @llvm.experimental.constrained.fmul.f64
[all …]
/external/llvm/utils/emacs/
DREADME1 -*- llvm/utils/emacs/README -*-
6 * llvm-mode.el
8 Syntax highlighting mode for LLVM assembly files. To use, add this code to
12 (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
13 (require 'llvm-mode)
15 * tablegen-mode.el
17 Syntax highlighting mode for TableGen description files. To use, add this code
21 (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
22 (require 'tablegen-mode)
26 <llvm-bugs [at] lists.llvm.org>; if you wish to provide a patch to improve the
/external/llvm-project/llvm/utils/emacs/
DREADME1 -*- llvm/utils/emacs/README -*-
6 * llvm-mode.el
8 Syntax highlighting mode for LLVM assembly files. To use, add this code to
12 (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
13 (require 'llvm-mode)
15 * tablegen-mode.el
17 Syntax highlighting mode for TableGen description files. To use, add this code
21 (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
22 (require 'tablegen-mode)
26 <llvm-bugs [at] lists.llvm.org>; if you wish to provide a patch to improve the
/external/llvm-project/lldb/include/lldb/Utility/
DCompletionRequest.h53 Completion(llvm::StringRef completion, llvm::StringRef description, in Completion()
54 CompletionMode mode) in Completion() argument
56 m_mode(mode) {} in Completion()
72 llvm::StringSet<> m_added_values;
75 void AddResult(llvm::StringRef completion, llvm::StringRef description,
76 CompletionMode mode);
78 llvm::ArrayRef<Completion> GetResults() const { return m_results; } in GetResults()
115 CompletionRequest(llvm::StringRef command_line, unsigned raw_cursor_pos,
120 llvm::StringRef GetRawLine() const { in GetRawLine()
130 llvm::StringRef GetRawLineWithUnusedSuffix() const { return m_command; } in GetRawLineWithUnusedSuffix()
[all …]
/external/llvm-project/llvm/test/tools/llvm-exegesis/X86/
Danalysis-epsilons.test1 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-…
2 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-…
3 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-…
4 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-…
6 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an…
7 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an…
8 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an…
9 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an…
30 mode: latency
48 mode: latency
Danalysis-naive-cluster-stabilization.test1 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-…
2 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an…
3 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an…
5 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-…
6 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an…
7 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an…
29 mode: latency
46 mode: latency
Duops-BSF16rm.s1 # RUN: llvm-exegesis -mode=uops -opcode-name=BSF16rm -repetition-mode=duplicate | FileCheck %s
2 # RUN: llvm-exegesis -mode=uops -opcode-name=BSF16rm -repetition-mode=loop | FileCheck %s
4 CHECK: mode: uops
Duops-by-opcode-name.s1 # RUN: llvm-exegesis -mode=uops -opcode-name=ADD32rr -repetition-mode=duplicate | FileCheck %s
2 # RUN: llvm-exegesis -mode=uops -opcode-name=ADD32rr -repetition-mode=loop | FileCheck %s
4 CHECK: mode: uops
Duops-ADD32mi8.s1 # RUN: llvm-exegesis -mode=uops -opcode-name=ADD32mi8 -repetition-mode=duplicate | FileCheck %s
2 # RUN: llvm-exegesis -mode=uops -opcode-name=ADD32mi8 -repetition-mode=loop | FileCheck %s
4 CHECK: mode: uops
Duops-BTR64mr.s1 # RUN: llvm-exegesis -mode=uops -opcode-name=BTR64mr -repetition-mode=duplicate | FileCheck %s
2 # RUN: llvm-exegesis -mode=uops -opcode-name=BTR64mr -repetition-mode=loop | FileCheck %s
4 CHECK: mode: uops
Duops-XCHG64rr.s1 # RUN: llvm-exegesis -mode=uops -opcode-name=XCHG64rr -repetition-mode=duplicate | FileCheck %s
2 # RUN: llvm-exegesis -mode=uops -opcode-name=XCHG64rr -repetition-mode=loop | FileCheck %s
4 CHECK: mode: uops
Duops-BEXTR32rm.s1 # RUN: llvm-exegesis -mode=uops -opcode-name=BEXTR32rm -repetition-mode=duplicate | FileCheck %s
2 # RUN: llvm-exegesis -mode=uops -opcode-name=BEXTR32rm -repetition-mode=loop | FileCheck %s
4 CHECK: mode: uops
Duops-ADD32mr.s1 # RUN: llvm-exegesis -mode=uops -opcode-name=ADD32mr -repetition-mode=duplicate | FileCheck %s
2 # RUN: llvm-exegesis -mode=uops -opcode-name=ADD32mr -repetition-mode=loop | FileCheck %s
4 CHECK: mode: uops
Duops-STD.s1 # RUN: llvm-exegesis -mode=uops -opcode-name=STD -repetition-mode=duplicate | FileCheck %s
2 # RUN: llvm-exegesis -mode=uops -opcode-name=STD -repetition-mode=loop | FileCheck %s
4 CHECK: mode: uops
Duops-ADD32rm.s1 # RUN: llvm-exegesis -mode=uops -opcode-name=ADD32rm -repetition-mode=duplicate | FileCheck %s
2 # RUN: llvm-exegesis -mode=uops -opcode-name=ADD32rm -repetition-mode=loop | FileCheck %s
4 CHECK: mode: uops
Duops-ADD_F32m.s1 # RUN: llvm-exegesis -mode=uops -opcode-name=ADD_F32m -repetition-mode=duplicate | FileCheck %s
2 # RUN: llvm-exegesis -mode=uops -opcode-name=ADD_F32m -repetition-mode=loop | FileCheck %s
4 CHECK: mode: uops
Duops-VFMADDSS4rm.s1 # RUN: llvm-exegesis -mode=uops -opcode-name=VFMADDSS4rm -repetition-mode=duplicate | FileCheck %s
2 # RUN: llvm-exegesis -mode=uops -opcode-name=VFMADDSS4rm -repetition-mode=loop | FileCheck %s
4 CHECK: mode: uops
Dinverse_throughput-by-opcode-name.s1 # RUN: llvm-exegesis -mode=inverse_throughput -opcode-name=ADD32rr -repetition-mode=duplicate | Fil…
2 # RUN: llvm-exegesis -mode=inverse_throughput -opcode-name=ADD32rr -repetition-mode=loop | FileChec…
5 CHECK-NEXT: mode: inverse_throughput
Dlatency-CMOV32rr.s1 # RUN: llvm-exegesis -mode=latency -opcode-name=CMOV32rr -repetition-mode=duplicate | FileCheck %s
2 # RUN: llvm-exegesis -mode=latency -opcode-name=CMOV32rr -repetition-mode=loop | FileCheck %s
5 CHECK-NEXT: mode: latency
Dlatency-LEA64_32r.s1 # RUN: llvm-exegesis -mode=latency -opcode-name=LEA64_32r -repetition-mode=duplicate -max-configs-p…
2 # RUN: llvm-exegesis -mode=latency -opcode-name=LEA64_32r -repetition-mode=loop -max-configs-per-op…
5 CHECK-NEXT: mode: latency
12 CHECK-NEXT: mode: latency
/external/llvm-project/lldb/source/Host/common/
DFileSystem.cpp43 using namespace llvm;
57 llvm::Error FileSystem::Initialize(const FileSpec &mapping) { in Initialize()
60 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> buffer = in Initialize()
61 llvm::vfs::getRealFileSystem()->getBufferForFile(mapping.GetPath()); in Initialize()
64 return llvm::errorCodeToError(buffer.getError()); in Initialize()
66 InstanceImpl().emplace(llvm::vfs::getVFSFromYAML(std::move(buffer.get()), in Initialize()
70 return llvm::Error::success(); in Initialize()
103 llvm::ErrorOr<vfs::Status>
111 llvm::ErrorOr<vfs::Status> FileSystem::GetStatus(const Twine &path) const { in GetStatus()
262 Resolver.ResolveFullPath(llvm::StringRef(path.begin(), path.size()), in Resolve()
[all …]
DFile.cpp40 using llvm::Expected;
70 return llvm::createStringError( in GetStreamOpenModeFromOptions()
71 llvm::inconvertibleErrorCode(), in GetStreamOpenModeFromOptions()
75 Expected<File::OpenOptions> File::GetOptionsFromMode(llvm::StringRef mode) { in GetOptionsFromMode() argument
77 llvm::StringSwitch<OpenOptions>(mode) in GetOptionsFromMode()
92 return llvm::createStringError( in GetOptionsFromMode()
93 llvm::inconvertibleErrorCode(), in GetOptionsFromMode()
179 if (llvm::sys::Process::FileDescriptorHasColors(fd)) in CalculateInteractiveAndTerminal()
229 return llvm::createStringError( in GetOptions()
230 llvm::inconvertibleErrorCode(), in GetOptions()
[all …]
/external/llvm-project/llvm/docs/CommandGuide/
Dllvm-exegesis.rst1 llvm-exegesis - LLVM Machine Instruction Benchmark
4 .. program:: llvm-exegesis
9 :program:`llvm-exegesis` [*options*]
14 :program:`llvm-exegesis` is a benchmarking tool that uses information available
18 Given an LLVM opcode name and a benchmarking mode, :program:`llvm-exegesis`
29 :program:`llvm-exegesis` can also benchmark arbitrary user-provided code
40 $ llvm-exegesis -mode=latency -opcode-name=ADD64rr
46 $ llvm-exegesis -mode=uops -opcode-name=ADD64rr
47 $ llvm-exegesis -mode=inverse_throughput -opcode-name=ADD64rr
58 mode: latency
[all …]
/external/llvm-project/mlir/include/mlir/Reducer/
DReductionTreePass.h39 template <typename Reducer, TraversalMode mode>
41 : public ReductionTreeBase<ReductionTreePass<Reducer, mode>> {
44 : ReductionTreeBase<ReductionTreePass<Reducer, mode>>(pass), in ReductionTreePass()
62 LLVM_DEBUG(llvm::dbgs() << "\nReduction Tree Pass: " << reducer.getName();); in runOnOperation()
63 switch (mode) { in runOnOperation()
65 LLVM_DEBUG(llvm::dbgs() << " (Single Path)\n";); in runOnOperation()
69 llvm::report_fatal_error("Traversal method not currently supported."); in runOnOperation()
100 LLVM_DEBUG(llvm::dbgs() << "\nGenerating 1 variant: applying the "); in singlePathTraversal()
101 LLVM_DEBUG(llvm::dbgs() << "transformation to the entire module\n"); in singlePathTraversal()
104 LLVM_DEBUG(llvm::dbgs() << "Testing\n"); in singlePathTraversal()
[all …]
/external/llvm-project/llvm/test/Transforms/InstSimplify/
Dconstfold-constrained.ll7 %result = call double @llvm.experimental.constrained.floor.f64(
18 %result = call double @llvm.experimental.constrained.floor.f64(
29 %result = call double @llvm.experimental.constrained.ceil.f64(
40 %result = call double @llvm.experimental.constrained.ceil.f64(
51 %result = call double @llvm.experimental.constrained.trunc.f64(
62 %result = call double @llvm.experimental.constrained.trunc.f64(
73 %result = call double @llvm.experimental.constrained.round.f64(
84 %result = call double @llvm.experimental.constrained.round.f64(
92 ; Verify that nearbyint(10.5) is folded to 11.0 when the rounding mode is 'upward'.
95 %result = call double @llvm.experimental.constrained.nearbyint.f64(
[all …]

12345678910>>...39