Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 25 of 127) sorted by relevance

123456

/llvm-project-15.0.7/clang/test/Analysis/
H A Duninit-const.c32 int* tp = &t; // expected-note {{'tp' initialized here}} in f_1() local
73 int *tp = ta; // expected-note {{'tp' initialized here}} in f_5() local
86 int* tp = ta; in f_6() local
87 doStuff_pointerToConstInt(tp); // no-warning in f_6()
202 int* tp = &t; in f_variadic_inp_unv() local
211 int* tp = &t; in f_variadic_inp_inv() local
212 doStuff_variadic(tp,v); // no-warning in f_variadic_inp_inv()
220 int *tp = &t; in f_variadic_inp_inp() local
221 doStuff_variadic(tp,vp); // no-warning in f_variadic_inp_inp()
239 int *tp = &t; in f_variadic_inp_unp() local
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/
H A DCodegenUtils.cpp38 if (tp.isIndex()) in overheadTypeEncoding()
40 if (auto intTp = tp.dyn_cast<IntegerType>()) in overheadTypeEncoding()
162 if (tp.isa<FloatType>()) in getOneAttr()
163 return builder.getFloatAttr(tp, 1.0); in getOneAttr()
164 if (tp.isa<IndexType>()) in getOneAttr()
166 if (auto intTp = tp.dyn_cast<IntegerType>()) in getOneAttr()
169 auto shapedTp = tp.cast<ShapedType>(); in getOneAttr()
178 Type tp = v.getType(); in genIsNonzero() local
180 if (tp.isa<FloatType>()) in genIsNonzero()
183 if (tp.isIntOrIndex()) in genIsNonzero()
[all …]
H A DCodegenUtils.h37 OverheadType overheadTypeEncoding(Type tp);
85 Attribute getOneAttr(Builder &builder, Type tp);
109 inline Value constantZero(OpBuilder &builder, Location loc, Type tp) { in constantZero() argument
110 if (auto ctp = tp.dyn_cast<ComplexType>()) { in constantZero()
113 return builder.create<complex::ConstantOp>(loc, tp, zeroa); in constantZero()
115 return builder.create<arith::ConstantOp>(loc, tp, builder.getZeroAttr(tp)); in constantZero()
120 inline Value constantOne(OpBuilder &builder, Location loc, Type tp) { in constantOne() argument
121 if (auto ctp = tp.dyn_cast<ComplexType>()) { in constantOne()
125 return builder.create<complex::ConstantOp>(loc, tp, zeroa); in constantOne()
127 return builder.create<arith::ConstantOp>(loc, tp, getOneAttr(builder, tp)); in constantOne()
/llvm-project-15.0.7/libcxx/test/libcxx/depr/depr.default.allocator/allocator.members/
H A Daddress.cxx2a.pass.cpp30 T* tp = new T(); in test_address() local
31 const T* ctp = tp; in test_address()
33 assert(a.address(*tp) == tp); in test_address()
34 assert(a.address(*ctp) == tp); in test_address()
35 delete tp; in test_address()
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.addressof/
H A Daddressof.pass.cpp38 A* tp = new A; in main() local
39 const A* ctp = tp; in main()
40 assert(std::addressof(*tp) == tp); in main()
41 assert(std::addressof(*ctp) == tp); in main()
42 delete tp; in main()
/llvm-project-15.0.7/libcxx/src/
H A Dchrono.cpp122 struct timespec tp;
123 if (0 != clock_gettime(CLOCK_REALTIME, &tp))
125 return system_clock::time_point(seconds(tp.tv_sec) + microseconds(tp.tv_nsec / 1000));
229 struct timespec tp; in __libcpp_steady_clock_now() local
230 if (0 != clock_gettime(CLOCK_MONOTONIC_RAW, &tp)) in __libcpp_steady_clock_now()
232 return steady_clock::time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec)); in __libcpp_steady_clock_now()
287 struct timespec tp; in __libcpp_steady_clock_now() local
288 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) in __libcpp_steady_clock_now()
290 return steady_clock::time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec)); in __libcpp_steady_clock_now()
/llvm-project-15.0.7/libclc/generic/lib/math/
H A DsincosD_piby4.h116 double tp = t1 + t2; in __clc_tan_piby4() local
119 double z1 = as_double(as_long(tp) & 0xffffffff00000000L); in __clc_tan_piby4()
121 double trec = -MATH_RECIP(tp); in __clc_tan_piby4()
126 double tpt = transform * (1.0 - MATH_DIVIDE(2.0*tp, 1.0 + tp)); in __clc_tan_piby4()
127 double tptr = transform * (MATH_DIVIDE(2.0*tp, tp - 1.0) - 1.0); in __clc_tan_piby4()
130 ret.lo = c ? tpt : tp; in __clc_tan_piby4()
/llvm-project-15.0.7/llvm/utils/release/
H A DfindRegressions-nightly.py12 (tp, exp) = ('compileTime_', 'executeTime_')
55 test[fname][tp + n] = float(t[2].split(' ')[2])
57 print(test[fname][tp + n])
98 if tp + x in d_old[t]:
99 if tp + x not in d_new[t]:
100 print(t + " *** REGRESSION (" + tp + x + ")\n")
103 if tp + x in d_new[t]:
104 print(t + " * NEW PASS (" + tp + x + ")\n")
/llvm-project-15.0.7/lld/test/ELF/
H A Driscv-tls-le.s37 # LE-NEXT: add a1, a1, tp
40 # LE-NEXT: add a2, a2, tp
44 # LE-NEXT: add a3, a3, tp
48 # LE-NEXT: add a4, a4, tp
53 # LE-RELAX-NEXT: addi a1, tp, 8
54 # LE-RELAX-NEXT: addi a2, tp, 2044
57 # LE-RELAX-NEXT: sw a0, 2044(tp)
59 # LE-RELAX-NEXT: add a4, a4, tp
69 add a2, a2, tp, %tprel_add(a-4)
76 add a3, a3, tp, %tprel_add(a-4)
[all …]
H A Driscv-tls-ie.s42 # IE-NEXT: add a4, a4, tp
48 # IE-NEXT: add a5, a5, tp
66 # LE-NEXT: add a4, a4, tp
73 # LE-NEXT: add a5, a5, tp
76 add a4,a4,tp
78 add a5,a5,tp
/llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/python/
H A Dtest_stress.py65 def irtype_to_dtype(self, tp: ir.Type) -> np.dtype:
67 return np.dtype(self.irtype_to_sctype(tp))
69 def irtype_to_sctype(self, tp: ir.Type):
71 if tp in self._ir2sc:
72 return self._ir2sc[tp]
92 def _assertEqualsRoundtripTp(self, tp: ir.RankedTensorType):
95 if tp != self._roundtripTp:
119 for tp in types:
120 w = st.ConvertOp(tp, v)
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dpr47676.cpp10 template <typename T> void f(T *tp) { in f() argument
12 g(0, (__vector int)(*tp)); in f()
13 g(0, (__vector int)*tp); in f()
H A Dinstantiate-function-1.mm10 T* tp;
11 tp.f;
12 tp->f;
/llvm-project-15.0.7/mlir/lib/Dialect/AMX/IR/
H A DAMXDialect.cpp31 static LogicalResult verifyTileSize(Operation *op, VectorType tp) { in verifyTileSize() argument
34 unsigned col = tp.getDimSize(1) * tp.getElementType().getIntOrFloatBitWidth(); in verifyTileSize()
35 if (tp.getDimSize(0) > kMaxRows) in verifyTileSize()
36 return op->emitOpError("bad row height: ") << tp.getDimSize(0); in verifyTileSize()
/llvm-project-15.0.7/polly/lib/External/isl/imath/tools/
H A Dfindthreshold.py73 sp, bp, tp = get_timing_stats(1000, prec, prec + 1, seed)
76 stats[prec] = (thresh, t, tp)
82 return list((p, h, t, tp) for p, (h, t, tp) in stats.iteritems())
/llvm-project-15.0.7/llvm/test/MC/LoongArch/Basic/Integer/
H A Datomic.s16 # CHECK-ASM-AND-OBJ: ll.w $tp, $s4, 220
18 ll.w $tp, $s4, 220
36 # CHECK64-ASM-AND-OBJ: amswap.d $tp, $t2, $fp
38 amswap.d $tp, $t2, $fp
64 # CHECK64-ASM-AND-OBJ: amxor.w $tp, $t3, $s0
66 amxor.w $tp, $t3, $s0
108 # CHECK64-ASM-AND-OBJ: amswap_db.d $tp, $t2, $fp
110 amswap_db.d $tp, $t2, $fp
136 # CHECK64-ASM-AND-OBJ: amxor_db.w $tp, $t3, $s0
138 amxor_db.w $tp, $t3, $s0
H A Darith.s28 # CHECK-ASM-AND-OBJ: alsl.w $tp, $t5, $tp, 4
30 alsl.w $tp, $t5, $tp, 4
40 # CHECK-ASM-AND-OBJ: slt $s6, $s3, $tp
42 slt $s6, $s3, $tp
88 # CHECK-ASM-AND-OBJ: orn $tp, $sp, $s2
90 orn $tp, $sp, $s2
139 # CHECK64-ASM-AND-OBJ: add.d $tp, $t6, $s4
141 add.d $tp, $t6, $s4
/llvm-project-15.0.7/llvm/test/MC/RISCV/
H A Dcompress-rv64i.s27 # CHEACK-ALIAS: addiw tp, tp, 31
28 # CHECK-INST: c.addiw tp, 31
30 addiw tp, tp, 31
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/
H A Dtls-models.ll54 ; RV32-NOPIC-NEXT: add a0, a0, tp
63 ; RV64-NOPIC-NEXT: add a0, a0, tp
105 ; RV32-NOPIC-NEXT: add a0, a0, tp
114 ; RV64-NOPIC-NEXT: add a0, a0, tp
130 ; RV32-PIC-NEXT: add a0, a0, tp
139 ; RV64-PIC-NEXT: add a0, a0, tp
148 ; RV32-NOPIC-NEXT: add a0, a0, tp
157 ; RV64-NOPIC-NEXT: add a0, a0, tp
170 ; RV32-PIC-NEXT: add a0, a0, tp, %tprel_add(le)
177 ; RV64-PIC-NEXT: add a0, a0, tp, %tprel_add(le)
[all …]
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DCRunnerUtils.cpp114 struct timeval tp; in rtclock() local
115 int stat = gettimeofday(&tp, nullptr); in rtclock()
118 return (tp.tv_sec + tp.tv_usec * 1.0e-6); in rtclock()
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dstack-guard-tls.ll4 ; RUN: llc %t/a2.ll -mtriple=armv7-unknown-linux-gnueabihf -mattr=+read-tp-hard -o - | \
6 ; RUN: llc %t/a2.ll -mtriple=thumbv7-unknown-linux-gnueabihf -mattr=+read-tp-hard -o - | \
8 ; RUN: llc %t/b2.ll -mtriple=armv7-unknown-linux-gnueabihf -mattr=+read-tp-hard -o - | \
10 ; RUN: llc %t/b2.ll -mtriple=thumbv7-unknown-linux-gnueabihf -mattr=+read-tp-hard -o - | \
/llvm-project-15.0.7/lldb/test/API/types/
H A Drecursive_type_main.cpp1 typedef struct t *tp; typedef
5 tp tpi = &t; in main()
H A Drecursive_type_2.cpp1 typedef struct t *tp; typedef
2 typedef tp (*get_tp)();
H A Drecursive_type_1.cpp1 typedef struct t *tp; typedef
2 typedef tp (*get_tp)();
/llvm-project-15.0.7/third-party/benchmark/cmake/
H A Dsteady_clock.cpp5 Clock::time_point tp = Clock::now(); in main() local
6 ((void)tp); in main()

123456