Home
last modified time | relevance | path

Searched full:based (Results 1 – 25 of 3841) sorted by relevance

12345678910>>...154

/llvm-project/llvm/test/Instrumentation/HWAddressSanitizer/
H A Dbasic.ll9 ; RUN: opt < %s -passes=hwasan -hwasan-recover=0 -hwasan-mapping-offset=0 -S | FileCheck %s --check-prefixes=ABORT-ZERO-BASED-SHADOW
10 ; RUN: opt < %s -passes=hwasan -hwasan-recover=1 -hwasan-mapping-offset=0 -S | FileCheck %s --check-prefixes=RECOVER-ZERO-BASED-SHADOW
98 ; ABORT-ZERO-BASED-SHADOW-LABEL: define i8 @test_load8
99 ; ABORT-ZERO-BASED-SHADOW-SAME: (ptr [[A:%.*]]) #[[ATTR0:[0-9]+]] {
100 ; ABORT-ZERO-BASED-SHADOW-NEXT: entry:
101 ; ABORT-ZERO-BASED-SHADOW-NEXT: [[DOTHWASAN_SHADOW:%.*]] = call ptr asm "", "=r,0"(ptr null)
102 ; ABORT-ZERO-BASED-SHADOW-NEXT: call void @llvm.hwasan.check.memaccess.shortgranules.fixedshadow(ptr [[A]], i32 0, i64 0)
103 ; ABORT-ZERO-BASED-SHADOW-NEXT: [[B:%.*]] = load i8, ptr [[A]], align 4
104 ; ABORT-ZERO-BASED-SHADOW-NEXT: ret i8 [[B]]
106 ; RECOVER-ZERO-BASED
[all...]
H A Dalloca.ll6 ; RUN: opt < %s -passes=hwasan -hwasan-mapping-offset=0 -hwasan-with-frame-record=0 -S | FileCheck %s --check-prefixes=ZERO-BASED-SHADOW
9 ; RUN: opt < %s -passes=hwasan -hwasan-mapping-offset=0 -hwasan-with-frame-record=0 -S --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=ZERO-BASED-SHADOW
26 ; ZERO-BASED-SHADOW: @llvm.used = appending global [1 x ptr] [ptr @hwasan.module_ctor], section "llvm.metadata"
27 ; ZERO-BASED-SHADOW: @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 0, ptr @hwasan.module_ctor, ptr @hwasan.module_ctor }]
28 ; ZERO-BASED-SHADOW: @__start_hwasan_globals = external hidden constant [0 x i8]
29 ; ZERO-BASED-SHADOW: @__stop_hwasan_globals = external hidden constant [0 x i8]
30 ; ZERO-BASED-SHADOW: @hwasan.note = private constant { i32, i32, i32, [8 x i8], i32, i32 } { i32 8, i32 8, i32 3, [8 x i8] c"LLVM\00\00\00\00", i32 trunc (i64 sub (i64 ptrtoint (ptr @__start_hwasan_globals to i64), i64 ptrtoint (ptr @hwasan.note to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @__stop_hwasan_globals to i64), i64 ptrtoint (ptr @hwasan.note to i64)) to i32) }, section ".note.hwasan.globals", comdat($hwasan.module_ctor), align 4
31 ; ZERO-BASED-SHADOW: @hwasan.dummy.global = private constant [0 x i8] zeroinitializer, section "hwasan_globals", comdat($hwasan.module_ctor), !associated [[META0:![0-9]+]]
32 ; ZERO-BASED-SHADOW: @llvm.compiler.used = appending global [2 x ptr] [ptr @hwasan.note, ptr @hwasan.dummy.global], section "llvm.metadata"
33 ; ZERO-BASED
[all...]
/llvm-project/llvm/test/Instrumentation/HWAddressSanitizer/RISCV/
H A Dbasic.ll9 ; RUN: opt < %s -passes=hwasan -hwasan-recover=0 -hwasan-mapping-offset=0 -S | FileCheck %s --check-prefixes=ABORT-ZERO-BASED-SHADOW
10 ; RUN: opt < %s -passes=hwasan -hwasan-recover=1 -hwasan-mapping-offset=0 -S | FileCheck %s --check-prefixes=RECOVER-ZERO-BASED-SHADOW
134 ; ABORT-ZERO-BASED-SHADOW-LABEL: define i8 @test_load8
135 ; ABORT-ZERO-BASED-SHADOW-SAME: (ptr [[A:%.*]]) #[[ATTR0:[0-9]+]] {
136 ; ABORT-ZERO-BASED-SHADOW-NEXT: entry:
137 ; ABORT-ZERO-BASED-SHADOW-NEXT: [[DOTHWASAN_SHADOW:%.*]] = call ptr asm "", "=r,0"(ptr null)
138 ; ABORT-ZERO-BASED-SHADOW-NEXT: [[TMP0:%.*]] = ptrtoint ptr [[A]] to i64
139 ; ABORT-ZERO-BASED-SHADOW-NEXT: [[TMP1:%.*]] = lshr i64 [[TMP0]], 56
140 ; ABORT-ZERO-BASED-SHADOW-NEXT: [[TMP2:%.*]] = trunc i64 [[TMP1]] to i8
141 ; ABORT-ZERO-BASED
[all...]
H A Dalloca.ll6 ; RUN: opt < %s -passes=hwasan -hwasan-mapping-offset=0 -hwasan-with-frame-record=0 -S | FileCheck %s --check-prefixes=ZERO-BASED-SHADOW
24 ; ZERO-BASED-SHADOW: @llvm.used = appending global [1 x ptr] [ptr @hwasan.module_ctor], section "llvm.metadata"
25 ; ZERO-BASED-SHADOW: @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 0, ptr @hwasan.module_ctor, ptr @hwasan.module_ctor }]
26 ; ZERO-BASED-SHADOW: @__start_hwasan_globals = external hidden constant [0 x i8]
27 ; ZERO-BASED-SHADOW: @__stop_hwasan_globals = external hidden constant [0 x i8]
28 ; ZERO-BASED-SHADOW: @hwasan.note = private constant { i32, i32, i32, [8 x i8], i32, i32 } { i32 8, i32 8, i32 3, [8 x i8] c"LLVM\00\00\00\00", i32 trunc (i64 sub (i64 ptrtoint (ptr @__start_hwasan_globals to i64), i64 ptrtoint (ptr @hwasan.note to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @__stop_hwasan_globals to i64), i64 ptrtoint (ptr @hwasan.note to i64)) to i32) }, section ".note.hwasan.globals", comdat($hwasan.module_ctor), align 4
29 ; ZERO-BASED-SHADOW: @hwasan.dummy.global = private constant [0 x i8] zeroinitializer, section "hwasan_globals", comdat($hwasan.module_ctor), !associated [[META0:![0-9]+]]
30 ; ZERO-BASED-SHADOW: @__hwasan_tls = external thread_local(initialexec) global i64
31 ; ZERO-BASED-SHADOW: @llvm.compiler.used = appending global [3 x ptr] [ptr @hwasan.note, ptr @hwasan.dummy.global, ptr @__hwasan_tls], section "llvm.metadata"
32 ; ZERO-BASED
[all...]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Dloop-convert-const.cpp45 …// CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop instead [modernize-loop-conve… in memberFunctionsAndOperators()
53 // CHECK-MESSAGES: :[[@LINE-4]]:3: warning: use range-based for loop in memberFunctionsAndOperators()
60 // CHECK-MESSAGES: :[[@LINE-4]]:3: warning: use range-based for loop in memberFunctionsAndOperators()
68 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop in memberFunctionsAndOperators()
75 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop in memberFunctionsAndOperators()
82 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop in memberFunctionsAndOperators()
92 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop in usedAsParameterToFunctionOrOperator()
99 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop in usedAsParameterToFunctionOrOperator()
107 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop in usedAsParameterToFunctionOrOperator()
115 // CHECK-MESSAGES: :[[@LINE-4]]:3: warning: use range-based for loop in usedAsParameterToFunctionOrOperator()
[all …]
H A Dloop-convert-basic.cpp20 // CHECK-MESSAGES: :[[@LINE-4]]:3: warning: use range-based for loop instead [modernize-loop-convert] in f()
29 // CHECK-MESSAGES: :[[@LINE-4]]:3: warning: use range-based for loop instead in f()
38 // CHECK-MESSAGES: :[[@LINE-4]]:3: warning: use range-based for loop instead in f()
47 // CHECK-MESSAGES: :[[@LINE-4]]:3: warning: use range-based for loop instead in f()
55 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop instead in f()
63 // CHECK-MESSAGES: :[[@LINE-4]]:3: warning: use range-based for loop instead in f()
71 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop instead in f()
78 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop instead in f()
86 // CHECK-MESSAGES: :[[@LINE-4]]:3: warning: use range-based for loop instead in f()
98 // CHECK-MESSAGES: :[[@LINE-5]]:3: warning: use range-based fo in f()
[all...]
H A Dloop-convert-extra.cpp16 // CHECK-MESSAGES: :[[@LINE-4]]:3: warning: use range-based for loop instead in f()
42 // converted range-based loop as the temporary variable's name. in aliasing()
53 // CHECK-MESSAGES: :[[@LINE-5]]:3: warning: use range-based for loop instead in aliasing()
66 // CHECK-MESSAGES: :[[@LINE-5]]:3: warning: use range-based for loop instead in aliasing()
77 // CHECK-MESSAGES: :[[@LINE-5]]:3: warning: use range-based for loop instead in aliasing()
90 // CHECK-MESSAGES: :[[@LINE-5]]:3: warning: use range-based for loop instead in aliasing()
101 // CHECK-MESSAGES: :[[@LINE-5]]:3: warning: use range-based for loop instead in aliasing()
110 // CHECK-MESSAGES: :[[@LINE-4]]:3: warning: use range-based for loop instead in aliasing()
121 // CHECK-MESSAGES: :[[@LINE-5]]:3: warning: use range-based for loop instead in aliasing()
130 // CHECK-MESSAGES: :[[@LINE-5]]:3: warning: use range-based for loop instead in aliasing()
[all …]
H A Dloop-convert-multidimensional.cpp26 // CHECK-MESSAGES: :[[@LINE-4]]:5: warning: use range-based for loop in foo()
41 // CHECK-MESSAGES: :[[@LINE-4]]:5: warning: use range-based for loop in foo()
54 // CHECK-MESSAGES: :[[@LINE-4]]:3: warning: use range-based for loop in testVectorOfVectorOfVector()
63 // CHECK-MESSAGES: :[[@LINE-4]]:3: warning: use range-based for loop in testVectorOfVectorOfVector()
75 // CHECK-MESSAGES: :[[@LINE-4]]:3: warning: use range-based for loop in testVectorOfVectorIterator()
H A Dloop-convert-uppercase.cpp16 …// CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop instead [modernize-loop-conve… in naming()
23 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop instead in naming()
30 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop instead in naming()
38 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop instead in naming()
H A Dloop-convert-lowercase.cpp16 …// CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop instead [modernize-loop-conve… in naming()
23 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop instead in naming()
30 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop instead in naming()
38 // CHECK-MESSAGES: :[[@LINE-3]]:3: warning: use range-based for loop instead in naming()
/llvm-project/clang/test/SemaCXX/
H A Dwarn-memset-bad-sizeof.cpp39 …// expected-warning {{'memset' call operates on objects of type 'S' while the size is based on a d… in f()
41 …// expected-warning {{'memset' call operates on objects of type 'S' while the size is based on a d… in f()
43 …// expected-warning {{'memset' call operates on objects of type 'S' while the size is based on a d… in f()
49 …ning {{'memset' call operates on objects of type 'char' while the size is based on a different typ… in f()
52 …// expected-warning {{'bzero' call operates on objects of type 'S' while the size is based on a di… in f()
54 …// expected-warning {{'bzero' call operates on objects of type 'S' while the size is based on a di… in f()
56 …// expected-warning {{'bzero' call operates on objects of type 'S' while the size is based on a di… in f()
62 …// expected-warning {{'bzero' call operates on objects of type 'char' while the size is based on a… in f()
65 …// expected-warning {{'memcpy' call operates on objects of type 'S' while the size is based on a d… in f()
67 …// expected-warning {{'memcpy' call operates on objects of type 'S' while the size is based on a d… in f()
[all …]
/llvm-project/llvm/lib/TargetParser/
H A DX86TargetParser.cpp273 // i586-generation processors, P5 microarchitecture based.
278 // i686-generation processors, P6 / Pentium M microarchitecture based.
292 // Netburst microarchitecture based processors.
299 // Core microarchitecture based processors.
315 // Nehalem microarchitecture based processors.
319 // Westmere microarchitecture based processors.
322 // Sandy Bridge microarchitecture based processors.
326 // Ivy Bridge microarchitecture based processors.
330 // Haswell microarchitecture based processors.
335 // Broadwell microarchitecture based processor
[all...]
/llvm-project/clang/test/OpenMP/
H A Dtarget_update_from_messages.cpp70 …expected expression containing only member accesses and/or array sections based on named variables… in foo()
72 …expected expression containing only member accesses and/or array sections based on named variables… in foo()
73 …expected expression containing only member accesses and/or array sections based on named variables… in foo()
74 …expected expression containing only member accesses and/or array sections based on named variables… in foo()
75 …expected expression containing only member accesses and/or array sections based on named variables… in foo()
76 …expected expression containing only member accesses and/or array sections based on named variables… in foo()
110 …expected expression containing only member accesses and/or array sections based on named variables… in tmain()
115 …expected expression containing only member accesses and/or array sections based on named variables… in tmain()
128 …expected expression containing only member accesses and/or array sections based on named variables… in tmain()
172 …expected expression containing only member accesses and/or array sections based on named variables… in main()
[all …]
H A Dtarget_update_to_messages.cpp71 …expected expression containing only member accesses and/or array sections based on named variables… in foo()
73 …expected expression containing only member accesses and/or array sections based on named variables… in foo()
74 …expected expression containing only member accesses and/or array sections based on named variables… in foo()
75 …expected expression containing only member accesses and/or array sections based on named variables… in foo()
76 …expected expression containing only member accesses and/or array sections based on named variables… in foo()
77 …expected expression containing only member accesses and/or array sections based on named variables… in foo()
116 …expected expression containing only member accesses and/or array sections based on named variables… in tmain()
121 …expected expression containing only member accesses and/or array sections based on named variables… in tmain()
133 …expected expression containing only member accesses and/or array sections based on named variables… in tmain()
176 …expected expression containing only member accesses and/or array sections based on named variables… in main()
[all …]
/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DRISCV.cpp193 // defined in config.gcc. This function is based on the logic in GCC 9.2.0. in getRISCVTargetFeatures()
197 // 2. A default based on `--with-arch=`, if provided in getRISCVABI()
198 // 3. A default based on the target triple's arch in getRISCVABI()
208 // 2. A default based on the architecture as determined by getRISCVArch in getRISCVABI()
209 // 3. Choose a default based on the triple in getRISCVABI()
215 // 2. Choose a default based on the target architecture. in getRISCVABI()
231 // 3. Choose a default based on the triple in getRISCVABI()
255 // defined in config.gcc. This function is based on the logic in GCC 9.2.0. We
262 // 2. A default based on `--with-abi=`, if provided in getRISCVArch()
263 // 3. A default based o in getRISCVArch()
[all...]
/llvm-project/llvm/docs/CommandGuide/
H A Dllvm-profdata.rst93 Specify that the input profile is an instrumentation-based profile.
97 Specify that the input profile is a sample-based profile.
103 Emit the profile using a binary encoding. For instrumentation-based profile
109 be used with sample-based profile. The extensible binary encoding can be
116 sample-based and instrumentation-based profile. When this option is used
146 list in the profile. This option can only be used with sample-based profile
152 with sample-based profile in extbinary format.
157 This option can only be used with sample-based profile in extbinary format.
163 sample-based profil
[all...]
/llvm-project/lldb/bindings/interface/
H A DSBAddressExtensions.i13 … interpreter (i.e. under the lldb script command). For things like Python based commands and break…
16 … interpreter (i.e. under the lldb script command). For things like Python based commands and break…
22 … interpreter (i.e. under the lldb script command). For things like Python based commands and break…
28 … interpreter (i.e. under the lldb script command). For things like Python based commands and break…
36 … interpreter (i.e. under the lldb script command). For things like Python based commands and break…
40 … interpreter (i.e. under the lldb script command). For things like Python based commands and break…
52 … interpreter (i.e. under the lldb script command). For things like Python based commands and break…
/llvm-project/llvm/include/llvm/TextAPI/
H A DFileTypes.h28 /// Text-based stub file (.tbd) version 1.0
31 /// Text-based stub file (.tbd) version 2.0
34 /// Text-based stub file (.tbd) version 3.0
37 /// Text-based stub file (.tbd) version 4.0
40 /// Text-based stub file (.tbd) version 5.0
/llvm-project/mlir/include/mlir-c/Dialect/
H A DQuant.h74 /// Casts from a type based on the storage type of the given type to a
75 /// corresponding type based on the given type. Returns a null type if the cast
80 /// Casts from a type based on a quantized type to a corresponding typed based
84 /// Casts from a type based on the expressed type of the given type to a
85 /// corresponding type based on the given type. Returns a null type if the cast
90 /// Casts from a type based on a quantized type to a corresponding typed based
94 /// Casts from a type based on the expressed type of the given quantized type to
95 /// equivalent type based on storage type of the same quantized type.
/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkCounter.h9 // Generic tool to count remarks based on properties
68 /// Filter out remarks based on remark properties based on name, pass name,
114 /// Obtain the field for collecting remark info based on how we are
119 /// Collect count information from \p Remark organized based on \p Group
127 /// Count remarks based on the provided \p Keys argument and summing up the
174 /// Update the internal count map based on the remark integer arguments that
194 /// Collect remarks based by counting the existance of individual remarks. The
195 /// reported table will be structured based on the provided \p Group argument
/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVSort.cpp25 // Callback comparator based on kind.
31 // Callback comparator based on line.
37 // Callback comparator based on name.
43 // Callback comparator based on DIE offset.
63 // Callback comparator based on multiple keys (First: Kind).
75 // Callback comparator based on multiple keys (First: Line).
87 // Callback comparator based on multiple keys (First: Name).
/llvm-project/mlir/test/python/integration/dialects/linalg/
H A Dopsrun.py48 // TODO: FFI-based solution to allow testing and printing with python code.
77 // TODO: FFI-based solution to allow testing and printing with python code.
95 // TODO: FFI-based solution to allow testing and printing with python code.
119 // TODO: FFI-based solution to allow testing and printing with python code.
151 // TODO: FFI-based solution to allow testing and printing with python code.
207 # TODO: FFI-based solution to allow testing and printing with python code.
254 # TODO: FFI-based solution to allow testing and printing with python code.
291 # TODO: FFI-based solution to allow testing and printing with python code.
326 # TODO: FFI-based solution to allow testing and printing with python code.
353 # TODO: FFI-based solutio
[all...]
/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrFormats.td15 // We instantiate 2 of these for every actual instruction (register based
16 // and stack based), see below.
42 // Generates both register and stack based versions of one actual instruction.
44 // based version of this instruction, as well as the corresponding asmstr.
53 // Every instruction should want to be based on this multi-class to guarantee
/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DPGOInstrumentation.h10 /// This file provides the interface for IR based instrumentation passes (
37 /// The instrumentation (profile-instr-gen) pass for IR based PGO.
57 /// The instrumentation (profile-instr-gen) pass for IR based PGO. in IsCS()
70 /// The profile annotation (profile-instr-use) pass for IR based PGO.
100 /// The profile size based optimization pass for memory intrinsics.
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dnot-null-terminated-result.rst11 The following and their respective ``wchar_t`` based functions are checked:
50 It rewrites the ``wchar_t`` based memory handler functions respectively.
52 Rewrite based on the destination array
75 Rewrite based on the length of the source string
88 It transforms the ``wchar_t`` based memory and string handler functions
89 respectively (where only ``strerror_s`` does not have ``wchar_t`` based alias).

12345678910>>...154