/external/llvm-project/llvm/test/Feature/ |
D | fp-intrinsics.ll | 3 ; 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/ |
D | README | 1 -*- 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/ |
D | README | 1 -*- 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/ |
D | CompletionRequest.h | 53 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/ |
D | analysis-epsilons.test | 1 # 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
|
D | analysis-naive-cluster-stabilization.test | 1 # 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
|
D | uops-BSF16rm.s | 1 # 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
|
D | uops-by-opcode-name.s | 1 # 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
|
D | uops-ADD32mi8.s | 1 # 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
|
D | uops-BTR64mr.s | 1 # 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
|
D | uops-XCHG64rr.s | 1 # 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
|
D | uops-BEXTR32rm.s | 1 # 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
|
D | uops-ADD32mr.s | 1 # 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
|
D | uops-STD.s | 1 # 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
|
D | uops-ADD32rm.s | 1 # 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
|
D | uops-ADD_F32m.s | 1 # 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
|
D | uops-VFMADDSS4rm.s | 1 # 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
|
D | inverse_throughput-by-opcode-name.s | 1 # 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
|
D | latency-CMOV32rr.s | 1 # 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
|
D | latency-LEA64_32r.s | 1 # 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/ |
D | FileSystem.cpp | 43 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 …]
|
D | File.cpp | 40 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/ |
D | llvm-exegesis.rst | 1 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/ |
D | ReductionTreePass.h | 39 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/ |
D | constfold-constrained.ll | 7 %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 …]
|